Advertisement
GS1029

Clone of my undertale thing

Dec 13th, 2016
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.04 KB | None | 0 0
  1. --Enjoy little skids :)
  2. dot = false
  3. des = false
  4. local ChatService = game:GetService("Chat")
  5. local player = game.Players.LocalPlayer
  6. char = player.Character
  7. hum = char.Humanoid
  8. torso = hum.Torso
  9. lig = Instance.new("PointLight",player.Character.Torso)
  10. lig.Color=Color3.new(0,255,255)
  11. m=player:GetMouse()
  12. bb = Instance.new("BillboardGui",player.Character.Head)
  13. bb.Enabled = true
  14. bb.AlwaysOnTop = true
  15. bb.Size = UDim2.new(0,200,00,50)
  16. bb.StudsOffset = Vector3.new(0,1,0)
  17. gui=Instance.new("TextBox",bb)
  18. gui.Text = "* "
  19. gui.Size = UDim2.new(0,400,0,100)
  20. gui.Position=UDim2.new(0,-95,0,-85)
  21. gui.TextColor3 = Color3.new(255,255,255)
  22. gui.BackgroundColor3=Color3.new(0,0,0) --another
  23. gui.TextWrapped = true
  24. gui.TextScaled = true
  25. gui.FontSize = "Size14"
  26. gui.TextXAlignment = "Left"
  27. gui.TextYAlignment = "Top"
  28. gui.Visible = false
  29. gui.BorderColor3 = Color3.new(255,255,255)
  30. gui.BorderSizePixel = 5
  31.  
  32. gui1=Instance.new("TextButton",bb)
  33. gui1.Position=UDim2.new(0,5,0,-43)
  34. gui1.Size = UDim2.new(0,190,0,51)
  35. gui1.Text = ""
  36.  
  37. gui1.TextColor3 = Color3.new(255,255,255)
  38. gui1.BackgroundColor3=Color3.new(0,0,0) --shotCUT
  39. gui1.BackgroundTransparency = 1
  40.  
  41. gui1.Visible = false
  42. img = Instance.new("ImageLabel",bb)
  43. img.Size = UDim2.new(0,0,0,0)
  44. img.Position = UDim2.new(0,10,0,-41)
  45. img.BackgroundTransparency = 1
  46. img.BorderColor3 = Color3.new(0,0,0)
  47. img.Visible = false
  48. asd = Instance.new("Sound",player.Character.Torso)
  49. asd.SoundId = "http://www.roblox.com/asset/?id = 437422279"
  50. asd.Pitch = 0.25
  51.  
  52. asd1 = Instance.new("Sound",player.Character.Torso)
  53. asd1.SoundId = "http://www.roblox.com/asset/?id = 437422279"
  54. asd1.Pitch = 0.25
  55.  
  56. asd2 = Instance.new("Sound",player.Character.Torso)
  57. asd2.SoundId = "http://www.roblox.com/asset/?id = 289770985"
  58. asd2.Looped = true
  59. asd3 = Instance.new("Sound",player.Character.Torso)
  60. asd3.SoundId = "http://www.roblox.com/asset/?id = 229478988"
  61. asd3.Looped = true
  62. asd4 = Instance.new("Sound",player.Character.Torso)
  63. asd4.SoundId = "http://www.roblox.com/asset/?id = 383257307"
  64. asd4.Looped = false
  65. asd5 = Instance.new("Sound",player.Character.Torso)
  66. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  67. asd5.Looped = true
  68. dunkd = Instance.new("Sound",player.Character.Torso)
  69. dunkd.SoundId = "http://www.roblox.com/asset/?id = 378113636"
  70. dunkd.Looped = false
  71. function play(play)
  72. asd:Play()
  73. asd1:Play()
  74. end
  75. eye = Instance.new("Part",player.Character)
  76. eye.BrickColor = BrickColor.new("Toothpaste")
  77. eye.Material = "Neon"
  78. eye.FormFactor = 3
  79. eye.Shape = "Cylinder"
  80. eye.Size = Vector3.new(0.37,0.37,0.1)
  81. weld = Instance.new("Weld",eye)
  82. weld.Part0 = eye
  83. weld.Part1 = player.Character.Head
  84. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  85. eye.Transparency = 1
  86. -- listen for their chatting
  87. player.Chatted:connect(function(message)
  88. a = string.len(message)
  89. gui.Text = "* "
  90. gui.Visible = true
  91. gui1.Visible = true
  92. des = false
  93. img.Visible = false
  94. print(a)
  95. if dot == false then
  96. for i = 1,string.len(message) do wait(0.07)
  97. gui.Text =gui.Text..message:sub(i,i)
  98.  
  99. play()
  100. end
  101. end
  102.  
  103. des = true
  104. end)
  105. m.KeyDown:connect(function(k)
  106. if k == "g" then
  107. asd2:Play()
  108. eye.Transparency = 1
  109.  
  110. end
  111. end)
  112. m.KeyDown:connect(function(k)
  113. if k == "p" then
  114. eye.Transparency = 1
  115. asd3:Play()
  116. end
  117. end)
  118. m.KeyDown:connect(function(k)
  119. if k == "r" then
  120. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  121. local head = Instance.new("Part",c)
  122. head.Size = Vector3.new(12,12,.2)
  123. head.Shape = "Cylinder"
  124. head.TopSurface = 'Smooth'
  125. head.BottomSurface = 'Smooth'
  126. head.BrickColor = BrickColor.new("Really red")
  127. head.CanCollide = false
  128. head.Anchored = true
  129. head.Material = "Neon"
  130. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  131. head.Transparency = 0.75
  132. wait()
  133. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  134. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  135. wait()
  136. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  137. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  138. wait()
  139. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  140. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  141. wait()
  142. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  143. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  144. wait()
  145. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  146. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  147. wait()
  148. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  149. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  150. wait()
  151. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  152. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  153. wait()
  154. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  155. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  156. wait()
  157. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  158. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  159. wait()
  160. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  161. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  162. wait()
  163. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  164. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  165. wait()
  166. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  167. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  168. wait()
  169. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  170. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  171. wait()
  172. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  173. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  174. wait()
  175. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  176. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  177. wait()
  178. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  179. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  180. wait()
  181. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  182. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  183. wait()
  184. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  185. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  186. wait()
  187. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  188. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  189. wait()
  190. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  191. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  192. wait()
  193. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  194. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  195. wait()
  196. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  197. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  198. wait()
  199. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  200. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  201. wait()
  202. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  203. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  204. wait()
  205. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  206. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  207. wait()
  208. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  209. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  210. wait()
  211. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  212. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  213. wait()
  214. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  215. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  216. wait()
  217. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  218. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  219. wait()
  220. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  221. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  222. wait()
  223. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  224. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  225. wait()
  226. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  227. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  228. wait()
  229. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  230. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  231. wait()
  232. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  233. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  234. wait()
  235. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  236. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  237. wait()
  238. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  239. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  240. wait()
  241. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  242. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  243. wait()
  244. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  245. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  246. wait()
  247. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  248. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  249. wait()
  250. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  251. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  252. wait()
  253. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  254. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  255. wait()
  256. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  257. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  258. wait()
  259. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  260. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  261. wait()
  262. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  263. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  264. wait()
  265. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  266. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  267. wait()
  268. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  269. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  270. wait()
  271. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  272. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  273. wait()
  274. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  275. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  276. wait()
  277. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  278. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  279. wait()
  280. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  281. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  282. wait()
  283. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  284. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  285. wait()
  286. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  287. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  288. wait()
  289. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  290. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  291. wait()
  292. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  293. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  294. wait()
  295. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  296. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  297. wait()
  298. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  299. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  300. wait()
  301. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  302. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  303. wait()
  304. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  305. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  306. wait()
  307. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  308. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  309. wait()
  310. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  311. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  312. wait()
  313. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  314. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  315. wait()
  316. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  317. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  318. wait()
  319. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  320. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  321. wait()
  322. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  323. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  324. wait()
  325. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  326. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  327. wait()
  328. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  329. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  330. wait()
  331. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  332. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  333. wait()
  334. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  335. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  336. wait()
  337. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  338. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  339. wait()
  340. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  341. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  342. wait()
  343. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  344. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  345. wait()
  346. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  347. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  348. wait()
  349. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  350. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  351. wait()
  352. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  353. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  354. wait()
  355. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  356. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  357. wait()
  358. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  359. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  360. wait()
  361. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  362. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  363. wait()
  364. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  365. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  366. wait()
  367. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  368. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  369. wait()
  370. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  371. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  372. wait()
  373. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  374. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  375. wait()
  376. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  377. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  378. wait()
  379. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  380. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  381. wait()
  382. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  383. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  384. wait()
  385. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  386. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  387. wait()
  388. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  389. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  390. wait()
  391. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  392. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  393. wait()
  394. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  395. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  396. wait()
  397. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  398. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  399. wait()
  400. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  401. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  402. wait()
  403. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  404. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  405. wait()
  406. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  407. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  408. wait()
  409. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  410. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  411. wait()
  412. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  413. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  414. wait()
  415. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  416. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  417. wait()
  418. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  419. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  420. wait()
  421. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  422. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  423. wait()
  424. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  425. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  426. wait()
  427. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  428. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  429. wait()
  430. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  431. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  432. wait()
  433. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  434. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  435. wait()
  436. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  437. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  438. wait()
  439. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  440. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  441. wait()
  442. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  443. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  444. wait()
  445. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  446. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  447. wait()
  448. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  449. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  450. wait()
  451. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  452. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  453. wait()
  454. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  455. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  456. wait()
  457. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  458. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  459. wait()
  460. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  461. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  462. wait()
  463. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  464. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  465. wait()
  466. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  467. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  468. wait()
  469. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  470. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  471. wait()
  472. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  473. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  474. wait()
  475. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  476. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  477. wait()
  478. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  479. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  480. wait()
  481. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  482. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  483. wait()
  484. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  485. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  486. wait()
  487. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  488. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  489. wait()
  490. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  491. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  492. wait()
  493. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  494. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  495. wait()
  496. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  497. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  498. wait()
  499. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  500. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  501. wait()
  502. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  503. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  504. wait()
  505. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  506. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  507. wait()
  508. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  509. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  510. wait()
  511. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  512. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  513. wait()
  514. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  515. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  516. wait()
  517. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  518. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  519. wait()
  520. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  521. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  522. wait()
  523. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  524. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  525. wait()
  526. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  527. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  528. wait()
  529. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  530. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  531. wait()
  532. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  533. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  534. wait()
  535. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  536. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  537. wait()
  538. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  539. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  540. wait()
  541. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  542. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  543. wait()
  544. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  545. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  546. wait()
  547. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  548. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  549. wait()
  550. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  551. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  552. wait()
  553. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  554. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  555. wait()
  556. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  557. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  558. wait()
  559. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  560. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  561. wait()
  562. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  563. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  564. wait()
  565. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  566. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  567. wait()
  568. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  569. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  570. wait()
  571. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  572. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  573. wait()
  574. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  575. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  576. wait()
  577. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  578. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  579. wait()
  580. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  581. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  582. wait()
  583. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  584. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  585. wait()
  586. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  587. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  588. wait()
  589. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  590. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  591. wait()
  592. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  593. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  594. wait()
  595. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  596. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  597. wait()
  598. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  599. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  600. wait()
  601. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  602. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  603. wait()
  604. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  605. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  606. wait()
  607. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  608. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  609. wait()
  610. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  611. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  612. wait()
  613. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  614. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  615. wait()
  616. head:Destroy()
  617. end
  618. end)
  619. m.KeyDown:connect(function(k)
  620. if k == "q" then
  621. eye.Transparency = 1
  622. asd5:Play()
  623. end
  624. end)
  625. m.KeyDown:connect(function(k)
  626. if k == "z" then
  627.  
  628. img.Image = "rbxassetid://"
  629. end
  630. end)
  631. m.KeyDown:connect(function(k)
  632. if k == "c" then
  633. cool = Instance.new("Sound",player.Character.Torso)
  634. cool.SoundId = "http://www.roblox.com/asset/?id = 392201535"
  635. wait()
  636. cool:Play()
  637. human.Health = human.Health - math.random(150,300) --cool short
  638. end
  639. end)
  640. m.KeyDown:connect(function(k)
  641. if k == "l" then
  642. img.Image = "rbxassetid://"
  643. print("You take your very last breath...")
  644. asdd = Instance.new("Sound",player.Character.Torso)
  645. asdd.SoundId = "http://www.roblox.com/asset/?id = 392201535"
  646. asdd.Looped = false
  647. spawn(function()
  648. wait()
  649. asdd:Play()
  650. human.Health = 1
  651. human.Parent["Right Arm"].BrickColor = BrickColor.new("Really red")
  652. end)
  653. wait(0.1)
  654. asddd = Instance.new("Sound",player.Character.Torso)
  655. asddd.SoundId = "http://www.roblox.com/asset/?id = 186311262"
  656. asddd.Looped = false
  657. spawn(function()
  658. wait()
  659. asddd:Play()
  660. end)
  661. wait(30)
  662. asdded = Instance.new("Sound",player.Character.Torso)
  663. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  664. asdded.Looped = false
  665. spawn(function()
  666. wait()
  667. asdded:Play()
  668. end)
  669. char:BreakJoints()
  670. end
  671. end)
  672. m.KeyDown:connect(function(k)
  673. if k == "x" then
  674. if des == true then
  675. gui.Visible = false
  676. gui.Text = "* "
  677. gui1.Visible = false
  678. img.Visible = false
  679. end
  680. end
  681. end)
  682. m.KeyDown:connect(function(k)
  683. if k == "f" then
  684. asd3:Stop()
  685. asd2:Stop()
  686. asd4:Stop()
  687. dunkd:Stop()
  688. eye.Transparency = 1
  689. asd5:Stop()
  690. end
  691. end)
  692. m.KeyDown:connect(function(k)
  693. if k == "u" then
  694. dunkd = Instance.new("Sound",player.Character.Torso)
  695. dunkd.SoundId = "http://www.roblox.com/asset/?id = 378113636"
  696. dunkd.Looped = false
  697. dunkd:Play()
  698. end
  699. end)
  700. m.KeyDown:connect(function(k)
  701. if k == "y" then
  702. img.Image = "rbxassetid://"
  703. end
  704. end)
  705. -- my god...
  706. -- Suck_HiyaThere moves to arizona
  707.  
  708. --------------------------------------------------------
  709.  
  710. pls = game:GetService'Players'
  711. rs = game:GetService'RunService'
  712. uinps = game:GetService'UserInputService'
  713. lp = pls.LocalPlayer
  714. mouse = lp:GetMouse()
  715. c = lp.Character
  716. human = c.Humanoid
  717. human.MaxHealth = 7500
  718. soundVol = 0
  719. wait()
  720. human.Health = 7500
  721. c.Health:Destroy()
  722.  
  723. --------------------------------------------------------
  724.  
  725. Debounces = {
  726. AnimationCycles = 0;
  727. FPS = 0;
  728. scalingDamage = false;
  729. damageLevel = 0;
  730. attackNumber = 0;
  731. isAttacking = false;
  732. isMoving = false;
  733. isSprinting = false;
  734. isBoosting = false;
  735. isPassive = false;
  736. isTyping = false;
  737. }
  738.  
  739. --------------------------------------------------------
  740.  
  741. numLerp = function(start, goal, alpha)
  742. return(((goal - start) * alpha) + start)
  743. end
  744.  
  745. CFrameZero = function()
  746. return CFrame.new(Vector3.new())
  747. end
  748.  
  749. rad = function(value)
  750. return math.rad(value)
  751. end
  752.  
  753. CFAngles = function(Vector)
  754. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  755. end
  756.  
  757. --------------------------------------------------------
  758.  
  759. AnimStat = {
  760. lerpSpeed = .2;
  761. lerpSpeed2 = .35;
  762. lerpTween = 0;
  763. }
  764.  
  765. Joints = {
  766. c.HumanoidRootPart.RootJoint;
  767. c.Torso.Neck;
  768. c.Torso['Left Shoulder'];
  769. c.Torso['Right Shoulder'];
  770. c.Torso['Left Hip'];
  771. c.Torso['Right Hip'];
  772. }
  773.  
  774. JointTargets = {
  775. CFrameZero();
  776. CFrameZero();
  777. CFrameZero();
  778. CFrameZero();
  779. CFrameZero();
  780. CFrameZero();
  781. }
  782.  
  783. --------------------------------------------------------
  784.  
  785. BodyColors = {
  786. HeadColor = BrickColor.new("Institutional white");
  787. LeftArmColor = BrickColor.new("Institutional white");
  788. RightArmColor = BrickColor.new("Institutional white");
  789. LeftLegColor = BrickColor.new("Institutional white");
  790. RightLegColor = BrickColor.new("Institutional white");
  791. TorsoColor = BrickColor.new("Mid gray");
  792. }
  793.  
  794. Customs = {
  795. Face = "http://www.roblox.com/asset/?id=8560915";
  796. Shirt = "http://www.roblox.com/asset/?id=334781688";
  797. Pants = "http://www.roblox.com/asset/?id=335237283";
  798. }
  799.  
  800. --------------------------------------------------------
  801.  
  802. prepareCharacter = function()
  803. local transPoints = {
  804. NumberSequenceKeypoint.new(0,0,0),
  805. NumberSequenceKeypoint.new(.4,.05,0),
  806. NumberSequenceKeypoint.new(.8,.16,0),
  807. NumberSequenceKeypoint.new(1,.25,0)
  808. }
  809. local sizePoints = {
  810. NumberSequenceKeypoint.new(0,.5,0),
  811. NumberSequenceKeypoint.new(.18,.5,0),
  812. NumberSequenceKeypoint.new(.49,.69,0),
  813. NumberSequenceKeypoint.new(.74,.5,0),
  814. NumberSequenceKeypoint.new(.92,.25,0),
  815. NumberSequenceKeypoint.new(1,.0625,0)
  816. }
  817. local Size = NumberSequence.new(sizePoints)
  818. local Transparency = NumberSequence.new(transPoints)
  819. rayModel = Instance.new("Model",c)
  820. efxBlock = Instance.new("Part",c)
  821. efxBlock.Material = "Neon"
  822. efxBlock.FormFactor = "Custom"
  823. efxBlock.Size = Vector3.new(.3,.3,.3)
  824. light = Instance.new("PointLight",c.Head)
  825. light.Range = 5
  826. light.Brightness = 500
  827. light.Color = Color3.new(0,255,255)
  828. light.Shadows = false
  829. local particles = Instance.new("ParticleEmitter",efxBlock)
  830. particles.Color = ColorSequence.new(Color3.new(0,.85,.85),Color3.new(0,0,1))
  831. particles.ZOffset = 1
  832. particles.LightEmission = 2
  833. particles.Size = Size
  834. particles.Name = "Fire"
  835. particles.Transparency = Transparency
  836. particles.LockedToPart = true
  837. particles.Rate = 0.1
  838. particles.EmissionDirection = "Right"
  839. particles.Acceleration = Vector3.new(-.5,0,0)
  840. particles.Texture = "rbxassetid://24378732"
  841. particles.Lifetime = NumberRange.new(1,2)
  842. particles.Speed = NumberRange.new(-.5,5)
  843. script.Parent = efxBlock
  844. fire = particles
  845. local offset = Vector3.new(0.2, .23, -0.5)
  846. local weld = Instance.new("Weld",c.Head)
  847. weld.Part0 = c.Head
  848. weld.Part1 = efxBlock
  849. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  850. efxBlock.Parent = c
  851. local music = Instance.new("Sound",c.Torso)
  852. music.SoundId = "rbxassetid://316012176"
  853. music.Looped = true
  854. music.Volume = soundVol
  855. fight = music
  856. local music2 = Instance.new("Sound",c.Torso)
  857. music2.SoundId = "rbxassetid://316014309"
  858. music2.Looped = true
  859. music2.Volume = soundVol
  860. sans = music2
  861. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  862. pointGyro.P = 1e7
  863. pointGyro.D = 1e3
  864. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  865. animator = c.Humanoid:FindFirstChild("Animator")
  866. if animator then
  867. animator:Destroy()
  868. end
  869. c.Torso.roblox:Destroy()
  870. for i,v in pairs (c.Head:children()) do
  871. if v.ClassName == "Sound" then
  872. v:Destroy()
  873. end
  874. end
  875. for i = 1,#Joints do
  876. Joints[i].C1 = CFrame.new(Vector3.new())
  877. end
  878. human.WalkSpeed = 0
  879. human.JumpPower = 100
  880. end
  881.  
  882. uinps.InputBegan:connect(function(InputObject)
  883. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  884. Debounces.isPassive = not Debounces.isPassive
  885. end
  886. end)
  887.  
  888. setJointCFrames = function(table)
  889. for i = 1,#table do
  890. JointTargets[i] = table[i]
  891. end
  892. AnimationCycles = 0
  893. end
  894.  
  895. setLerp = function(speed)
  896. AnimStat.lerpSpeed = speed
  897. end
  898.  
  899. setTween = function(tween)
  900. AnimStat.lerpTween = tween
  901. end
  902.  
  903. takeDamage = function(position,damage,distance,platformStand)
  904. for i,v in pairs (pls:children()) do
  905. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  906. local torso = v.Character:FindFirstChild("Torso")
  907. if torso and (torso.Position - position).magnitude < distance then
  908. if v.Character.Humanoid.MaxHealth > 1000 then
  909. v.Character.Humanoid.MaxHealth = 100;
  910. v.Character.Humanoid.Breakjoints()
  911. end
  912.  
  913.  
  914. v.Character.Humanoid:TakeDamage(2)
  915. if platformStand == true then
  916. v.Character.PlatformStand = platformStand
  917. end
  918. end
  919. end
  920. end
  921. end
  922.  
  923. --------------------------------------------------------
  924.  
  925. prepareCharacter()
  926.  
  927. --------------------------------------------------------
  928.  
  929. spawn(function()
  930. local sine = 0
  931. while wait() do
  932. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  933. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  934. setLerp(.1)
  935. if Debounces.isPassive == true then
  936. setJointCFrames({
  937. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  938. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  939. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  940. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  941. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  942. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  943. })
  944. else
  945. setJointCFrames({
  946. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  947. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  948. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  949. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  950. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  951. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  952. })
  953. end
  954. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  955. sine = sine + math.rad(12)
  956. human.WalkSpeed = 45
  957. setLerp(.15)
  958. setJointCFrames({
  959. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  960. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  961. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  962. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  963. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  964. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  965. })
  966. end
  967. if Debounces.scalingDamage == true then
  968. takeDamage(2)
  969. end
  970. end
  971. end)
  972.  
  973. human.Changed:connect(function(prop)
  974. if prop == "MoveDirection" then
  975. if human.MoveDirection.magnitude > .02 then
  976. Debounces.isMoving = true
  977. else
  978. Debounces.isMoving = false
  979. end
  980. end
  981. end)
  982.  
  983. uinps.InputBegan:connect(function(InputObject)
  984. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  985. Debounces.isBoosting = true
  986. Debounces.damageLevel = 1
  987. Debounces.scalingDamage = true
  988. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  989. setLerp(.15)
  990. setJointCFrames({
  991. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  992. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  993. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  994. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  995. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  996. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  997. })
  998. local boostSpeed = 150
  999. local efx = Instance.new("Sound",c.Head)
  1000. efx.SoundId = "rbxassetid://178683541"
  1001. efx.Pitch = math.random(1100,1300)/1000
  1002. efx.Volume = 1
  1003. efx:Play()
  1004. spawn(function()
  1005. wait(5)
  1006. efx:Destroy()
  1007. end)
  1008. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  1009. vel.P = 1e3
  1010. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1011. wait(.15)
  1012. vel.P = 1000
  1013. vel.MaxForce = Vector3.new(3000,0,3000)
  1014. vel.Velocity = Vector3.new()
  1015. wait(.3)
  1016. setLerp(.3)
  1017. setJointCFrames({
  1018. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  1019. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  1020. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  1021. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  1022. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  1023. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  1024. })
  1025. wait()
  1026. vel:Destroy()
  1027. Debounces.damageLevel = 0
  1028. Debounces.scalingDamage = false
  1029. Debounces.isBoosting = false
  1030. end
  1031. end)
  1032.  
  1033. uinps.InputBegan:connect(function(InputObject)
  1034. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1035. Debounces.isBoosting = true
  1036. Debounces.damageLevel = 1
  1037. Debounces.scalingDamage = true
  1038. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1039. setLerp(.15)
  1040. setJointCFrames({
  1041. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1042. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1043. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1044. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1045. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1046. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1047. })
  1048. local boostSpeed = 150
  1049. local efx = Instance.new("Sound",c.Head)
  1050. efx.SoundId = "rbxassetid://178683541"
  1051. efx.Pitch = math.random(1100,1300)/1000
  1052. efx.Volume = .5
  1053. efx:Play()
  1054. spawn(function()
  1055. wait(5)
  1056. efx:Destroy()
  1057. end)
  1058. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1059. vel.P = 1e3
  1060. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1061. wait(.15)
  1062. vel.P = 1000
  1063. vel.MaxForce = Vector3.new(3000,0,3000)
  1064. vel.Velocity = Vector3.new()
  1065. wait(.3)
  1066. setLerp(.3)
  1067. setJointCFrames({
  1068. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1069. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1070. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1071. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1072. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1073. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1074. })
  1075. wait()
  1076. vel:Destroy()
  1077. Debounces.damageLevel = 0
  1078. Debounces.scalingDamage = false
  1079. Debounces.isBoosting = false
  1080. end
  1081. end)
  1082.  
  1083. uinps.InputBegan:connect(function(InputObject)
  1084. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1085. Debounces.isBoosting = true
  1086. Debounces.damageLevel = 1
  1087. Debounces.scalingDamage = true
  1088. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1089. setLerp(.15)
  1090. setJointCFrames({
  1091. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1092. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1093. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1094. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1095. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1096. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1097. })
  1098. local boostSpeed = 150
  1099. local efx = Instance.new("Sound",c.Head)
  1100. efx.SoundId = "rbxassetid://178683541"
  1101. efx.Pitch = math.random(1100,1300)/1000
  1102. efx.Volume = .5
  1103. efx:Play()
  1104. spawn(function()
  1105. wait(5)
  1106. efx:Destroy()
  1107. end)
  1108. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1109. vel.P = 1e3
  1110. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1111. wait(.15)
  1112. vel.P = 1000
  1113. vel.MaxForce = Vector3.new(3000,0,3000)
  1114. vel.Velocity = Vector3.new()
  1115. wait(.3)
  1116. setLerp(.3)
  1117. setJointCFrames({
  1118. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1119. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1120. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1121. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1122. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1123. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1124. })
  1125. wait()
  1126. vel:Destroy()
  1127. Debounces.damageLevel = 0
  1128. Debounces.scalingDamage = false
  1129. Debounces.isBoosting = false
  1130. end
  1131. end)
  1132.  
  1133. uinps.InputBegan:connect(function(InputObject)
  1134. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1135. Debounces.isBoosting = true
  1136. Debounces.damageLevel = 1
  1137. Debounces.scalingDamage = true
  1138. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1139. setLerp(.15)
  1140. setJointCFrames({
  1141. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1142. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1143. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1144. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1145. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1146. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1147. })
  1148. local boostSpeed = 150
  1149. local boostSpeed = 150
  1150. local efx = Instance.new("Sound",c.Head)
  1151. efx.SoundId = "rbxassetid://178683541"
  1152. efx.Pitch = math.random(1100,1300)/1000
  1153. efx.Volume = .5
  1154. efx:Play()
  1155. spawn(function()
  1156. wait(5)
  1157. efx:Destroy()
  1158. end)
  1159. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1160. vel.P = 1e3
  1161. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1162. wait(.15)
  1163. vel.P = 1000
  1164. vel.MaxForce = Vector3.new(3000,0,3000)
  1165. vel.Velocity = Vector3.new()
  1166. wait(.3)
  1167. setLerp(.3)
  1168. setJointCFrames({
  1169. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1170. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1171. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1172. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1173. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1174. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1175. })
  1176. wait()
  1177. vel:Destroy()
  1178. Debounces.damageLevel = 0
  1179. Debounces.scalingDamage = false
  1180. Debounces.isBoosting = false
  1181. end
  1182. end)
  1183.  
  1184. uinps.InputBegan:connect(function(InputObject)
  1185. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1186. local isLooping = true
  1187. uinps.InputEnded:connect(function(InputObject2)
  1188. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1189. isLooping = false
  1190. end
  1191. end)
  1192. while true do
  1193. if isLooping == false then
  1194. break
  1195. end
  1196. Debounces.attackNumber = Debounces.attackNumber + 1
  1197. local aimPos = mouse.Hit.p
  1198. local head = Instance.new("Part",c)
  1199. local s = Instance.new("Sound",head)
  1200. s.Volume = 1
  1201. s.SoundId = "rbxassetid://325574531"
  1202. s:Play()
  1203. wait()
  1204. head.Size = Vector3.new(6,6,1)
  1205. head.BrickColor = BrickColor.new("Really blue")
  1206. head.Shape = "Cylinder"
  1207. head.CanCollide = false
  1208. head.TopSurface = 'Smooth'
  1209. head.BottomSurface = 'Smooth'
  1210. head.Anchored = true
  1211. head.Transparency = 0.6
  1212. head.Material = "Neon"
  1213. for i = 1,2 do
  1214. local decal = Instance.new("Decal",head)
  1215. decal.Texture = "rbxassetid://"
  1216. if i == 1 then
  1217. decal.Face = Enum.NormalId.Top
  1218. else
  1219. decal.Face = Enum.NormalId.Bottom
  1220. end
  1221. end
  1222. if Debounces.attackNumber%2 == 1 then
  1223. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1224. else
  1225. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1226. end
  1227. spawn(function()
  1228. local timer = 0
  1229. while rs.RenderStepped:wait() do
  1230. if timer >= 1.55 then
  1231. break
  1232. end
  1233. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1234. timer = timer + 5/30/(Debounces.FPS/60)
  1235. end
  1236. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1237. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1238. local hit, hitpos, pos = workspace:FindPartOnRay(ray,c)
  1239. local dis = (head.CFrame.p - pos).magnitude
  1240. local rayPart = Instance.new("Part",rayModel)
  1241. local s = Instance.new("Sound",rayPart)
  1242. s.Volume = 1
  1243. s.SoundId = "rbxassetid://273639336"
  1244. s:Play()
  1245. wait()
  1246. human.Health = human.Health + 25
  1247. rayPart.Material = "Neon"
  1248. rayPart.FormFactor = "Custom"
  1249. rayPart.BrickColor = BrickColor.new(0,1,1)
  1250. rayPart.Anchored = true
  1251. rayPart.Shape = "Ball"
  1252. rayPart.CanCollide = false
  1253. rayPart.Size = Vector3.new(7,17,5)
  1254. local rayCFrame = CFrame.new(torso.Position + (hitpos - torso.Position)/15, torso.Position)
  1255. rayPart.CFrame = rayCFrame
  1256. head:Destroy()
  1257. end)
  1258. wait()
  1259. end
  1260. end
  1261. end)
  1262.  
  1263. uinps.InputBegan:connect(function(InputObj)
  1264. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1265. Debounces.isAttacking = true
  1266. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1267. local head = Instance.new("Part",c)
  1268. head.Size = Vector3.new(12,12,.2)
  1269. head.Shape = "Cylinder"
  1270. head.TopSurface = 'Smooth'
  1271. head.BottomSurface = 'Smooth'
  1272. head.BrickColor = BrickColor.new("Really red")
  1273. head.CanCollide = false
  1274. head.Anchored = true
  1275. head.Material = "Neon"
  1276. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-12)).p,aimPos)
  1277. head.Transparency = 0.75
  1278. for i = 1,2 do
  1279. local decal = Instance.new("Decal",head)
  1280. decal.Texture = "rbxassetid://"
  1281. if i == 1 then
  1282. decal.Face = Enum.NormalId.Top
  1283. else
  1284. decal.Face = Enum.NormalId.Bottom
  1285. end
  1286. end
  1287. setLerp(.1)
  1288. setJointCFrames({
  1289. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1290. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1291. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1292. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1293. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1294. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1295. })
  1296. spawn(function()
  1297. local timer = 0
  1298. while rs.RenderStepped:wait() do
  1299. if timer >= 1.55/.8 then
  1300. break
  1301. end
  1302. head.CFrame = head.CFrame * CFrame.Angles(0,0,0)
  1303. timer = timer + 3/30/(Debounces.FPS/60)
  1304. end
  1305. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1306. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1307. local hit, hitpos, pos = workspace:FindPartOnRay(ray,c)
  1308. local dis = (head.CFrame.p - pos).magnitude
  1309. local rayPart = Instance.new("Part",rayModel)
  1310. local s = Instance.new("Sound",rayPart)
  1311. s.Volume = 1
  1312. s.SoundId = "rbxassetid://189068831"
  1313. s.Pitch = 1.2
  1314. s:Play()
  1315. wait()
  1316. rayPart.Material = "Neon"
  1317. rayPart.FormFactor = "Custom"
  1318. rayPart.Name = "Punch"
  1319. rayPart.BrickColor = BrickColor.new(0,1,1)
  1320. rayPart.Anchored = true
  1321. rayPart.CanCollide = false
  1322. rayPart.Size = Vector3.new(.2,.2,.2)
  1323. rayPart.Shape = "Cylinder"
  1324. local rayCFrame = CFrame.new(head.Position + (hitpos - head.Position)/5000, head.Position)
  1325. rayPart.CFrame = rayCFrame
  1326. head:Destroy()
  1327. end)
  1328. wait()
  1329. local s = Instance.new("Sound",head)
  1330. s.Volume = 1
  1331. s.SoundId = "rbxassetid://325574531"
  1332. s.Pitch = .8
  1333. s:Play()
  1334. wait()
  1335. setLerp(.17)
  1336. setJointCFrames({
  1337. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1338. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1339. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1340. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1341. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1342. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1343. })
  1344. wait()
  1345. Debounces.isAttacking = false
  1346. end
  1347. end)
  1348.  
  1349. reflect = function(d,n)
  1350. local i, n = -1 * d.unit, n.unit
  1351. local dot = n:Dot(i)
  1352. return 2*dot*n - i
  1353. end
  1354.  
  1355. makeReflectionBeam = function(pos,look,isCrit)
  1356. local ray = Ray.new(pos,look)
  1357. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1358. local e = Instance.new("Part",rayModel)
  1359. e.Anchored = true
  1360. e.CanCollide = false
  1361. e.Shape = "Cylinder"
  1362. e.BrickColor = BrickColor.new("Dark blue")
  1363. e.Material = "Neon"
  1364. e.FormFactor = "Custom"
  1365. e.Size = Vector3.new(6,6,2.5)
  1366. if isCrit == true then
  1367. e.Size = Vector3.new(16,16,2.5) --(pos - hitpos).magnitude
  1368. e.Name = "Punch"
  1369. end
  1370. e.CFrame = CFrame.new(torso.Position + (hitpos - torso.Position)/30, torso.Position) --shortcut
  1371. local e = Instance.new("Sound",c)
  1372. if isCrit == true then
  1373. e.Volume = .5
  1374. else
  1375. e.Volume = .3
  1376. e.Pitch = 1.5
  1377. end
  1378. e.SoundId = "rbxassetid://189068831"
  1379. e:Play()
  1380. spawn(function()
  1381. wait(6)
  1382. e:Destroy()
  1383. end)
  1384. wait(.05)
  1385. if hit ~= nil then
  1386. newDir = reflect(look.unit,norm,isCrit)
  1387. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1388. end
  1389. end
  1390.  
  1391. uinps.InputBegan:connect(function(InputObject)
  1392. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1393. local isLooping = true
  1394. uinps.InputEnded:connect(function(InputObject2)
  1395. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1396. isLooping = false
  1397. end
  1398. end)
  1399. while true do
  1400. if isLooping == false then
  1401. break
  1402. end
  1403. Debounces.attackNumber = Debounces.attackNumber + 1
  1404. local aimPos = mouse.Hit.p
  1405. local head = Instance.new("Part",c)
  1406. head.Size = Vector3.new(5,2.5,5)
  1407. head.Shape = "Cylinder"
  1408. head.TopSurface = 'Smooth'
  1409. head.BottomSurface = 'Smooth'
  1410. head.Material = "Neon"
  1411. head.BrickColor = BrickColor.new("Really blue")
  1412. head.CanCollide = false
  1413. head.Anchored = true
  1414. head.Transparency = 0
  1415. for i = 1,2 do
  1416. local decal = Instance.new("Decal",head)
  1417. decal.Texture = "rbxassetid://"
  1418. if i == 1 then
  1419. decal.Face = Enum.NormalId.Top
  1420. else
  1421. decal.Face = Enum.NormalId.Bottom
  1422. end
  1423. end
  1424. if Debounces.attackNumber%2 == 1 then
  1425. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1426. else
  1427. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1428. end
  1429. spawn(function()
  1430. local timer = 0
  1431. while rs.RenderStepped:wait() do
  1432. if timer >= 1.55 then
  1433. break
  1434. end
  1435. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1436. timer = timer + 1.5/30/(Debounces.FPS/60)
  1437. end
  1438. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1439. head:Destroy()
  1440. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1441. end)
  1442.  
  1443. wait()
  1444. local s = Instance.new("Sound",head)
  1445. s.Volume = 1
  1446. s.SoundId = "rbxassetid://325574531"
  1447. s.Pitch = 1.02
  1448. s:Play()
  1449. wait(0.7)
  1450. end
  1451. end
  1452. end)
  1453.  
  1454. uinps.InputBegan:connect(function(InputObj)
  1455. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1456. Debounces.isAttacking = true
  1457. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1458. local head = Instance.new("Part",c)
  1459. head.Size = Vector3.new(18,18,1)
  1460. head.Shape = "Cylinder"
  1461. head.TopSurface = 'Smooth'
  1462. head.BottomSurface = 'Smooth'
  1463. head.Material = "Neon"
  1464. head.BrickColor = BrickColor.new("Really blue")
  1465. head.CanCollide = false
  1466. head.Anchored = true
  1467. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1468. head.Transparency = 0.5
  1469. for i = 1,2 do
  1470. local decal = Instance.new("Decal",head)
  1471. decal.Texture = "rbxassetid://"
  1472. if i == 1 then
  1473. decal.Face = Enum.NormalId.Top
  1474. else
  1475. decal.Face = Enum.NormalId.Bottom
  1476. end
  1477. end
  1478. setLerp(.1)
  1479. setJointCFrames({
  1480. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1481. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1482. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1483. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1484. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1485. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1486. })
  1487. spawn(function()
  1488. local timer = 0
  1489. while rs.RenderStepped:wait() do
  1490. if timer >= 1.55/.8 then
  1491. break
  1492. end
  1493. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25 /(Debounces.FPS/60))) --xddddd
  1494. timer = timer + 1.75/30/(Debounces.FPS/60)
  1495. end
  1496. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1497. head:Destroy()
  1498. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1499. end)
  1500. wait()
  1501. local s = Instance.new("Sound",head)
  1502. s.Volume = 2
  1503. s.SoundId = "rbxassetid://325574531"
  1504. s.Pitch = .8
  1505. s:Play()
  1506. wait(0.7)
  1507. setLerp(.17)
  1508. setJointCFrames({
  1509. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1510. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1511. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1512. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1513. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1514. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1515. })
  1516. wait()
  1517. Debounces.isAttacking = false
  1518. end
  1519. end)
  1520.  
  1521. uinps.InputBegan:connect(function(InputObj)
  1522. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1523. local finishEvent = nil
  1524. Debounces.isTyping = true
  1525. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1526. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1527. Debounces.isTyping = false
  1528. finishEvent:disconnect()
  1529. end
  1530. end)
  1531. end
  1532. end)
  1533.  
  1534. uinps.InputBegan:connect(function(InputObj)
  1535. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1536. Debounces.isSprinting = true
  1537. end
  1538. end)
  1539.  
  1540. uinps.InputEnded:connect(function(InputObj)
  1541. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1542. Debounces.isSprinting = false
  1543. end
  1544. end)
  1545.  
  1546. rs.RenderStepped:connect(function()
  1547. Debounces.FPS = 1/rs.RenderStepped:wait()
  1548. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1549. if Debounces.isPassive == false then
  1550. fight:Pause()
  1551. sans:Resume()
  1552. efxBlock.Transparency = 1
  1553. else
  1554. fight:Resume()
  1555. sans:Pause()
  1556. efxBlock.Transparency = 1
  1557. end
  1558. for i,v in pairs (rayModel:children()) do
  1559. if v.Transparency >= 1 then
  1560. v:Destroy()
  1561. else
  1562. v.CanCollide = true
  1563. local parts = v:GetTouchingParts()
  1564. v.CanCollide = false
  1565. for i = 1,#parts do
  1566. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1567. parts[i].Parent.Humanoid:TakeDamage(0.15)
  1568. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1569. parts[i].Parent.Humanoid:TakeDamage(5)
  1570. end
  1571. end
  1572. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1573. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1574. end
  1575. end
  1576. for i = 1,#Joints do
  1577. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1578. end
  1579. light.Brightness = math.random(1,4)
  1580. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement