Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Banned people
- if owner.Name == "" then
- owner.Character:Destroy()
- print("You got banned boi!")
- print("Duration: Until despacito 3 comes out xdddd")
- end
- --[THE SCAM BOT]--
- local plr = owner
- local char = owner.Character
- --Getting Character Elements
- local head = char.Head
- local tors = char.Torso
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local bc = char["Body Colors"]
- local hum = char.Humanoid
- hum.Name = "SCAMBOTLOL"
- --customization
- for i,v in pairs(char:GetChildren()) do
- if not(v.ClassName == "Script" or v.ClassName == "LocalScript" or v.ClassName == "Part" or v.ClassName == "Humanoid" or v.ClassName == "BodyColors") then
- v:Destroy()
- end
- end
- local BillboardGui = Instance.new("BillboardGui")
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Name = "scam"
- BillboardGui.Parent = head
- BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- BillboardGui.AlwaysOnTop = true
- BillboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
- BillboardGui.LightInfluence = 1
- BillboardGui.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "script made by Subaru112 don't leak"
- TextLabel.TextColor3 = Color3.new(0, 0.635294, 0.694118)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- wait(3)
- TextLabel.Text = "Scam Bot"
- head.face.Texture = "rbxasset://textures/face.png"
- local bot = math.random(1,5)
- if bot == 1 then
- bc.HeadColor = BrickColor.new("Toothpaste")
- bc.RightArmColor = BrickColor.new("Toothpaste")
- bc.LeftArmColor = BrickColor.new("Toothpaste")
- bc.RightLegColor = BrickColor.new("Toothpaste")
- bc.LeftLegColor = BrickColor.new("Toothpaste")
- bc.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc.HeadColor = BrickColor.new("Dark stone gray")
- bc.RightArmColor = BrickColor.new("Dark stone gray")
- bc.LeftArmColor = BrickColor.new("Dark stone gray")
- bc.RightLegColor = BrickColor.new("Dark stone gray")
- bc.LeftLegColor = BrickColor.new("Dark stone gray")
- bc.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc.HeadColor = BrickColor.new("Lime green")
- bc.RightArmColor = BrickColor.new("Lime green")
- bc.LeftArmColor = BrickColor.new("Lime green")
- bc.RightLegColor = BrickColor.new("Lime green")
- bc.LeftLegColor = BrickColor.new("Lime green")
- bc.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc.HeadColor = BrickColor.new("Institutional white")
- bc.RightArmColor = BrickColor.new("Institutional white")
- bc.LeftArmColor = BrickColor.new("Institutional white")
- bc.RightLegColor = BrickColor.new("Institutional white")
- bc.LeftLegColor = BrickColor.new("Institutional white")
- bc.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc.HeadColor = BrickColor.new("Hot pink")
- bc.RightArmColor = BrickColor.new("Hot pink")
- bc.LeftArmColor = BrickColor.new("Hot pink")
- bc.RightLegColor = BrickColor.new("Hot pink")
- bc.LeftLegColor = BrickColor.new("Hot pink")
- bc.TorsoColor = BrickColor.new("Cyan")
- end
- local attacking = false
- --functions
- function onTouched(fire)
- local hu = fire.Parent:FindFirstChildOfClass("Humanoid")
- if hu then
- if not(hu.Name == "SCAMBOTLOL") then
- if attacking == false then
- attacking = true
- local scam = Instance.new("Model",char)
- scam.Name = "scammed"
- local humano = Instance.new("Humanoid",scam)
- humano.MaxHealth = 100
- humano.Name = "SCAMBOTLOL"
- for i,v in pairs(fire.Parent:GetChildren()) do
- if not(v.ClassName == "Humanoid" or v.ClassName == "BodyColors") then
- v.Parent = scam
- scam:MakeJoints()
- end
- end
- wait(0.000000000000000000000000000000000001)
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v.Parent = scam
- scam:MakeJoints()
- end
- end
- for i,v in pairs(fire.Parent:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" then
- v.Parent = scam
- scam:MakeJoints()
- end
- end
- scam:MakeJoints()
- wait(1)
- local m = Instance.new("Model", char)
- m.Name = "scam bot"
- local h = Instance.new("Part",m)
- h.Name = "Head"
- local me = plr.Character.Head.Mesh:Clone()
- me.Parent = h
- local facee = plr.Character.Head.face:Clone()
- facee.Parent = h
- h.Size = scam.Head.Size
- h:BreakJoints()
- h.CanCollide = false
- h.Position = scam.Head.Position
- h.face.Texture = "rbxasset://textures/face.png"
- head.scam:Clone().Parent = h
- local t = Instance.new("Part",m)
- t.Name = "Torso"
- t.Size = plr.Character.Torso.Size
- t:BreakJoints()
- t.CanCollide = false
- t.Position = plr.Character.Torso.Position
- t.Position = h.Position - Vector3.new(0, 2, 0)
- local ra = Instance.new("Part",m)
- ra.Name = "Right Arm"
- ra.Size = plr.Character["Right Arm"].Size
- ra:BreakJoints()
- ra.Position = plr.Character["Right Arm"].Position
- ra.Position = ra.Position + Vector3.new(0, 10, 0)
- local la = Instance.new("Part",m)
- la.Name = "Left Arm"
- la.Size = plr.Character["Left Arm"].Size
- la:BreakJoints()
- la.Position = plr.Character["Left Arm"].Position
- la.Position = la.Position + Vector3.new(0, 10, 0)
- local ll = Instance.new("Part",m)
- ll.Name = "Left Leg"
- ll.Size = plr.Character["Left Leg"].Size
- ll:BreakJoints()
- ll.Position = plr.Character["Left Leg"].Position
- ll.Position = ll.Position + Vector3.new(0, 10, 0)
- local rl = Instance.new("Part",m)
- rl.Name = "Right Leg"
- rl.Size = plr.Character["Right Leg"].Size
- rl:BreakJoints()
- rl.Position = plr.Character["Right Leg"].Position
- rl.Position = rl.Position + Vector3.new(0, 10, 0)
- for i,v in pairs(m:GetChildren()) do
- v:BreakJoints()
- end
- local neck = Instance.new("Motor6D")
- neck.Name = "Neck"
- neck.Part0 = t
- neck.Part1 = h
- neck.Parent = t
- neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- local rs = Instance.new("Motor6D")
- rs.Name = "Right Shoulder"
- rs.Part0 = t
- rs.Part1 = ra
- rs.Parent = t
- rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- local ls = Instance.new("Motor6D")
- ls.Name = "Left Shoulder"
- ls.Part0 = t
- ls.Part1 = la
- ls.Parent = t
- ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local lh = Instance.new("Motor6D")
- lh.Name = "Left Hip"
- lh.Part0 = t
- lh.Part1 = ll
- lh.Parent = t
- lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- local rh = Instance.new("Motor6D")
- rh.Name = "Right Hip"
- rh.Part0 = t
- rh.Part1 = rl
- rh.Parent = t
- rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- wait(0.000000000000001)
- local hum = Instance.new("Humanoid", m)
- hum.MaxHealth = 100
- hum.Health = 100
- hum.WalkSpeed = 13
- hum.Name = "SCAMBOTLOL"
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChild("Humanoid")
- if humn then
- for i,v in pairs (humn.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- humn:TakeDamage(0.5)
- humn.Name = "SCAMBOTLOL"
- local par = fire.Parent
- for i,v in pairs(par:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local bc2 = Instance.new("BodyColors",fire.Parent)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- end
- fire.Parent.Head.face.Texture = "rbxasset://textures/face.png"
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChild("Humanoid")
- if humn then
- for i,v in pairs (humn.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- humn:TakeDamage(0.5)
- fire.Parent.Head.face.Texture = "rbxasset://textures/face.png"
- humn.Name = "SCAMBOTLOL"
- local par = fire.Parent
- for i,v in pairs(par:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local bc2 = Instance.new("BodyColors",fire.Parent)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- end
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChild("Humanoid")
- if humn then
- for i,v in pairs (humn.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- humn:TakeDamage(0.5)
- fire.Parent.Head.face.Texture = "rbxasset://textures/face.png"
- humn.Name = "SCAMBOTLOL"
- local par = fire.Parent
- for i,v in pairs(par:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local bc2 = Instance.new("BodyColors",fire.Parent)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChild("Humanoid")
- if humn then
- for i,v in pairs (humn.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- humn:TakeDamage(0.5)
- fire.Parent.Head.face.Texture = "rbxasset://textures/face.png"
- humn.Name = "SCAMBOTLOL"
- local par = fire.Parent
- for i,v in pairs(par:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local bc2 = Instance.new("BodyColors",fire.Parent)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- function onTouched(fire)
- local humn = fire.Parent:FindFirstChild("Humanoid")
- if humn then
- for i,v in pairs (humn.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- humn:TakeDamage(0.5)
- fire.Parent.Head.face.Texture = "rbxasset://textures/face.png"
- humn.Name = "SCAMBOTLOL"
- local par = fire.Parent
- for i,v in pairs(par:GetChildren()) do
- if v.ClassName == "Accessory" or v.ClassName == "Hat" or v.ClassName == "Pants" or v.ClassName == "Shirt" or v.ClassName == "CharacterMesh" then
- v:Destroy()
- end
- end
- local bc2 = Instance.new("BodyColors",fire.Parent)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- end
- end
- end
- end
- end
- fire.Parent.Head.Touched:connect(onTouched)
- end
- end
- end
- end
- end
- fire.Parent.Head.Touched:connect(onTouched)
- end
- end
- end
- end
- end
- fire.Parent.Head.Touched:connect(onTouched)
- end
- end
- end
- end
- fire.Parent.Head.Touched:connect(onTouched)
- end
- end
- end
- end
- t.Touched:connect(onTouched)
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "scam bot" then
- s = v
- wait(0.5)
- local larm = s:FindFirstChild("Left Arm")
- local rarm = s:FindFirstChild("Right Arm")
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 100000000000000000000000000000000000000000
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= s) then
- temp = temp2:FindFirstChild("Torso")
- h = temp2:FindFirstChild("Humanoid")
- if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
- s.SCAMBOTLOL.WalkSpeed = 10
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- end
- end
- scam:Destroy()
- attacking = false
- local bc2 = Instance.new("BodyColors",s)
- local bot = math.random(1,5)
- if bot == 1 then
- bc2.HeadColor = BrickColor.new("Toothpaste")
- bc2.RightArmColor = BrickColor.new("Toothpaste")
- bc2.LeftArmColor = BrickColor.new("Toothpaste")
- bc2.RightLegColor = BrickColor.new("Toothpaste")
- bc2.LeftLegColor = BrickColor.new("Toothpaste")
- bc2.TorsoColor = BrickColor.new("Magenta")
- end
- if bot == 2 then
- bc2.HeadColor = BrickColor.new("Dark stone gray")
- bc2.RightArmColor = BrickColor.new("Dark stone gray")
- bc2.LeftArmColor = BrickColor.new("Dark stone gray")
- bc2.RightLegColor = BrickColor.new("Dark stone gray")
- bc2.LeftLegColor = BrickColor.new("Dark stone gray")
- bc2.TorsoColor = BrickColor.new("Really red")
- end
- if bot == 3 then
- bc2.HeadColor = BrickColor.new("Lime green")
- bc2.RightArmColor = BrickColor.new("Lime green")
- bc2.LeftArmColor = BrickColor.new("Lime green")
- bc2.RightLegColor = BrickColor.new("Lime green")
- bc2.LeftLegColor = BrickColor.new("Lime green")
- bc2.TorsoColor = BrickColor.new("Forest green")
- end
- if bot == 4 then
- bc2.HeadColor = BrickColor.new("Institutional white")
- bc2.RightArmColor = BrickColor.new("Institutional white")
- bc2.LeftArmColor = BrickColor.new("Institutional white")
- bc2.RightLegColor = BrickColor.new("Institutional white")
- bc2.LeftLegColor = BrickColor.new("Institutional white")
- bc2.TorsoColor = BrickColor.new("Smoky gray")
- end
- if bot == 5 then
- bc2.HeadColor = BrickColor.new("Hot pink")
- bc2.RightArmColor = BrickColor.new("Hot pink")
- bc2.LeftArmColor = BrickColor.new("Hot pink")
- bc2.RightLegColor = BrickColor.new("Hot pink")
- bc2.LeftLegColor = BrickColor.new("Hot pink")
- bc2.TorsoColor = BrickColor.new("Cyan")
- end
- while true do
- wait(0.1)
- local antibug = s:FindFirstChild("Torso")
- if antibug ~= nil then
- local target = findNearestTorso(antibug.Position)
- if target ~= nil then
- s.SCAMBOTLOL:MoveTo(target.Position, target)
- s.SCAMBOTLOL.WalkSpeed = 11
- end
- end
- end
- end
- end
- end
- end
- owner.Character.Torso.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement