zed_isJayTheLionJR

The Beyonder v1

Jan 30th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 182.29 KB | None | 0 0
  1. p = game.Players.LocalPlayer
  2. char = p.Character
  3. local char = p.Character
  4. torso = char.Torso
  5. neck = char.Torso.Neck
  6. hum = char.Humanoid
  7. Player = game:GetService("Players").LocalPlayer
  8. Character = Player.Character
  9. tors = Character.Torso
  10. root = Character.HumanoidRootPart
  11. lleg = Character["Left Leg"]
  12. hed = Character.Head
  13. rleg = Character["Right Leg"]
  14. rarm = Character["Right Arm"]
  15. larm = Character["Left Arm"]
  16.  
  17. ypcall(function()
  18. for i,v in pairs(Character:children()) do
  19. if v:IsA("Hat") then
  20. v:Destroy()
  21. end
  22. end
  23. for i,v in pairs(Character:children()) do
  24. if v:IsA("Accessory") then
  25. v:Destroy()
  26. end
  27. end
  28. for i,v in pairs(Character:children()) do
  29. if v:IsA("Hair") then
  30. v:Destroy()
  31. end
  32. end
  33. end)
  34.  
  35. CV="Hot pink"
  36.  
  37. local txt = Instance.new("BillboardGui", char)
  38. txt.Adornee = char .Head
  39. txt.Name = "_status"
  40. txt.Size = UDim2.new(2, 0, 1.2, 0)
  41. txt.StudsOffset = Vector3.new(-9, 8, 0)
  42. local text = Instance.new("TextLabel", txt)
  43. text.Size = UDim2.new(10, 0, 7, 0)
  44. text.FontSize = "Size24"
  45. text.TextScaled = true
  46. text.TextTransparency = 0
  47. text.BackgroundTransparency = 1
  48. text.TextTransparency = 0
  49. text.TextStrokeTransparency = 0
  50. text.Font = "Highway"
  51. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  52.  
  53. v=Instance.new("Part")
  54. v.Name = "ColorBrick"
  55. v.Parent=p.Character
  56. v.FormFactor="Symmetric"
  57. v.Anchored=true
  58. v.CanCollide=false
  59. v.BottomSurface="Smooth"
  60. v.TopSurface="Smooth"
  61. v.Size=Vector3.new(10,5,3)
  62. v.Transparency=1
  63. v.CFrame=char.Torso.CFrame
  64. v.BrickColor=BrickColor.new(CV)
  65. v.Transparency=1
  66. text.TextColor3 = BrickColor.new("white").Color
  67. v.Shape="Block"
  68. text.Text = "The Beyonder"
  69.  
  70. hed.face.Texture = "http://www.roblox.com/asset/?id=0"
  71. hed.Transparency = 0
  72. rleg.Transparency = 0
  73. rarm.Transparency = 0
  74. larm.Transparency = 0
  75. lleg.Transparency = 0
  76. tors.Transparency = 0
  77.  
  78. Player = game:GetService("Players").LocalPlayer
  79. Character = Player.Character
  80. rarm = Character["Right Arm"]
  81. larm = Character["Left Arm"]
  82. vt = Vector3.new
  83. bc = BrickColor.new
  84. wit = bc("Deep orange").Color
  85.  
  86. local prth = Instance.new("Part",Character)
  87. prth.Size = vt(1.25,1.25,1.25)
  88. prth.CanCollide = false
  89. prth.Material = "Neon"
  90. prth.Transparency = 1
  91. prth.BrickColor = bc("Deep orange")
  92. local wldh = Instance.new("Weld",Character)
  93. wldh.Part0 = hed
  94. wldh.Part1 = prth
  95.  
  96. local prtrm = Instance.new("Part",Character)
  97. prtrm.Size = vt(2.1,2.1,1.1)
  98. prtrm.CanCollide = false
  99. prtrm.Transparency = 1
  100. prtrm.Material = "Neon"
  101. prtrm.BrickColor = bc("Deep orange")
  102. local wldm = Instance.new("Weld",Character)
  103. wldm.Part0 = root
  104. wldm.Part1 = prtrm
  105.  
  106. local prtr = Instance.new("Part",Character)
  107. prtr.Size = vt(1.1,2.1,1.1)
  108. prtr.CanCollide = false
  109. prtr.Transparency = 1
  110. prtr.Material = "Neon"
  111. prtr.BrickColor = bc("Deep orange")
  112. local prtrl = Instance.new("Part",Character)
  113. prtrl.Size = vt(1.1,2.1,1.1)
  114. prtrl.CanCollide = false
  115. prtrl.Transparency = 1
  116. prtrl.Material = "Neon"
  117. prtrl.BrickColor = bc("Deep orange")
  118. local eff = Instance.new("ParticleEmitter",prtr)
  119. eff.LightEmission = 1
  120. eff.Texture = "rbxassetid://284205403"
  121. eff.Color = ColorSequence.new(wit)
  122. eff.Size = NumberSequence.new(0.5,1)
  123. eff.Acceleration = vt(0,25,0)
  124. eff.Speed = NumberRange.new(-5)
  125. eff.LockedToPart = false
  126. eff.Transparency = NumberSequence.new(0.95)
  127. eff.Lifetime = NumberRange.new(0.5)
  128. eff.Rate = 100000
  129. eff.VelocitySpread = 25
  130. local wld = Instance.new("Weld",Character)
  131. wld.Part0 = rarm
  132. wld.Part1 = prtr
  133. local wldl = Instance.new("Weld",Character)
  134. wldl.Part0 = rleg
  135. wldl.Part1 = prtrl
  136.  
  137. local prtr2 = Instance.new("Part",Character)
  138. prtr2.Size = vt(1.1,2.1,1.1)
  139. prtr2.CanCollide = false
  140. prtr2.Transparency = 1
  141. prtr2.Material = "Neon"
  142. prtr2.BrickColor = bc("Deep orange")
  143. local prtrl2 = Instance.new("Part",Character)
  144. prtrl2.Size = vt(1.1,2.1,1.1)
  145. prtrl2.CanCollide = false
  146. prtrl2.Transparency = 0.5
  147. prtrl2.Material = "Neon"
  148. prtrl2.BrickColor = bc("Deep orange")
  149. local eff2 = Instance.new("ParticleEmitter",prtr2)
  150. eff2.LightEmission = 1
  151. eff2.Texture = "rbxassetid://284205403"
  152. eff2.Color = ColorSequence.new(wit)
  153. eff2.Size = NumberSequence.new(0.5,1)
  154. eff2.Acceleration = vt(0,25,0)
  155. eff2.Speed = NumberRange.new(-5)
  156. eff2.LockedToPart = false
  157. eff2.Transparency = NumberSequence.new(0.95)
  158. eff2.Lifetime = NumberRange.new(0.5)
  159. eff2.Rate = 100000
  160. eff2.VelocitySpread = 25
  161. local wld2 = Instance.new("Weld",Character)
  162. wld2.Part0 = larm
  163. wld2.Part1 = prtr2
  164. local wldl2 = Instance.new("Weld",Character)
  165. wldl2.Part0 = lleg
  166. wldl2.Part1 = prtrl2
  167.  
  168. local mouse = game.Players.LocalPlayer:GetMouse()
  169. tors = game.Players.LocalPlayer.Character.Torso
  170. vt = Vector3.new
  171. bc = BrickColor.new
  172.  
  173. local Effect = Instance.new("Part",game.Lighting)
  174. Effect.BrickColor = bc("Deep orange")
  175. Effect.Transparency = 1
  176. Effect.Anchored = true
  177. Effect.CanCollide = false
  178. Effect.Material = "Neon"
  179. Effect.Shape = "Ball"
  180. Effect.Size = vt(5,5,5)
  181. local fire1 = Instance.new("Fire",Effect)
  182. fire1.Name = "Fire"
  183. fire1.Heat = 0
  184. fire1.Size = 30
  185. fire1.SecondaryColor = bc("Really black").Color
  186. fire1.Color = bc("Deep orange").Color
  187. local fire2 = Instance.new("Fire",Effect)
  188. fire2.Name = "Fire2"
  189. fire2.Heat = 0
  190. fire2.Size = 25
  191. fire2.SecondaryColor = bc("Really black").Color
  192. fire2.Color = bc("Neon orange").Color
  193.  
  194. function Explode(rad,par)
  195. local expart = Instance.new("Part",script.Parent)
  196. local expart2 = Instance.new("Part",script.Parent)
  197. local snd = Instance.new("Sound",expart)
  198. snd.SoundId = "rbxassetid://258057783"
  199. snd.Volume = 2.5
  200. local partMesh = Instance.new("SpecialMesh",expart)
  201. partMesh.MeshType = "Sphere"
  202. local partMesh2 = Instance.new("SpecialMesh",expart2)
  203. partMesh2.MeshType = "Sphere"
  204. local expld = Instance.new("Explosion", script.Parent)
  205. expld.BlastRadius = rad
  206. expld.Position = par.Position
  207. partMesh.Scale = vt(rad,rad,rad)
  208. expart.Size = vt(1,1,1)*1.5
  209. expart.Transparency = 0.5
  210. expart.Anchored = true
  211. expart.Material = "Neon"
  212. expart.BrickColor = bc("Deep orange")
  213. expart.CFrame = par.CFrame
  214. partMesh2.Scale = vt(rad,rad,rad)
  215. expart2.Size = vt(1.15,1.15,1.15)*1.5
  216. expart2.Transparency = 0.5
  217. expart2.Anchored = true
  218. expart2.Material = "Neon"
  219. expart2.BrickColor = bc("Bright orange")
  220. expart2.CFrame = par.CFrame
  221. snd:Play()
  222. for i = 0, 100 do
  223. expart.Transparency = expart.Transparency + 0.005
  224. partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
  225. expart.CFrame = expart.CFrame
  226. expart2.Transparency = expart.Transparency + 0.005
  227. partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
  228. expart2.CFrame = expart.CFrame
  229. wait(0)
  230. end
  231. snd.Parent = nil
  232. expart.Parent = nil
  233. expart2.Parent = nil
  234. expld.Parent = nil
  235. end
  236.  
  237. function Explode2(rad,par)
  238. local expart = Instance.new("Part",script.Parent)
  239. local expart2 = Instance.new("Part",script.Parent)
  240. local snd = Instance.new("Sound",expart)
  241. snd.SoundId = "rbxassetid://165969964"
  242. snd.Volume = 3
  243. local partMesh = Instance.new("SpecialMesh",expart)
  244. partMesh.MeshType = "Sphere"
  245. local partMesh2 = Instance.new("SpecialMesh",expart2)
  246. partMesh2.MeshType = "Sphere"
  247. local expld = Instance.new("Explosion", script.Parent)
  248. expld.BlastRadius = rad
  249. expld.Position = par.Position
  250. partMesh.Scale = vt(rad,rad,rad)
  251. expart.Size = vt(1,1,1)*1.5
  252. expart.Transparency = 0.5
  253. expart.Anchored = true
  254. expart.Material = "Neon"
  255. expart.BrickColor = bc("Deep orange")
  256. expart.CFrame = par.CFrame
  257. partMesh2.Scale = vt(rad,rad,rad)
  258. expart2.Size = vt(1.15,1.15,1.15)*1.5
  259. expart2.Transparency = 0.5
  260. expart2.Anchored = true
  261. expart2.Material = "Neon"
  262. expart2.BrickColor = bc("Bright orange")
  263. expart2.CFrame = par.CFrame
  264. snd:Play()
  265. for i = 0, 100 do
  266. expart.Transparency = expart.Transparency + 0.005
  267. partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
  268. expart.CFrame = expart.CFrame
  269. expart2.Transparency = expart.Transparency + 0.005
  270. partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
  271. expart2.CFrame = expart.CFrame
  272. wait(0)
  273. end
  274. snd.Parent = nil
  275. expart.Parent = nil
  276. expart2.Parent = nil
  277. expld.Parent = nil
  278. end
  279.  
  280. mouse.KeyDown:connect(function(k)
  281.  
  282. k = k:lower()
  283. if k == "q" then
  284. local spart = Effect:Clone()
  285. spart.Parent = game.Players.LocalPlayer.Character
  286. spart.Transparency = 0
  287. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5
  288. wait()
  289. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15
  290. wait()
  291. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25
  292. wait()
  293. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35
  294. wait()
  295. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45
  296. wait()
  297. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55
  298. wait()
  299. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65
  300. wait()
  301. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75
  302. wait()
  303. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85
  304. wait()
  305. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95
  306. wait()
  307. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105
  308. spart.Transparency = 1
  309. spart.Fire2:Destroy()
  310. spart.Fire:Destroy()
  311. Explode(25,spart)
  312. spart:Destroy()
  313. end
  314. if k == "e" then
  315. local spart = Effect:Clone()
  316. spart.Parent = game.Players.LocalPlayer.Character
  317. spart.Transparency = 0
  318. spart.Anchored = false
  319. spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0
  320. spart.Position = spart.Position + vt(0,100,0)
  321. spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150
  322. wait(1)
  323. spart.Transparency = 1
  324. spart.Fire2:Destroy()
  325. spart.Fire:Destroy()
  326. Explode2(75,spart)
  327. spart:Destroy()
  328. end
  329. if k == "r" then
  330. local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
  331. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275
  332. wait(0.75)
  333. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165
  334. Explode(30,game.Players.LocalPlayer.Character.Torso)
  335. wait(0.5)
  336. ff:Destroy()
  337. end
  338. if k == "f" then
  339. local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
  340. for i = 0, 10 do
  341. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0)
  342. wait(0)
  343. end
  344. for i = 0, 5 do
  345. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0)
  346. wait(0)
  347. end
  348. game.Players.LocalPlayer.Character.Torso.Anchored = true
  349. wait(1.5)
  350. game.Players.LocalPlayer.Character.Torso.Anchored = false
  351. for i = 0, 10 do
  352. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0)
  353. wait(0)
  354. end
  355. wait(0.25)
  356. Explode2(62.5,game.Players.LocalPlayer.Character.Torso)
  357. wait(0.5)
  358. ff:Destroy()
  359. end
  360. end)
  361.  
  362. local time = tick()
  363.  
  364. local plr = game:GetService("Players").LocalPlayer
  365. local mouse,char = plr:GetMouse(),plr.Character
  366.  
  367. local amountGhosts = 5
  368.  
  369. for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
  370.  
  371. local toggle,cd,mcd = false,false,false
  372. local ghosts = {}
  373. local temptab = {}
  374.  
  375. char:WaitForChild("Animate"):Destroy()
  376. char.Humanoid:WaitForChild("Animator"):Destroy()
  377.  
  378. local state = "idle"
  379.  
  380. local gt = false
  381.  
  382. local gyro = Instance.new("BodyGyro",char:WaitForChild("HumanoidRootPart")) --Stops the character from glitching out on enter/exit
  383. gyro.MaxTorque = Vector3.new(0,0,0)
  384. gyro.D = 0
  385. gyro.P = 100000000
  386.  
  387.  
  388. local wCol = BrickColor.new("Really red")
  389. local wCol2 = BrickColor.new("Really black")
  390. local gCol = BrickColor.new("Toothpaste")
  391. local gCol2 = BrickColor.new("Institutional white")
  392.  
  393. function searchAll(m,clear)
  394. if clear then
  395. if clear == true then
  396. for i,v in pairs(temptab) do
  397. table.remove(temptab,1)
  398. end
  399. end
  400. end
  401. for i,v in pairs(m:GetChildren()) do
  402. if v then
  403. local s = v:Clone()
  404. for _,b in pairs(s:GetChildren()) do
  405. b:Destroy()
  406. end
  407. if s:IsA("Part") or s:IsA("WedgePart") or s:IsA("TrussPart") or s:IsA("UnionOperation") then
  408. if s.Name ~= "HumanoidRootPart" then
  409. s.Anchored = true
  410. s.CanCollide = false
  411. s.Transparency = 0.95
  412. s.TopSurface = "Smooth"
  413. s.BottomSurface = "Smooth"
  414. s.FrontSurface = "Smooth"
  415. s.RightSurface = "Smooth"
  416. s.BackSurface = "Smooth"
  417. s.LeftSurface = "Smooth"
  418. if s.Material ~= Enum.Material.Neon then
  419. if gt == true then
  420. s.BrickColor = wCol2
  421. else
  422. s.BrickColor = gCol2
  423. end
  424. else
  425. if gt == true then
  426. s.BrickColor = wCol
  427. else
  428. s.BrickColor = gCol
  429. end
  430. end
  431. for _,c in pairs(v:GetChildren()) do
  432. if c:IsA("SpecialMesh") or c:IsA("CylinderMesh") then
  433. c:Clone().Parent = s
  434. end
  435. end
  436. local objValue = Instance.new("ObjectValue",s)
  437. objValue.Name = "Target"
  438. objValue.Value = v
  439. table.insert(temptab,s)
  440. end
  441. --elseif s:IsA("CharacterMesh") then
  442. --table.insert(temptab,s)
  443. end
  444. --searchAll(v)
  445. end
  446. end
  447. return temptab
  448. end
  449.  
  450. function CreateGhost()
  451. local ghost = Instance.new("Model",game.Workspace)
  452. searchAll(char,true)
  453. ghost.Name = char.Name.."'s Ghost "..#ghosts..#plr.Name
  454. --Instance.new("Humanoid",ghost)
  455. for i,v in pairs(temptab) do
  456. v:Clone().Parent = ghost
  457. end
  458. table.insert(ghosts,ghost)
  459. end
  460.  
  461. function ClearGhosts()
  462. for i,v in pairs(ghosts) do
  463. v:Destroy()
  464. end
  465. for i,v in pairs(ghosts) do
  466. table.remove(ghosts,1)
  467. end
  468. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  469. if string.sub(v.Name,1,#plr.Name+9) == plr.Name.."'s Ghost " then
  470. v:Destroy()
  471. end
  472. end
  473. end
  474.  
  475. Instance.new("ForceField",char).Visible = false
  476.  
  477. local e1 = Instance.new("Part",char)
  478. e1.Size = Vector3.new(0.2,0.2,0.2)
  479. e1.TopSurface = "Smooth"
  480. e1.BottomSurface = "Smooth"
  481. e1.Material = "Neon"
  482. e1.Transparency = 1
  483. e1.Anchored = true
  484. e1.CanCollide = false
  485. e1.BrickColor = gCol
  486. e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.6)
  487. local em1 = Instance.new("SpecialMesh",e1)
  488. em1.MeshType = "Sphere"
  489. local e2 = Instance.new("Part",char)
  490. e2.Size = Vector3.new(0.2,0.2,0.2)
  491. e2.TopSurface = "Smooth"
  492. e2.BottomSurface = "Smooth"
  493. e2.Transparency = 1
  494. e2.Material = "Neon"
  495. e2.Anchored = true
  496. e2.CanCollide = false
  497. e2.BrickColor = gCol
  498. e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.6)
  499. local em2 = Instance.new("SpecialMesh",e2)
  500. em2.MeshType = "Sphere"
  501.  
  502. toggle = true
  503. for i=1,amountGhosts do
  504. CreateGhost()
  505. end
  506. char.Parent = game:GetService("Workspace").CurrentCamera
  507. char:FindFirstChild("Head").Transparency = 1
  508. char:FindFirstChild("Torso").Transparency = 1
  509. char:FindFirstChild("Right Arm").Transparency = 1
  510. char:FindFirstChild("Left Arm").Transparency = 1
  511. char:FindFirstChild("Right Leg").Transparency = 1
  512. char:FindFirstChild("Left Leg").Transparency = 1
  513. for i,v in pairs(char:GetChildren()) do
  514. if v:IsA("Accessory") then
  515. v:FindFirstChild("Handle").Transparency = 1
  516. end
  517. end
  518. char:FindFirstChild("Head"):FindFirstChild("face"):Destroy()
  519.  
  520. local p1 = Instance.new("Part",workspace)
  521. local m1 = Instance.new("SpecialMesh",p1)
  522. m1.MeshType = "Sphere"
  523. m1.Scale = Vector3.new(5,5,5)
  524. p1.Size = Vector3.new(1,1,1)
  525. p1.Anchored = true
  526. p1.CanCollide = false
  527. p1.TopSurface = "Smooth"
  528. p1.BottomSurface = "Smooth"
  529. p1.BrickColor = gCol
  530. p1.Material = "Neon"
  531. local p2 = Instance.new("Part",workspace)
  532. local m2 = Instance.new("SpecialMesh",p2)
  533. m2.MeshType = "Sphere"
  534. m2.Scale = Vector3.new(8,8,8)
  535. p2.Size = Vector3.new(1,1,1)
  536. p2.Anchored = true
  537. p2.CanCollide = false
  538. p2.TopSurface = "Smooth"
  539. p2.BottomSurface = "Smooth"
  540. p2.BrickColor = gCol2
  541. p2.Material = "Neon"
  542. local p3 = Instance.new("Part",workspace)
  543. local m3 = Instance.new("BlockMesh",p3)
  544. m3.Scale = Vector3.new(7,7,7)
  545. p3.Size = Vector3.new(1,1,1)
  546. p3.Transparency = 0.4
  547. p3.Anchored = true
  548. p3.CanCollide = false
  549. p3.TopSurface = "Smooth"
  550. p3.BottomSurface = "Smooth"
  551. p3.BrickColor = gCol
  552. p3.Material = "Neon"
  553. local p4 = Instance.new("Part",workspace)
  554. local m4 = Instance.new("BlockMesh",p4)
  555. m4.Scale = Vector3.new(10,10,10)
  556. p4.Size = Vector3.new(1,1,1)
  557. p4.Transparency = 0.4
  558. p4.Anchored = true
  559. p4.CanCollide = false
  560. p4.TopSurface = "Smooth"
  561. p4.BottomSurface = "Smooth"
  562. p4.BrickColor = gCol2
  563. p4.Material = "Neon"
  564. local currentframe = 0
  565. local frmR
  566.  
  567. frmR = game:GetService("RunService").RenderStepped:connect(function()
  568. currentframe = currentframe + 1
  569. if currentframe < 1*60 then
  570. p1.CFrame = char:WaitForChild("Torso").CFrame
  571. p2.CFrame = char:WaitForChild("Torso").CFrame
  572. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  573. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  574. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  575. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  576. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  577. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  578. p1.Transparency = p1.Transparency + (1/(1*60))
  579. p2.Transparency = p2.Transparency + (1/(1*60))
  580. p3.Transparency = p3.Transparency + (1/(1*60))
  581. p4.Transparency = p4.Transparency + (1/(1*60))
  582. else
  583. p1:Destroy()
  584. p2:Destroy()
  585. p3:Destroy()
  586. p4:Destroy()
  587. frmR:disconnect()
  588. end
  589. end)
  590.  
  591. char.Humanoid.MaxHealth = math.huge
  592. wait()
  593. char.Humanoid.Health = math.huge
  594.  
  595. --[[mouse.KeyDown:connect(function(key)
  596. if key == "r" then
  597. print("R!")
  598. if cd == false then
  599. print("No cooldown!")
  600. cd = true
  601. if toggle == false then
  602. print("Entering godmode")
  603. toggle = true
  604. Instance.new("ForceField",char)
  605. for i=1,amountGhosts do
  606. CreateGhost()
  607. end
  608. char.Parent = game:GetService("Workspace").CurrentCamera
  609. char:FindFirstChild("Head").Transparency = 1
  610. char:FindFirstChild("Torso").Transparency = 1
  611. char:FindFirstChild("Right Arm").Transparency = 1
  612. char:FindFirstChild("Left Arm").Transparency = 1
  613. char:FindFirstChild("Right Leg").Transparency = 1
  614. char:FindFirstChild("Left Leg").Transparency = 1
  615. for i,v in pairs(char:GetChildren()) do
  616. if v:IsA("Accessory") then
  617. v:FindFirstChild("Handle").Transparency = 1
  618. end
  619. end
  620. else
  621. print("Exiting godmode")
  622. toggle = false
  623. for i,v in pairs(ghosts) do
  624. v:Destroy()
  625. end
  626. char.Parent = game:GetService("Workspace")
  627. char:FindFirstChild("ForceField"):Destroy()
  628. char:FindFirstChild("Head").Transparency = 0
  629. char:FindFirstChild("Torso").Transparency = 0
  630. char:FindFirstChild("Right Arm").Transparency = 0
  631. char:FindFirstChild("Left Arm").Transparency = 0
  632. char:FindFirstChild("Right Leg").Transparency = 0
  633. char:FindFirstChild("Left Leg").Transparency = 0
  634. for i,v in pairs(char:GetChildren()) do
  635. if v:IsA("Accessory") then
  636. v:FindFirstChild("Handle").Transparency = 0
  637. end
  638. end
  639. end
  640. cd = false
  641. end
  642. end
  643. end)]]
  644.  
  645. mouse.KeyDown:connect(function(key)
  646. spawn(function()
  647. if key == "f" and toggle == true and mcd == false then
  648. if #ghosts < amountGhosts then
  649. print(#ghosts.."<")
  650. mcd = true
  651.  
  652. ClearGhosts()
  653.  
  654. for i=1,amountGhosts do
  655. CreateGhost()
  656. end
  657. local p1 = Instance.new("Part",workspace)
  658. local m1 = Instance.new("SpecialMesh",p1)
  659. m1.MeshType = "Sphere"
  660. m1.Scale = Vector3.new(7,7,7)
  661. p1.Size = Vector3.new(1,1,1)
  662. p1.Anchored = true
  663. p1.CanCollide = false
  664. p1.TopSurface = "Smooth"
  665. p1.BottomSurface = "Smooth"
  666. if gt == false then
  667. p1.BrickColor = gCol
  668. else
  669. p1.BrickColor = wCol
  670. end
  671. p1.Material = "Neon"
  672. local p2 = Instance.new("Part",workspace)
  673. local m2 = Instance.new("SpecialMesh",p2)
  674. m2.MeshType = "Sphere"
  675. m2.Scale = Vector3.new(9,9,9)
  676. p2.Size = Vector3.new(1,1,1)
  677. p2.Anchored = true
  678. p2.CanCollide = false
  679. p2.TopSurface = "Smooth"
  680. p2.BottomSurface = "Smooth"
  681. if gt == false then
  682. p2.BrickColor = gCol2
  683. else
  684. p2.BrickColor = wCol2
  685. end
  686. p2.Material = "Neon"
  687. local currentframe = 0
  688. local frmR
  689.  
  690. frmR = game:GetService("RunService").RenderStepped:connect(function()
  691. currentframe = currentframe + 1
  692. if currentframe < 0.25*60 then
  693. p1.CFrame = char:WaitForChild("Torso").CFrame
  694. p2.CFrame = char:WaitForChild("Torso").CFrame
  695. p1.Transparency = p1.Transparency + (1/(0.25*60))
  696. p2.Transparency = p2.Transparency + (1/(0.25*60))
  697. else
  698. p1:Destroy()
  699. p2:Destroy()
  700. mcd = false
  701. frmR:disconnect()
  702. end
  703. end)
  704. else
  705. mcd = true
  706.  
  707. ClearGhosts()
  708.  
  709. local p1 = Instance.new("Part",workspace)
  710. local m1 = Instance.new("SpecialMesh",p1)
  711. m1.MeshType = "Sphere"
  712. m1.Scale = Vector3.new(7,7,7)
  713. p1.Size = Vector3.new(1,1,1)
  714. p1.Anchored = true
  715. p1.CanCollide = false
  716. p1.TopSurface = "Smooth"
  717. p1.BottomSurface = "Smooth"
  718. if gt == false then
  719. p1.BrickColor = gCol
  720. else
  721. p1.BrickColor = wCol
  722. end
  723. p1.Material = "Neon"
  724. local p2 = Instance.new("Part",workspace)
  725. local m2 = Instance.new("SpecialMesh",p2)
  726. m2.MeshType = "Sphere"
  727. m2.Scale = Vector3.new(9,9,9)
  728. p2.Size = Vector3.new(1,1,1)
  729. p2.Anchored = true
  730. p2.CanCollide = false
  731. p2.TopSurface = "Smooth"
  732. p2.BottomSurface = "Smooth"
  733. if gt == false then
  734. p2.BrickColor = gCol2
  735. else
  736. p2.BrickColor = wCol2
  737. end
  738. p2.Material = "Neon"
  739. local currentframe = 0
  740. local frmR
  741.  
  742. frmR = game:GetService("RunService").RenderStepped:connect(function()
  743. currentframe = currentframe + 1
  744. if currentframe < 0.25*60 then
  745. p1.CFrame = char:WaitForChild("Torso").CFrame
  746. p2.CFrame = char:WaitForChild("Torso").CFrame
  747. p1.Transparency = p1.Transparency + (1/(0.25*60))
  748. p2.Transparency = p2.Transparency + (1/(0.25*60))
  749. else
  750. p1:Destroy()
  751. p2:Destroy()
  752. mcd = false
  753. frmR:disconnect()
  754. end
  755. end)
  756. end
  757. elseif key == "g" and toggle == true and mcd == false then
  758. if gt == true then
  759. gt = false
  760. local p1 = Instance.new("Part",workspace)
  761. local m1 = Instance.new("SpecialMesh",p1)
  762. m1.MeshType = "Sphere"
  763. m1.Scale = Vector3.new(5,5,5)
  764. p1.Size = Vector3.new(1,1,1)
  765. p1.Anchored = true
  766. p1.CanCollide = false
  767. p1.TopSurface = "Smooth"
  768. p1.BottomSurface = "Smooth"
  769. p1.BrickColor = gCol
  770. p1.Material = "Neon"
  771. local p2 = Instance.new("Part",workspace)
  772. local m2 = Instance.new("SpecialMesh",p2)
  773. m2.MeshType = "Sphere"
  774. m2.Scale = Vector3.new(8,8,8)
  775. p2.Size = Vector3.new(1,1,1)
  776. p2.Anchored = true
  777. p2.CanCollide = false
  778. p2.TopSurface = "Smooth"
  779. p2.BottomSurface = "Smooth"
  780. p2.BrickColor = gCol2
  781. p2.Material = "Neon"
  782. local p3 = Instance.new("Part",workspace)
  783. local m3 = Instance.new("BlockMesh",p3)
  784. m3.Scale = Vector3.new(7,7,7)
  785. p3.Size = Vector3.new(1,1,1)
  786. p3.Transparency = 0.4
  787. p3.Anchored = true
  788. p3.CanCollide = false
  789. p3.TopSurface = "Smooth"
  790. p3.BottomSurface = "Smooth"
  791. p3.BrickColor = gCol
  792. p3.Material = "Neon"
  793. local p4 = Instance.new("Part",workspace)
  794. local m4 = Instance.new("BlockMesh",p4)
  795. m4.Scale = Vector3.new(10,10,10)
  796. p4.Size = Vector3.new(1,1,1)
  797. p4.Transparency = 0.4
  798. p4.Anchored = true
  799. p4.CanCollide = false
  800. p4.TopSurface = "Smooth"
  801. p4.BottomSurface = "Smooth"
  802. p4.BrickColor = gCol2
  803. p4.Material = "Neon"
  804.  
  805. ClearGhosts()
  806.  
  807. for i=1,amountGhosts do
  808. CreateGhost()
  809. end
  810.  
  811. local currentframe = 0
  812. local frmR
  813.  
  814. frmR = game:GetService("RunService").RenderStepped:connect(function()
  815. currentframe = currentframe + 1
  816. if currentframe < 1*60 then
  817. p1.CFrame = char:WaitForChild("Torso").CFrame
  818. p2.CFrame = char:WaitForChild("Torso").CFrame
  819. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  820. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  821. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  822. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  823. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  824. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  825. p1.Transparency = p1.Transparency + (1/(1*60))
  826. p2.Transparency = p2.Transparency + (1/(1*60))
  827. p3.Transparency = p3.Transparency + (1/(1*60))
  828. p4.Transparency = p4.Transparency + (1/(1*60))
  829. else
  830. p1:Destroy()
  831. p2:Destroy()
  832. p3:Destroy()
  833. p4:Destroy()
  834. frmR:disconnect()
  835. end
  836. end)
  837. else
  838. gt = true
  839. local p1 = Instance.new("Part",workspace)
  840. local m1 = Instance.new("SpecialMesh",p1)
  841. m1.MeshType = "Sphere"
  842. m1.Scale = Vector3.new(5,5,5)
  843. p1.Size = Vector3.new(1,1,1)
  844. p1.Anchored = true
  845. p1.CanCollide = false
  846. p1.TopSurface = "Smooth"
  847. p1.BottomSurface = "Smooth"
  848. p1.BrickColor = wCol
  849. p1.Material = "Neon"
  850. local p2 = Instance.new("Part",workspace)
  851. local m2 = Instance.new("SpecialMesh",p2)
  852. m2.MeshType = "Sphere"
  853. m2.Scale = Vector3.new(8,8,8)
  854. p2.Size = Vector3.new(1,1,1)
  855. p2.Anchored = true
  856. p2.CanCollide = false
  857. p2.TopSurface = "Smooth"
  858. p2.BottomSurface = "Smooth"
  859. p2.BrickColor = wCol2
  860. p2.Material = "Neon"
  861. local p3 = Instance.new("Part",workspace)
  862. local m3 = Instance.new("BlockMesh",p3)
  863. m3.Scale = Vector3.new(7,7,7)
  864. p3.Size = Vector3.new(1,1,1)
  865. p3.Transparency = 0.4
  866. p3.Anchored = true
  867. p3.CanCollide = false
  868. p3.TopSurface = "Smooth"
  869. p3.BottomSurface = "Smooth"
  870. p3.BrickColor = wCol
  871. p3.Material = "Neon"
  872. local p4 = Instance.new("Part",workspace)
  873. local m4 = Instance.new("BlockMesh",p4)
  874. m4.Scale = Vector3.new(10,10,10)
  875. p4.Size = Vector3.new(1,1,1)
  876. p4.Transparency = 0.4
  877. p4.Anchored = true
  878. p4.CanCollide = false
  879. p4.TopSurface = "Smooth"
  880. p4.BottomSurface = "Smooth"
  881. p4.BrickColor = wCol2
  882. p4.Material = "Neon"
  883.  
  884. ClearGhosts()
  885.  
  886. for i=1,amountGhosts do
  887. CreateGhost()
  888. end
  889.  
  890. local currentframe = 0
  891. local frmR
  892.  
  893. frmR = game:GetService("RunService").RenderStepped:connect(function()
  894. currentframe = currentframe + 1
  895. if currentframe < 1*60 then
  896. p1.CFrame = char:WaitForChild("Torso").CFrame
  897. p2.CFrame = char:WaitForChild("Torso").CFrame
  898. p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  899. p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  900. m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25)
  901. m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25)
  902. m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25)
  903. m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25)
  904. p1.Transparency = p1.Transparency + (1/(1*60))
  905. p2.Transparency = p2.Transparency + (1/(1*60))
  906. p3.Transparency = p3.Transparency + (1/(1*60))
  907. p4.Transparency = p4.Transparency + (1/(1*60))
  908. else
  909. p1:Destroy()
  910. p2:Destroy()
  911. p3:Destroy()
  912. p4:Destroy()
  913. frmR:disconnect()
  914. end
  915. end)
  916. end
  917. end
  918. end)
  919. end)
  920.  
  921. local frm = 0
  922.  
  923. local toRemove = {}
  924.  
  925. game:GetService("RunService").RenderStepped:connect(function()
  926. frm = frm + 1
  927. if char.Parent == game:GetService("Workspace").CurrentCamera then
  928.  
  929. e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.55)
  930. e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.55)
  931.  
  932. local delay = 0.9
  933.  
  934. for i,v in pairs(ghosts) do
  935. for _,b in pairs(v:GetChildren()) do
  936. if b:IsA("Part") or b:IsA("WedgePart") or b:IsA("TrussPart") or b:IsA("UnionOperation") then
  937. b.CFrame = b.CFrame:lerp(b:FindFirstChild("Target").Value.CFrame,delay)
  938. end
  939. end
  940. delay = delay - (0.5/(#ghosts+1))
  941. end
  942.  
  943. --[[if math.floor(frm/8) == frm/8 then
  944. local isub = 0
  945. for i,v in pairs(ghosts) do
  946. if #v:GetChildren() < 6 then
  947. v:Destroy()
  948. table.remove(ghosts,i - isub)
  949. isub = isub + 1
  950. CreateGhost()
  951. end
  952. end
  953. end]]
  954. end
  955.  
  956. --Animation states
  957.  
  958. local ray = Ray.new(char.HumanoidRootPart.CFrame.p, Vector3.new(0,-3,0).unit*4)
  959. local part,pos,normal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(ray,ghosts,false,true)
  960.  
  961. if state ~= "busy" then
  962. if char.HumanoidRootPart.Velocity.Magnitude <= 0.5 then
  963. state = "idle"
  964. elseif char.HumanoidRootPart.Velocity.Magnitude > 0.5 then
  965. state = "running"
  966. --[[elseif char.HumanoidRootPart.Velocity.Y < 0.1 and not part then
  967. state = "falling"
  968. elseif char.HumanoidRootPart.Velocity.Y >= 0.1 and not part then
  969. state = "jumping"]]
  970. end
  971. char.Humanoid.WalkSpeed = 50
  972. char.Humanoid.JumpPower = 70
  973. end
  974.  
  975. --Actual animations
  976.  
  977. if state == "idle" then
  978. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(80 + math.cos(tick())*4),math.rad(180),math.rad(0)),0.06)
  979. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06)
  980. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06)
  981. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.43 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06)
  982. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(-15 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06)
  983. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06)
  984. elseif state == "running" then
  985. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(65 + math.cos(tick())*4),math.rad(180),math.rad(-char.HumanoidRootPart.RotVelocity.Y*10)),0.06)
  986. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06)
  987. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06)
  988. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.70 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(50 + math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06)
  989. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(-35 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06)
  990. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06)
  991. end
  992. end)
  993.  
  994. char.Humanoid.Died:connect(function()
  995. toggle = false
  996.  
  997. ClearGhosts()
  998.  
  999. char.Parent = game.Workspace
  1000. char.Parent = game:GetService("Workspace")
  1001. char:FindFirstChild("ForceField"):Destroy()
  1002. char:FindFirstChild("Head").Transparency = 0
  1003. char:FindFirstChild("Torso").Transparency = 0
  1004. char:FindFirstChild("Right Arm").Transparency = 0
  1005. char:FindFirstChild("Left Arm").Transparency = 0
  1006. char:FindFirstChild("Right Leg").Transparency = 0
  1007. char:FindFirstChild("Left Leg").Transparency = 0
  1008. for i,v in pairs(char:GetChildren()) do
  1009. if v:IsA("Accessory") then
  1010. v:FindFirstChild("Handle").Transparency = 0
  1011. end
  1012. end
  1013. for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end
  1014. plr:LoadCharacter()
  1015. end)
  1016.  
  1017. local msgidGlob = 0
  1018. local state = true
  1019. local font = "Arcade"
  1020. local tcol = Color3.fromRGB(255,217,0)
  1021. local tscol = Color3.fromRGB(0,0,0)
  1022. local fsiz = 28
  1023. local tr = true
  1024. local tsr = false
  1025. local fade = 2
  1026.  
  1027. local p = Instance.new("Part",game.Workspace)
  1028. p.Size = Vector3.new(0.2,0.2,0.2)
  1029. p.Transparency = 1
  1030. p.Anchored = true
  1031. p.CanCollide = false
  1032. p.Name = "Msg"
  1033. p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
  1034.  
  1035. local r = 255
  1036. local b = 0
  1037. local g = 0
  1038.  
  1039. plr.Chatted:connect(function(c)
  1040. msgidGlob = msgidGlob + 1
  1041. local curMsgId = msgidGlob
  1042. if string.lower(c) == "!disable" then
  1043. state = false
  1044. elseif string.lower(c) == "!enable" then
  1045. state = true
  1046. elseif string.lower(string.sub(c,1,6)) == "!font " then
  1047. local old = font
  1048. font = string.sub(c,7,#c) or old
  1049. elseif string.lower(string.sub(c,1,8)) == "!tcolor " then
  1050. if string.lower(string.sub(c,9,#c)) == "rainbow" then
  1051. tr = true
  1052. else
  1053. tr = false
  1054. local old = tcol
  1055. tcol = Color3.fromRGB(string.sub(c,9,11),string.sub(c,13,15),string.sub(c,17,19)) or old
  1056. end
  1057. elseif string.lower(string.sub(c,1,9)) == "!tscolor " then
  1058. if string.sub(c,10,#c) == "rainbow" then
  1059. tsr = true
  1060. else
  1061. tsr = false
  1062. local old = tscol
  1063. tscol = Color3.fromRGB(string.sub(c,10,12),string.sub(c,14,16),string.sub(c,18,20)) or old
  1064. end
  1065. elseif string.lower(string.sub(c,1,6)) == "!size " then
  1066. local old = fsiz
  1067. fsiz = string.sub(c,7,#c) or old
  1068. elseif string.lower(string.sub(c,1,6)) == "!fade " then
  1069. local old = fade
  1070. fade = string.sub(c,7,#c) or old
  1071. end
  1072. if plr.Character and state == true then
  1073. if plr.Character:FindFirstChild("Head") then
  1074. for i,v in pairs(p:GetChildren()) do
  1075. if v:IsA("BillboardGui") and v.Name == "J2CMSG" then
  1076. v:Destroy()
  1077. end
  1078. end
  1079. local bbgui = Instance.new("BillboardGui",p)
  1080. bbgui.Name = "J2CMSG"
  1081. bbgui.AlwaysOnTop = true
  1082. bbgui.ExtentsOffsetWorldSpace = Vector3.new(0,4.5,0)
  1083. bbgui.Size = UDim2.new(0.2,0,0.14,0)
  1084. local tl = Instance.new("TextLabel",bbgui)
  1085. tl.BackgroundTransparency = 1
  1086. tl.BorderSizePixel = 0
  1087. tl.Size = UDim2.new(1,0,10,0)
  1088. tl.Position = UDim2.new(0,0,-5,0)
  1089. tl.Font = font or "SciFi"
  1090. tl.FontSize = "Size"..fsiz or "Size36"
  1091. tl.TextColor3 = tcol
  1092. tl.TextScaled = false
  1093. tl.TextWrapped = false
  1094. tl.TextStrokeColor3 = tscol
  1095. tl.TextStrokeTransparency = 0
  1096.  
  1097. game:GetService("RunService").RenderStepped:connect(function()
  1098. if tr then
  1099. if tl.Parent ~= nil then
  1100. tl.TextColor3 = Color3.fromRGB(r,g,b)
  1101. end
  1102. end
  1103. end)
  1104.  
  1105. for i=1,#c do
  1106. if msgidGlob == curMsgId then
  1107. tl.Text = string.sub(c,1,i)
  1108. if string.sub(c,i,i) ~= " " then
  1109. local s = Instance.new("Sound",p)
  1110. s.SoundId = "rbxassetid://418252437"
  1111. s.Volume = 1
  1112. s.Pitch = 1
  1113. s:Play()
  1114. game.Debris:AddItem(s,2)
  1115. end
  1116. wait()
  1117. end
  1118. end
  1119. wait(fade)
  1120. if msgidGlob == curMsgId then
  1121. for i=1,10 do
  1122. if msgidGlob == curMsgId then
  1123. tl.TextTransparency = tl.TextTransparency + 0.1
  1124. tl.TextStrokeTransparency = tl.TextStrokeTransparency + 0.1
  1125. tl.Position = tl.Position + UDim2.new(0,0,0,-3)
  1126. wait()
  1127. end
  1128. end
  1129. if msgidGlob == curMsgId then
  1130. bbgui:Destroy()
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end)
  1136.  
  1137. coroutine.resume(coroutine.create(function()
  1138. while wait() do
  1139. for i=0,255,10 do g = i wait() end
  1140. for i=255,0,-10 do r = i wait() end
  1141. for i=0,255,10 do b = i wait() end
  1142. for i=255,0,-10 do g = i wait() end
  1143. for i=0,255,10 do r = i wait() end
  1144. for i=255,0,-10 do b = i wait() end
  1145. end
  1146. end))
  1147.  
  1148. game:GetService("RunService").RenderStepped:connect(function()
  1149. if p.Parent ~= nil then
  1150. p.CFrame = p.CFrame:lerp(plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0),0.16)
  1151. else
  1152. p = Instance.new("Part",game.Workspace)
  1153. p.Size = Vector3.new(0.2,0.2,0.2)
  1154. p.Transparency = 1
  1155. p.Anchored = true
  1156. p.CanCollide = false
  1157. p.Name = "Msg"
  1158. p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0)
  1159. end
  1160. end)
  1161.  
  1162. print("Ghost loaded! Time --repeat wait() until _G and _G['Check'] print('Globals Loaded')
  1163. --g=getfenv()
  1164. --coroutine.resume(_G.Include,g,_G)
  1165. --coroutine.resume(IncludeLibrary,g,Finite.Custom)
  1166. --repeat wait() until inew~=nil and v3~=nil and c3~=nil
  1167.  
  1168. --Controls are q,e,t,r,k (might forget to put more hea
  1169.  
  1170. --You do not need to put your name anywhere in the script (Posted by handsomejhzzzzzz)
  1171.  
  1172.  
  1173. inew=Instance.new
  1174. v3=Vector3.new
  1175. c3=Color3.new
  1176. On=true
  1177. Distance=20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  1178. Minimum=50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  1179. Maximum=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  1180. LightColor=c3(0/255,230/255,150/255)
  1181. Light=inew('PointLight')
  1182. Light.Color=LightColor
  1183. XVec=v3(0,0,0)
  1184. Target=nil
  1185. Adorn=nil
  1186. BP=inew("BodyPosition")
  1187. BP.maxForce=v3(9990000, 9990000, 9990000)
  1188. BP.P=9990000.000
  1189. BP.D=100000.000
  1190. BP.position=v3(0,50,0)
  1191. Q=false
  1192. E=false
  1193. hit=nil
  1194. FireSize=10
  1195. FireColor=c3(255/255,255/255,255/255)
  1196. FireHeat=10
  1197. RunService=game:GetService('RunService')
  1198. Player=game.Players.LocalPlayer
  1199. Mouse=Player:GetMouse()
  1200. coroutine.wrap(function()
  1201. script.Parent=nil
  1202. RunService.RenderStepped:connect(function()
  1203. if On==false then
  1204. Adorn=nil
  1205. end
  1206. hit=Mouse.Hit
  1207. Unit=(hit.p-Player.Character.Head.Position).unit
  1208. NewPos=Player.Character.Head.Position+(Unit*Distance)-XVec
  1209. if BP==nil then
  1210. BP=inew("BodyPosition")
  1211. else
  1212. BP.position=NewPos
  1213. end
  1214. if Adorn~=nil then
  1215. BP.Parent=Adorn
  1216. Light.Parent=Adorn
  1217. else
  1218. BP.Parent=nil
  1219. Light.Parent=nil
  1220. end
  1221. if Mouse.Target~=nil then Target=Mouse.Target else Target=nil end
  1222. if Q==true and E==false then
  1223. if Distance-2<Minimum then
  1224. Distance=Minimum
  1225. elseif Distance-2>=Minimum then
  1226. Distance=Distance-2
  1227. end
  1228. end
  1229. if Q==false and E==true then
  1230. if Distance+2>Maximum then
  1231. Distance=Maximum
  1232. elseif Distance+2<=Maximum then
  1233. Distance=Distance+2
  1234. end
  1235. end
  1236. if Distance<Minimum then
  1237. Distance=Minimum
  1238. end
  1239. end)
  1240. end)()
  1241. Player.Chatted:connect(function(msg)
  1242. if string.lower(string.sub(msg,1,5))=='make/' then
  1243. for e=1,tonumber(string.sub(msg,6)) do
  1244. local Col=Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  1245. local br=Instance.new('Part', workspace)
  1246. br.Size=Vector3.new(math.random(2,8),math.random(2,8),math.random(2,8))
  1247. br.Position=Player.Character.Head.Position+ Vector3.new(math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))), math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))),math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))) )
  1248. br.BrickColor=BrickColor.new(Col)
  1249. end
  1250. end
  1251. end)
  1252. Mouse.KeyDown:connect(function(key)
  1253. if (key)=='q' then
  1254. Q=true
  1255. elseif (key)=='e' then
  1256. E=true
  1257. elseif (key)=='t' then
  1258. if Adorn~=nil then
  1259. BP.Parent=nil
  1260. Adorn.Velocity=Adorn.Velocity+(((Adorn.Position+XVec)-Player.Character.Head.Position)).unit*200
  1261. Adorn=nil
  1262. end
  1263. end
  1264. end)
  1265. Mouse.KeyUp:connect(function(key)
  1266. if (key)=='q' then
  1267. Q=false
  1268. elseif (key)=='e' then
  1269. E=false
  1270. elseif key=='k' and Adorn~=nil then
  1271. for i, v in pairs(Adorn.Parent:GetChildren()) do
  1272. if v:IsA('Humanoid') then v.Health=0 end
  1273. end
  1274. elseif key=='b' and Adorn~=nil then
  1275. Adorn:BreakJoints()
  1276. elseif (key)=='r' and Adorn ~=nil then
  1277. if Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==false then
  1278. for i, var in pairs(Adorn.Parent:GetChildren()) do
  1279. if var:IsA('BasePart') then
  1280. fire=inew('Fire',var)
  1281. fire.Color=FireColor
  1282. fire.Name='Fire23445'
  1283. fire.Size=FireSize
  1284. fire.Heat=FireHeat
  1285. end
  1286. end
  1287. Adorn.Parent.Fire.Value=true
  1288. elseif Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==true then
  1289. for i, var in pairs(Adorn.Parent:GetChildren()) do
  1290. if var:IsA('BasePart') and var:FindFirstChild('Fire23445') then
  1291. var.Fire23445:Destroy()
  1292. end
  1293. end
  1294. Adorn.Parent.Fire.Value=false
  1295. elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then
  1296. if not Adorn:FindFirstChild('Fire23445') then
  1297. fire=inew('Fire',Adorn)
  1298. fire.Color=FireColor
  1299. fire.Name='Fire23445'
  1300. fire.Size=FireSize
  1301. fire.Heat=FireHeat
  1302. elseif Adorn:FindFirstChild('Fire23445') then
  1303. Adorn.Fire23445:Destroy()
  1304. end
  1305. end
  1306. elseif (key)=='z' and Adorn ~=nil then
  1307. if Adorn.Parent:FindFirstChild('ThisIsAModel') then
  1308. if Adorn.Parent.Ghost.Value==false then
  1309. for i, v in pairs(Adorn.Parent:GetChildren()) do
  1310. if v:IsA('BasePart') then
  1311. if v.Transparency==0 then
  1312. tick=inew('BoolValue',v)
  1313. tick.Name='Trans'
  1314. v.Transparency=0.5
  1315. else
  1316. v.Transparency=v.Transparency*2
  1317. end
  1318. end
  1319. end
  1320. Adorn.Parent.Ghost.Value=true
  1321. elseif Adorn.Parent.Ghost.Value==true then
  1322. for i, v in pairs(Adorn.Parent:GetChildren()) do
  1323. if v:IsA('BasePart') then
  1324. if v:FindFirstChild('Trans') then
  1325. v.Transparency=0
  1326. v.Trans:Destroy()
  1327. else
  1328. v.Transparency=v.Transparency/2
  1329. end
  1330. end
  1331. end
  1332. Adorn.Parent.Ghost.Value=false
  1333. end
  1334. elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then
  1335. if Adorn:FindFirstChild('Trans') then
  1336. Adorn.Transparency=Adorn.Transparency/2
  1337. Adorn.Trans:Destroy()
  1338. if Adorn:FindFirstChild('Trans2') then
  1339. Adorn.Transparency=0
  1340. Adorn.Trans2:Destroy()
  1341. end
  1342. elseif not Adorn:FindFirstChild('Trans') then
  1343. inew('BoolValue',Adorn).Name='Trans'
  1344. if Adorn.Transparency<=0 then
  1345. inew('BoolValue',Adorn).Name='Trans2'
  1346. Adorn.Transparency=0.5
  1347. else Adorn.Transparency=Adorn.Transparency*2
  1348. end
  1349. end
  1350. end
  1351. end
  1352. end)
  1353. Mouse.Button1Down:connect(function()
  1354. if Adorn==nil and BP.Parent==nil and Target~=nil and (hit.p-Player.Character.Head.Position).magnitude<=Maximum and Target:IsDescendantOf(workspace) then
  1355. Distance=(Target.Position-Player.Character.Head.Position).magnitude
  1356. XVec=(hit.p-Target.Position)
  1357. if not Target.Parent:FindFirstChild('ThisIsAModel') then
  1358. local rt=Target.Size
  1359. Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5
  1360. else
  1361. local rt=Target.Parent:GetModelSize()
  1362. Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5
  1363. end
  1364. Adorn=Target
  1365. end
  1366. end)
  1367.  
  1368. Mouse.Button1Up:connect(function()
  1369. if Adorn~=nil then
  1370. Adorn=nil
  1371. BP.Parent=nil
  1372. end
  1373. end)elapsed: "..tick() - time)
  1374.  
  1375. plr = game.Players.LocalPlayer
  1376. mouse = plr:GetMouse()
  1377. function onClicked()
  1378. local x = Instance.new("Explosion", workspace)
  1379. x.Position = mouse.Hit.p
  1380. x.BlastRadius = 10
  1381. x.BlastPressure = 9e9
  1382. end
  1383. mouse.Button1Down:connect(onClicked)
  1384.  
  1385. --JUMP HEIGHT:
  1386. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
  1387. --SPEED:
  1388. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  1389.  
  1390. me = game.Players.JayTheLionJR
  1391. hoppa = Instance.new("HopperBin")
  1392. hoppa.Parent = me.Backpack
  1393. hoppa.Name = "Steal"
  1394. script.Parent = hoppa
  1395. function selected(mouse, key)
  1396. mouse.Button1Down:connect(function()
  1397. if mouse.Target then
  1398. local targ = mouse.Target
  1399. if targ.Name == "Base" then return end
  1400. local too = Instance.new("Tool")
  1401. too.Parent = me.Backpack
  1402. too.Name = targ.Name
  1403. too.GripPos = Vector3.new(0,0,0)
  1404. if targ.Size.Y >= 1 then
  1405. too.GripPos = Vector3.new(0,-0.5,0)
  1406. elseif targ.Size.Y >= 2 then
  1407. too.GripPos = Vector3.new(0,-1,0)
  1408. elseif targ.Size.Y >= 3 then
  1409. too.GripPos = Vector3.new(0,-1.5,0)
  1410. elseif targ.Size.Y >= 4 then
  1411. too.GripPos = Vector3.new(0,-2,0)
  1412. end
  1413. local hand = targ
  1414. hand.Name = "Handle"
  1415. hand.Anchored = false
  1416. hand.Parent = too
  1417. hand.CanCollide = false
  1418. local gee = false
  1419. local function touch(hit)
  1420. if gee == false then return end
  1421. local hum = hit.Parent:findFirstChild("Humanoid")
  1422. if hum ~= nil then
  1423. hum:TakeDamage(math.random(5,10))
  1424. end
  1425. end
  1426. hand.Touched:connect(touch)
  1427. too.Equipped:connect(function()
  1428. too.Activated:connect(function()
  1429. gee = true
  1430. local val = Instance.new("StringValue")
  1431. val.Parent = too
  1432. val.Name = "toolanim"
  1433. val.Value = "Slash"
  1434. wait(0.5)
  1435. gee = false
  1436. end)
  1437.  
  1438. script.Parent.Selected:connect(selected)
  1439.  
  1440. local ContentProvider = game:GetService("ContentProvider")
  1441.  
  1442. local function LoadAssets(AssetList)
  1443. -- Takes an asset list and preloads it. Will not wait for them to load.
  1444.  
  1445. for _, AssetId in pairs(AssetList) do
  1446. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  1447. end
  1448. end
  1449.  
  1450. LoadAssets({11442510,30956707})
  1451. local Gibs = game.Workspace
  1452.  
  1453. function Kill(Character)
  1454. Character.Humanoid.Health = 0
  1455. local poo = Instance.new("IntValue",Character)
  1456. poo.Name = "haha nope"
  1457. local svch = Character
  1458. local hum = Character:findFirstChild("Humanoid")
  1459. Character.Archivable = true
  1460. local chrclone = Character:clone()
  1461. Character.Archivable = false
  1462.  
  1463. local ch = chrclone:GetChildren()
  1464. local i
  1465. for i = 1,#ch do
  1466. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1467. ch[i]:remove()
  1468. end
  1469. end
  1470. local function Scan(ch)
  1471. local e
  1472. for e = 1,#ch do
  1473. Scan(ch[e]:GetChildren())
  1474. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1475. ch[e]:remove()
  1476. end
  1477. end
  1478. end
  1479. Scan(chrclone:GetChildren())
  1480.  
  1481. local hum2 = chrclone:findFirstChild("Humanoid")
  1482.  
  1483.  
  1484. if hum2 ~= nil then
  1485. hum2.Name = "Humanoid2"
  1486. hum2.PlatformStand = true
  1487. hum2.Sit = true
  1488. hum2.MaxHealth = 0
  1489. hum2.Health = 0
  1490. end
  1491.  
  1492. local ch = Character:GetChildren()
  1493. local i
  1494. for i = 1,#ch do
  1495. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1496. ch[i]:remove()
  1497. end
  1498. end
  1499.  
  1500. wait(0.2)
  1501.  
  1502. local ch = Character:GetChildren()
  1503. local i
  1504. for i = 1,#ch do
  1505. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1506. ch[i]:remove()
  1507. end
  1508. end
  1509. Character = chrclone
  1510. local Torso = Character.Torso
  1511. local movevector = Vector3.new()
  1512.  
  1513. if Torso then
  1514. local Head = Character:FindFirstChild("Head")
  1515. local Limb = Character:FindFirstChild("Right Arm")
  1516. if Limb then
  1517.  
  1518. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  1519. local Joint = Instance.new("Glue")
  1520. Joint.Name = "RightShoulder"
  1521. Joint.Part0 = Torso
  1522. Joint.Part1 = Limb
  1523. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1524. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1525. Joint.Parent = Torso
  1526.  
  1527. local B = Instance.new("Part")
  1528. B.TopSurface = 0
  1529. B.BottomSurface = 0
  1530. B.formFactor = "Symmetric"
  1531. B.Size = Vector3.new(1, 1, 1)
  1532. B.Transparency = 1
  1533. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1534. B.Parent = Character
  1535. local W = Instance.new("Weld")
  1536. W.Part0 = Limb
  1537. W.Part1 = B
  1538. W.C0 = CFrame.new(0, -0.5, 0)
  1539. W.Parent = Limb
  1540.  
  1541. end
  1542. local Limb = Character:FindFirstChild("Left Arm")
  1543. if Limb then
  1544.  
  1545. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  1546. local Joint = Instance.new("Glue")
  1547. Joint.Name = "LeftShoulder"
  1548. Joint.Part0 = Torso
  1549. Joint.Part1 = Limb
  1550. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1551. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1552. Joint.Parent = Torso
  1553.  
  1554. local B = Instance.new("Part")
  1555. B.TopSurface = 0
  1556. B.BottomSurface = 0
  1557. B.formFactor = "Symmetric"
  1558. B.Size = Vector3.new(1, 1, 1)
  1559. B.Transparency = 1
  1560. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1561. B.Parent = Character
  1562. local W = Instance.new("Weld")
  1563. W.Part0 = Limb
  1564. W.Part1 = B
  1565. W.C0 = CFrame.new(0, -0.5, 0)
  1566. W.Parent = Limb
  1567.  
  1568. end
  1569. local Limb = Character:FindFirstChild("Right Leg")
  1570. if Limb then
  1571.  
  1572. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  1573. local Joint = Instance.new("Glue")
  1574. Joint.Name = "RightHip"
  1575. Joint.Part0 = Torso
  1576. Joint.Part1 = Limb
  1577. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1578. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1579. Joint.Parent = Torso
  1580.  
  1581. local B = Instance.new("Part")
  1582. B.TopSurface = 0
  1583. B.BottomSurface = 0
  1584. B.formFactor = "Symmetric"
  1585. B.Size = Vector3.new(1, 1, 1)
  1586. B.Transparency = 1
  1587. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1588. B.Parent = Character
  1589. local W = Instance.new("Weld")
  1590. W.Part0 = Limb
  1591. W.Part1 = B
  1592. W.C0 = CFrame.new(0, -0.5, 0)
  1593. W.Parent = Limb
  1594.  
  1595. end
  1596. local Limb = Character:FindFirstChild("Left Leg")
  1597. if Limb then
  1598.  
  1599. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  1600. local Joint = Instance.new("Glue")
  1601. Joint.Name = "LeftHip"
  1602. Joint.Part0 = Torso
  1603. Joint.Part1 = Limb
  1604. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1605. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1606. Joint.Parent = Torso
  1607.  
  1608. local B = Instance.new("Part")
  1609. B.TopSurface = 0
  1610. B.BottomSurface = 0
  1611. B.formFactor = "Symmetric"
  1612. B.Size = Vector3.new(1, 1, 1)
  1613. B.Transparency = 1
  1614. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1615. B.Parent = Character
  1616. local W = Instance.new("Weld")
  1617. W.Part0 = Limb
  1618. W.Part1 = B
  1619. W.C0 = CFrame.new(0, -0.5, 0)
  1620. W.Parent = Limb
  1621.  
  1622. end
  1623. --[
  1624. local Bar = Instance.new("Part")
  1625. Bar.TopSurface = 0
  1626. Bar.BottomSurface = 0
  1627. Bar.formFactor = "Symmetric"
  1628. Bar.Size = Vector3.new(1, 1, 1)
  1629. Bar.Transparency = 1
  1630. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  1631. Bar.Parent = Character
  1632. local Weld = Instance.new("Weld")
  1633. Weld.Part0 = Torso
  1634. Weld.Part1 = Bar
  1635. Weld.C0 = CFrame.new(0, 0.5, 0)
  1636. Weld.Parent = Torso
  1637. --]]
  1638. end
  1639. Character.Parent = Gibs
  1640. game.Debris:AddItem(Character, 12)
  1641. if movevector ~= Vector3.new() then
  1642. for i = 1,10 do
  1643. wait()
  1644. Torso.Velocity = Vector3.new(0,0,-100)
  1645. Head.Velocity = movevector * 200
  1646. end
  1647. end
  1648. local duh = Torso
  1649. ee = Instance.new("Part")
  1650. ee.Anchored = false
  1651. ee.CanCollide = false
  1652. ee.Parent = duh
  1653. ee.Transparency =1
  1654. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  1655. wee = Instance.new("Weld")
  1656. wee.Parent = duh
  1657. wee.Part0 = duh
  1658. wee.Part1 = ee
  1659. wee.C0 = CFrame.new(0, 1, 0)
  1660. ge = Instance.new('ParticleEmitter')
  1661. ge.Parent = ee
  1662. ge.Texture = "rbxassetid://29712167"
  1663. ge.Size = NumberSequence.new(0.2,0.05)
  1664. ge.Acceleration = Vector3.new(0, -20, 0)
  1665. ge.Rate = 100000
  1666. ge.Speed = NumberRange.new(7,8)
  1667. ge.Lifetime = NumberRange.new(3,4)
  1668. ge.VelocitySpread = 10
  1669. ge.VelocityInheritance = 0.3
  1670. ea = Instance.new("Part")
  1671. ea.Anchored = false
  1672. ea.CanCollide = false
  1673. ea.Parent = Character.Head
  1674. ea.Transparency =1
  1675. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  1676. wea = Instance.new("Weld")
  1677. wea.Parent = Character.Head
  1678. wea.Part0 = Character.Head
  1679. wea.Part1 = ea
  1680. wea.C0 = CFrame.new(0, -0.7, 0)
  1681. ga = Instance.new('ParticleEmitter')
  1682. ga.Parent = ea
  1683. ga.Texture = "rbxassetid://29712167"
  1684. ga.Size = NumberSequence.new(0.2,0.05)
  1685. ga.Acceleration = Vector3.new(0, -20, 0)
  1686. ga.Rate = 100000
  1687. ga.Speed = NumberRange.new(7,8)
  1688. ga.Lifetime = NumberRange.new(3,4)
  1689. ga.VelocitySpread = 10
  1690. ga.VelocityInheritance = 0.3
  1691. ga.EmissionDirection = Enum.NormalId.Bottom
  1692. end
  1693.  
  1694. local plr = game.Players.LocalPlayer
  1695. local chr = plr.Character
  1696. local mouse = plr:GetMouse()
  1697. local intro = coroutine.wrap(function()
  1698. local gui = Instance.new('ScreenGui',plr.PlayerGui)
  1699. gui.Name = "Intro"
  1700. local fr = Instance.new('Frame',gui)
  1701. fr.Size = UDim2.new(0.4,0,0,0)
  1702. fr.Position = UDim2.new(0.3,0,-0.1,0)
  1703. fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
  1704. fr.BorderSizePixel = 5
  1705. fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  1706. local title = Instance.new('TextLabel',fr)
  1707. title.Size = UDim2.new(1,0,0.4,0)
  1708. title.Position = UDim2.new(0,0,0.1,0)
  1709. title.BackgroundTransparency = 1
  1710. title.TextColor3 = Color3.fromRGB(198, 45, 45)
  1711. title.TextScaled = true
  1712. title.Text = 'Deadpool Script'
  1713. local desc = Instance.new('TextLabel',fr)
  1714. desc.Size = UDim2.new(1,0,0.5,0)
  1715. desc.Position = UDim2.new(0,0,0.5,0)
  1716. desc.BackgroundTransparency = 1
  1717. desc.TextColor3 = Color3.fromRGB(198, 45, 45)
  1718. desc.TextScaled = true
  1719. desc.Text = ''
  1720. wait(1)
  1721. fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
  1722. wait(2)
  1723. local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
  1724. local leng = string.len(str)
  1725. for i = 1,leng do
  1726. desc.Text = string.sub(str,1,i)
  1727. wait()
  1728. end
  1729. wait(2)
  1730. fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
  1731. wait(2)
  1732. gui:Destroy()
  1733. end)
  1734. intro()
  1735.  
  1736.  
  1737. wait(2)
  1738. local tors = chr.Torso
  1739. chr.Head.Transparency = 1
  1740. for i,v in pairs(chr:GetChildren()) do
  1741. if v.ClassName == "CharacterMesh" then
  1742. v:Destroy()
  1743. end
  1744. end
  1745. local humroot = chr.HumanoidRootPart:Clone()
  1746. local torsclone = tors:Clone()
  1747. local anim = chr.Animate:Clone()
  1748. local hum = chr.Humanoid:Clone()
  1749. local head = chr.Head:Clone()
  1750. local neck = chr.Torso.Neck:Clone()
  1751. local rightarm = chr["Right Arm"]:Clone()
  1752. local leftarm = chr["Left Arm"]:Clone()
  1753. local leftleg = chr["Left Leg"]:Clone()
  1754. local rightleg = chr["Right Leg"]:Clone()
  1755. local rightshoulder = tors["Right Shoulder"]:Clone()
  1756. local leftshoulder = tors["Left Shoulder"]:Clone()
  1757. local righthip = tors["Right Hip"]:Clone()
  1758. local lefthip = tors["Left Hip"]:Clone()
  1759. local shirt = nil
  1760. local pants = nil
  1761. local hats = {}
  1762. local lastpos = CFrame.new(0,0,0)
  1763. local on = true
  1764. local doing = false
  1765. local stabbing = false
  1766. local slicing = false
  1767. local toolz = Instance.new('Tool',plr.Backpack)
  1768. toolz.Name = "Katana"
  1769. toolz.RequiresHandle = false
  1770. toolz.CanBeDropped = false
  1771. local partz = Instance.new('Part',toolz)
  1772. partz.Size = Vector3.new(0.2,0.2,3)
  1773. partz.CanCollide = false
  1774. local meshz = Instance.new('SpecialMesh',partz)
  1775. meshz.MeshId = 'rbxassetid://11442510'
  1776. meshz.TextureId = 'rbxassetid://30956707'
  1777. meshz.VertexColor = Vector3.new(0,0,0)
  1778.  
  1779. toolz.Equipped:connect(function(mouse)
  1780. if chr:FindFirstChild('Right Arm') then
  1781. local weld = Instance.new('Weld',partz)
  1782. weld.Part0 = partz
  1783. weld.Part1 = chr["Right Arm"]
  1784. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  1785. end
  1786. mouse.KeyDown:connect(function(key)
  1787. if doing == false then
  1788. if key == 'z' then
  1789. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  1790. doing = true
  1791. local weld = Instance.new('Weld',chr["Right Arm"])
  1792. weld.Part0 = chr["Right Arm"]
  1793. weld.Part1 = chr.Torso
  1794. weld.C0 = CFrame.new(-1.5,0,0)
  1795. for i=1,25 do
  1796. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
  1797. wait()
  1798. end
  1799. wait()
  1800. stabbing = true
  1801. for i=1,10 do
  1802. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
  1803. wait()
  1804. end
  1805. wait()
  1806. for i=1,25 do
  1807. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
  1808. wait()
  1809. end
  1810. chr["Right Arm"]:Destroy()
  1811. doing = false
  1812. stabbing = false
  1813. end
  1814. elseif key == 'x' then
  1815. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  1816. doing = true
  1817. local weld = Instance.new('Weld',chr["Right Arm"])
  1818. weld.Part0 = chr["Right Arm"]
  1819. weld.Part1 = chr.Torso
  1820. weld.C0 = CFrame.new(-1.5,0,0)
  1821. for i=1,25 do
  1822. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
  1823. wait()
  1824. end
  1825. wait()
  1826. slicing = true
  1827. for i=1,5 do
  1828. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
  1829. wait()
  1830. end
  1831. wait()
  1832. for i=1,12.5 do
  1833. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
  1834. wait()
  1835. end
  1836. chr["Right Arm"]:Destroy()
  1837. doing = false
  1838. slicing = false
  1839. end
  1840. end
  1841. end
  1842. end)
  1843. end)
  1844.  
  1845. partz.Touched:connect(function(hit)
  1846. if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
  1847. hit.Parent.Humanoid.Health = 0
  1848. elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
  1849. local he = Instance.new('IntValue',hit.Parent)
  1850. he.Name = "heck"
  1851. Kill(hit.Parent)
  1852. end
  1853. end)
  1854.  
  1855. toolz.Unequipped:connect(function(mouse)
  1856. if partz:FindFirstChildOfClass('Weld') then
  1857. partz:FindFirstChildOfClass('Weld'):Destroy()
  1858. end
  1859. end)
  1860. toolz.AncestryChanged:connect(function(child, parent)
  1861. if parent ~= chr and parent ~= plr.Backpack then
  1862. wait()
  1863. toolz.Parent = plr.Backpack
  1864. end
  1865. end)
  1866.  
  1867. mouse.KeyDown:connect(function(key)
  1868. if key == "n" then
  1869. wait()
  1870. toolz:Equip()
  1871. end
  1872. end)
  1873. if chr:FindFirstChildOfClass('Shirt') then
  1874. shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
  1875. end
  1876. if chr:FindFirstChildOfClass('Pants') then
  1877. pants = chr:FindFirstChildOfClass('Pants'):Clone()
  1878. end
  1879. for i,v in pairs(chr:GetChildren()) do
  1880. if v.ClassName == "Accessory" then
  1881. table.insert(hats,v:Clone())
  1882. end
  1883. end
  1884. local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
  1885. chr.Humanoid:Destroy()
  1886. local gui = Instance.new('ScreenGui')
  1887. gui.Parent = game.Players.LocalPlayer.PlayerGui
  1888. gui.Name = "Deadpool"
  1889. gui.ResetOnSpawn = false
  1890. local frame = Instance.new('Frame',gui)
  1891. frame.Size = UDim2.new(0.2,0,0.2,0)
  1892. frame.Position = UDim2.new(0,0,0.9,0)
  1893. frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  1894. frame.BorderSizePixel = 4
  1895. frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
  1896. frame.Active = true
  1897. frame.Draggable = true
  1898. local txt = Instance.new('TextLabel',frame)
  1899. txt.Text = "Deadpool Gui"
  1900. txt.TextColor3 = Color3.fromRGB(198, 45, 45)
  1901. txt.Size = UDim2.new(1,0,0.3,0)
  1902. txt.TextScaled = true
  1903. txt.BackgroundTransparency = 1
  1904. local but = Instance.new('TextButton',frame)
  1905. but.Text = "Toggle Suit"
  1906. but.TextColor3 = Color3.fromRGB(38, 38, 38)
  1907. but.Size = UDim2.new(0.7,0,0.3,0)
  1908. but.Position = UDim2.new(0.15,0,0.5,0)
  1909. but.BorderSizePixel = 0
  1910. but.TextScaled = true
  1911. but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
  1912. but.MouseButton1Down:connect(function()
  1913. on = not on
  1914. end)
  1915. game:GetService('RunService').Stepped:connect(function()
  1916. if chr.Parent == nil then
  1917. chr.RobloxLocked = false
  1918. chr.Parent = game.Workspace
  1919. end
  1920. if chr:FindFirstChildOfClass('Humanoid') == nil then
  1921. hum:Clone().Parent = chr
  1922. chr.Animate:Destroy()
  1923. anim:Clone().Parent = chr
  1924. end
  1925. if chr:FindFirstChild('HumanoidRootPart') == nil then
  1926. humroot:Clone().Parent = chr
  1927. humroot.CFrame = lastpos
  1928. chr.Humanoid:Destroy()
  1929. hum:Clone().Parent = chr
  1930. chr.Animate:Destroy()
  1931. anim:Clone().Parent = chr
  1932. chr.HumanoidRootPart.RootJoint:Destroy()
  1933. end
  1934. if chr:FindFirstChild('Torso') == nil then
  1935. chr.Humanoid:Destroy()
  1936. local tor = tors:Clone()
  1937. tor.Parent = chr
  1938. hum:Clone().Parent = chr
  1939. chr.Animate:Destroy()
  1940. anim:Clone().Parent = chr
  1941. end
  1942. if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
  1943. local rtj = rootjoint:Clone()
  1944. rtj.Parent = chr.HumanoidRootPart
  1945. rtj.Part0 = chr.HumanoidRootPart
  1946. rtj.Part1 = chr.Torso
  1947. end
  1948. if chr:FindFirstChild('Head') == nil then
  1949. chr.Humanoid:Destroy()
  1950. head:Clone().Parent = chr
  1951. hum:Clone().Parent = chr
  1952. chr.Animate:Destroy()
  1953. anim:Clone().Parent = chr
  1954. end
  1955. if chr.Torso:FindFirstChild('Neck') == nil then
  1956. chr.Humanoid:Destroy()
  1957. local hec = neck:Clone()
  1958. hec.Parent = chr.Torso
  1959. hec.Part0 = chr.Torso
  1960. hec.Part1 = chr.Head
  1961. hum:Clone().Parent = chr
  1962. chr.Animate:Destroy()
  1963. anim:Clone().Parent = chr
  1964. end
  1965. if chr:FindFirstChild('Right Leg') == nil then
  1966. rightleg:Clone().Parent = chr
  1967. local fi = righthip:Clone()
  1968. fi.Parent = chr.Torso
  1969. fi.Part0 = chr.Torso
  1970. fi.Part1 = chr["Right Leg"]
  1971. end
  1972. if chr:FindFirstChild('Right Arm') == nil then
  1973. rightarm:Clone().Parent = chr
  1974. local fi = rightshoulder:Clone()
  1975. fi.Parent = chr.Torso
  1976. fi.Part0 = chr.Torso
  1977. fi.Part1 = chr["Right Arm"]
  1978. end
  1979. if chr:FindFirstChild('Left Leg') == nil then
  1980. leftleg:Clone().Parent = chr
  1981. local fi = lefthip:Clone()
  1982. fi.Parent = chr.Torso
  1983. fi.Part0 = chr.Torso
  1984. fi.Part1 = chr["Left Leg"]
  1985. end
  1986. if chr:FindFirstChild('Left Arm') == nil then
  1987. leftarm:Clone().Parent = chr
  1988. local fi = leftshoulder:Clone()
  1989. fi.Parent = chr.Torso
  1990. fi.Part0 = chr.Torso
  1991. fi.Part1 = chr["Left Arm"]
  1992. end
  1993. for i,v in pairs(chr:GetChildren()) do
  1994. if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
  1995. v:Destroy()
  1996. end
  1997. end
  1998. chr.Humanoid.Health = chr.Humanoid.MaxHealth
  1999. if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
  2000. local weld = Instance.new('Weld',partz)
  2001. weld.Part0 = partz
  2002. weld.Part1 = chr["Right Arm"]
  2003. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  2004. end
  2005. lastpos = chr.HumanoidRootPart.CFrame
  2006. local kat = Instance.new('Part',chr)
  2007. kat.Size = Vector3.new(0.4,3,0.2)
  2008. kat.Name = "KatanaHolder"
  2009. kat.Material = Enum.Material.SmoothPlastic
  2010. kat.BrickColor = BrickColor.new('Really black')
  2011. kat.CanCollide = false
  2012. local we = Instance.new('Weld',kat)
  2013. we.Part0 = kat
  2014. we.Part1 = chr.Torso
  2015. we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
  2016. if on == true then
  2017. local shirt = Instance.new('Shirt',chr)
  2018. shirt.ShirtTemplate = 'rbxassetid://379545459'
  2019. local pants = Instance.new('Pants',chr)
  2020. pants.PantsTemplate = 'rbxassetid://379545671'
  2021. local mask = Instance.new('Part',chr)
  2022. mask.Name = "Mask"
  2023. mask.Size = Vector3.new(2,1,1)
  2024. mask.BrickColor = BrickColor.new('Bright red')
  2025. local mesh = Instance.new('SpecialMesh',mask)
  2026. mesh.Scale = Vector3.new(1.3,1.3,1.3)
  2027. local weld = Instance.new('Weld',mask)
  2028. weld.Part0 = mask
  2029. weld.Part1 = chr.Head
  2030. local eyesurround = Instance.new('Part',mask)
  2031. eyesurround.BrickColor = BrickColor.new('Really black')
  2032. eyesurround.Size = Vector3.new(0.3,0.5,0.2)
  2033. local mesh2 = Instance.new('SpecialMesh',eyesurround)
  2034. mesh2.MeshType = Enum.MeshType.Sphere
  2035. mesh2.Scale = Vector3.new(1,1,0.5)
  2036. local weld2 = Instance.new('Weld',eyesurround)
  2037. weld2.Part0 = eyesurround
  2038. weld2.Part1 = mask
  2039. weld2.C0 = CFrame.new(0.1,-0.22,0.58)*CFrame.Angles(0,0,-0.2)
  2040. local eyesurround2 = Instance.new('Part',mask)
  2041. eyesurround2.BrickColor = BrickColor.new('Really black')
  2042. eyesurround2.Size = Vector3.new(0.3,0.5,0.2)
  2043. local mesh3 = Instance.new('SpecialMesh',eyesurround2)
  2044. mesh3.MeshType = Enum.MeshType.Sphere
  2045. mesh3.Scale = Vector3.new(1,1,0.5)
  2046. local weld3 = Instance.new('Weld',eyesurround2)
  2047. weld3.Part0 = eyesurround2
  2048. weld3.Part1 = mask
  2049. weld3.C0 = CFrame.new(-0.1,-0.22,0.58)*CFrame.Angles(0,0,0.2)
  2050. local eye = Instance.new('Part',mask)
  2051. eye.BrickColor = BrickColor.new('Institutional white')
  2052. eye.Size = Vector3.new(0.2,0.2,0.2)
  2053. local mesh4 = Instance.new('SpecialMesh',eye)
  2054. mesh4.MeshType = Enum.MeshType.Sphere
  2055. mesh4.Scale = Vector3.new(1,1,0.5)
  2056. local weld4 = Instance.new('Weld',eye)
  2057. weld4.Part0 = eye
  2058. weld4.Part1 = mask
  2059. weld4.C0 = CFrame.new(0.1,-0.22,0.59)*CFrame.Angles(0,0,-0.2)
  2060. local eye2 = Instance.new('Part',mask)
  2061. eye2.BrickColor = BrickColor.new('Institutional white')
  2062. eye2.Size = Vector3.new(0.2,0.2,0.2)
  2063. local mesh5 = Instance.new('SpecialMesh',eye2)
  2064. mesh5.MeshType = Enum.MeshType.Sphere
  2065. mesh5.Scale = Vector3.new(1,1,0.5)
  2066. local weld5 = Instance.new('Weld',eye2)
  2067. weld5.Part0 = eye2
  2068. weld5.Part1 = mask
  2069. weld5.C0 = CFrame.new(-0.1,-0.22,0.59)*CFrame.Angles(0,0,0.2)
  2070. else
  2071. chr.Head.Transparency = 0
  2072. if shirt ~= nil then
  2073. shirt:Clone().Parent = chr
  2074. end
  2075. if pants ~= nil then
  2076. pants:Clone().Parent = chr
  2077. end
  2078. for i,v in pairs(hats) do
  2079. v:Clone().Parent = chr
  2080. end
  2081. end
  2082. end)
  2083.  
  2084. --//====================================================\\--
  2085. --|| CREATED BY SHACKLUSTER and uberified by VictoriaChristophe bakayaro konoyaro
  2086. --\\====================================================//--
  2087.  
  2088.  
  2089.  
  2090. wait(0.2)
  2091.  
  2092.  
  2093.  
  2094. Player = game:GetService("Players").LocalPlayer
  2095. PlayerGui = Player.PlayerGui
  2096. Cam = workspace.CurrentCamera
  2097. Backpack = Player.Backpack
  2098. Character = Player.Character
  2099. Humanoid = Character.Humanoid
  2100. Humanoid.JumpPower = 1000
  2101. Mouse = Player:GetMouse()
  2102. RootPart = Character["HumanoidRootPart"]
  2103. Torso = Character["Torso"]
  2104. Head = Character["Head"]
  2105. RightArm = Character["Right Arm"]
  2106. LeftArm = Character["Left Arm"]
  2107. RightLeg = Character["Right Leg"]
  2108. LeftLeg = Character["Left Leg"]
  2109. RootJoint = RootPart["RootJoint"]
  2110. Neck = Torso["Neck"]
  2111. RightShoulder = Torso["Right Shoulder"]
  2112. LeftShoulder = Torso["Left Shoulder"]
  2113. RightHip = Torso["Right Hip"]
  2114. LeftHip = Torso["Left Hip"]
  2115. local sick = Instance.new("Sound",Character)
  2116. sick.SoundId = "rbxassetid://1007872698"
  2117. sick.Looped = true
  2118. sick.Pitch = 1
  2119. sick.Volume = 99
  2120. sick:Play()
  2121.  
  2122. IT = Instance.new
  2123. CF = CFrame.new
  2124. VT = Vector3.new
  2125. RAD = math.rad
  2126. C3 = Color3.new
  2127. UD2 = UDim2.new
  2128. BRICKC = BrickColor.new
  2129. ANGLES = CFrame.Angles
  2130. EULER = CFrame.fromEulerAnglesXYZ
  2131. COS = math.cos
  2132. ACOS = math.acos
  2133. SIN = math.sin
  2134. ASIN = math.asin
  2135. ABS = math.abs
  2136. MRANDOM = math.random
  2137. FLOOR = math.floor
  2138.  
  2139. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2140. local NEWMESH = IT(MESH)
  2141. if MESH == "SpecialMesh" then
  2142. NEWMESH.MeshType = MESHTYPE
  2143. if MESHID ~= "nil" and MESHID ~= "" then
  2144. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2145. end
  2146. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2147. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2148. end
  2149. end
  2150. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2151. NEWMESH.Scale = SCALE
  2152. NEWMESH.Parent = PARENT
  2153. return NEWMESH
  2154. end
  2155.  
  2156. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2157. local NEWPART = IT("Part")
  2158. NEWPART.formFactor = FORMFACTOR
  2159. NEWPART.Reflectance = REFLECTANCE
  2160. NEWPART.Transparency = TRANSPARENCY
  2161. NEWPART.CanCollide = false
  2162. NEWPART.Locked = true
  2163. NEWPART.Anchored = true
  2164. if ANCHOR == false then
  2165. NEWPART.Anchored = false
  2166. end
  2167. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2168. NEWPART.Name = NAME
  2169. NEWPART.Size = SIZE
  2170. NEWPART.Position = Torso.Position
  2171. NEWPART.Material = MATERIAL
  2172. NEWPART:BreakJoints()
  2173. NEWPART.Parent = PARENT
  2174. return NEWPART
  2175. end
  2176.  
  2177.  
  2178. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  2179. local NEWPART = IT("Part")
  2180. NEWPART.formFactor = FORMFACTOR
  2181. NEWPART.Reflectance = REFLECTANCE
  2182. NEWPART.Transparency = TRANSPARENCY
  2183. NEWPART.CanCollide = false
  2184. NEWPART.Locked = true
  2185. NEWPART.Anchored = true
  2186. if ANCHOR == false then
  2187. NEWPART.Anchored = false
  2188. end
  2189. NEWPART.Name = NAME
  2190. NEWPART.Size = SIZE
  2191. NEWPART.Position = Torso.Position
  2192. NEWPART.Material = MATERIAL
  2193. NEWPART:BreakJoints()
  2194. NEWPART.Parent = PARENT
  2195. return NEWPART
  2196. end
  2197. --//=================================\\
  2198. --|| CUSTOMIZATION
  2199. --\\=================================//
  2200.  
  2201. Player_Size = 1 --Size of the player.
  2202. Animation_Speed = 7
  2203. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2204.  
  2205. local Speed = 15
  2206. local Effects2 = {}
  2207.  
  2208. --//=================================\\
  2209. --|| END OF CUSTOMIZATION
  2210. --\\=================================//
  2211.  
  2212. local function weldBetween(a, b)
  2213. local weldd = Instance.new("ManualWeld")
  2214. weldd.Part0 = a
  2215. weldd.Part1 = b
  2216. weldd.C0 = CFrame.new()
  2217. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2218. weldd.Parent = a
  2219. return weldd
  2220. end
  2221.  
  2222. --//=================================\\
  2223. --|| USEFUL VALUES
  2224. --\\=================================//
  2225.  
  2226. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2227. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2228. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2229. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2230. local CHANGEDEFENSE = 0
  2231. local CHANGEDAMAGE = 0
  2232. local CHANGEMOVEMENT = 0
  2233. local ANIM = "Idle"
  2234. local ATTACK = false
  2235. local EQUIPPED = false
  2236. local HOLD = false
  2237. local COMBO = 1
  2238. local Rooted = false
  2239. local SINE = 0
  2240. local KEYHOLD = false
  2241. local CHANGE = 2 / Animation_Speed
  2242. local WALKINGANIM = false
  2243. local WALK = 0
  2244. local VALUE1 = false
  2245. local VALUE2 = false
  2246. local ROBLOXIDLEANIMATION = IT("Animation")
  2247. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2248. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2249. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2250. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2251. WEAPONGUI.Name = "Weapon GUI"
  2252. local Weapon = IT("Model")
  2253. Weapon.Name = "Adds"
  2254. local HITFLOOR = nil
  2255. local Effects = IT("Folder", Weapon)
  2256. Effects.Name = "Effects"
  2257. local ANIMATOR = Humanoid.Animator
  2258. local ANIMATE = Character.Animate
  2259. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  2260. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  2261. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  2262. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  2263. local UNANCHOR = true
  2264.  
  2265. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  2266.  
  2267. --//=================================\\
  2268. --\\=================================//
  2269.  
  2270.  
  2271.  
  2272.  
  2273. --//=================================\\
  2274. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2275. --\\=================================//
  2276.  
  2277. ArtificialHB = Instance.new("BindableEvent", script)
  2278. ArtificialHB.Name = "ArtificialHB"
  2279.  
  2280. script:WaitForChild("ArtificialHB")
  2281.  
  2282. frame = Frame_Speed
  2283. tf = 0
  2284. allowframeloss = false
  2285. tossremainder = false
  2286. lastframe = tick()
  2287. script.ArtificialHB:Fire()
  2288.  
  2289. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2290. tf = tf + s
  2291. if tf >= frame then
  2292. if allowframeloss then
  2293. script.ArtificialHB:Fire()
  2294. lastframe = tick()
  2295. else
  2296. for i = 1, math.floor(tf / frame) do
  2297. script.ArtificialHB:Fire()
  2298. end
  2299. lastframe = tick()
  2300. end
  2301. if tossremainder then
  2302. tf = 0
  2303. else
  2304. tf = tf - frame * math.floor(tf / frame)
  2305. end
  2306. end
  2307. end)
  2308.  
  2309. --//=================================\\
  2310. --\\=================================//
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316. --//=================================\\
  2317. --|| SOME FUNCTIONS
  2318. --\\=================================//
  2319.  
  2320. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2321. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2322. end
  2323.  
  2324. function PositiveAngle(NUMBER)
  2325. if NUMBER >= 0 then
  2326. NUMBER = 0
  2327. end
  2328. return NUMBER
  2329. end
  2330.  
  2331. function NegativeAngle(NUMBER)
  2332. if NUMBER <= 0 then
  2333. NUMBER = 0
  2334. end
  2335. return NUMBER
  2336. end
  2337.  
  2338. function Swait(NUMBER)
  2339. if NUMBER == 0 or NUMBER == nil then
  2340. ArtificialHB.Event:wait()
  2341. else
  2342. for i = 1, NUMBER do
  2343. ArtificialHB.Event:wait()
  2344. end
  2345. end
  2346. end
  2347.  
  2348. function QuaternionFromCFrame(cf)
  2349. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2350. local trace = m00 + m11 + m22
  2351. if trace > 0 then
  2352. local s = math.sqrt(1 + trace)
  2353. local recip = 0.5 / s
  2354. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2355. else
  2356. local i = 0
  2357. if m11 > m00 then
  2358. i = 1
  2359. end
  2360. if m22 > (i == 0 and m00 or m11) then
  2361. i = 2
  2362. end
  2363. if i == 0 then
  2364. local s = math.sqrt(m00 - m11 - m22 + 1)
  2365. local recip = 0.5 / s
  2366. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2367. elseif i == 1 then
  2368. local s = math.sqrt(m11 - m22 - m00 + 1)
  2369. local recip = 0.5 / s
  2370. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2371. elseif i == 2 then
  2372. local s = math.sqrt(m22 - m00 - m11 + 1)
  2373. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2374. end
  2375. end
  2376. end
  2377.  
  2378. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2379. local xs, ys, zs = x + x, y + y, z + z
  2380. local wx, wy, wz = w * xs, w * ys, w * zs
  2381. local xx = x * xs
  2382. local xy = x * ys
  2383. local xz = x * zs
  2384. local yy = y * ys
  2385. local yz = y * zs
  2386. local zz = z * zs
  2387. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  2388. end
  2389.  
  2390. function QuaternionSlerp(a, b, t)
  2391. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2392. local startInterp, finishInterp;
  2393. if cosTheta >= 0.0001 then
  2394. if (1 - cosTheta) > 0.0001 then
  2395. local theta = ACOS(cosTheta)
  2396. local invSinTheta = 1 / SIN(theta)
  2397. startInterp = SIN((1 - t) * theta) * invSinTheta
  2398. finishInterp = SIN(t * theta) * invSinTheta
  2399. else
  2400. startInterp = 1 - t
  2401. finishInterp = t
  2402. end
  2403. else
  2404. if (1 + cosTheta) > 0.0001 then
  2405. local theta = ACOS(-cosTheta)
  2406. local invSinTheta = 1 / SIN(theta)
  2407. startInterp = SIN((t - 1) * theta) * invSinTheta
  2408. finishInterp = SIN(t * theta) * invSinTheta
  2409. else
  2410. startInterp = t - 1
  2411. finishInterp = t
  2412. end
  2413. end
  2414. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  2415. end
  2416.  
  2417. function Clerp(a, b, t)
  2418. local qa = {QuaternionFromCFrame(a)}
  2419. local qb = {QuaternionFromCFrame(b)}
  2420. local ax, ay, az = a.x, a.y, a.z
  2421. local bx, by, bz = b.x, b.y, b.z
  2422. local _t = 1 - t
  2423. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2424. end
  2425.  
  2426. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2427. local frame = IT("Frame")
  2428. frame.BackgroundTransparency = TRANSPARENCY
  2429. frame.BorderSizePixel = BORDERSIZEPIXEL
  2430. frame.Position = POSITION
  2431. frame.Size = SIZE
  2432. frame.BackgroundColor3 = COLOR
  2433. frame.BorderColor3 = BORDERCOLOR
  2434. frame.Name = NAME
  2435. frame.Parent = PARENT
  2436. return frame
  2437. end
  2438.  
  2439. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2440. local label = IT("TextLabel")
  2441. label.BackgroundTransparency = 1
  2442. label.Size = UD2(1, 0, 1, 0)
  2443. label.Position = UD2(0, 0, 0, 0)
  2444. label.TextColor3 = TEXTCOLOR
  2445. label.TextStrokeTransparency = STROKETRANSPARENCY
  2446. label.TextTransparency = TRANSPARENCY
  2447. label.FontSize = TEXTFONTSIZE
  2448. label.Font = TEXTFONT
  2449. label.BorderSizePixel = BORDERSIZEPIXEL
  2450. label.TextScaled = false
  2451. label.Text = TEXT
  2452. label.Name = NAME
  2453. label.Parent = PARENT
  2454. return label
  2455. end
  2456.  
  2457. function NoOutlines(PART)
  2458. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2459. end
  2460.  
  2461.  
  2462. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2463. local NEWWELD = IT(TYPE)
  2464. NEWWELD.Part0 = PART0
  2465. NEWWELD.Part1 = PART1
  2466. NEWWELD.C0 = C0
  2467. NEWWELD.C1 = C1
  2468. NEWWELD.Parent = PARENT
  2469. return NEWWELD
  2470. end
  2471.  
  2472. function CreateSound(ID, PARENT, VOLUME, PITCH)
  2473. local NEWSOUND = nil
  2474. coroutine.resume(coroutine.create(function()
  2475. NEWSOUND = IT("Sound", PARENT)
  2476. NEWSOUND.Volume = VOLUME
  2477. NEWSOUND.Pitch = PITCH
  2478. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2479. Swait()
  2480. NEWSOUND:play()
  2481. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  2482. end))
  2483. return NEWSOUND
  2484. end
  2485.  
  2486. function CFrameFromTopBack(at, top, back)
  2487. local right = top:Cross(back)
  2488. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2489. end
  2490.  
  2491. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2492. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  2493. local mesh = IT("SpecialMesh",wave)
  2494. mesh.MeshType = "FileMesh"
  2495. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2496. mesh.Scale = SIZE
  2497. mesh.Offset = VT(0,0,-SIZE.X/8)
  2498. wave.CFrame = CFRAME
  2499. coroutine.resume(coroutine.create(function(PART)
  2500. for i = 1, WAIT do
  2501. Swait()
  2502. mesh.Scale = mesh.Scale + GROW
  2503. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2504. if DOESROT == true then
  2505. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2506. end
  2507. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2508. if wave.Transparency > 0.99 then
  2509. wave:remove()
  2510. end
  2511. end
  2512. end))
  2513. end
  2514.  
  2515. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2516. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  2517. local mesh = IT("SpecialMesh",wave)
  2518. mesh.MeshType = "FileMesh"
  2519. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2520. mesh.Scale = SIZE
  2521. --mesh.Offset = VT(0,0,-SIZE.X/8)
  2522. wave.CFrame = CFRAME
  2523. coroutine.resume(coroutine.create(function(PART)
  2524. for i = 1, WAIT do
  2525. Swait()
  2526. mesh.Scale = mesh.Scale + GROW
  2527. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2528. if DOESROT == true then
  2529. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2530. end
  2531. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2532. if wave.Transparency > 0.99 then
  2533. wave:remove()
  2534. end
  2535. end
  2536. end))
  2537. end
  2538.  
  2539. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2540. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  2541. local mesh = IT("SpecialMesh",wave)
  2542. mesh.MeshType = "FileMesh"
  2543. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2544. mesh.Scale = SIZE
  2545. wave.CFrame = CFRAME
  2546. coroutine.resume(coroutine.create(function(PART)
  2547. for i = 1, WAIT do
  2548. Swait()
  2549. mesh.Scale = mesh.Scale + GROW
  2550. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2551. if DOESROT == true then
  2552. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2553. end
  2554. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2555. if wave.Transparency > 0.99 then
  2556. wave:remove()
  2557. end
  2558. end
  2559. end))
  2560. end
  2561.  
  2562.  
  2563. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  2564. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  2565. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2566. wave.CFrame = CFRAME
  2567. coroutine.resume(coroutine.create(function(PART)
  2568. for i = 1, WAIT do
  2569. Swait()
  2570. mesh.Scale = mesh.Scale * GROW
  2571. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2572. if wave.Transparency > 0.99 then
  2573. wave:remove()
  2574. end
  2575. end
  2576. end))
  2577. end
  2578.  
  2579. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2580. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  2581. local mesh = IT("SpecialMesh",wave)
  2582. mesh.MeshType = "Sphere"
  2583. mesh.Scale = SIZE
  2584. mesh.Offset = VT(0,0,0)
  2585. wave.CFrame = CFRAME
  2586. coroutine.resume(coroutine.create(function(PART)
  2587. for i = 1, WAIT do
  2588. Swait()
  2589. mesh.Scale = mesh.Scale + GROW
  2590. wave.Transparency = wave.Transparency + (1/WAIT)
  2591. if wave.Transparency > 0.99 then
  2592. wave:remove()
  2593. end
  2594. end
  2595. end))
  2596. end
  2597.  
  2598. function MakeForm(PART,TYPE)
  2599. if TYPE == "Cyl" then
  2600. local MSH = IT("CylinderMesh",PART)
  2601. elseif TYPE == "Ball" then
  2602. local MSH = IT("SpecialMesh",PART)
  2603. MSH.MeshType = "Sphere"
  2604. elseif TYPE == "Wedge" then
  2605. local MSH = IT("SpecialMesh",PART)
  2606. MSH.MeshType = "Wedge"
  2607. end
  2608. end
  2609.  
  2610. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2611. if FLOOR ~= nil then
  2612. coroutine.resume(coroutine.create(function()
  2613. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2614. PART.CFrame = CF(POSITION)
  2615. for i = 1, 45 do
  2616. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2617. RingPiece.Material = FLOOR.Material
  2618. RingPiece.Color = FLOOR.Color
  2619. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2620. Debris:AddItem(RingPiece,SWAIT/100)
  2621. end
  2622. PART:remove()
  2623. end))
  2624. end
  2625. end
  2626.  
  2627. function CheckTableForString(Table, String)
  2628. for i, v in pairs(Table) do
  2629. if string.find(string.lower(String), string.lower(v)) then
  2630. return true
  2631. end
  2632. end
  2633. return false
  2634. end
  2635.  
  2636. function CheckIntangible(Hit)
  2637. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2638. if Hit and Hit.Parent then
  2639. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2640. return true
  2641. end
  2642. end
  2643. return false
  2644. end
  2645.  
  2646. Debris = game:GetService("Debris")
  2647.  
  2648. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2649. local Direction = CFrame.new(StartPos, Vec).lookVector
  2650. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2651. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2652. if RayHit and CheckIntangible(RayHit) then
  2653. if DelayIfHit then
  2654. wait()
  2655. end
  2656. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2657. end
  2658. return RayHit, RayPos, RayNormal
  2659. end
  2660.  
  2661. function turnto(position)
  2662. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2663. end
  2664.  
  2665. --//=================================\\
  2666. --|| WEAPON CREATION
  2667. --\\=================================//
  2668. local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  2669. Light = Instance.new("PointLight",FIST)
  2670. Light.Brightness = 0.85
  2671. touchCounter = 0
  2672. local cR=255
  2673. local cG=0
  2674. local cB=0
  2675. local flg5=1 local omgidk=1
  2676. local add=7.5
  2677. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  2678. if omgidk>10000 then omgidk=0 end
  2679. omgidk=omgidk+1
  2680. if cR>=255 then flg5=1 end
  2681. if cG>=255 then flg5=2 end
  2682. if cB>=255 then flg5=3 end
  2683. if flg5==1 then cR=cR-add cG=cG+add end
  2684. if flg5==2 then cG=cG-add cB=cB+add end
  2685. if flg5==3 then cB=cB-add cR=cR+add end
  2686. color=Color3.fromRGB(cR,cG,cB)
  2687. Light.Color = color
  2688. end)
  2689. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2690. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  2691. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2692.  
  2693. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2694. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2695. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2696. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2697. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2698. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2699. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2700. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2701.  
  2702. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  2703. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2704. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  2705. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2706. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  2707. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2708. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  2709. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2710. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  2711. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2712. touchCounter = 0
  2713. local cR=255
  2714. local cG=0
  2715. local cB=0
  2716. local flg5=1 local omgidk=1
  2717. local add=7.5
  2718. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  2719. if omgidk>10000 then omgidk=0 end
  2720. omgidk=omgidk+1
  2721. if cR>=255 then flg5=1 end
  2722. if cG>=255 then flg5=2 end
  2723. if cB>=255 then flg5=3 end
  2724. if flg5==1 then cR=cR-add cG=cG+add end
  2725. if flg5==2 then cG=cG-add cB=cB+add end
  2726. if flg5==3 then cB=cB-add cR=cR+add end
  2727. color=Color3.fromRGB(cR,cG,cB)
  2728. local d = Weapon:FindFirstChild("Neon Gauntlet Part")
  2729. if d then
  2730. d.Color = color
  2731. end
  2732. local d = Weapon:FindFirstChild("Neon Gauntlet Part1")
  2733. if d then
  2734. d.Color = color
  2735. end
  2736. end)
  2737. for _, c in pairs(Weapon:GetChildren()) do
  2738. if c.ClassName == "Part" then
  2739. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2740. end
  2741. end
  2742.  
  2743. Weapon.Parent = Character
  2744.  
  2745. Humanoid.Died:connect(function()
  2746. ATTACK = true
  2747. end)
  2748.  
  2749. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2750. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2751. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2752. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  2753.  
  2754. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  2755. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  2756. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  2757. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  2758.  
  2759. --//=================================\\
  2760. --|| DAMAGE FUNCTIONS
  2761. --\\=================================//
  2762.  
  2763. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2764. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2765. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2766. local BODYGYRO = IT("BodyGyro", STATPART)
  2767. local BODYPOSITION = IT("BodyPosition", STATPART)
  2768. BODYPOSITION.P = 2000
  2769. BODYPOSITION.D = 100
  2770. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2771. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2772. game:GetService("Debris"):AddItem(STATPART ,5)
  2773. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2774. BILLBOARDGUI.Adornee = STATPART
  2775. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2776. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2777. BILLBOARDGUI.AlwaysOnTop = false
  2778. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2779. TEXTLABEL.BackgroundTransparency = 1
  2780. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2781. TEXTLABEL.Text = TEXT
  2782. TEXTLABEL.Font = "SciFi"
  2783. TEXTLABEL.FontSize="Size42"
  2784. TEXTLABEL.TextColor3 = COLOR
  2785. TEXTLABEL.TextStrokeTransparency = 1
  2786. TEXTLABEL.TextScaled = true
  2787. TEXTLABEL.TextWrapped = true
  2788. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2789. if LABELTYPE == "Normal" then
  2790. for i = 1, 30 do
  2791. Swait()
  2792. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  2793. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2794. end
  2795. elseif LABELTYPE == "Debuff" then
  2796. for i = 1, 30 do
  2797. Swait()
  2798. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  2799. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2800. end
  2801. elseif LABELTYPE == "Shock" then
  2802. local ORIGIN = STATPART.Position
  2803. for i = 1, 30 do
  2804. Swait()
  2805. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  2806. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2807. end
  2808. end
  2809. THEPART.Parent = nil
  2810. end),STATPART, BODYPOSITION, TEXTLABEL)
  2811. end
  2812.  
  2813. --//=================================\\
  2814. --|| DAMAGING
  2815. --\\=================================//
  2816.  
  2817. function killnearest(position,range,maxstrength,direction)
  2818. for i,v in ipairs(workspace:GetChildren()) do
  2819. local body = v:GetChildren()
  2820. for part = 1, #body do
  2821. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2822. if(body[part].Position - position).Magnitude < range then
  2823. if v.ClassName == "Model" then
  2824. --v:BreakJoints()
  2825. end
  2826. local POS = position
  2827. coroutine.resume(coroutine.create(function()
  2828. body[part].Anchored = true
  2829. body[part].Parent = Effects
  2830. body[part].CanCollide = true
  2831. local SIZE = body[part].Size
  2832. body[part].Material = "Neon"
  2833. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  2834. for i = 1, 75 do
  2835. Swait()
  2836. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2837. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2838. end
  2839. coroutine.resume(coroutine.create(function()
  2840. while true do
  2841. Swait()
  2842. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2843. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2844. end
  2845. end))
  2846. body[part].Anchored = false
  2847. body[part].Velocity = direction.lookVector*maxstrength
  2848. end))
  2849. end
  2850. end
  2851. end
  2852. if v.ClassName == "Part" then
  2853. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2854. local POS = position
  2855. coroutine.resume(coroutine.create(function()
  2856. v.Anchored = true
  2857. v.Parent = Effects
  2858. local SIZE = v.Size
  2859. v.Material = "Neon"
  2860. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  2861. for i = 1, 75 do
  2862. Swait()
  2863. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2864. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2865. end
  2866. coroutine.resume(coroutine.create(function()
  2867. while true do
  2868. Swait()
  2869. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2870. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2871. end
  2872. end))
  2873. v.Anchored = false
  2874. v.Velocity = direction.lookVector*maxstrength
  2875. end))
  2876. end
  2877. end
  2878. end
  2879. end
  2880.  
  2881. --//=================================\\
  2882. --|| ATTACK FUNCTIONS AND STUFF
  2883. --\\=================================//
  2884.  
  2885. function AttackTemplate()
  2886. ATTACK = true
  2887. Rooted = false
  2888. for i=0, 1, 0.1 / Animation_Speed do
  2889. Swait()
  2890. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2891. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2892. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2894. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2895. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2896. end
  2897. ATTACK = false
  2898. Rooted = false
  2899. end
  2900.  
  2901. function UltraPunch()
  2902. ATTACK = true
  2903. Rooted = false
  2904. local SPEED = 15
  2905. Speed = 10
  2906. CreateSound("214876666", RightArm, 7.5, 0.8)
  2907. for i=0, 0, 0.1 / Animation_Speed do
  2908. Swait()
  2909. turnto(Mouse.Hit.p)
  2910. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  2911. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  2912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  2913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  2914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2916. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2918. end
  2919. for i=0, 0, 0.1 / Animation_Speed do
  2920. Swait()
  2921. turnto(Mouse.Hit.p)
  2922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  2923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  2924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2926. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2927. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2928. end
  2929. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
  2930. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  2931. PART.Shape = "Ball"
  2932. local bv = Instance.new("BodyVelocity")
  2933. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2934. bv.velocity = RootPart.CFrame.lookVector*600
  2935. bv.Parent = PART
  2936. bv.Name = "PROJECTILEVELOCITY"
  2937. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5))
  2938. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3))
  2939. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2))
  2940. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2))
  2941. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  2942. coroutine.resume(coroutine.create(function()
  2943. for i = 1, 11 do
  2944. Swait()
  2945. PART.Transparency = PART.Transparency + 0.2/10
  2946. PART.Size = PART.Size + VT(5,5,5)
  2947. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  2948. end
  2949. PART:Destroy()
  2950. end))
  2951. for i=0, 0, 0.1 / Animation_Speed do
  2952. Swait()
  2953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2957. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2959. end
  2960. Speed = SPEED
  2961. ATTACK = false
  2962. Rooted = false
  2963. end
  2964.  
  2965. function Punish()
  2966. Animation_Speed = 20
  2967. ATTACK = true
  2968. Rooted = false
  2969. local HASGRABBED = false
  2970. local WELD = nil
  2971. local TORS = nil
  2972. local hitting = FIST.Touched:connect(function(hit)
  2973. if hit.Parent:FindFirstChild("Humanoid") then
  2974. if hit.Parent.Humanoid.Health ~= 0 then
  2975. UNANCHOR = false
  2976. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2977. TORS.Anchored = true
  2978. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2979. WELD = weldBetween(RightArm,TORS)
  2980. HASGRABBED = true
  2981. Rooted = true
  2982. end
  2983. end
  2984. end)
  2985. for i=0, 2, 0.1 / Animation_Speed do
  2986. Swait()
  2987. if HASGRABBED == true then
  2988. break
  2989. end
  2990. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  2991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  2992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2996. end
  2997. hitting:disconnect()
  2998. if HASGRABBED == true then
  2999. TORS.Anchored = false
  3000. RootPart.Anchored = true
  3001. for i=0, 1.6, 0.1 / Animation_Speed do
  3002. Swait()
  3003. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3004. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3007. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3008. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3009. end
  3010. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  3011. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  3012. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  3013. SOUNDPART.CFrame = RootPart.CFrame
  3014. Debris:AddItem(SOUNDPART,5)
  3015. CreateSound("357202073", SOUNDPART, 0, 1)
  3016. for i = 1, 16 do
  3017. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  3018. end
  3019. for i=0, 1.6, 0.1 / Animation_Speed do
  3020. Swait()
  3021. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3027. end
  3028. for i=0, 0.4, 0.1 / Animation_Speed do
  3029. Swait()
  3030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  3031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3034. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3035. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3036. end
  3037. if HITFLOOR ~= nil then
  3038. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  3039. end
  3040. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  3041. WELD:remove()
  3042. for i = 1, 26 do
  3043. Swait()
  3044. killnearest(RootPart.Position,45,100,Torso.CFrame)
  3045. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  3046. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
  3047. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
  3048. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  3049. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
  3050. end
  3051. end
  3052. UNANCHOR = true
  3053. ATTACK = false
  3054. Rooted = false
  3055. Animation_Speed = 20
  3056. end
  3057.  
  3058. function Dash()
  3059. local ORIGIN = RootPart.Position
  3060. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  3061. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  3062. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  3063. SOUNDPART.CFrame = RootPart.CFrame
  3064. Debris:AddItem(SOUNDPART,5)
  3065. CreateSound("357202032", SOUNDPART, 0, 1)
  3066. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  3067. Swait()
  3068. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  3069. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  3070. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  3071. SOUNDPART.CFrame = RootPart.CFrame
  3072. Debris:AddItem(SOUNDPART,5)
  3073. CreateSound("1295446488", SOUNDPART, 2.5, 1)
  3074. for i=0, 0.5, 0.1 / Animation_Speed do
  3075. Swait()
  3076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3082. end
  3083. ATTACK = false
  3084. Rooted = false
  3085. end
  3086. function Begoner9000()
  3087. ATTACK = true
  3088. Rooted = true
  3089. CreateSound("255679384", RightArm, 8, 1)
  3090. for i=0, 0, 0.1 / Animation_Speed do
  3091. Swait()
  3092. turnto(Mouse.Hit.p)
  3093. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
  3094. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1)
  3095. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  3096. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Maroon",VT(0.001,0.001,2),0)
  3097. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  3098. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  3099. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  3100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  3101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3103. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3104. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3105. end
  3106. for i=0, 0, 0.1 / Animation_Speed do
  3107. Swait()
  3108. turnto(Mouse.Hit.p)
  3109. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  3110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  3111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3113. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3114. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3115. end
  3116. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
  3117. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  3118. coroutine.resume(coroutine.create(function()
  3119. Swait(0.01)
  3120. for i = 1, 2 do
  3121. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  3122. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i))
  3123. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i))
  3124. end
  3125. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  3126. for i = 1, 3 do
  3127. CreateSound("414517163", Effects, 3.5, 0.8)
  3128. CreateSound("414517163", Effects, 3.5, 0.8)
  3129. end
  3130. coroutine.resume(coroutine.create(function()
  3131. for i = 1, 3 do
  3132. Swait()
  3133. for i = 1, 1 do
  3134. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  3135. end
  3136. for i = 1, 2 do
  3137. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3)
  3138. end
  3139. end
  3140. end))
  3141. end))
  3142. for i=0, 0, 0.1 / Animation_Speed do
  3143. Swait()
  3144. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  3145. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  3146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3147. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3148. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  3149. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  3150. end
  3151. ATTACK = false
  3152. Rooted = false
  3153. end
  3154.  
  3155. --//=================================\\
  3156. --|| ASSIGN THINGS TO KEYS
  3157. --\\=================================//
  3158.  
  3159. function MouseDown(Mouse)
  3160. if ATTACK == false then
  3161. end
  3162. end
  3163.  
  3164. function MouseUp(Mouse)
  3165. HOLD = false
  3166. end
  3167.  
  3168. function KeyDown(Key)
  3169. KEYHOLD = true
  3170. if Key == "e" and ATTACK == false then
  3171. UltraPunch()
  3172. end
  3173.  
  3174. if Key == "f" and ATTACK == false then
  3175. Punish()
  3176. end
  3177.  
  3178. if Key == "c" and ATTACK == false then
  3179. Dash()
  3180. end
  3181.  
  3182. if Key == "q" and ATTACK == false then
  3183. Begoner9000()()
  3184. end
  3185.  
  3186. if Key == "p" and ATTACK == false then
  3187. if Speed == 16 then
  3188. Speed = 150
  3189. elseif Speed == 150 then
  3190. Speed = 16
  3191. end
  3192. end
  3193. end
  3194.  
  3195. function KeyUp(Key)
  3196. KEYHOLD = false
  3197. end
  3198.  
  3199. Mouse.Button1Down:connect(function(NEWKEY)
  3200. MouseDown(NEWKEY)
  3201. end)
  3202. Mouse.Button1Up:connect(function(NEWKEY)
  3203. MouseUp(NEWKEY)
  3204. end)
  3205. Mouse.KeyDown:connect(function(NEWKEY)
  3206. KeyDown(NEWKEY)
  3207. end)
  3208. Mouse.KeyUp:connect(function(NEWKEY)
  3209. KeyUp(NEWKEY)
  3210. end)
  3211.  
  3212. --//=================================\\
  3213. --\\=================================//
  3214.  
  3215.  
  3216. function unanchor()
  3217. if UNANCHOR == true then
  3218. g = Character:GetChildren()
  3219. for i = 1, #g do
  3220. if g[i].ClassName == "Part" then
  3221. g[i].Anchored = false
  3222. end
  3223. end
  3224. end
  3225. end
  3226.  
  3227.  
  3228. --//=================================\\
  3229. --|| WRAP THE WHOLE SCRIPT UP
  3230. --\\=================================//
  3231.  
  3232. Humanoid.Changed:connect(function(Jump)
  3233. if Jump == "Jump" and (Disable_Jump == true) then
  3234. Humanoid.Jump = false
  3235. end
  3236. end)
  3237.  
  3238. while true do
  3239. Swait()
  3240. ANIMATE.Parent = nil
  3241. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3242. IDLEANIMATION:Play()
  3243. SINE = SINE + CHANGE
  3244. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3245. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3246. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3247. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3248. local WALKSPEEDVALUE = 0
  3249. if Speed < 35 then
  3250. WALKSPEEDVALUE = 48
  3251. else
  3252. WALKSPEEDVALUE = 48
  3253. end
  3254. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  3255. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  3256. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3257. if Speed < 35 then
  3258. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3259. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3260. else
  3261. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3262. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  3263. end
  3264. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  3265. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3266. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3267. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3268. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3269. end
  3270. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3271. ANIM = "Jump"
  3272. if ATTACK == false then
  3273. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3274. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3279. end
  3280. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3281. ANIM = "Fall"
  3282. if ATTACK == false then
  3283. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3284. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3285. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3286. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3287. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3288. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3289. end
  3290. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3291. ANIM = "Idle"
  3292. if ATTACK == false then
  3293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3297. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3299. end
  3300. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  3301. ANIM = "Walk"
  3302. WALK = WALK + 1 / Animation_Speed
  3303. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3304. WALK = 0
  3305. if WALKINGANIM == true then
  3306. WALKINGANIM = false
  3307. elseif WALKINGANIM == false then
  3308. WALKINGANIM = true
  3309. end
  3310. end
  3311. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3312. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3313. if ATTACK == false then
  3314. if Speed < 35 then
  3315. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3317. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3318. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3319. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3320. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3321. else
  3322. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3323. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3324. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3325. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3326. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3327. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3328. end
  3329. end
  3330. end
  3331. unanchor()
  3332. Humanoid.MaxHealth = "inf"
  3333. Humanoid.Health = "inf"
  3334. if Rooted == false then
  3335. Disable_Jump = false
  3336. Humanoid.WalkSpeed = Speed
  3337. elseif Rooted == true then
  3338. Disable_Jump = true
  3339. Humanoid.WalkSpeed = 0
  3340. end
  3341. local MATHS = {"0","1"}
  3342. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  3343. Humanoid.PlatformStand = false
  3344. end
  3345.  
  3346. --//=================================\\
  3347. --\\=================================//
  3348.  
  3349.  
  3350. --//====================================================\\--
  3351. --|| END OF SCRIPT
  3352. --\\====================================================//----//====================================================\\--
  3353. --|| CREATED BY SHACKLUSTER and uberified by VictoriaChristophe bakayaro konoyaro
  3354. --\\====================================================//--
  3355.  
  3356.  
  3357.  
  3358. wait(0.2)
  3359.  
  3360.  
  3361.  
  3362. Player = game:GetService("Players").LocalPlayer
  3363. PlayerGui = Player.PlayerGui
  3364. Cam = workspace.CurrentCamera
  3365. Backpack = Player.Backpack
  3366. Character = Player.Character
  3367. Humanoid = Character.Humanoid
  3368. Humanoid.JumpPower = 1000
  3369. Mouse = Player:GetMouse()
  3370. RootPart = Character["HumanoidRootPart"]
  3371. Torso = Character["Torso"]
  3372. Head = Character["Head"]
  3373. RightArm = Character["Right Arm"]
  3374. LeftArm = Character["Left Arm"]
  3375. RightLeg = Character["Right Leg"]
  3376. LeftLeg = Character["Left Leg"]
  3377. RootJoint = RootPart["RootJoint"]
  3378. Neck = Torso["Neck"]
  3379. RightShoulder = Torso["Right Shoulder"]
  3380. LeftShoulder = Torso["Left Shoulder"]
  3381. RightHip = Torso["Right Hip"]
  3382. LeftHip = Torso["Left Hip"]
  3383. local sick = Instance.new("Sound",Character)
  3384. sick.SoundId = "rbxassetid://1007872698"
  3385. sick.Looped = true
  3386. sick.Pitch = 1
  3387. sick.Volume = 99
  3388. sick:Play()
  3389.  
  3390. IT = Instance.new
  3391. CF = CFrame.new
  3392. VT = Vector3.new
  3393. RAD = math.rad
  3394. C3 = Color3.new
  3395. UD2 = UDim2.new
  3396. BRICKC = BrickColor.new
  3397. ANGLES = CFrame.Angles
  3398. EULER = CFrame.fromEulerAnglesXYZ
  3399. COS = math.cos
  3400. ACOS = math.acos
  3401. SIN = math.sin
  3402. ASIN = math.asin
  3403. ABS = math.abs
  3404. MRANDOM = math.random
  3405. FLOOR = math.floor
  3406.  
  3407. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3408. local NEWMESH = IT(MESH)
  3409. if MESH == "SpecialMesh" then
  3410. NEWMESH.MeshType = MESHTYPE
  3411. if MESHID ~= "nil" and MESHID ~= "" then
  3412. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3413. end
  3414. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3415. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3416. end
  3417. end
  3418. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3419. NEWMESH.Scale = SCALE
  3420. NEWMESH.Parent = PARENT
  3421. return NEWMESH
  3422. end
  3423.  
  3424. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3425. local NEWPART = IT("Part")
  3426. NEWPART.formFactor = FORMFACTOR
  3427. NEWPART.Reflectance = REFLECTANCE
  3428. NEWPART.Transparency = TRANSPARENCY
  3429. NEWPART.CanCollide = false
  3430. NEWPART.Locked = true
  3431. NEWPART.Anchored = true
  3432. if ANCHOR == false then
  3433. NEWPART.Anchored = false
  3434. end
  3435. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3436. NEWPART.Name = NAME
  3437. NEWPART.Size = SIZE
  3438. NEWPART.Position = Torso.Position
  3439. NEWPART.Material = MATERIAL
  3440. NEWPART:BreakJoints()
  3441. NEWPART.Parent = PARENT
  3442. return NEWPART
  3443. end
  3444.  
  3445.  
  3446. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  3447. local NEWPART = IT("Part")
  3448. NEWPART.formFactor = FORMFACTOR
  3449. NEWPART.Reflectance = REFLECTANCE
  3450. NEWPART.Transparency = TRANSPARENCY
  3451. NEWPART.CanCollide = false
  3452. NEWPART.Locked = true
  3453. NEWPART.Anchored = true
  3454. if ANCHOR == false then
  3455. NEWPART.Anchored = false
  3456. end
  3457. NEWPART.Name = NAME
  3458. NEWPART.Size = SIZE
  3459. NEWPART.Position = Torso.Position
  3460. NEWPART.Material = MATERIAL
  3461. NEWPART:BreakJoints()
  3462. NEWPART.Parent = PARENT
  3463. return NEWPART
  3464. end
  3465. --//=================================\\
  3466. --|| CUSTOMIZATION
  3467. --\\=================================//
  3468.  
  3469. Player_Size = 1 --Size of the player.
  3470. Animation_Speed = 7
  3471. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3472.  
  3473. local Speed = 15
  3474. local Effects2 = {}
  3475.  
  3476. --//=================================\\
  3477. --|| END OF CUSTOMIZATION
  3478. --\\=================================//
  3479.  
  3480. local function weldBetween(a, b)
  3481. local weldd = Instance.new("ManualWeld")
  3482. weldd.Part0 = a
  3483. weldd.Part1 = b
  3484. weldd.C0 = CFrame.new()
  3485. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3486. weldd.Parent = a
  3487. return weldd
  3488. end
  3489.  
  3490. --//=================================\\
  3491. --|| USEFUL VALUES
  3492. --\\=================================//
  3493.  
  3494. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3495. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3496. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3497. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3498. local CHANGEDEFENSE = 0
  3499. local CHANGEDAMAGE = 0
  3500. local CHANGEMOVEMENT = 0
  3501. local ANIM = "Idle"
  3502. local ATTACK = false
  3503. local EQUIPPED = false
  3504. local HOLD = false
  3505. local COMBO = 1
  3506. local Rooted = false
  3507. local SINE = 0
  3508. local KEYHOLD = false
  3509. local CHANGE = 2 / Animation_Speed
  3510. local WALKINGANIM = false
  3511. local WALK = 0
  3512. local VALUE1 = false
  3513. local VALUE2 = false
  3514. local ROBLOXIDLEANIMATION = IT("Animation")
  3515. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3516. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3517. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3518. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3519. WEAPONGUI.Name = "Weapon GUI"
  3520. local Weapon = IT("Model")
  3521. Weapon.Name = "Adds"
  3522. local HITFLOOR = nil
  3523. local Effects = IT("Folder", Weapon)
  3524. Effects.Name = "Effects"
  3525. local ANIMATOR = Humanoid.Animator
  3526. local ANIMATE = Character.Animate
  3527. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  3528. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  3529. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  3530. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  3531. local UNANCHOR = true
  3532.  
  3533. local SKILLTEXTCOLOR = BRICKC("Maroon").Color
  3534.  
  3535. --//=================================\\
  3536. --\\=================================//
  3537.  
  3538.  
  3539.  
  3540.  
  3541. --//=================================\\
  3542. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3543. --\\=================================//
  3544.  
  3545. ArtificialHB = Instance.new("BindableEvent", script)
  3546. ArtificialHB.Name = "ArtificialHB"
  3547.  
  3548. script:WaitForChild("ArtificialHB")
  3549.  
  3550. frame = Frame_Speed
  3551. tf = 0
  3552. allowframeloss = false
  3553. tossremainder = false
  3554. lastframe = tick()
  3555. script.ArtificialHB:Fire()
  3556.  
  3557. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3558. tf = tf + s
  3559. if tf >= frame then
  3560. if allowframeloss then
  3561. script.ArtificialHB:Fire()
  3562. lastframe = tick()
  3563. else
  3564. for i = 1, math.floor(tf / frame) do
  3565. script.ArtificialHB:Fire()
  3566. end
  3567. lastframe = tick()
  3568. end
  3569. if tossremainder then
  3570. tf = 0
  3571. else
  3572. tf = tf - frame * math.floor(tf / frame)
  3573. end
  3574. end
  3575. end)
  3576.  
  3577. --//=================================\\
  3578. --\\=================================//
  3579.  
  3580.  
  3581.  
  3582.  
  3583.  
  3584. --//=================================\\
  3585. --|| SOME FUNCTIONS
  3586. --\\=================================//
  3587.  
  3588. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3589. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3590. end
  3591.  
  3592. function PositiveAngle(NUMBER)
  3593. if NUMBER >= 0 then
  3594. NUMBER = 0
  3595. end
  3596. return NUMBER
  3597. end
  3598.  
  3599. function NegativeAngle(NUMBER)
  3600. if NUMBER <= 0 then
  3601. NUMBER = 0
  3602. end
  3603. return NUMBER
  3604. end
  3605.  
  3606. function Swait(NUMBER)
  3607. if NUMBER == 0 or NUMBER == nil then
  3608. ArtificialHB.Event:wait()
  3609. else
  3610. for i = 1, NUMBER do
  3611. ArtificialHB.Event:wait()
  3612. end
  3613. end
  3614. end
  3615.  
  3616. function QuaternionFromCFrame(cf)
  3617. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3618. local trace = m00 + m11 + m22
  3619. if trace > 0 then
  3620. local s = math.sqrt(1 + trace)
  3621. local recip = 0.5 / s
  3622. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3623. else
  3624. local i = 0
  3625. if m11 > m00 then
  3626. i = 1
  3627. end
  3628. if m22 > (i == 0 and m00 or m11) then
  3629. i = 2
  3630. end
  3631. if i == 0 then
  3632. local s = math.sqrt(m00 - m11 - m22 + 1)
  3633. local recip = 0.5 / s
  3634. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3635. elseif i == 1 then
  3636. local s = math.sqrt(m11 - m22 - m00 + 1)
  3637. local recip = 0.5 / s
  3638. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3639. elseif i == 2 then
  3640. local s = math.sqrt(m22 - m00 - m11 + 1)
  3641. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3642. end
  3643. end
  3644. end
  3645.  
  3646. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3647. local xs, ys, zs = x + x, y + y, z + z
  3648. local wx, wy, wz = w * xs, w * ys, w * zs
  3649. local xx = x * xs
  3650. local xy = x * ys
  3651. local xz = x * zs
  3652. local yy = y * ys
  3653. local yz = y * zs
  3654. local zz = z * zs
  3655. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  3656. end
  3657.  
  3658. function QuaternionSlerp(a, b, t)
  3659. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3660. local startInterp, finishInterp;
  3661. if cosTheta >= 0.0001 then
  3662. if (1 - cosTheta) > 0.0001 then
  3663. local theta = ACOS(cosTheta)
  3664. local invSinTheta = 1 / SIN(theta)
  3665. startInterp = SIN((1 - t) * theta) * invSinTheta
  3666. finishInterp = SIN(t * theta) * invSinTheta
  3667. else
  3668. startInterp = 1 - t
  3669. finishInterp = t
  3670. end
  3671. else
  3672. if (1 + cosTheta) > 0.0001 then
  3673. local theta = ACOS(-cosTheta)
  3674. local invSinTheta = 1 / SIN(theta)
  3675. startInterp = SIN((t - 1) * theta) * invSinTheta
  3676. finishInterp = SIN(t * theta) * invSinTheta
  3677. else
  3678. startInterp = t - 1
  3679. finishInterp = t
  3680. end
  3681. end
  3682. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  3683. end
  3684.  
  3685. function Clerp(a, b, t)
  3686. local qa = {QuaternionFromCFrame(a)}
  3687. local qb = {QuaternionFromCFrame(b)}
  3688. local ax, ay, az = a.x, a.y, a.z
  3689. local bx, by, bz = b.x, b.y, b.z
  3690. local _t = 1 - t
  3691. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3692. end
  3693.  
  3694. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3695. local frame = IT("Frame")
  3696. frame.BackgroundTransparency = TRANSPARENCY
  3697. frame.BorderSizePixel = BORDERSIZEPIXEL
  3698. frame.Position = POSITION
  3699. frame.Size = SIZE
  3700. frame.BackgroundColor3 = COLOR
  3701. frame.BorderColor3 = BORDERCOLOR
  3702. frame.Name = NAME
  3703. frame.Parent = PARENT
  3704. return frame
  3705. end
  3706.  
  3707. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3708. local label = IT("TextLabel")
  3709. label.BackgroundTransparency = 1
  3710. label.Size = UD2(1, 0, 1, 0)
  3711. label.Position = UD2(0, 0, 0, 0)
  3712. label.TextColor3 = TEXTCOLOR
  3713. label.TextStrokeTransparency = STROKETRANSPARENCY
  3714. label.TextTransparency = TRANSPARENCY
  3715. label.FontSize = TEXTFONTSIZE
  3716. label.Font = TEXTFONT
  3717. label.BorderSizePixel = BORDERSIZEPIXEL
  3718. label.TextScaled = false
  3719. label.Text = TEXT
  3720. label.Name = NAME
  3721. label.Parent = PARENT
  3722. return label
  3723. end
  3724.  
  3725. function NoOutlines(PART)
  3726. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3727. end
  3728.  
  3729.  
  3730. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3731. local NEWWELD = IT(TYPE)
  3732. NEWWELD.Part0 = PART0
  3733. NEWWELD.Part1 = PART1
  3734. NEWWELD.C0 = C0
  3735. NEWWELD.C1 = C1
  3736. NEWWELD.Parent = PARENT
  3737. return NEWWELD
  3738. end
  3739.  
  3740. function CreateSound(ID, PARENT, VOLUME, PITCH)
  3741. local NEWSOUND = nil
  3742. coroutine.resume(coroutine.create(function()
  3743. NEWSOUND = IT("Sound", PARENT)
  3744. NEWSOUND.Volume = VOLUME
  3745. NEWSOUND.Pitch = PITCH
  3746. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3747. Swait()
  3748. NEWSOUND:play()
  3749. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  3750. end))
  3751. return NEWSOUND
  3752. end
  3753.  
  3754. function CFrameFromTopBack(at, top, back)
  3755. local right = top:Cross(back)
  3756. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3757. end
  3758.  
  3759. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  3760. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  3761. local mesh = IT("SpecialMesh",wave)
  3762. mesh.MeshType = "FileMesh"
  3763. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3764. mesh.Scale = SIZE
  3765. mesh.Offset = VT(0,0,-SIZE.X/8)
  3766. wave.CFrame = CFRAME
  3767. coroutine.resume(coroutine.create(function(PART)
  3768. for i = 1, WAIT do
  3769. Swait()
  3770. mesh.Scale = mesh.Scale + GROW
  3771. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  3772. if DOESROT == true then
  3773. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3774. end
  3775. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3776. if wave.Transparency > 0.99 then
  3777. wave:remove()
  3778. end
  3779. end
  3780. end))
  3781. end
  3782.  
  3783. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  3784. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  3785. local mesh = IT("SpecialMesh",wave)
  3786. mesh.MeshType = "FileMesh"
  3787. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3788. mesh.Scale = SIZE
  3789. --mesh.Offset = VT(0,0,-SIZE.X/8)
  3790. wave.CFrame = CFRAME
  3791. coroutine.resume(coroutine.create(function(PART)
  3792. for i = 1, WAIT do
  3793. Swait()
  3794. mesh.Scale = mesh.Scale + GROW
  3795. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  3796. if DOESROT == true then
  3797. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3798. end
  3799. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3800. if wave.Transparency > 0.99 then
  3801. wave:remove()
  3802. end
  3803. end
  3804. end))
  3805. end
  3806.  
  3807. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  3808. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(0,0,0))
  3809. local mesh = IT("SpecialMesh",wave)
  3810. mesh.MeshType = "FileMesh"
  3811. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3812. mesh.Scale = SIZE
  3813. wave.CFrame = CFRAME
  3814. coroutine.resume(coroutine.create(function(PART)
  3815. for i = 1, WAIT do
  3816. Swait()
  3817. mesh.Scale = mesh.Scale + GROW
  3818. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  3819. if DOESROT == true then
  3820. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3821. end
  3822. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3823. if wave.Transparency > 0.99 then
  3824. wave:remove()
  3825. end
  3826. end
  3827. end))
  3828. end
  3829.  
  3830.  
  3831. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  3832. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  3833. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  3834. wave.CFrame = CFRAME
  3835. coroutine.resume(coroutine.create(function(PART)
  3836. for i = 1, WAIT do
  3837. Swait()
  3838. mesh.Scale = mesh.Scale * GROW
  3839. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3840. if wave.Transparency > 0.99 then
  3841. wave:remove()
  3842. end
  3843. end
  3844. end))
  3845. end
  3846.  
  3847. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  3848. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  3849. local mesh = IT("SpecialMesh",wave)
  3850. mesh.MeshType = "Sphere"
  3851. mesh.Scale = SIZE
  3852. mesh.Offset = VT(0,0,0)
  3853. wave.CFrame = CFRAME
  3854. coroutine.resume(coroutine.create(function(PART)
  3855. for i = 1, WAIT do
  3856. Swait()
  3857. mesh.Scale = mesh.Scale + GROW
  3858. wave.Transparency = wave.Transparency + (1/WAIT)
  3859. if wave.Transparency > 0.99 then
  3860. wave:remove()
  3861. end
  3862. end
  3863. end))
  3864. end
  3865.  
  3866. function MakeForm(PART,TYPE)
  3867. if TYPE == "Cyl" then
  3868. local MSH = IT("CylinderMesh",PART)
  3869. elseif TYPE == "Ball" then
  3870. local MSH = IT("SpecialMesh",PART)
  3871. MSH.MeshType = "Sphere"
  3872. elseif TYPE == "Wedge" then
  3873. local MSH = IT("SpecialMesh",PART)
  3874. MSH.MeshType = "Wedge"
  3875. end
  3876. end
  3877.  
  3878. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3879. if FLOOR ~= nil then
  3880. coroutine.resume(coroutine.create(function()
  3881. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  3882. PART.CFrame = CF(POSITION)
  3883. for i = 1, 45 do
  3884. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3885. RingPiece.Material = FLOOR.Material
  3886. RingPiece.Color = FLOOR.Color
  3887. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3888. Debris:AddItem(RingPiece,SWAIT/100)
  3889. end
  3890. PART:remove()
  3891. end))
  3892. end
  3893. end
  3894.  
  3895. function CheckTableForString(Table, String)
  3896. for i, v in pairs(Table) do
  3897. if string.find(string.lower(String), string.lower(v)) then
  3898. return true
  3899. end
  3900. end
  3901. return false
  3902. end
  3903.  
  3904. function CheckIntangible(Hit)
  3905. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  3906. if Hit and Hit.Parent then
  3907. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  3908. return true
  3909. end
  3910. end
  3911. return false
  3912. end
  3913.  
  3914. Debris = game:GetService("Debris")
  3915.  
  3916. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  3917. local Direction = CFrame.new(StartPos, Vec).lookVector
  3918. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3919. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3920. if RayHit and CheckIntangible(RayHit) then
  3921. if DelayIfHit then
  3922. wait()
  3923. end
  3924. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  3925. end
  3926. return RayHit, RayPos, RayNormal
  3927. end
  3928.  
  3929. function turnto(position)
  3930. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3931. end
  3932.  
  3933. --//=================================\\
  3934. --|| WEAPON CREATION
  3935. --\\=================================//
  3936. local FIST = CreatePart1(3, Weapon, "Neon", 0, 0, "Neon Gauntlet Part1", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  3937. Light = Instance.new("PointLight",FIST)
  3938. Light.Brightness = 0.85
  3939. touchCounter = 0
  3940. local cR=255
  3941. local cG=0
  3942. local cB=0
  3943. local flg5=1 local omgidk=1
  3944. local add=7.5
  3945. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  3946. if omgidk>10000 then omgidk=0 end
  3947. omgidk=omgidk+1
  3948. if cR>=255 then flg5=1 end
  3949. if cG>=255 then flg5=2 end
  3950. if cB>=255 then flg5=3 end
  3951. if flg5==1 then cR=cR-add cG=cG+add end
  3952. if flg5==2 then cG=cG-add cB=cB+add end
  3953. if flg5==3 then cB=cB-add cR=cR+add end
  3954. color=Color3.fromRGB(cR,cG,cB)
  3955. Light.Color = color
  3956. end)
  3957. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3958. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  3959. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3960.  
  3961. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  3962. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3963. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  3964. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3965. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  3966. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3967. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  3968. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3969.  
  3970. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  3971. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3972. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  3973. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3974. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3975. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3976. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3977. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3978. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Maroon", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3979. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3980. touchCounter = 0
  3981. local cR=255
  3982. local cG=0
  3983. local cB=0
  3984. local flg5=1 local omgidk=1
  3985. local add=7.5
  3986. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  3987. if omgidk>10000 then omgidk=0 end
  3988. omgidk=omgidk+1
  3989. if cR>=255 then flg5=1 end
  3990. if cG>=255 then flg5=2 end
  3991. if cB>=255 then flg5=3 end
  3992. if flg5==1 then cR=cR-add cG=cG+add end
  3993. if flg5==2 then cG=cG-add cB=cB+add end
  3994. if flg5==3 then cB=cB-add cR=cR+add end
  3995. color=Color3.fromRGB(cR,cG,cB)
  3996. local d = Weapon:FindFirstChild("Neon Gauntlet Part")
  3997. if d then
  3998. d.Color = color
  3999. end
  4000. local d = Weapon:FindFirstChild("Neon Gauntlet Part1")
  4001. if d then
  4002. d.Color = color
  4003. end
  4004. end)
  4005. for _, c in pairs(Weapon:GetChildren()) do
  4006. if c.ClassName == "Part" then
  4007. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4008. end
  4009. end
  4010.  
  4011. Weapon.Parent = Character
  4012.  
  4013. Humanoid.Died:connect(function()
  4014. ATTACK = true
  4015. end)
  4016.  
  4017. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  4018. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  4019. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  4020. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  4021.  
  4022. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Ultra Punch", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  4023. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Punish", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  4024. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Dash", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  4025. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Q] Ultimate Punch", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  4026.  
  4027. --//=================================\\
  4028. --|| DAMAGE FUNCTIONS
  4029. --\\=================================//
  4030.  
  4031. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4032. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4033. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4034. local BODYGYRO = IT("BodyGyro", STATPART)
  4035. local BODYPOSITION = IT("BodyPosition", STATPART)
  4036. BODYPOSITION.P = 2000
  4037. BODYPOSITION.D = 100
  4038. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4039. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4040. game:GetService("Debris"):AddItem(STATPART ,5)
  4041. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4042. BILLBOARDGUI.Adornee = STATPART
  4043. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4044. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4045. BILLBOARDGUI.AlwaysOnTop = false
  4046. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4047. TEXTLABEL.BackgroundTransparency = 1
  4048. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4049. TEXTLABEL.Text = TEXT
  4050. TEXTLABEL.Font = "SciFi"
  4051. TEXTLABEL.FontSize="Size42"
  4052. TEXTLABEL.TextColor3 = COLOR
  4053. TEXTLABEL.TextStrokeTransparency = 1
  4054. TEXTLABEL.TextScaled = true
  4055. TEXTLABEL.TextWrapped = true
  4056. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4057. if LABELTYPE == "Normal" then
  4058. for i = 1, 30 do
  4059. Swait()
  4060. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4061. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  4062. end
  4063. elseif LABELTYPE == "Debuff" then
  4064. for i = 1, 30 do
  4065. Swait()
  4066. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4067. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  4068. end
  4069. elseif LABELTYPE == "Shock" then
  4070. local ORIGIN = STATPART.Position
  4071. for i = 1, 30 do
  4072. Swait()
  4073. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4074. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  4075. end
  4076. end
  4077. THEPART.Parent = nil
  4078. end),STATPART, BODYPOSITION, TEXTLABEL)
  4079. end
  4080.  
  4081. --//=================================\\
  4082. --|| DAMAGING
  4083. --\\=================================//
  4084.  
  4085. function killnearest(position,range,maxstrength,direction)
  4086. for i,v in ipairs(workspace:GetChildren()) do
  4087. local body = v:GetChildren()
  4088. for part = 1, #body do
  4089. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4090. if(body[part].Position - position).Magnitude < range then
  4091. if v.ClassName == "Model" then
  4092. --v:BreakJoints()
  4093. end
  4094. local POS = position
  4095. coroutine.resume(coroutine.create(function()
  4096. body[part].Anchored = true
  4097. body[part].Parent = Effects
  4098. body[part].CanCollide = true
  4099. local SIZE = body[part].Size
  4100. body[part].Material = "Neon"
  4101. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  4102. for i = 1, 75 do
  4103. Swait()
  4104. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  4105. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  4106. end
  4107. coroutine.resume(coroutine.create(function()
  4108. while true do
  4109. Swait()
  4110. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  4111. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  4112. end
  4113. end))
  4114. body[part].Anchored = false
  4115. body[part].Velocity = direction.lookVector*maxstrength
  4116. end))
  4117. end
  4118. end
  4119. end
  4120. if v.ClassName == "Part" then
  4121. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4122. local POS = position
  4123. coroutine.resume(coroutine.create(function()
  4124. v.Anchored = true
  4125. v.Parent = Effects
  4126. local SIZE = v.Size
  4127. v.Material = "Neon"
  4128. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  4129. for i = 1, 75 do
  4130. Swait()
  4131. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  4132. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  4133. end
  4134. coroutine.resume(coroutine.create(function()
  4135. while true do
  4136. Swait()
  4137. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  4138. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  4139. end
  4140. end))
  4141. v.Anchored = false
  4142. v.Velocity = direction.lookVector*maxstrength
  4143. end))
  4144. end
  4145. end
  4146. end
  4147. end
  4148.  
  4149. --//=================================\\
  4150. --|| ATTACK FUNCTIONS AND STUFF
  4151. --\\=================================//
  4152.  
  4153. function AttackTemplate()
  4154. ATTACK = true
  4155. Rooted = false
  4156. for i=0, 1, 0.1 / Animation_Speed do
  4157. Swait()
  4158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4164. end
  4165. ATTACK = false
  4166. Rooted = false
  4167. end
  4168.  
  4169. function UltraPunch()
  4170. ATTACK = true
  4171. Rooted = false
  4172. local SPEED = 15
  4173. Speed = 10
  4174. CreateSound("214876666", RightArm, 7.5, 0.8)
  4175. for i=0, 0, 0.1 / Animation_Speed do
  4176. Swait()
  4177. turnto(Mouse.Hit.p)
  4178. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  4179. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  4180. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  4181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  4182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4184. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4185. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4186. end
  4187. for i=0, 0, 0.1 / Animation_Speed do
  4188. Swait()
  4189. turnto(Mouse.Hit.p)
  4190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  4191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  4192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4194. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4196. end
  4197. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Maroon", "Punch", VT(50,50,50),false)
  4198. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  4199. PART.Shape = "Ball"
  4200. local bv = Instance.new("BodyVelocity")
  4201. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4202. bv.velocity = RootPart.CFrame.lookVector*600
  4203. bv.Parent = PART
  4204. bv.Name = "PROJECTILEVELOCITY"
  4205. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2.5,0.2,2.5))
  4206. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(3,0.2,3))
  4207. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(2,0.6,2))
  4208. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Maroon",VT(2.2,0.6,2.2))
  4209. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  4210. coroutine.resume(coroutine.create(function()
  4211. for i = 1, 11 do
  4212. Swait()
  4213. PART.Transparency = PART.Transparency + 0.2/10
  4214. PART.Size = PART.Size + VT(5,5,5)
  4215. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  4216. end
  4217. PART:Destroy()
  4218. end))
  4219. for i=0, 0, 0.1 / Animation_Speed do
  4220. Swait()
  4221. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  4222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  4223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4225. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  4226. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  4227. end
  4228. Speed = SPEED
  4229. ATTACK = false
  4230. Rooted = false
  4231. end
  4232.  
  4233. function Punish()
  4234. Animation_Speed = 20
  4235. ATTACK = true
  4236. Rooted = false
  4237. local HASGRABBED = false
  4238. local WELD = nil
  4239. local TORS = nil
  4240. local hitting = FIST.Touched:connect(function(hit)
  4241. if hit.Parent:FindFirstChild("Humanoid") then
  4242. if hit.Parent.Humanoid.Health ~= 0 then
  4243. UNANCHOR = false
  4244. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  4245. TORS.Anchored = true
  4246. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  4247. WELD = weldBetween(RightArm,TORS)
  4248. HASGRABBED = true
  4249. Rooted = true
  4250. end
  4251. end
  4252. end)
  4253. for i=0, 2, 0.1 / Animation_Speed do
  4254. Swait()
  4255. if HASGRABBED == true then
  4256. break
  4257. end
  4258. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  4259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  4260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4262. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4263. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  4264. end
  4265. hitting:disconnect()
  4266. if HASGRABBED == true then
  4267. TORS.Anchored = false
  4268. RootPart.Anchored = true
  4269. for i=0, 1.6, 0.1 / Animation_Speed do
  4270. Swait()
  4271. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4275. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4276. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4277. end
  4278. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  4279. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  4280. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  4281. SOUNDPART.CFrame = RootPart.CFrame
  4282. Debris:AddItem(SOUNDPART,5)
  4283. CreateSound("357202073", SOUNDPART, 0, 1)
  4284. for i = 1, 16 do
  4285. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  4286. end
  4287. for i=0, 1.6, 0.1 / Animation_Speed do
  4288. Swait()
  4289. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4290. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4291. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4293. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4294. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4295. end
  4296. for i=0, 0.4, 0.1 / Animation_Speed do
  4297. Swait()
  4298. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  4299. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  4300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4302. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4303. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4304. end
  4305. if HITFLOOR ~= nil then
  4306. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  4307. end
  4308. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  4309. WELD:remove()
  4310. for i = 1, 26 do
  4311. Swait()
  4312. killnearest(RootPart.Position,45,100,Torso.CFrame)
  4313. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  4314. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(1,0.4,1))
  4315. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(2.3,0.3,2.3))
  4316. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  4317. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
  4318. end
  4319. end
  4320. UNANCHOR = true
  4321. ATTACK = false
  4322. Rooted = false
  4323. Animation_Speed = 20
  4324. end
  4325.  
  4326. function Dash()
  4327. local ORIGIN = RootPart.Position
  4328. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  4329. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  4330. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  4331. SOUNDPART.CFrame = RootPart.CFrame
  4332. Debris:AddItem(SOUNDPART,5)
  4333. CreateSound("357202032", SOUNDPART, 0, 1)
  4334. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  4335. Swait()
  4336. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  4337. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  4338. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  4339. SOUNDPART.CFrame = RootPart.CFrame
  4340. Debris:AddItem(SOUNDPART,5)
  4341. CreateSound("1295446488", SOUNDPART, 2.5, 1)
  4342. for i=0, 0.5, 0.1 / Animation_Speed do
  4343. Swait()
  4344. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4345. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4348. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4349. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4350. end
  4351. ATTACK = false
  4352. Rooted = false
  4353. end
  4354. function Begoner9000()
  4355. ATTACK = true
  4356. Rooted = true
  4357. CreateSound("255679384", RightArm, 8, 1)
  4358. for i=0, 0, 0.1 / Animation_Speed do
  4359. Swait()
  4360. turnto(Mouse.Hit.p)
  4361. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(0.2,0,0.2))
  4362. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1.1)
  4363. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  4364. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Maroon",VT(0.001,0.001,2),0)
  4365. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-1/15,-1/15,-1/15))
  4366. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Maroon",VT(-2/15,-2/15,-2/15))
  4367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  4368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  4369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4371. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4373. end
  4374. for i=0, 0, 0.1 / Animation_Speed do
  4375. Swait()
  4376. turnto(Mouse.Hit.p)
  4377. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  4378. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  4379. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4380. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4381. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4382. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4383. end
  4384. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Maroon",VT(-0.04,-0.04,-0.04))
  4385. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  4386. coroutine.resume(coroutine.create(function()
  4387. Swait(0.01)
  4388. for i = 1, 2 do
  4389. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Maroon",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  4390. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4.5*i,0.2,4.5*i))
  4391. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Maroon",VT(4*i,0.6,4*i))
  4392. end
  4393. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  4394. for i = 1, 3 do
  4395. CreateSound("414517163", Effects, 3.5, 0.8)
  4396. CreateSound("414517163", Effects, 3.5, 0.8)
  4397. end
  4398. coroutine.resume(coroutine.create(function()
  4399. for i = 1, 3 do
  4400. Swait()
  4401. for i = 1, 1 do
  4402. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  4403. end
  4404. for i = 1, 2 do
  4405. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/3)
  4406. end
  4407. end
  4408. end))
  4409. end))
  4410. for i=0, 0, 0.1 / Animation_Speed do
  4411. Swait()
  4412. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  4413. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  4414. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4415. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4416. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  4417. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  4418. end
  4419. ATTACK = false
  4420. Rooted = false
  4421. end
  4422.  
  4423. --//=================================\\
  4424. --|| ASSIGN THINGS TO KEYS
  4425. --\\=================================//
  4426.  
  4427. function MouseDown(Mouse)
  4428. if ATTACK == false then
  4429. end
  4430. end
  4431.  
  4432. function MouseUp(Mouse)
  4433. HOLD = false
  4434. end
  4435.  
  4436. function KeyDown(Key)
  4437. KEYHOLD = true
  4438. if Key == "e" and ATTACK == false then
  4439. UltraPunch()
  4440. end
  4441.  
  4442. if Key == "f" and ATTACK == false then
  4443. Punish()
  4444. end
  4445.  
  4446. if Key == "c" and ATTACK == false then
  4447. Dash()
  4448. end
  4449.  
  4450. if Key == "q" and ATTACK == false then
  4451. Begoner9000()()
  4452. end
  4453.  
  4454. if Key == "p" and ATTACK == false then
  4455. if Speed == 16 then
  4456. Speed = 150
  4457. elseif Speed == 150 then
  4458. Speed = 16
  4459. end
  4460. end
  4461. end
  4462.  
  4463. function KeyUp(Key)
  4464. KEYHOLD = false
  4465. end
  4466.  
  4467. Mouse.Button1Down:connect(function(NEWKEY)
  4468. MouseDown(NEWKEY)
  4469. end)
  4470. Mouse.Button1Up:connect(function(NEWKEY)
  4471. MouseUp(NEWKEY)
  4472. end)
  4473. Mouse.KeyDown:connect(function(NEWKEY)
  4474. KeyDown(NEWKEY)
  4475. end)
  4476. Mouse.KeyUp:connect(function(NEWKEY)
  4477. KeyUp(NEWKEY)
  4478. end)
  4479.  
  4480. --//=================================\\
  4481. --\\=================================//
  4482.  
  4483.  
  4484. function unanchor()
  4485. if UNANCHOR == true then
  4486. g = Character:GetChildren()
  4487. for i = 1, #g do
  4488. if g[i].ClassName == "Part" then
  4489. g[i].Anchored = false
  4490. end
  4491. end
  4492. end
  4493. end
  4494.  
  4495.  
  4496. --//=================================\\
  4497. --|| WRAP THE WHOLE SCRIPT UP
  4498. --\\=================================//
  4499.  
  4500. Humanoid.Changed:connect(function(Jump)
  4501. if Jump == "Jump" and (Disable_Jump == true) then
  4502. Humanoid.Jump = false
  4503. end
  4504. end)
  4505.  
  4506. while true do
  4507. Swait()
  4508. ANIMATE.Parent = nil
  4509. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4510. IDLEANIMATION:Play()
  4511. SINE = SINE + CHANGE
  4512. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4513. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4514. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  4515. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  4516. local WALKSPEEDVALUE = 0
  4517. if Speed < 35 then
  4518. WALKSPEEDVALUE = 48
  4519. else
  4520. WALKSPEEDVALUE = 48
  4521. end
  4522. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  4523. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  4524. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4525. if Speed < 35 then
  4526. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  4527. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  4528. else
  4529. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  4530. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
  4531. end
  4532. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  4533. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4534. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4535. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4536. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4537. end
  4538. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4539. ANIM = "Jump"
  4540. if ATTACK == false then
  4541. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4545. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4546. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4547. end
  4548. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4549. ANIM = "Fall"
  4550. if ATTACK == false then
  4551. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4555. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4556. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4557. end
  4558. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4559. ANIM = "Idle"
  4560. if ATTACK == false then
  4561. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4562. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4563. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4564. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4565. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4566. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4567. end
  4568. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  4569. ANIM = "Walk"
  4570. WALK = WALK + 1 / Animation_Speed
  4571. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  4572. WALK = 0
  4573. if WALKINGANIM == true then
  4574. WALKINGANIM = false
  4575. elseif WALKINGANIM == false then
  4576. WALKINGANIM = true
  4577. end
  4578. end
  4579. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4580. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4581. if ATTACK == false then
  4582. if Speed < 35 then
  4583. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4584. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4585. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4587. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  4588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  4589. else
  4590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4594. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  4595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  4596. end
  4597. end
  4598. end
  4599. unanchor()
  4600. Humanoid.MaxHealth = "inf"
  4601. Humanoid.Health = "inf"
  4602. if Rooted == false then
  4603. Disable_Jump = false
  4604. Humanoid.WalkSpeed = Speed
  4605. elseif Rooted == true then
  4606. Disable_Jump = true
  4607. Humanoid.WalkSpeed = 0
  4608. end
  4609. local MATHS = {"0","1"}
  4610. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  4611. Humanoid.PlatformStand = false
  4612. end
  4613.  
  4614. --//=================================\\
  4615. --\\=================================//
  4616.  
  4617.  
  4618. --//====================================================\\--
  4619. --|| END OF SCRIPT
  4620. --\\====================================================//--
Add Comment
Please, Sign In to add comment