Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function makewhite(colorval)
- for i=1,4 do
- game.Players.LocalPlayer.Character["Left Arm"].Color = Color3.fromRGB(colorval,colorval,colorval)
- game.Players.LocalPlayer.Character["Right Arm"].Color = Color3.fromRGB(colorval,colorval,colorval)
- game.Players.LocalPlayer.Character["Left Leg"].Color = Color3.fromRGB(colorval,colorval,colorval)
- game.Players.LocalPlayer.Character["Right Leg"].Color = Color3.fromRGB(colorval,colorval,colorval)
- game.Players.LocalPlayer.Character["Head"].Color = Color3.fromRGB(colorval,colorval,colorval)
- game.Players.LocalPlayer.Character["Torso"].Color = Color3.fromRGB(colorval,colorval,colorval)
- end
- end
- function makenorm()
- game.Players.LocalPlayer.Character["Left Arm"].Color = Color3.fromRGB(255,255,255)
- game.Players.LocalPlayer.Character["Right Arm"].Color = Color3.fromRGB(255,255,255)
- game.Players.LocalPlayer.Character["Left Leg"].Color = Color3.fromRGB(255,255,255)
- game.Players.LocalPlayer.Character["Right Leg"].Color = Color3.fromRGB(255,255,255)
- game.Players.LocalPlayer.Character["Head"].Color = Color3.fromRGB(255,255,255)
- game.Players.LocalPlayer.Character["Torso"].Color = Color3.fromRGB(98, 37, 209)
- end
- function find(pos)
- local lowest = math.huge()
- local nearestp = nil
- for i,v in pairs(game.Players:GetPlayers()) do
- if v and v.Character then
- local dist = v:DistanceFromCharacter(pos)
- if dist < lowest then
- lowest = dist
- nearestp = v
- end
- end
- end
- end
- if find(game.Players.LocalPlayer.Character.Torso.Position) then
- makewhite()
- wait(3)
- local explo = Instance.new('Explosion')
- explo.Parent = game.Players.LocalPlayer.Character.Torso
- explo.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement