Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local head = char:FindFirstChild("Head")
- local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
- local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
- local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
- local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
- local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
- local face = head:FindFirstChildOfClass("Decal")
- local mou = plr:GetMouse()
- face.Transparency = 1
- for i,v in pairs(char:GetChildren()) do
- if v:IsA("Part") then
- parts = v
- end
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- head.Material = "Neon"
- while true do
- wait()
- head.BrickColor = BrickColor.random()
- end
- head.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- tor.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- larm.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- rarm.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- rleg.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- lleg.Touched:connect(function(hit)
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
- local char2 = hit.Parent
- local head2 = char2:FindFirstChild("Head")
- local face2 = head2:FindFirstChildOfClass("Decal")
- face2.Transparency = 1
- head2.Material = "Neon"
- for i,v in pairs(char2:GetChildren()) do
- if v:IsA("Accessory") then
- v.Handle.Transparency = 1
- end
- end
- while true do
- wait()
- head2.BrickColor = BrickColor.random()
- end
- end
- end)
- function pressed(k)
- if key == "q" then
- print("?")
- end
- end
- mou.KeyDown:connect(pressed)
Add Comment
Please, Sign In to add comment