oilsauce

Untitled

Mar 18th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.65 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local char = plr.Character
  3. local head = char:FindFirstChild("Head")
  4. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  5. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  6. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  7. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  8. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  9. local face = head:FindFirstChildOfClass("Decal")
  10. local mou = plr:GetMouse()
  11. face.Transparency = 1
  12. for i,v in pairs(char:GetChildren()) do
  13. if v:IsA("Part") then
  14. parts = v
  15. end
  16. if v:IsA("Accessory") then
  17. v.Handle.Transparency = 1
  18. end
  19. end
  20. head.Material = "Neon"
  21. while true do
  22. wait()
  23. head.BrickColor = BrickColor.random()
  24. end
  25. head.Touched:connect(function(hit)
  26. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  27. local char2 = hit.Parent
  28. local head2 = char2:FindFirstChild("Head")
  29. local face2 = head2:FindFirstChildOfClass("Decal")
  30. face2.Transparency = 1
  31. head2.Material = "Neon"
  32. for i,v in pairs(char2:GetChildren()) do
  33. if v:IsA("Accessory") then
  34. v.Handle.Transparency = 1
  35. end
  36. end
  37. while true do
  38. wait()
  39. head2.BrickColor = BrickColor.random()
  40. end
  41. end
  42. end)
  43.  
  44. tor.Touched:connect(function(hit)
  45. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  46. local char2 = hit.Parent
  47. local head2 = char2:FindFirstChild("Head")
  48. local face2 = head2:FindFirstChildOfClass("Decal")
  49. face2.Transparency = 1
  50. head2.Material = "Neon"
  51. for i,v in pairs(char2:GetChildren()) do
  52. if v:IsA("Accessory") then
  53. v.Handle.Transparency = 1
  54. end
  55. end
  56. while true do
  57. wait()
  58. head2.BrickColor = BrickColor.random()
  59. end
  60. end
  61. end)
  62.  
  63. larm.Touched:connect(function(hit)
  64. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  65. local char2 = hit.Parent
  66. local head2 = char2:FindFirstChild("Head")
  67. local face2 = head2:FindFirstChildOfClass("Decal")
  68. face2.Transparency = 1
  69. head2.Material = "Neon"
  70. for i,v in pairs(char2:GetChildren()) do
  71. if v:IsA("Accessory") then
  72. v.Handle.Transparency = 1
  73. end
  74. end
  75. while true do
  76. wait()
  77. head2.BrickColor = BrickColor.random()
  78. end
  79. end
  80. end)
  81.  
  82. rarm.Touched:connect(function(hit)
  83. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  84. local char2 = hit.Parent
  85. local head2 = char2:FindFirstChild("Head")
  86. local face2 = head2:FindFirstChildOfClass("Decal")
  87. face2.Transparency = 1
  88. head2.Material = "Neon"
  89. for i,v in pairs(char2:GetChildren()) do
  90. if v:IsA("Accessory") then
  91. v.Handle.Transparency = 1
  92. end
  93. end
  94. while true do
  95. wait()
  96. head2.BrickColor = BrickColor.random()
  97. end
  98. end
  99. end)
  100.  
  101. rleg.Touched:connect(function(hit)
  102. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  103. local char2 = hit.Parent
  104. local head2 = char2:FindFirstChild("Head")
  105. local face2 = head2:FindFirstChildOfClass("Decal")
  106. face2.Transparency = 1
  107. head2.Material = "Neon"
  108. for i,v in pairs(char2:GetChildren()) do
  109. if v:IsA("Accessory") then
  110. v.Handle.Transparency = 1
  111. end
  112. end
  113. while true do
  114. wait()
  115. head2.BrickColor = BrickColor.random()
  116. end
  117. end
  118. end)
  119.  
  120. lleg.Touched:connect(function(hit)
  121. if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") then
  122. local char2 = hit.Parent
  123. local head2 = char2:FindFirstChild("Head")
  124. local face2 = head2:FindFirstChildOfClass("Decal")
  125. face2.Transparency = 1
  126. head2.Material = "Neon"
  127. for i,v in pairs(char2:GetChildren()) do
  128. if v:IsA("Accessory") then
  129. v.Handle.Transparency = 1
  130. end
  131. end
  132. while true do
  133. wait()
  134. head2.BrickColor = BrickColor.random()
  135. end
  136. end
  137. end)
  138. function pressed(k)
  139. if key == "q" then
  140. print("?")
  141. end
  142. end
  143.  
  144. mou.KeyDown:connect(pressed)
Add Comment
Please, Sign In to add comment