Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By iiJoeCats
- wait(1/60)
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local chr = player.Character
- local RS = game:GetService("RunService").RenderStepped -- Change to RenderStepped for LocalScript
- local leftArm = chr["Left Arm"]
- local rightArm = chr["Right Arm"]
- local leftLeg = chr["Left Leg"]
- local rightLeg = chr["Right Leg"]
- local tors = chr.Torso
- local hed = chr.Head
- local root = chr.HumanoidRootPart
- local humanoid = chr:FindFirstChildOfClass("Humanoid")
- local maincolor = BrickColor.new("Really blue")
- humanoid.NameDisplayDistance = 0
- repeat wait() until game.Players.LocalPlayer.Character
- --//Command made by Rufus14
- for i,v in pairs(chr:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" or v.ClassName == "Accessory" or v.ClassName == "BodyColors" then
- v:Destroy()
- end
- end
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = maincolor
- end
- end
- local clr = Color3.fromRGB(0, 0, 255)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- hed.face:Destroy()
- Instance.new("ForceField",chr).Visible = false
- humanoid.MaxHealth = 350
- humanoid.Health = 350
- humanoid.WalkSpeed = 30
- humanoid.JumpPower = 125
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Frame_2 = Instance.new("Frame")
- local Red = Instance.new("Frame")
- local ClickC = Instance.new("TextButton")
- local Green = Instance.new("Frame")
- local ClickD = Instance.new("TextButton")
- local Yellow = Instance.new("Frame")
- local ClickB = Instance.new("TextButton")
- local Blue = Instance.new("Frame")
- local ClickE = Instance.new("TextButton")
- local Pink = Instance.new("Frame")
- local ClickA = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = player.PlayerGui
- Frame.Parent = ScreenGui
- Frame.Draggable = true
- Frame.Visible = false
- Frame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Frame.BorderColor3 = Color3.new(0.219608, 0.219608, 0.219608)
- Frame.BorderSizePixel = 4
- Frame.Position = UDim2.new(0.5005005, 0, 0.384462148, 0)
- Frame.Size = UDim2.new(0, 447, 0, 269)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(-0.000792774314, 0, 0.0297175404, 0)
- TextLabel.Size = UDim2.new(0, 447, 0, 48)
- TextLabel.Font = Enum.Font.GothamBold
- TextLabel.Text = "Change Color"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0, 0, 0.234178498, 0)
- Frame_2.Size = UDim2.new(0, 447, 0, 4)
- Red.Name = "Red"
- Red.Parent = Frame
- Red.BackgroundColor3 = Color3.new(1, 0, 0)
- Red.BorderColor3 = Color3.new(0.666667, 0, 0)
- Red.BorderSizePixel = 4
- Red.Position = UDim2.new(0.0290827751, 0, 0.382899642, 0)
- Red.Size = UDim2.new(0, 62, 0, 62)
- ClickC.Name = "ClickC"
- ClickC.Parent = Red
- ClickC.BackgroundColor3 = Color3.new(1, 1, 1)
- ClickC.BackgroundTransparency = 1
- ClickC.Size = UDim2.new(1, 0, 1, 0)
- ClickC.Font = Enum.Font.SourceSans
- ClickC.Text = ""
- ClickC.TextColor3 = Color3.new(0, 0, 0)
- ClickC.TextScaled = true
- ClickC.TextSize = 1
- ClickC.TextWrapped = true
- Green.Name = "Green"
- Green.Parent = Frame
- Green.BackgroundColor3 = Color3.new(0, 1, 0)
- Green.BorderColor3 = Color3.new(0, 0.666667, 0)
- Green.BorderSizePixel = 4
- Green.Position = UDim2.new(0.225950763, 0, 0.382899642, 0)
- Green.Size = UDim2.new(0, 62, 0, 62)
- ClickD.Name = "ClickD"
- ClickD.Parent = Green
- ClickD.BackgroundColor3 = Color3.new(1, 1, 1)
- ClickD.BackgroundTransparency = 1
- ClickD.Size = UDim2.new(1, 0, 1, 0)
- ClickD.Font = Enum.Font.SourceSans
- ClickD.Text = ""
- ClickD.TextColor3 = Color3.new(0, 0, 0)
- ClickD.TextScaled = true
- ClickD.TextSize = 1
- ClickD.TextWrapped = true
- Yellow.Name = "Yellow"
- Yellow.Parent = Frame
- Yellow.BackgroundColor3 = Color3.new(1, 1, 0)
- Yellow.BorderColor3 = Color3.new(0.666667, 0.666667, 0)
- Yellow.BorderSizePixel = 4
- Yellow.Position = UDim2.new(0.431767344, 0, 0.382899642, 0)
- Yellow.Size = UDim2.new(0, 62, 0, 62)
- ClickB.Name = "ClickB"
- ClickB.Parent = Yellow
- ClickB.BackgroundColor3 = Color3.new(1, 1, 1)
- ClickB.BackgroundTransparency = 1
- ClickB.Size = UDim2.new(1, 0, 1, 0)
- ClickB.Font = Enum.Font.SourceSans
- ClickB.Text = ""
- ClickB.TextColor3 = Color3.new(0, 0, 0)
- ClickB.TextScaled = true
- ClickB.TextSize = 1
- ClickB.TextWrapped = true
- Blue.Name = "Blue"
- Blue.Parent = Frame
- Blue.BackgroundColor3 = Color3.new(0, 0, 1)
- Blue.BorderColor3 = Color3.new(0, 0, 0.666667)
- Blue.BorderSizePixel = 4
- Blue.Position = UDim2.new(0.646532416, 0, 0.382899642, 0)
- Blue.Size = UDim2.new(0, 62, 0, 62)
- ClickE.Name = "ClickE"
- ClickE.Parent = Blue
- ClickE.BackgroundColor3 = Color3.new(1, 1, 1)
- ClickE.BackgroundTransparency = 1
- ClickE.Size = UDim2.new(1, 0, 1, 0)
- ClickE.Font = Enum.Font.SourceSans
- ClickE.Text = ""
- ClickE.TextColor3 = Color3.new(0, 0, 0)
- ClickE.TextScaled = true
- ClickE.TextSize = 1
- ClickE.TextWrapped = true
- Pink.Name = "Pink"
- Pink.Parent = Frame
- Pink.BackgroundColor3 = Color3.new(1, 0, 1)
- Pink.BorderColor3 = Color3.new(0.666667, 0, 0.666667)
- Pink.BorderSizePixel = 4
- Pink.Position = UDim2.new(0.832214773, 0, 0.382899642, 0)
- Pink.Size = UDim2.new(0, 62, 0, 62)
- ClickA.Name = "ClickA"
- ClickA.Parent = Pink
- ClickA.BackgroundColor3 = Color3.new(1, 1, 1)
- ClickA.BackgroundTransparency = 1
- ClickA.Size = UDim2.new(1, 0, 1, 0)
- ClickA.Font = Enum.Font.SourceSans
- ClickA.Text = ""
- ClickA.TextColor3 = Color3.new(0, 0, 0)
- ClickA.TextScaled = true
- ClickA.TextSize = 1
- ClickA.TextWrapped = true
- ClickC.MouseButton1Click:Connect(function()
- clr = Color3.fromRGB(255, 0, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end)
- ClickD.MouseButton1Click:Connect(function()
- clr = Color3.fromRGB(0, 255, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end)
- ClickB.MouseButton1Click:Connect(function()
- clr = Color3.fromRGB(255, 255, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end)
- ClickE.MouseButton1Click:Connect(function()
- clr = Color3.fromRGB(0, 0, 255)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end)
- ClickA.MouseButton1Click:Connect(function()
- clr = Color3.fromRGB(255, 0, 255)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end)
- local random = math.random
- local rad = math.rad
- local ExpS = 2011915907
- local attack = false
- local QMove = false
- local Clicked = false
- local attacking = false
- local isReloading = false
- local ammo = 10
- function rell()
- if not isReloading then
- isReloading = true
- wait(5)
- ammo = 10
- isReloading = false
- end
- end
- function expTarg()
- attack = true
- QMove = true
- local raWeld = Instance.new("Weld",tors)
- raWeld.Part0 = tors
- raWeld.Part1 = rightArm
- raWeld.C0 = CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0))
- for i = 0,1,0.15 do
- RS:wait()
- raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(rad(90),rad(0),rad(0)),i)
- end
- local effect = Instance.new("ParticleEmitter",rightArm)
- effect.Color = ColorSequence.new(maincolor)
- effect.Speed = NumberRange.new(-1, 1)
- effect.LightEmission = 1
- effect.LightInfluence = 0.3
- effect.Size = NumberSequence.new(0.5,0.1875)
- effect.Lifetime = NumberRange.new(0.5, 1)
- effect.Rate = 30
- effect.RotSpeed = NumberRange.new(-40, 40)
- effect.SpreadAngle = Vector2.new(-25, 25)
- effect.VelocitySpread = -25
- mouse.Button1Down:Connect(function()
- if QMove == true and ammo > 0 then
- if Clicked == true then return end
- Clicked = true
- ammo = ammo - 1
- humanoid.Health = humanoid.Health - math.random(14,21)
- print(ammo)
- local prt = Instance.new("Part",workspace)
- game:GetService("Debris"):AddItem(prt,1)
- prt.Position = mouse.Hit.p + Vector3.new(0,0.85,0)
- prt.Size = Vector3.new(1,1,1)
- prt.Transparency = 1
- prt.CanCollide = false
- for i = 0,1,0.3 do
- RS:wait()
- raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.6,-.3) * CFrame.fromEulerAnglesXYZ(rad(100),rad(0),rad(0)),i)
- end
- pcall(function()
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 10
- exp.Position = prt.Position
- local sou = Instance.new("Sound",prt)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- end)
- wait(0.1)
- for i = 0,1,0.3 do
- RS:wait()
- raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,.5,-.5) * CFrame.fromEulerAnglesXYZ(rad(90),rad(0),rad(0)),i)
- end
- wait(0.1)
- Clicked = false
- else
- for i = 0,1,0.15 do
- RS:wait()
- raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0)),i)
- end
- wait(0.1)
- coroutine.resume(coroutine.create(function()
- rell()
- end))
- raWeld:Destroy()
- effect:Destroy()
- attack = false
- QMove = false
- Clicked = false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- if attack == true and Clicked == false then
- if key == "q" and QMove == true then
- for i = 0,1,0.15 do
- RS:wait()
- raWeld.C0 = raWeld.C0:lerp(CFrame.new(1.5,0,0) * CFrame.fromEulerAnglesXYZ(rad(0),rad(0),rad(0)),i)
- end
- wait(0.1)
- raWeld:Destroy()
- effect:Destroy()
- attack = false
- QMove = false
- Clicked = false
- end
- end
- end)
- while QMove do
- if QMove == false then
- break
- end
- RS:wait()
- end
- end
- function ExpTRACE()
- attack = true
- for i = 1,20 do
- local prt = Instance.new("Part",workspace)
- game:GetService("Debris"):AddItem(prt,1)
- prt.Position = mouse.Hit.p + Vector3.new(0,0.85,0)
- prt.Size = Vector3.new(1,1,1)
- prt.Transparency = 1
- prt.CanCollide = false
- pcall(function()
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 10
- exp.Position = prt.Position
- local sou = Instance.new("Sound",prt)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- end)
- wait(0.1)
- prt:Destroy()
- end
- attack = false
- end
- function expJump()
- attack = true
- for i = 1,5 do
- RS:wait()
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 10
- exp.Position = root.Position
- local sou = Instance.new("Sound",root)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- root.Velocity = root.CFrame.upVector * 200
- end
- wait(2)
- attack = false
- end
- function dash()
- attack = true
- for i = 1,20 do
- RS:wait()
- coroutine.resume(coroutine.create(function()
- delay(0.02, function()
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 10
- exp.BlastPressure = 60
- exp.Position = root.Position
- local sou = Instance.new("Sound",root)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- end)
- end),root)
- root.Velocity = root.CFrame.lookVector * 200
- end
- wait(1)
- attack = false
- end
- function solonggaybowser()
- attack = true
- local bv = Instance.new("BodyVelocity",tors)
- root.CFrame = CFrame.new(root.Position, Vector3.new(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)) * CFrame.new(0,0,0)
- game:GetService("Debris"):AddItem(bv,0.1)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity = CFrame.new(root.Position,mouse.Hit.p).LookVector * 100
- local FUUUUUUUUUUUUUUUUUUUUUUUUU = tors.Touched:Connect(function(hit)
- local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
- if humn and humn.Health > 0 then
- if hit:IsDescendantOf(chr) then return end
- local suspect = humn.Parent
- if suspect then
- local fakeHead = suspect:FindFirstChild("Head")
- if fakeHead then
- if not attacking then
- local fakeTors = suspect:FindFirstChild("HumanoidRootPart")
- if fakeTors then
- attacking = true
- attack = true
- local n00b = fakeHead
- local ra = rightArm
- --//Credit to vald20020 for command from his "Hell Torso" script.
- local prt = Instance.new("Part",ra)
- prt.Size = Vector3.new(1,1,1)
- prt.Transparency = 1
- local pw = Instance.new("Weld",prt)
- pw.Part0 = ra
- pw.Part1 = prt
- pw.C0 = pw.C0 * CFrame.new(0,.5,0)
- local hw = Instance.new("Weld",prt)
- hw.Part0 = prt
- hw.Part1 = n00b
- hw.C0 = hw.C0 * CFrame.new(0,-1.5,-2) * CFrame.fromEulerAnglesXYZ(1.55,0,3.1)
- local keyEvent = mouse.KeyDown:Connect(function(key)
- if key == " " and attacking == true then
- --workspace.CurrentCamera.CameraSubject = suspect
- local spark = Instance.new("Sparkles",fakeTors)
- spark.SparkleColor = Color3.new(math.random(),math.random(),math.random())
- wait(1)
- prt:Destroy()
- local velo = Instance.new("BodyVelocity",fakeTors)
- game:GetService("Debris"):AddItem(velo,2)
- velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- velo.Velocity = fakeTors.CFrame.LookVector * -250 + Vector3.new(0,60,0)
- wait(2)
- coroutine.resume(coroutine.create(function()
- for i = 1,30 do
- wait(0.05)
- local wh = Instance.new("Sound",workspace)
- game:GetService("Debris"):AddItem(wh,0.7)
- wh.SoundId = "rbxassetid://1400754519"
- wh.Name = "imfastasfuckboi"
- wh.Volume = 10
- wh:Play()
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 10
- exp.BlastPressure = 15000
- exp.Position = fakeHead.Position
- end
- end),fakeTors)
- wait(1)
- attacking = false
- attack = false
- --workspace.CurrentCamera.CameraSubject = chr
- end
- end)
- humanoid.Died:Connect(function()
- keyEvent:Disconnect()
- end)
- else
- attacking = false
- end
- end
- end
- end
- end
- end)
- wait(0.4)
- FUUUUUUUUUUUUUUUUUUUUUUUUU:Disconnect()
- attack = false
- end
- function gui()
- Frame.Visible = not Frame.Visible
- end
- function tele()
- attack = true
- chr:MoveTo(mouse.Hit.p + Vector3.new(0,0.5,0))
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = 30
- exp.BlastPressure = 60
- exp.Position = tors.Position
- local sou = Instance.new("Sound",root)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- wait(3)
- attack = false
- end
- function dieXD()
- attack = true
- for i = 10,1,-1 do
- game:GetService("Chat"):Chat(hed,i,Enum.ChatColor.White)
- tors.BrickColor = BrickColor.new("Really red")
- local sou = Instance.new("Sound",workspace)
- game:GetService("Debris"):AddItem(sou,0.6)
- sou.TimePosition = 0
- sou.MaxDistance = 600
- sou.Volume = 2
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://161164363"
- sou:Play()
- wait(0.3)
- tors.Color = maincolor
- wait(0.7)
- end
- tors.Color = maincolor
- wait(1)
- local exp = Instance.new("Explosion",workspace)
- exp.ExplosionType = Enum.ExplosionType.NoCraters
- exp.DestroyJointRadiusPercent = math.huge
- exp.BlastPressure = 5000000000000
- exp.Position = tors.Position
- local sou = Instance.new("Sound",root)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 0.2
- sou.MaxDistance = 600
- sou.Volume = 10
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://"..ExpS
- sou:Play()
- chr:BreakJoints()
- end
- function SEEEEEEEEYYYYYYYYyMMMMMMMOOOOOOOOOOUUUUUUUUUUURRRRRR()
- attack = true
- local count = 0
- local sou = Instance.new("Sound",workspace)
- game:GetService("Debris"):AddItem(sou,1.7)
- sou.TimePosition = 12
- sou.MaxDistance = 600
- sou.Volume = 6
- sou.EmitterSize = 10
- sou.SoundId = "rbxassetid://1624692345"
- sou:Play()
- repeat
- count = count + 0.3
- for _,v in pairs(chr:GetDescendants()) do
- if v:IsA("Motor6D") then
- v.C0 = v.C0 * CFrame.Angles(2*math.pi*math.random(),2*math.pi*math.random(),2*math.pi*math.random())
- end
- end
- RS:wait()
- until count >= 24
- local t = chr.Torso
- local rs = t["Right Shoulder"]
- local ls = t["Left Shoulder"]
- local rh = t["Right Hip"]
- local lh = t["Left Hip"]
- local nec = t.Neck
- local rut = chr.HumanoidRootPart
- local rutj = rut.RootJoint
- if count >= 24 then
- count = 0
- rutj.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- lh.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- ls.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- nec.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- end
- wait(0.1)
- attack = false
- end
- local keyDown = mouse.KeyDown:Connect(function(key)
- if attack == false and attacking == false then
- print(key)
- if key == "q" and QMove == false then
- expTarg()
- end
- if key == "e" then
- ExpTRACE()
- end
- if key == "t" then
- expJump()
- end
- if key == "r" then
- dash()
- end
- if key == "y" and attacking == false then
- solonggaybowser()
- end
- if key == "g" then
- gui()
- end
- if key == "u" then
- tele()
- end
- if key == "p" and humanoid.Health <= 60 then
- dieXD()
- end
- if key == "m" then
- SEEEEEEEEYYYYYYYYyMMMMMMMOOOOOOOOOOUUUUUUUUUUURRRRRR()
- end
- end
- end)
- local chatted = player.Chatted:Connect(function(mesg)
- if mesg:sub(1,10) == ":setcolor " then
- local mg = mesg:sub(11)
- if mg == "blue" then
- clr = Color3.fromRGB(0, 0, 255)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- elseif mg == "red" then
- clr = Color3.fromRGB(255, 0, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- elseif mg == "yellow" then
- clr = Color3.fromRGB(255, 255, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- elseif mg == "green" then
- clr = Color3.fromRGB(0, 255, 0)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- elseif mg == "pink" then
- clr = Color3.fromRGB(255, 0, 255)
- maincolor = clr
- for i,v in pairs(chr:GetChildren()) do
- if v:IsA("Part") then
- v.Color = maincolor
- end
- end
- end
- end
- end)
- humanoid.Died:Connect(function()
- keyDown:Disconnect()
- chatted:Disconnect()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement