Advertisement
SonicrixLP

Untitled

Mar 7th, 2017
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p = (game.Players.LocalPlayer.Name)
  2. char = game.Players.LocalPlayer.Character
  3.  
  4.  
  5. local player = game.Players.LocalPlayer
  6. repeat wait() until player.Character.Humanoid
  7. local humanoid = player.Character.Humanoid
  8. local mouse = player:GetMouse()
  9.  
  10. for i,v in pairs(char:GetChildren()) do
  11. if v.ClassName == 'Hat' then
  12. v:Destroy()
  13. end
  14. end
  15.  
  16. ScarySound1 = Instance.new("Sound")
  17. ScarySound1.Parent = char.Torso
  18. ScarySound1.SoundId = "rbxassetid://177113856"
  19. ScarySound1.Volume = 1
  20.  
  21. ScarySound2 = Instance.new("Sound")
  22. ScarySound2.Parent = char.Torso
  23. ScarySound2.SoundId = "rbxassetid://234313800"
  24. ScarySound2.Volume = 0.5
  25. ScarySound2.Looped = true
  26.  
  27. ScarySound3 = Instance.new("Sound")
  28. ScarySound3.Parent = char.Torso
  29. ScarySound3.SoundId = "rbxassetid://254933693"
  30. ScarySound3.Volume = 0.5
  31. ScarySound3.Looped = true
  32.  
  33. Punch = Instance.new("Sound")
  34. Punch.Parent = char.Torso
  35. Punch.SoundId = "rbxassetid://261566877"
  36. Punch.Volume = 1
  37. Punch.Looped = false
  38.  
  39. hole = Instance.new("Sound")
  40. hole.Parent = char.Torso
  41. hole.SoundId = "rbxassetid://266364769"
  42. hole.Volume = 1
  43. hole.Looped = false
  44.  
  45. game.Players.LocalPlayer.Character.Sound:Destroy()
  46.  
  47. function Normal()
  48. ScarySound3:Play()
  49. char.Humanoid.WalkSpeed = 16
  50. char.Head.face.Texture = "rbxassetid://23731238"
  51. char["Left Leg"].Transparency = 0.5
  52. char["Head"].Transparency = 0.5
  53. char["Right Leg"].Transparency = 0.5
  54. char["Torso"].Transparency = 0.5
  55. char["Left Arm"].Transparency = 0.5
  56. char["Right Arm"].Transparency = 0.5
  57. end
  58.  
  59. function GoInvisible()
  60. ScarySound3:Stop()
  61. ScarySound1:Stop()
  62. char.Humanoid.WalkSpeed = 120
  63. char.Head.face.Transparency = 1
  64. char["Left Leg"].Transparency = 0.5
  65. char["Head"].Transparency = 0.5
  66. char["Right Leg"].Transparency = 0.5
  67. char["Torso"].Transparency = 0.5
  68. char["Left Arm"].Transparency = 0.5
  69. char["Right Arm"].Transparency = 0.5
  70. wait(0.001)
  71. char["Left Leg"].Transparency = 0.6
  72. char["Head"].Transparency = 0.6
  73. char["Right Leg"].Transparency = 0.6
  74. char["Torso"].Transparency = 0.6
  75. char["Left Arm"].Transparency = 0.6
  76. char["Right Arm"].Transparency = 0.6
  77. wait(0.001)
  78. char["Left Leg"].Transparency = 0.7
  79. char["Head"].Transparency = 0.7
  80. char["Right Leg"].Transparency = 0.7
  81. char["Torso"].Transparency = 0.7
  82. char["Left Arm"].Transparency = 0.7
  83. char["Right Arm"].Transparency = 0.7
  84. wait(0.001)
  85. char["Left Leg"].Transparency = 1
  86. char["Head"].Transparency = 1
  87. char["Right Leg"].Transparency = 1
  88. char["Torso"].Transparency = 1
  89. char["Left Arm"].Transparency = 1
  90. char["Right Arm"].Transparency = 1
  91. end
  92.  
  93. function GoVisible()
  94. ScarySound3:Play()
  95. char.Humanoid.WalkSpeed = 16
  96. ScarySound1:Play()
  97. char.Head.face.Transparency = 0
  98. char["Left Leg"].Transparency = 0.9
  99. char["Head"].Transparency = 0.9
  100. char["Right Leg"].Transparency = 9
  101. char["Torso"].Transparency = 0.9
  102. char["Left Arm"].Transparency = 0.9
  103. char["Right Arm"].Transparency = 0.9
  104. wait(0.001)
  105. char["Left Leg"].Transparency = 0.7
  106. char["Head"].Transparency = 0.7
  107. char["Right Leg"].Transparency = 0.7
  108. char["Torso"].Transparency = 0.7
  109. char["Left Arm"].Transparency = 0.7
  110. char["Right Arm"].Transparency = 0.7
  111. wait(0.001)
  112. char["Left Leg"].Transparency = 0.5
  113. char["Head"].Transparency = 0.5
  114. char["Right Leg"].Transparency = 0.5
  115. char["Torso"].Transparency = 0.5
  116. char["Left Arm"].Transparency = 0.5
  117. char["Right Arm"].Transparency = 0.5
  118.  
  119. end
  120.  
  121. Normal()
  122.  
  123. local anim = Instance.new("Animation")
  124. anim.AnimationId = "rbxassetid://191123156"
  125.  
  126. mouse.KeyDown:connect(function(key)
  127. if key == "z" then
  128. if char.Head.Transparency == 0.5 then
  129. GoInvisible()
  130.  
  131. elseif char.Head.Transparency == 1 then
  132. GoVisible()
  133. end
  134. end end)
  135.  
  136. mouse.KeyDown:connect(function(key)
  137. if key == "x" then
  138. if ScarySound2.IsPlaying == false then
  139. ScarySound2:Play()
  140. elseif ScarySound2.IsPlaying == true then
  141. ScarySound2:Stop()
  142.  
  143.  
  144. end
  145. end end)
  146.  
  147. function onTouch(part)
  148.  
  149. local humanoid = part.Parent:findFirstChild("Humanoid")
  150. local model = part.Parent
  151. local torso = part.Parent:findFirstChild("Torso")
  152. local head = part.Parent:findFirstChild("Head")
  153. local leftleg = part.Parent:findFirstChild("Left Leg")
  154. local rightleg = part.Parent:findFirstChild("Right Leg")
  155. local leftarm = part.Parent:findFirstChild("Left Arm")
  156. local rightarm = part.Parent:findFirstChild("Right Arm")
  157.  
  158.  
  159. if (humanoid ~=nil) then
  160.  
  161. --humanoid.Health = 0
  162.  
  163. head.BrickColor = BrickColor.new("Bright yellow")
  164. torso.BrickColor = BrickColor.new("Bright yellow")
  165. leftleg.BrickColor = BrickColor.new("Bright yellow")
  166. rightleg.BrickColor = BrickColor.new("Bright yellow")
  167. rightarm.BrickColor = BrickColor.new("Bright yellow")
  168. leftarm.BrickColor = BrickColor.new("Bright yellow")
  169. humanoid.Sit = true
  170. wait(0.5)
  171. torso.Anchored = true
  172. wait(3)
  173.  
  174. e=Instance.new('Part', model)
  175. e.Size = Vector3.new(2.25,2.25,2.25)
  176. e.Transparency = 1
  177. e.Anchored = true
  178. e.CFrame = CFrame.new(head.Position)
  179. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  180. wait(0.1)
  181. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  182. wait(0.1)
  183. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  184. wait(0.1)
  185. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  186. wait(0.1)
  187. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  188. wait(0.1)
  189. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  190. wait(0.1)
  191. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  192. wait(0.1)
  193. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  194. wait(0.1)
  195. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  196. wait(0.1)
  197. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  198. wait(0.1)
  199. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  200. wait(0.1)
  201. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  202. wait(0.1)
  203. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  204. wait(0.1)
  205. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  206. wait(0.1)
  207. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  208. wait(0.1)
  209. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  210. wait(0.1)
  211. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  212. wait(0.1)
  213. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  214. wait(0.1)
  215. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  216. wait(0.1)
  217. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  218. wait(0.1)
  219. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  220. wait(0.1)
  221. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  222. wait(0.1)
  223. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  224. wait(0.1)
  225. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  226. wait(0.1)
  227. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  228. wait(0.1)
  229. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  230. wait(0.1)
  231. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  232. wait(0.1)
  233. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  234. wait(0.1)
  235. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  236. wait(0.1)
  237. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  238. wait(0.1)
  239. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  240. wait(0.1)
  241. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  242. wait(0.1)
  243. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  244. wait(0.1)
  245. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  246. wait(0.1)
  247. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  248. wait(0.1)
  249. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  250. wait(0.1)
  251. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  252. wait(0.1)
  253. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  254. wait(0.1)
  255. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  256. wait(0.1)
  257. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  258. wait(0.1)
  259. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  260. wait(0.1)
  261. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  262. wait(0.1)
  263. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  264. wait(0.1)
  265. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  266. wait(0.1)
  267. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  268. wait(0.1)
  269. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  270. wait(0.1)
  271. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  272. wait(0.1)
  273. head.Mesh.Scale = head.Mesh.Scale + Vector3.new(0.01,0.01,0.01)
  274.  
  275.  
  276. wait(2)
  277. head:Destroy()
  278. q=Instance.new('ParticleEmitter', e)
  279. q.Size = NumberSequence.new(0.5)
  280. q.Rate = 50
  281. q.Transparency = NumberSequence.new(0.5)
  282. q.Speed = NumberRange.new(7)
  283. q.VelocitySpread = 100
  284. q.Lifetime = NumberRange.new(1)
  285. q.Texture = 'rbxassetid://122275188'
  286.  
  287. torso.Anchored = true
  288. rightleg.Anchored = true
  289. leftleg.Anchored = true
  290. rightarm.Anchored = true
  291. leftarm.Anchored = true
  292. ded = Instance.new("Sound")
  293. ded.Parent = torso
  294. ded.SoundId = "rbxassetid://131060226"
  295. ded.Volume = 1
  296. ded.Looped = false
  297. wait()
  298. ded:Play()
  299.  
  300.  
  301.  
  302.  
  303. end
  304.  
  305. end
  306.  
  307.  
  308.  
  309. char.Torso.Touched:connect(onTouch)
  310.  
  311. mouse.KeyDown:connect(function(key)
  312. if key == "c" then
  313. local playAnim = humanoid:LoadAnimation(anim)
  314.  
  315. Punch:Play()
  316. playAnim:Play()
  317.  
  318.  
  319.  
  320. end
  321. end)
  322.  
  323. debounce = false
  324.  
  325. function onTouched(hit)
  326. hole:Play()
  327. hit.CanCollide=false
  328. wait(.5)
  329. hit.CanCollide = true
  330. debounce = true
  331.  
  332. end
  333. game.Players.LocalPlayer.Character.Torso.Touched:connect(onTouched)
  334.  
  335.  
  336. while wait() do
  337. char["Left Leg"].BrickColor = BrickColor.new("Bright yellow")
  338. char["Head"].BrickColor = BrickColor.new("Bright yellow")
  339. char["Right Leg"].BrickColor = BrickColor.new("Bright yellow")
  340. char["Torso"].BrickColor = BrickColor.new("Bright yellow")
  341. char["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
  342. char["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
  343. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement