Advertisement
Roblox_Scripter123

Lua DestroyerV1

Sep 16th, 2021
1,339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.78 KB | None | 0 0
  1. local a=_G.SHOW_RED_BOXES;local b=Instance.new("SelectionBox")b.Parent=workspace;local c=nil;local d=game:GetService("Players").LocalPlayer;local e=d:GetMouse()e.Button1Down:Connect(function()if e.Target~=nil then b.Adornee=e.Target;c=e.Target end end)local f=game:GetService("UserInputService")f.InputBegan:Connect(function(g,h)if h then return end;if g.KeyCode==Enum.KeyCode.K then local i={[1]="ProcessKey",[2]={["Key"]="K",["RIP"]={Parent=c,Value=0}}}game:GetService("ReplicatedStorage").NetworkFolder.GameEvent:FireServer(unpack(i))print("should've killed")end end)if a then local j={}local k=true;for l,m in pairs(workspace:GetDescendants())do if m:IsA("Motor6D")or m:IsA("Weld")then if m.Parent.Parent then if m.Parent.Parent==game:GetService("Players").LocalPlayer.Character or m.Parent.Parent.Parent==game:GetService("Players").LocalPlayer.Character then continue; end end;local n=Instance.new("SelectionBox",m.Parent)n.Adornee=m.Parent;n.Color3=Color3.fromRGB(255,0,0)table.insert(j,n)end end;workspace.DescendantAdded:Connect(function(o)wait(3)if o==game:GetService("Players").LocalPlayer.Character or o.Parent==game:GetService("Players").LocalPlayer.Character or o.Parent.Parent==game:GetService("Players").LocalPlayer.Character then return end;for l,m in pairs(o:GetDescendants())do if m:IsA("Weld")or m:IsA("Motor6D")then print(m.Parent.Parent.Parent)local n=Instance.new("SelectionBox",m.Parent)if k==false then n.Visible=false end;n.Adornee=m.Parent;n.Color3=Color3.fromRGB(255,0,0)table.insert(j,n)end end end)local f=game:GetService("UserInputService")f.InputBegan:Connect(function(g,h)if h then return end;if g.KeyCode==Enum.KeyCode.Three then k=not k;if k==false then for l,m in pairs(j)do if m then m.Visible=false end end else for l,m in pairs(j)do if m then m.Visible=true end end end end end)end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement