Add GTA city builder + background injection API for Roblox Studio

- inject_gta_city.py: Full GTA-style city with 20 buildings, roads, cars,
  street lights, traffic lights, trees, 15 human enemies with varied
  skin/clothing, and 10 COD weapons with visible gun models
- inject_bg.py: Background injection using SendMessage/PostMessage Win32 API
- inject_bg2.py: PostMessage approach targeting main window for WPF apps
- inject_cod_final.py: Working COD game injection (7-step sequential)
- cod_inject.py: Combined COD game builder with proper Studio launch
- roblox-fps-p1-p6: Split Lua scripts for multi-part injection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gemini AI
2026-03-31 21:39:39 +04:00
Unverified
parent 9e3a4b9daa
commit 2065361e57
12 changed files with 2754 additions and 0 deletions

49
roblox-fps-p5-player.lua Normal file
View File

@@ -0,0 +1,49 @@
-- PLAYER SETUP SCRIPT (~2500 chars)
local ps=Instance.new("LocalScript",game.StarterPlayer.StarterPlayerScripts)ps.Name="PlayerSetup"
ps.Source=[[
local P=game:GetService("Players")local RS=game:GetService("RunService")local UI=game:GetService("UserInputService")local RepS=game:GetService("ReplicatedStorage")local TS=game:GetService("TweenService")
local pl=P.LocalPlayer local cam=workspace.CurrentCamera
pl.CharacterAdded:Connect(function(c)
local h=c:WaitForChild("Humanoid")local rp=c:WaitForChild("HumanoidRootPart")
RS.RenderStepped:Connect(function()
if h.Health>0 then cam.CameraType=Enum.CameraType.LockFirstPerson local hd=c:FindFirstChild("Head")if hd then cam.CFrame=hd.CFrame end end
end)
local sp=false cr=false
UI.InputBegan:Connect(function(i,g)if g then return end
if i.KeyCode==Enum.KeyCode.LeftShift then sp=true h.WalkSpeed=28
elseif i.KeyCode==Enum.KeyCode.LeftControl then cr=true h.WalkSpeed=8 end end)
UI.InputEnded:Connect(function(i)
if i.KeyCode==Enum.KeyCode.LeftShift then sp=false h.WalkSpeed=cr and 8 or 18
elseif i.KeyCode==Enum.KeyCode.LeftControl then cr=false h.WalkSpeed=sp and 28 or 18 end end)
end)
local E=RepS:WaitForChild("Events")
local KE=E:WaitForChild("KillEvent")local DE=E:WaitForChild("DamageEvent")local HME=E:WaitForChild("HitMarkerEvent")
KE.OnClientEvent:Connect(function(k)
local hd=pl:WaitForChild("PlayerGui"):WaitForChild("FPS_HUD")local kf=hd:FindFirstChild("KillFeed")
local e=Instance.new("TextLabel",kf)e.Size=UDim2.new(1,0,0,20)e.BackgroundColor3=Color3.fromRGB(0,0,0)e.BackgroundTransparency=0.5 e.TextColor3=Color3.new(1,1,1)e.Font=Enum.Font.GothamBold e.TextSize=13 e.Text=pl.Name.." eliminated "..(k or "Enemy")e.TextXAlignment=Enum.TextXAlignment.Right
game:GetService("Debris"):AddItem(e,5)end)
DE.OnClientEvent:Connect(function(d)
local hd=pl.PlayerGui:FindFirstChild("FPS_HUD")local v=hd and hd:FindFirstChild("DamageVignette")
if v then v.ImageTransparency=0.3 TS:Create(v,TweenInfo.new(0.8),{ImageTransparency=1}):Play()end end)
HME.OnClientEvent:Connect(function(hs)
local hd=pl.PlayerGui:FindFirstChild("FPS_HUD")local m=hd and hd:FindFirstChild("HitMarker")
if m then m.Visible=true for _,c in pairs(m:GetChildren())do c.BackgroundColor3=hs and Color3.fromRGB(255,50,50)or Color3.new(1,1,1)end task.delay(0.15,function()m.Visible=false end)end end)
RS.RenderStepped:Connect(function()
local hd=pl.PlayerGui:FindFirstChild("FPS_HUD")if not hd then return end
local mm=hd:FindFirstChild("Minimap")if not mm then return end
local c=pl.Character if not c or not c:FindFirstChild("HumanoidRootPart")then return end
local pos=c.HumanoidRootPart.Position
for _,x in pairs(mm:GetChildren())do if x.Name=="EnemyDot"then x:Destroy()end end
local dt=mm:FindFirstChild("PlayerDot")if dt then dt.Position=UDim2.new(0,(pos.X/400+0.5)*150-3,0,(pos.Z/400+0.5)*150-3)end
for _,o in pairs(workspace:GetChildren())do
if o:IsA("Model")and o.Name=="EnemySoldier"and o:FindFirstChild("HumanoidRootPart")then
local ep=o.HumanoidRootPart.Position if(ep-pos).Magnitude<100 then
local d=Instance.new("Frame",mm)d.Name="EnemyDot"d.Size=UDim2.new(0,4,0,4)d.Position=UDim2.new(0,(ep.X/400+0.5)*150-2,0,(ep.Z/400+0.5)*150-2)d.BackgroundColor3=Color3.new(1,0,0)d.BorderSizePixel=0 d.Shape=Enum.UIRectShape.Circle end end end
if c:FindFirstChild("Humanoid")then
local hh=c.Humanoid local hf=hd:FindFirstChild("HealthFrame")
if hf then local fl=hf:FindFirstChild("HealthFill")local tx=hf:FindFirstChild("HealthText")
if fl then fl.Size=UDim2.new(hh.Health/hh.MaxHealth,0,1,0)if hh.Health>60 then fl.BackgroundColor3=Color3.fromRGB(0,200,0)elseif hh.Health>30 then fl.BackgroundColor3=Color3.fromRGB(255,200,0)else fl.BackgroundColor3=Color3.fromRGB(255,0,0)end end
if tx then tx.Text=math.floor(hh.Health).." HP"end end end end end)
print("[PlayerSetup] Loaded!")
]]
print("PLAYER SETUP DONE")