Advertisement
Guest User

แจกกกกกกกกกกกกกกกกกกกก

a guest
Jun 30th, 2018
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.80 KB | None | 0 0
  1. --Edited by TheDevilPro1234
  2. ---NO TOOLS
  3. plr = game.Players.LocalPlayer
  4. repeat
  5. wait(0.4)
  6. until plr.Character
  7. chr = plr.Character
  8. human = chr:FindFirstChild("Humanoid")
  9. chr.Humanoid.MaxHealth = math.huge
  10. mouse = plr:GetMouse()
  11. equipd = false
  12. tors = chr.Torso
  13. rarm = chr["Right Arm"]
  14. larm = chr["Left Arm"]
  15. rleg = chr["Right Leg"]
  16. lleg = chr["Left Leg"]
  17. chr.Head.face.Texture = "rbxassetid://126198982"
  18. local txt = Instance.new("BillboardGui", chr)
  19. CV="Lime green"
  20. txt.Adornee = chr .Head
  21. txt.Name = "_status"
  22. txt.Size = UDim2.new(2, 0, 1.2, 0)
  23. txt.StudsOffset = Vector3.new(-9, 8, 0)
  24. local text = Instance.new("TextLabel", txt)
  25. text.Size = UDim2.new(10, 0, 7, 0)
  26. text.FontSize = "Size24"
  27. text.TextScaled = true
  28. text.TextTransparency = 0
  29. text.BackgroundTransparency = 1
  30. text.TextTransparency = 0
  31. text.TextStrokeTransparency = 0
  32. text.Font = "Bodoni"
  33. text.TextStrokeColor3 = Color3.new(0,0,0)
  34. text.TextColor3 = Color3.new(0,1,0)
  35. text.Text = "Izuku Midoriya"
  36. v=Instance.new("Part")
  37. v.Name = "ColorBrick"
  38. v.Parent= plr.Character
  39. v.FormFactor="Symmetric"
  40. v.Anchored=true
  41. v.CanCollide=false
  42. v.BottomSurface="Smooth"
  43. v.TopSurface="Smooth"
  44. v.Size=Vector3.new(10,5,3)
  45. v.Transparency=1
  46. v.CFrame=chr.Torso.CFrame
  47. v.BrickColor=BrickColor.new("Lime green")
  48. v.Transparency=1
  49. v.Shape="Block"
  50. chr.Shirt.ShirtTemplate = "rbxassetid://846519063"
  51. chr.Pants.PantsTemplate = "rbxassetid://848613245"
  52. for i,v in pairs(chr:children()) do
  53. if v:IsA("Hat") then
  54. v:Destroy()
  55. end
  56. end
  57. for i,v in pairs(chr:children()) do
  58. if v:IsA("Accessory") then
  59. v:Destroy()
  60. end
  61. end
  62. for i,v in pairs(chr:children()) do
  63. if v:IsA("Hair") then
  64. v:Destroy()
  65. end
  66. end
  67. local Part = Instance.new("Part",chr)
  68. Part.BrickColor = BrickColor.new("Royal blue")
  69. Part.Size = Vector3.new(1,1,1)
  70. Part.CanCollide = false
  71. Part.Material = "Neon"
  72. local M = Instance.new("SpecialMesh",Part)
  73. M.MeshId = "rbxassetid://212966179"
  74. M.Scale = Vector3.new(1.2,1.2,1.2)
  75. M.TextureId = "rbxassetid://431984628"
  76. local Part2 = Instance.new("Weld",Part)
  77. Part2.Part0 = chr.Head
  78. Part2.Part1 = Part
  79. Part2.C0 = CFrame.new(0,0.2,0)*CFrame.Angles(0,0,0)
  80. local Part1 = Instance.new("Part",chr)
  81. Part1.BrickColor = BrickColor.new("Really black")
  82. Part1.Size = Vector3.new(1,1,1)
  83. Part1.CanCollide = false
  84. Part1.Material = "Neon"
  85. local M1 = Instance.new("SpecialMesh",Part1)
  86. M1.MeshId = "rbxassetid://212966179"
  87. M1.Scale = Vector3.new(1.1,1.1,1.1)
  88. local Part21 = Instance.new("Weld",Part1)
  89. Part21.Part0 = chr.Head
  90. Part21.Part1 = Part1
  91. Part21.C0 = CFrame.new(0,0.1,0)*CFrame.Angles(0,0,0)
  92. hrp = chr.HumanoidRootPart
  93. head = chr.Head
  94. anim = human.Animator
  95. activu = false
  96. Heartbeat = Instance.new("BindableEvent")
  97. Heartbeat.Name = "Heartbeat"
  98. Heartbeat.Parent = script
  99. frame = 0.03333333333333333
  100. tf = 0
  101.  
  102. --//====================================================\\--
  103. --|| TRAIL.... ( EDIT BY Penien23 )
  104. --\\====================================================//--
  105.  
  106. wait(0)
  107.  
  108. local p = game.Players.localPlayer
  109. local char = p.Character
  110. local mouse=p:GetMouse()
  111. local larm = char["Left Arm"]
  112. local rarm = char["Right Arm"]
  113. local lleg = char["Left Leg"]
  114. local rleg = char["Right Leg"]
  115. local torso = char.Torso
  116. local root = char.HumanoidRootPart
  117. local hed = char.Head
  118. ---------------------------------------------
  119.  
  120. local PE1 = Instance.new("ParticleEmitter",rleg)
  121. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  122. PE1.LightEmission = NumberSequence.new(0.2)
  123. PE1.Size = NumberSequence.new(1.2)
  124. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  125. PE1.Lifetime = NumberRange.new(.5)
  126. PE1.Rate = 10
  127. PE1.Transparency = NumberSequence.new(0.2)
  128. PE1.LightEmission = NumberSequence.new(0.2)
  129. PE1.Rotation = NumberRange.new(260)
  130. PE1.Speed = NumberRange.new(0)
  131. PE1.RotSpeed = NumberRange.new(100)
  132.  
  133. ----------------------------------------------------
  134. local PE1 = Instance.new("ParticleEmitter",rarm)
  135. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  136. PE1.LightEmission = NumberSequence.new(0.2)
  137. PE1.Size = NumberSequence.new(1.2)
  138. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  139. PE1.Lifetime = NumberRange.new(.5)
  140. PE1.Rate = 10
  141. PE1.Transparency = NumberSequence.new(0.2)
  142. PE1.LightEmission = NumberSequence.new(0.2)
  143. PE1.Rotation = NumberRange.new(260)
  144. PE1.Speed = NumberRange.new(0)
  145. PE1.RotSpeed = NumberRange.new(100)
  146. ---------------------------------------------
  147.  
  148. local PE1 = Instance.new("ParticleEmitter",lleg)
  149. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  150. PE1.LightEmission = NumberSequence.new(0.2)
  151. PE1.Size = NumberSequence.new(1.2)
  152. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  153. PE1.Lifetime = NumberRange.new(.5)
  154. PE1.Rate = 10
  155. PE1.Transparency = NumberSequence.new(0.2)
  156. PE1.LightEmission = NumberSequence.new(0.2)
  157. PE1.Rotation = NumberRange.new(260)
  158. PE1.Speed = NumberRange.new(0)
  159. PE1.RotSpeed = NumberRange.new(100)
  160. ---------------------------------------------
  161.  
  162. local PE1 = Instance.new("ParticleEmitter",larm)
  163. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  164. PE1.LightEmission = NumberSequence.new(0.2)
  165. PE1.Size = NumberSequence.new(1.2)
  166. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  167. PE1.Lifetime = NumberRange.new(.5)
  168. PE1.Rate = 10
  169. PE1.Transparency = NumberSequence.new(0.2)
  170. PE1.LightEmission = NumberSequence.new(0.2)
  171. PE1.Rotation = NumberRange.new(260)
  172. PE1.Speed = NumberRange.new(0)
  173. PE1.RotSpeed = NumberRange.new(100)
  174. ---------------------------------------------
  175.  
  176. local PE1 = Instance.new("ParticleEmitter",torso)
  177. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  178. PE1.LightEmission = NumberSequence.new(0.2)
  179. PE1.Size = NumberSequence.new(1.2)
  180. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  181. PE1.Lifetime = NumberRange.new(.5)
  182. PE1.Rate = 10
  183. PE1.Transparency = NumberSequence.new(0.2)
  184. PE1.LightEmission = NumberSequence.new(0.2)
  185. PE1.Rotation = NumberRange.new(260)
  186. PE1.Speed = NumberRange.new(0)
  187. PE1.RotSpeed = NumberRange.new(100)
  188. ---------------------------------------------
  189.  
  190. local PE1 = Instance.new("ParticleEmitter",head)
  191. PE1.Color = ColorSequence.new(Color3.new (0, 1, 0), Color3.new (0, 1, 0))
  192. PE1.LightEmission = NumberSequence.new(0.2)
  193. PE1.Size = NumberSequence.new(1.2)
  194. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  195. PE1.Lifetime = NumberRange.new(.5)
  196. PE1.Rate = 10
  197. PE1.Transparency = NumberSequence.new(0.2)
  198. PE1.LightEmission = NumberSequence.new(0.2)
  199. PE1.Rotation = NumberRange.new(260)
  200. PE1.Speed = NumberRange.new(0)
  201. PE1.RotSpeed = NumberRange.new(100)
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210. --
  211. local Player = game:GetService('Players').LocalPlayer
  212. repeat wait() until Player.Character
  213. local Character = Player.Character
  214.  
  215. --All The Settings for Trails in this Script
  216. TrailSettings = {
  217. Lifetime = 0.7,
  218. Texture = 'rbxassetid://31270182',
  219. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  220. Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Lime green').Color),
  221. Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Lime green').Color),
  222. AllBody = true,
  223. UpperBodyOnly = false,
  224. LowerBodyOnly = false,
  225. Accessories = false,
  226. Extras = true,
  227. R15 = false, --Change to true if you're using R15
  228. R15Parts = {
  229. 'UpperTorso',
  230. 'LowerTorso',
  231. }
  232. }
  233.  
  234. local Trail; --Making other Trails uses this in this Script
  235.  
  236. --UpperBody Function
  237. UpperBody = function()
  238. if TrailSettings.R15 == false then
  239. A0 = Instance.new('Attachment',Character.Torso)
  240. A1 = Instance.new('Attachment',Character.Head)
  241. A2 = Instance.new('Attachment',Character['Right Arm'])
  242. A3 = Instance.new('Attachment',Character['Left Arm'])
  243. Trail = Instance.new('Trail',Character)
  244. Trail.Attachment0 = A0
  245. Trail.Attachment1 = A1
  246. Trail.Texture = TrailSettings.Texture
  247. Trail.Color = TrailSettings.Color1
  248. Trail.Lifetime = TrailSettings.Lifetime
  249. local Trail2 = Trail:Clone()
  250. Trail2.Parent = Character
  251. Trail2.Attachment1 = A2
  252. local Trail3 = Trail:Clone()
  253. Trail3.Parent = Character
  254. Trail3.Attachment1 = A3
  255. local Trail6 = Trail:Clone()
  256. Trail6.Parent = Character
  257. Trail6.Attachment0 = A1
  258. Trail6.Attachment1 = A2
  259. local Trail7 = Trail:Clone()
  260. Trail7.Parent = Character
  261. Trail7.Attachment0 = A1
  262. Trail7.Attachment1 = A3
  263. else
  264. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  265. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  266. A1 = Instance.new('Attachment',Character.Head)
  267. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  268. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  269. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  270. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  271. Trail = Instance.new('Trail',Character)
  272. Trail.Attachment0 = A0
  273. Trail.Attachment1 = A1
  274. Trail.Texture = TrailSettings.Texture
  275. Trail.Color = TrailSettings.Color1
  276. Trail.Lifetime = TrailSettings.Lifetime
  277. local Trail2 = Trail:Clone()
  278. Trail2.Parent = Character
  279. Trail2.Attachment1 = A2
  280. local Trail3 = Trail:Clone()
  281. Trail3.Parent = Character
  282. Trail3.Attachment1 = A3
  283. local Trail6 = Trail:Clone()
  284. Trail6.Parent = Character
  285. Trail6.Attachment0 = A1
  286. Trail6.Attachment1 = A2
  287. local Trail7 = Trail:Clone()
  288. Trail7.Parent = Character
  289. Trail7.Attachment0 = A1
  290. Trail7.Attachment1 = A3
  291. --R15 Trails
  292. local Trail1R = Trail:Clone()
  293. Trail1R.Parent = Character
  294. Trail1R.Attachment1 = A2R
  295. local Trail2R = Trail:Clone()
  296. Trail2R.Parent = Character
  297. Trail2R.Attachment1 = A3R
  298. local Trail6R = Trail:Clone()
  299. Trail6.Parent = Character
  300. Trail6.Attachment0 = A1
  301. Trail6.Attachment1 = A2R
  302. local Trail7R = Trail:Clone()
  303. Trail7.Parent = Character
  304. Trail7.Attachment0 = A1
  305. Trail7.Attachment1 = A3R
  306. end
  307. end
  308.  
  309. --Lower Body Function
  310. LowerBody = function()
  311. if TrailSettings.R15 == false then
  312. A4 = Instance.new('Attachment',Character['Right Leg'])
  313. A5 = Instance.new('Attachment',Character['Left Leg'])
  314. local Trail4 = Trail:Clone()
  315. Trail4.Parent = Character
  316. Trail4.Attachment1 = A4
  317. local Trail5 = Trail:Clone()
  318. Trail5.Parent = Character
  319. Trail5.Attachment1 = A5
  320. local Trail8 = Trail:Clone()
  321. Trail8.Parent = Character
  322. Trail8.Attachment0 = A2
  323. Trail8.Attachment1 = A4
  324. Trail8.Color = TrailSettings.Color2
  325. local Trail9 = Trail:Clone()
  326. Trail9.Parent = Character
  327. Trail9.Attachment0 = A3
  328. Trail9.Attachment1 = A5
  329. Trail9.Color = TrailSettings.Color2
  330. local FT = Trail:Clone()
  331. FT.Parent = Character
  332. FT.Attachment0 = A4
  333. FT.Attachment1 = A5
  334. FT.Color = TrailSettings.Color2
  335. else
  336. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  337. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  338. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  339. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  340. local Trail4 = Trail:Clone()
  341. Trail4.Parent = Character
  342. Trail4.Attachment1 = A4
  343. local Trail5 = Trail:Clone()
  344. Trail5.Parent = Character
  345. Trail5.Attachment1 = A5
  346. local Trail8 = Trail:Clone()
  347. Trail8.Parent = Character
  348. Trail8.Attachment0 = A2
  349. Trail8.Attachment1 = A4
  350. Trail8.Color = TrailSettings.Color2
  351. local Trail9 = Trail:Clone()
  352. Trail9.Parent = Character
  353. Trail9.Attachment0 = A3
  354. Trail9.Attachment1 = A5
  355. Trail9.Color = TrailSettings.Color2
  356. local FT = Trail:Clone()
  357. FT.Parent = Character
  358. FT.Attachment0 = A4
  359. FT.Attachment1 = A5
  360. FT.Color = TrailSettings.Color2
  361. --R15 Trails
  362. local Trail3R = Trail:Clone()
  363. Trail3R.Parent = Character
  364. Trail3R.Attachment1 = A4R
  365. local Trail4R = Trail:Clone()
  366. Trail4R.Parent = Character
  367. Trail4R.Attachment1 = A5R
  368. local Trail8 = Trail:Clone()
  369. Trail8.Parent = Character
  370. Trail8.Attachment0 = A2R
  371. Trail8.Attachment1 = A4R
  372. Trail8.Color = TrailSettings.Color2
  373. local Trail9 = Trail:Clone()
  374. Trail9.Parent = Character
  375. Trail9.Attachment0 = A3R
  376. Trail9.Attachment1 = A5R
  377. Trail9.Color = TrailSettings.Color2
  378. local FT2R = Trail:Clone()
  379. FT2R.Parent = Character
  380. FT2R.Attachment0 = A4R
  381. FT2R.Attachment1 = A5R
  382. FT2R.Color = TrailSettings.Color2
  383. end
  384. end
  385.  
  386. --All Body Function calling Both Functions
  387. AllBody = function()
  388. UpperBody()
  389. LowerBody()
  390. end
  391.  
  392. --Checking to make sure that Only some Variables are Selected else do All Body
  393. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  394. TrailSettings.UpperBodyOnly = false
  395. TrailSettings.LowerBodyOnly = false
  396. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  397. TrailSettings.UpperBodyOnly = false
  398. TrailSettings.LowerBodyOnly = false
  399. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  400. TrailSettings.UpperBodyOnly = false
  401. TrailSettings.LowerBodyOnly = false
  402. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  403. TrailSettings.AllBody = true
  404. TrailSettings.UpperBodyOnly = false
  405. TrailSettings.LowerBodyOnly = false
  406. end
  407.  
  408. --Call Trail Functions
  409. if TrailSettings.UpperBodyOnly == true then
  410. UpperBody()
  411. print('Called Upper Body Trail')
  412. elseif TrailSettings.LowerBodyOnly == true then
  413. LowerBody()
  414. print('Called Lower Body Trail')
  415. elseif TrailSettings.AllBody == true then
  416. AllBody()
  417. print('Called Full Body Trail')
  418. end
  419.  
  420. --Trails for Accessories
  421. if TrailSettings.Accessories == true then
  422. for Index,Item in pairs(Character:GetChildren()) do
  423. if Item:IsA'Accessory' then
  424. local AA = Instance.new('Attachment',Item.Handle)
  425. local ATrail = Trail:Clone()
  426. ATrail.Parent = Character
  427. ATrail.Attachment1 = AA
  428. end
  429. end
  430. end
  431.  
  432. --Extras
  433. if TrailSettings.Extras == true then
  434. --Making an Invisible Platform Part
  435. local a = Instance.new('Part',Character)
  436. a.CanCollide = false
  437. a.Size = Vector3.new(2,.2,2)
  438. a.Transparency = 1
  439.  
  440. --Constantly putting it under your feet
  441. if TrailSettings.R15 == false then
  442. spawn(function()
  443. game:GetService('RunService').RenderStepped:connect(function()
  444. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  445. end)
  446. end)
  447. else
  448. spawn(function()
  449. game:GetService('RunService').RenderStepped:connect(function()
  450. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  451. end)
  452. end)
  453. end
  454.  
  455. --Make a Trail from both feet to the Platform
  456. spawn(function()
  457. repeat wait() until Trail
  458. local AB = Instance.new('Attachment',a)
  459. local ABT = Trail:Clone()
  460. ABT.Parent = Character
  461. ABT.Attachment0 = A4
  462. ABT.Attachment1 = AB
  463. ABT.Color = TrailSettings.Color2
  464. local ABT2 = Trail:Clone()
  465. ABT2.Parent = Character
  466. ABT2.Attachment0 = A5
  467. ABT2.Attachment1 = AB
  468. ABT2.Color = TrailSettings.Color2
  469. end)
  470. end
  471. --
  472.  
  473. --//====================================================\\--
  474. --|| CREATED BY SHACKLUSTER
  475. --\\====================================================//--
  476.  
  477.  
  478.  
  479. wait(0.2)
  480.  
  481.  
  482.  
  483. Player = game:GetService("Players").LocalPlayer
  484. PlayerGui = Player.PlayerGui
  485. Cam = workspace.CurrentCamera
  486. Backpack = Player.Backpack
  487. Character = Player.Character
  488. Humanoid = Character.Humanoid
  489. Mouse = Player:GetMouse()
  490. RootPart = Character["HumanoidRootPart"]
  491. Torso = Character["Torso"]
  492. Head = Character["Head"]
  493. RightArm = Character["Right Arm"]
  494. LeftArm = Character["Left Arm"]
  495. RightLeg = Character["Right Leg"]
  496. LeftLeg = Character["Left Leg"]
  497. RootJoint = RootPart["RootJoint"]
  498. Neck = Torso["Neck"]
  499. RightShoulder = Torso["Right Shoulder"]
  500. LeftShoulder = Torso["Left Shoulder"]
  501. RightHip = Torso["Right Hip"]
  502. LeftHip = Torso["Left Hip"]
  503. local sick = Instance.new("Sound",Character)
  504. sick.SoundId = "rbxassetid://450783524"
  505. sick.Looped = true
  506. sick.Pitch = 1
  507. sick.Volume = 50
  508. sick:Play()
  509.  
  510. IT = Instance.new
  511. CF = CFrame.new
  512. VT = Vector3.new
  513. RAD = math.rad
  514. C3 = Color3.new
  515. UD2 = UDim2.new
  516. BRICKC = BrickColor.new
  517. ANGLES = CFrame.Angles
  518. EULER = CFrame.fromEulerAnglesXYZ
  519. COS = math.cos
  520. ACOS = math.acos
  521. SIN = math.sin
  522. ASIN = math.asin
  523. ABS = math.abs
  524. MRANDOM = math.random
  525. FLOOR = math.floor
  526.  
  527. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  528. local NEWMESH = IT(MESH)
  529. if MESH == "SpecialMesh" then
  530. NEWMESH.MeshType = MESHTYPE
  531. if MESHID ~= "nil" and MESHID ~= "" then
  532. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  533. end
  534. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  535. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  536. end
  537. end
  538. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  539. NEWMESH.Scale = SCALE
  540. NEWMESH.Parent = PARENT
  541. return NEWMESH
  542. end
  543.  
  544. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  545. local NEWPART = IT("Part")
  546. NEWPART.formFactor = FORMFACTOR
  547. NEWPART.Reflectance = REFLECTANCE
  548. NEWPART.Transparency = TRANSPARENCY
  549. NEWPART.CanCollide = false
  550. NEWPART.Locked = true
  551. NEWPART.Anchored = true
  552. if ANCHOR == false then
  553. NEWPART.Anchored = false
  554. end
  555. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  556. NEWPART.Name = NAME
  557. NEWPART.Size = SIZE
  558. NEWPART.Position = Torso.Position
  559. NEWPART.Material = MATERIAL
  560. NEWPART:BreakJoints()
  561. NEWPART.Parent = PARENT
  562. return NEWPART
  563. end
  564.  
  565. --//=================================\\
  566. --|| CUSTOMIZATION
  567. --\\=================================//
  568.  
  569. Player_Size = 1 --Size of the player.
  570. Animation_Speed = 3
  571. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  572.  
  573. local Speed = 16
  574. local Effects2 = {}
  575.  
  576. --//=================================\\
  577. --|| END OF CUSTOMIZATION
  578. --\\=================================//
  579.  
  580. local function weldBetween(a, b)
  581. local weldd = Instance.new("ManualWeld")
  582. weldd.Part0 = a
  583. weldd.Part1 = b
  584. weldd.C0 = CFrame.new()
  585. weldd.C1 = b.CFrame:inverse() * a.CFrame
  586. weldd.Parent = a
  587. return weldd
  588. end
  589.  
  590. --//=================================\\
  591. --|| USEFUL VALUES
  592. --\\=================================//
  593.  
  594. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  595. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  596. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  597. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  598. local CHANGEDEFENSE = 0
  599. local CHANGEDAMAGE = 0
  600. local CHANGEMOVEMENT = 0
  601. local ANIM = "Idle"
  602. local ATTACK = false
  603. local EQUIPPED = false
  604. local HOLD = false
  605. local COMBO = 1
  606. local Rooted = false
  607. local SINE = 0
  608. local KEYHOLD = false
  609. local CHANGE = 2 / Animation_Speed
  610. local WALKINGANIM = false
  611. local WALK = 0
  612. local VALUE1 = false
  613. local VALUE2 = false
  614. local ROBLOXIDLEANIMATION = IT("Animation")
  615. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  616. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  617. --ROBLOXIDLEANIMATION.Parent = Humanoid
  618. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  619. WEAPONGUI.Name = "Weapon GUI"
  620. local Weapon = IT("Model")
  621. Weapon.Name = "Adds"
  622. local HITFLOOR = nil
  623. local Effects = IT("Folder", Weapon)
  624. Effects.Name = "Effects"
  625. local ANIMATOR = Humanoid.Animator
  626. local ANIMATE = Character.Animate
  627. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  628. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  629. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  630. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  631. local UNANCHOR = true
  632.  
  633. local SKILLTEXTCOLOR = C3(239/255, 184/255, 56/255)
  634.  
  635. --//=================================\\
  636. --\\=================================//
  637.  
  638.  
  639. --//=================================\\
  640. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  641. --\\=================================//
  642.  
  643. ArtificialHB = Instance.new("BindableEvent", script)
  644. ArtificialHB.Name = "ArtificialHB"
  645.  
  646. script:WaitForChild("ArtificialHB")
  647.  
  648. frame = Frame_Speed
  649. tf = 0
  650. allowframeloss = false
  651. tossremainder = false
  652. lastframe = tick()
  653. script.ArtificialHB:Fire()
  654.  
  655. game:GetService("RunService").Heartbeat:connect(function(s, p)
  656. tf = tf + s
  657. if tf >= frame then
  658. if allowframeloss then
  659. script.ArtificialHB:Fire()
  660. lastframe = tick()
  661. else
  662. for i = 1, math.floor(tf / frame) do
  663. script.ArtificialHB:Fire()
  664. end
  665. lastframe = tick()
  666. end
  667. if tossremainder then
  668. tf = 0
  669. else
  670. tf = tf - frame * math.floor(tf / frame)
  671. end
  672. end
  673. end)
  674.  
  675. --//=================================\\
  676. --\\=================================//
  677.  
  678.  
  679.  
  680.  
  681.  
  682. --//=================================\\
  683. --|| SOME FUNCTIONS
  684. --\\=================================//
  685.  
  686. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  687. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  688. end
  689.  
  690. function PositiveAngle(NUMBER)
  691. if NUMBER >= 0 then
  692. NUMBER = 0
  693. end
  694. return NUMBER
  695. end
  696.  
  697. function NegativeAngle(NUMBER)
  698. if NUMBER <= 0 then
  699. NUMBER = 0
  700. end
  701. return NUMBER
  702. end
  703.  
  704. function Swait(NUMBER)
  705. if NUMBER == 0 or NUMBER == nil then
  706. ArtificialHB.Event:wait()
  707. else
  708. for i = 1, NUMBER do
  709. ArtificialHB.Event:wait()
  710. end
  711. end
  712. end
  713.  
  714. function QuaternionFromCFrame(cf)
  715. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  716. local trace = m00 + m11 + m22
  717. if trace > 0 then
  718. local s = math.sqrt(1 + trace)
  719. local recip = 0.5 / s
  720. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  721. else
  722. local i = 0
  723. if m11 > m00 then
  724. i = 1
  725. end
  726. if m22 > (i == 0 and m00 or m11) then
  727. i = 2
  728. end
  729. if i == 0 then
  730. local s = math.sqrt(m00 - m11 - m22 + 1)
  731. local recip = 0.5 / s
  732. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  733. elseif i == 1 then
  734. local s = math.sqrt(m11 - m22 - m00 + 1)
  735. local recip = 0.5 / s
  736. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  737. elseif i == 2 then
  738. local s = math.sqrt(m22 - m00 - m11 + 1)
  739. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  740. end
  741. end
  742. end
  743.  
  744. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  745. local xs, ys, zs = x + x, y + y, z + z
  746. local wx, wy, wz = w * xs, w * ys, w * zs
  747. local xx = x * xs
  748. local xy = x * ys
  749. local xz = x * zs
  750. local yy = y * ys
  751. local yz = y * zs
  752. local zz = z * zs
  753. 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))
  754. end
  755.  
  756. function QuaternionSlerp(a, b, t)
  757. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  758. local startInterp, finishInterp;
  759. if cosTheta >= 0.0001 then
  760. if (1 - cosTheta) > 0.0001 then
  761. local theta = ACOS(cosTheta)
  762. local invSinTheta = 1 / SIN(theta)
  763. startInterp = SIN((1 - t) * theta) * invSinTheta
  764. finishInterp = SIN(t * theta) * invSinTheta
  765. else
  766. startInterp = 1 - t
  767. finishInterp = t
  768. end
  769. else
  770. if (1 + cosTheta) > 0.0001 then
  771. local theta = ACOS(-cosTheta)
  772. local invSinTheta = 1 / SIN(theta)
  773. startInterp = SIN((t - 1) * theta) * invSinTheta
  774. finishInterp = SIN(t * theta) * invSinTheta
  775. else
  776. startInterp = t - 1
  777. finishInterp = t
  778. end
  779. end
  780. 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
  781. end
  782.  
  783. function Clerp(a, b, t)
  784. local qa = {QuaternionFromCFrame(a)}
  785. local qb = {QuaternionFromCFrame(b)}
  786. local ax, ay, az = a.x, a.y, a.z
  787. local bx, by, bz = b.x, b.y, b.z
  788. local _t = 1 - t
  789. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  790. end
  791.  
  792. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  793. local frame = IT("Frame")
  794. frame.BackgroundTransparency = TRANSPARENCY
  795. frame.BorderSizePixel = BORDERSIZEPIXEL
  796. frame.Position = POSITION
  797. frame.Size = SIZE
  798. frame.BackgroundColor3 = COLOR
  799. frame.BorderColor3 = BORDERCOLOR
  800. frame.Name = NAME
  801. frame.Parent = PARENT
  802. return frame
  803. end
  804.  
  805. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  806. local label = IT("TextLabel")
  807. label.BackgroundTransparency = 1
  808. label.Size = UD2(1, 0, 1, 0)
  809. label.Position = UD2(0, 0, 0, 0)
  810. label.TextColor3 = TEXTCOLOR
  811. label.TextStrokeTransparency = STROKETRANSPARENCY
  812. label.TextTransparency = TRANSPARENCY
  813. label.FontSize = TEXTFONTSIZE
  814. label.Font = TEXTFONT
  815. label.BorderSizePixel = BORDERSIZEPIXEL
  816. label.TextScaled = false
  817. label.Text = TEXT
  818. label.Name = NAME
  819. label.Parent = PARENT
  820. return label
  821. end
  822.  
  823. function NoOutlines(PART)
  824. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  825. end
  826.  
  827.  
  828. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  829. local NEWWELD = IT(TYPE)
  830. NEWWELD.Part0 = PART0
  831. NEWWELD.Part1 = PART1
  832. NEWWELD.C0 = C0
  833. NEWWELD.C1 = C1
  834. NEWWELD.Parent = PARENT
  835. return NEWWELD
  836. end
  837.  
  838. function CreateSound(ID, PARENT, VOLUME, PITCH)
  839. local NEWSOUND = nil
  840. coroutine.resume(coroutine.create(function()
  841. NEWSOUND = IT("Sound", PARENT)
  842. NEWSOUND.Volume = VOLUME
  843. NEWSOUND.Pitch = PITCH
  844. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  845. Swait()
  846. NEWSOUND:play()
  847. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  848. end))
  849. return NEWSOUND
  850. end
  851.  
  852. function CFrameFromTopBack(at, top, back)
  853. local right = top:Cross(back)
  854. 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)
  855. end
  856.  
  857. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  858. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  859. local mesh = IT("SpecialMesh",wave)
  860. mesh.MeshType = "FileMesh"
  861. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  862. mesh.Scale = SIZE
  863. mesh.Offset = VT(0,0,-SIZE.X/8)
  864. wave.CFrame = CFRAME
  865. coroutine.resume(coroutine.create(function(PART)
  866. for i = 1, WAIT do
  867. Swait()
  868. mesh.Scale = mesh.Scale + GROW
  869. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  870. if DOESROT == true then
  871. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  872. end
  873. wave.Transparency = wave.Transparency + (0.5/WAIT)
  874. if wave.Transparency > 0.99 then
  875. wave:remove()
  876. end
  877. end
  878. end))
  879. end
  880.  
  881. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  882. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  883. local mesh = IT("SpecialMesh",wave)
  884. mesh.MeshType = "FileMesh"
  885. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  886. mesh.Scale = SIZE
  887. --mesh.Offset = VT(0,0,-SIZE.X/8)
  888. wave.CFrame = CFRAME
  889. coroutine.resume(coroutine.create(function(PART)
  890. for i = 1, WAIT do
  891. Swait()
  892. mesh.Scale = mesh.Scale + GROW
  893. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  894. if DOESROT == true then
  895. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  896. end
  897. wave.Transparency = wave.Transparency + (0.5/WAIT)
  898. if wave.Transparency > 0.99 then
  899. wave:remove()
  900. end
  901. end
  902. end))
  903. end
  904.  
  905. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  906. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  907. local mesh = IT("SpecialMesh",wave)
  908. mesh.MeshType = "FileMesh"
  909. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  910. mesh.Scale = SIZE
  911. wave.CFrame = CFRAME
  912. coroutine.resume(coroutine.create(function(PART)
  913. for i = 1, WAIT do
  914. Swait()
  915. mesh.Scale = mesh.Scale + GROW
  916. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  917. if DOESROT == true then
  918. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  919. end
  920. wave.Transparency = wave.Transparency + (0.5/WAIT)
  921. if wave.Transparency > 0.99 then
  922. wave:remove()
  923. end
  924. end
  925. end))
  926. end
  927.  
  928.  
  929. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  930. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  931. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  932. wave.CFrame = CFRAME
  933. coroutine.resume(coroutine.create(function(PART)
  934. for i = 1, WAIT do
  935. Swait()
  936. mesh.Scale = mesh.Scale * GROW
  937. wave.Transparency = wave.Transparency + (0.5/WAIT)
  938. if wave.Transparency > 0.99 then
  939. wave:remove()
  940. end
  941. end
  942. end))
  943. end
  944.  
  945. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  946. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  947. local mesh = IT("SpecialMesh",wave)
  948. mesh.MeshType = "Sphere"
  949. mesh.Scale = SIZE
  950. mesh.Offset = VT(0,0,0)
  951. wave.CFrame = CFRAME
  952. coroutine.resume(coroutine.create(function(PART)
  953. for i = 1, WAIT do
  954. Swait()
  955. mesh.Scale = mesh.Scale + GROW
  956. wave.Transparency = wave.Transparency + (1/WAIT)
  957. if wave.Transparency > 0.99 then
  958. wave:remove()
  959. end
  960. end
  961. end))
  962. end
  963.  
  964. function MakeForm(PART,TYPE)
  965. if TYPE == "Cyl" then
  966. local MSH = IT("CylinderMesh",PART)
  967. elseif TYPE == "Ball" then
  968. local MSH = IT("SpecialMesh",PART)
  969. MSH.MeshType = "Sphere"
  970. elseif TYPE == "Wedge" then
  971. local MSH = IT("SpecialMesh",PART)
  972. MSH.MeshType = "Wedge"
  973. end
  974. end
  975.  
  976. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  977. if FLOOR ~= nil then
  978. coroutine.resume(coroutine.create(function()
  979. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  980. PART.CFrame = CF(POSITION)
  981. for i = 1, 45 do
  982. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  983. RingPiece.Material = FLOOR.Material
  984. RingPiece.Color = FLOOR.Color
  985. 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)))
  986. Debris:AddItem(RingPiece,SWAIT/100)
  987. end
  988. PART:remove()
  989. end))
  990. end
  991. end
  992.  
  993. function CheckTableForString(Table, String)
  994. for i, v in pairs(Table) do
  995. if string.find(string.lower(String), string.lower(v)) then
  996. return true
  997. end
  998. end
  999. return false
  1000. end
  1001.  
  1002. function CheckIntangible(Hit)
  1003. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1004. if Hit and Hit.Parent then
  1005. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1006. return true
  1007. end
  1008. end
  1009. return false
  1010. end
  1011.  
  1012. Debris = game:GetService("Debris")
  1013.  
  1014. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1015. local Direction = CFrame.new(StartPos, Vec).lookVector
  1016. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1017. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1018. if RayHit and CheckIntangible(RayHit) then
  1019. if DelayIfHit then
  1020. wait()
  1021. end
  1022. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1023. end
  1024. return RayHit, RayPos, RayNormal
  1025. end
  1026.  
  1027. function turnto(position)
  1028. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1029. end
  1030.  
  1031. --//=================================\\
  1032. --|| WEAPON CREATION
  1033. --\\=================================//
  1034.  
  1035. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Neon Gauntlet Part", VT(1.01*0.1,1.4*0.1,1.01*0.1),false)
  1036. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * 0.1, -0.25 * 0.1, 0 * 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1037.  
  1038.  
  1039. for _, c in pairs(Weapon:GetChildren()) do
  1040. if c.ClassName == "Part" then
  1041. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1042. end
  1043. end
  1044.  
  1045. Weapon.Parent = Character
  1046.  
  1047. Humanoid.Died:connect(function()
  1048. ATTACK = true
  1049. end)
  1050.  
  1051. 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")
  1052. 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")
  1053. 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")
  1054. 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")
  1055. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1056.  
  1057. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] SMASH!", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  1058. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] DETROIT SMASH!", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  1059. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] TELEPORT!", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  1060. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] TEAXS SMASH!", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  1061. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] ONE FOR ALL FULL COWL!!!!!", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 7")
  1062.  
  1063. --//=================================\\
  1064. --|| DAMAGE FUNCTIONS
  1065. --\\=================================//
  1066.  
  1067. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1068. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1069. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1070. local BODYGYRO = IT("BodyGyro", STATPART)
  1071. local BODYPOSITION = IT("BodyPosition", STATPART)
  1072. BODYPOSITION.P = 2000
  1073. BODYPOSITION.D = 100
  1074. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1075. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1076. game:GetService("Debris"):AddItem(STATPART ,5)
  1077. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1078. BILLBOARDGUI.Adornee = STATPART
  1079. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1080. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1081. BILLBOARDGUI.AlwaysOnTop = false
  1082. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1083. TEXTLABEL.BackgroundTransparency = 1
  1084. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1085. TEXTLABEL.Text = TEXT
  1086. TEXTLABEL.Font = "SciFi"
  1087. TEXTLABEL.FontSize="Size42"
  1088. TEXTLABEL.TextColor3 = COLOR
  1089. TEXTLABEL.TextStrokeTransparency = 1
  1090. TEXTLABEL.TextScaled = true
  1091. TEXTLABEL.TextWrapped = true
  1092. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1093. if LABELTYPE == "Normal" then
  1094. for i = 1, 30 do
  1095. Swait()
  1096. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1097. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1098. end
  1099. elseif LABELTYPE == "Debuff" then
  1100. for i = 1, 30 do
  1101. Swait()
  1102. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1103. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1104. end
  1105. elseif LABELTYPE == "Shock" then
  1106. local ORIGIN = STATPART.Position
  1107. for i = 1, 30 do
  1108. Swait()
  1109. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1110. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1111. end
  1112. end
  1113. THEPART.Parent = nil
  1114. end),STATPART, BODYPOSITION, TEXTLABEL)
  1115. end
  1116.  
  1117. --//=================================\\
  1118. --|| DAMAGING
  1119. --\\=================================//
  1120.  
  1121. function killnearest(position,range,maxstrength,direction)
  1122. for i,v in ipairs(workspace:GetChildren()) do
  1123. local body = v:GetChildren()
  1124. for part = 1, #body do
  1125. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1126. if(body[part].Position - position).Magnitude < range then
  1127. if v.ClassName == "Model" then
  1128. --v:BreakJoints()
  1129. end
  1130. local POS = position
  1131. coroutine.resume(coroutine.create(function()
  1132. body[part].Anchored = true
  1133. body[part].Parent = Effects
  1134. body[part].CanCollide = true
  1135. local SIZE = body[part].Size
  1136. body[part].Material = "Neon"
  1137. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1138. for i = 1, 75 do
  1139. Swait()
  1140. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1141. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1142. end
  1143. coroutine.resume(coroutine.create(function()
  1144. while true do
  1145. Swait()
  1146. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1147. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1148. end
  1149. end))
  1150. body[part].Anchored = false
  1151. body[part].Velocity = direction.lookVector*maxstrength
  1152. end))
  1153. end
  1154. end
  1155. end
  1156. if v.ClassName == "Part" then
  1157. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1158. local POS = position
  1159. coroutine.resume(coroutine.create(function()
  1160. v.Anchored = true
  1161. v.Parent = Effects
  1162. local SIZE = v.Size
  1163. v.Material = "Neon"
  1164. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1165. for i = 1, 75 do
  1166. Swait()
  1167. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1168. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1169. end
  1170. coroutine.resume(coroutine.create(function()
  1171. while true do
  1172. Swait()
  1173. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1174. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1175. end
  1176. end))
  1177. v.Anchored = false
  1178. v.Velocity = direction.lookVector*maxstrength
  1179. end))
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. --//=================================\\
  1186. --|| ATTACK FUNCTIONS AND STUFF
  1187. --\\=================================//
  1188.  
  1189. function AttackTemplate()
  1190. ATTACK = true
  1191. Rooted = false
  1192. for i=0, 1, 0.1 / Animation_Speed do
  1193. Swait()
  1194. 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)
  1195. 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)
  1196. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1197. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1198. 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)
  1199. 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)
  1200. end
  1201. ATTACK = false
  1202. Rooted = false
  1203. end
  1204.  
  1205. function GoldenPunch()
  1206. ATTACK = true
  1207. Rooted = false
  1208. local SPEED = Speed
  1209. Speed = 8
  1210. CreateSound("169445572", RightArm, 10, 1.1)
  1211. for i=0, 4, 0.1 / Animation_Speed do
  1212. Swait()
  1213. turnto(Mouse.Hit.p)
  1214. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-1/15,-1/15,-1/15))
  1215. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-2/15,-2/15,-2/15))
  1216. 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)
  1217. 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)
  1218. 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)
  1219. 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)
  1220. 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)
  1221. 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)
  1222. end
  1223. for i=0, 0.15, 0.1 / Animation_Speed do
  1224. Swait()
  1225. turnto(Mouse.Hit.p)
  1226. 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)
  1227. 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)
  1228. 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)
  1229. 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)
  1230. 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)
  1231. 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)
  1232. end
  1233. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "White", "Punch", VT(50,50,50),false)
  1234. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1235. PART.Shape = "Ball"
  1236. local bv = Instance.new("BodyVelocity")
  1237. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1238. bv.velocity = RootPart.CFrame.lookVector*600
  1239. bv.Parent = PART
  1240. bv.Name = "PROJECTILEVELOCITY"
  1241. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(2.5,0.2,2.5))
  1242. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(3,0.2,3))
  1243. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(2,0.6,2))
  1244. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(2.2,0.6,2.2))
  1245. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1246. coroutine.resume(coroutine.create(function()
  1247. for i = 1, 10 do
  1248. Swait()
  1249. PART.Transparency = PART.Transparency + 0.2/10
  1250. PART.Size = PART.Size + VT(5,5,5)
  1251. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1252. end
  1253. PART:Destroy()
  1254. end))
  1255. for i=0, 1, 0.1 / Animation_Speed do
  1256. Swait()
  1257. 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)
  1258. 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)
  1259. 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)
  1260. 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)
  1261. 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)
  1262. 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)
  1263. end
  1264. Speed = SPEED
  1265. ATTACK = false
  1266. Rooted = false
  1267. end
  1268.  
  1269. function GoldenGrasp()
  1270. ATTACK = true
  1271. Rooted = false
  1272. local HASGRABBED = false
  1273. local WELD = nil
  1274. local TORS = nil
  1275. local hitting = FIST.Touched:connect(function(hit)
  1276. if hit.Parent:FindFirstChild("Humanoid") then
  1277. if hit.Parent.Humanoid.Health ~= 0 then
  1278. UNANCHOR = false
  1279. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1280. TORS.Anchored = true
  1281. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1282. WELD = weldBetween(RightArm,TORS)
  1283. HASGRABBED = true
  1284. Rooted = true
  1285. end
  1286. end
  1287. end)
  1288. for i=0, 1, 0.1 / Animation_Speed do
  1289. Swait()
  1290. if HASGRABBED == true then
  1291. break
  1292. end
  1293. 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)
  1294. 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)
  1295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1297. 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)
  1298. 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)
  1299. end
  1300. hitting:disconnect()
  1301. if HASGRABBED == true then
  1302. TORS.Anchored = false
  1303. RootPart.Anchored = true
  1304. for i=0, 2, 0.1 / Animation_Speed do
  1305. Swait()
  1306. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1310. 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)
  1311. 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)
  1312. end
  1313. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(0.5,0.3,0.5))
  1314. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"White",VT(0.6,0.3,0.6))
  1315. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "White", "Sound", VT(0,0,0))
  1316. SOUNDPART.CFrame = RootPart.CFrame
  1317. Debris:AddItem(SOUNDPART,5)
  1318. CreateSound("1295446488", SOUNDPART, 2, 1)
  1319. for i = 1, 15 do
  1320. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"White", 1 + MRANDOM(1,30)/15)
  1321. end
  1322. for i=0, 2, 0.1 / Animation_Speed do
  1323. Swait()
  1324. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1325. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1326. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1327. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1328. 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)
  1329. 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)
  1330. end
  1331. for i=0, 0.25, 0.1 / Animation_Speed do
  1332. Swait()
  1333. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  1334. 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)
  1335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1337. 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)
  1338. 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)
  1339. end
  1340. if HITFLOOR ~= nil then
  1341. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  1342. end
  1343. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  1344. WELD:remove()
  1345. for i = 1, 25 do
  1346. Swait()
  1347. killnearest(RootPart.Position,45,100,Torso.CFrame)
  1348. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"White",VT(0.3,3,0.3))
  1349. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(1,0.4,1))
  1350. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"White",VT(2.3,0.3,2.3))
  1351. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"White", 1 + MRANDOM(1,30)/5)
  1352. 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))),"White", 1 + MRANDOM(1,30)/15)
  1353. end
  1354. end
  1355. UNANCHOR = true
  1356. ATTACK = false
  1357. Rooted = false
  1358. end
  1359.  
  1360. function Mach20()
  1361. local ORIGIN = RootPart.Position
  1362. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(0.2,3,0.4))
  1363. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(0.2,3.1,0.6))
  1364. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  1365. SOUNDPART.CFrame = RootPart.CFrame
  1366. Debris:AddItem(SOUNDPART,5)
  1367. CreateSound("1295446488", SOUNDPART, 2, 1)
  1368. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1369. Swait()
  1370. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(0.2,3,0.4))
  1371. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"White",VT(0.2,3.1,0.6))
  1372. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "White", "Sound", VT(0,0,0))
  1373. SOUNDPART.CFrame = RootPart.CFrame
  1374. Debris:AddItem(SOUNDPART,5)
  1375. CreateSound("1295446488", SOUNDPART, 2, 1)
  1376. if MRANDOM(1,8) == 1 then
  1377. ATTACK = true
  1378. Rooted = true
  1379. local FRUITSTABLE = {
  1380. {MeshId = "0", TextureId = "0", Color = "White"},
  1381. {MeshId = "0", TextureId = "0", Color = "White"},
  1382. {MeshId = "0", TextureId = "0", Color = "White"}
  1383. }
  1384. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1385. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1386. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1387. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1388. weldBetween(RightArm,FRUITMODEL)
  1389. for i=0, 4, 0.1 / Animation_Speed do
  1390. Swait()
  1391. 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)
  1392. 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)
  1393. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1394. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1395. 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)
  1396. 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)
  1397. end
  1398. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1399. FRUITMODEL:remove()
  1400. for i = 1, 15 do
  1401. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1402. end
  1403. for i=0, 0.5, 0.1 / Animation_Speed do
  1404. Swait()
  1405. 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)
  1406. 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)
  1407. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1408. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1409. 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)
  1410. 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)
  1411. end
  1412. ATTACK = false
  1413. Rooted = false
  1414. end
  1415. end
  1416.  
  1417. function ImplosionCollision()
  1418. ATTACK = true
  1419. Rooted = true
  1420. CreateSound("169445572", RightArm, 10, 0.8)
  1421. for i=0, 8, 0.1 / Animation_Speed do
  1422. Swait()
  1423. turnto(Mouse.Hit.p)
  1424. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"White",VT(0.2,0,0.2))
  1425. 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),"White",VT(0.001,0.001,1),0)
  1426. 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),"White",VT(0.001,0.001,2),0)
  1427. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"White",VT(-1/15,-1/15,-1/15)) 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)
  1428. 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)
  1429. 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)
  1430. 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)
  1431. 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)
  1432. 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)
  1433. end
  1434. for i=0, 0.15, 0.1 / Animation_Speed do
  1435. Swait()
  1436. turnto(Mouse.Hit.p)
  1437. 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)
  1438. 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)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. 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)
  1443. end
  1444. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"White",VT(-0.04,-0.04,-0.04))
  1445. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"White",VT(-0.035,-0.035,-0.035))
  1446. coroutine.resume(coroutine.create(function()
  1447. Swait(100)
  1448. for i = 1, 5 do
  1449. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"White",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  1450. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(4.5*i,0.2,4.5*i))
  1451. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(5*i,0.2,5*i))
  1452. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"White",VT(4*i,0.6,4*i))
  1453. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"White",VT(5.2*i,0.6,5.2*i))
  1454. end
  1455. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1456. for i = 1, 5 do
  1457. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1458. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1459. end
  1460. coroutine.resume(coroutine.create(function()
  1461. for i = 1, 50 do
  1462. Swait()
  1463. for i = 1, 1 do
  1464. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"White", 1 + MRANDOM(1,30)/5)
  1465. end
  1466. end
  1467. end))
  1468. end))
  1469. for i=0, 4, 0.1 / Animation_Speed do
  1470. Swait()
  1471. 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)
  1472. 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)
  1473. 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)
  1474. 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)
  1475. 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)
  1476. 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)
  1477. end
  1478. ATTACK = false
  1479. Rooted = false
  1480. end
  1481.  
  1482. --//=================================\\
  1483. --|| ASSIGN THINGS TO KEYS
  1484. --\\=================================//
  1485.  
  1486. function MouseDown(Mouse)
  1487. if ATTACK == false then
  1488. end
  1489. end
  1490.  
  1491. function MouseUp(Mouse)
  1492. HOLD = false
  1493. end
  1494.  
  1495. function KeyDown(Key)
  1496. KEYHOLD = true
  1497. if Key == "z" and ATTACK == false then
  1498. GoldenPunch()
  1499. end
  1500.  
  1501. if Key == "b" and ATTACK == false then
  1502. GoldenGrasp()
  1503. end
  1504.  
  1505. if Key == "c" and ATTACK == false then
  1506. Mach20()
  1507. end
  1508.  
  1509. if Key == "x" and ATTACK == false then
  1510. ImplosionCollision()
  1511. end
  1512.  
  1513. if Key == "p" and ATTACK == false then
  1514. if Speed == 16 then
  1515. Speed = 150
  1516. elseif Speed == 150 then
  1517. Speed = 16
  1518. end
  1519. end
  1520. end
  1521.  
  1522. function KeyUp(Key)
  1523. KEYHOLD = false
  1524. end
  1525.  
  1526. Mouse.Button1Down:connect(function(NEWKEY)
  1527. MouseDown(NEWKEY)
  1528. end)
  1529. Mouse.Button1Up:connect(function(NEWKEY)
  1530. MouseUp(NEWKEY)
  1531. end)
  1532. Mouse.KeyDown:connect(function(NEWKEY)
  1533. KeyDown(NEWKEY)
  1534. end)
  1535. Mouse.KeyUp:connect(function(NEWKEY)
  1536. KeyUp(NEWKEY)
  1537. end)
  1538.  
  1539. --//=================================\\
  1540. --\\=================================//
  1541.  
  1542.  
  1543. function unanchor()
  1544. if UNANCHOR == true then
  1545. g = Character:GetChildren()
  1546. for i = 1, #g do
  1547. if g[i].ClassName == "Part" then
  1548. g[i].Anchored = false
  1549. end
  1550. end
  1551. end
  1552. end
  1553.  
  1554.  
  1555. --//=================================\\
  1556. --|| WRAP THE WHOLE SCRIPT UP
  1557. --\\=================================//
  1558.  
  1559. Humanoid.Changed:connect(function(Jump)
  1560. if Jump == "Jump" and (Disable_Jump == true) then
  1561. Humanoid.Jump = false
  1562. end
  1563. end)
  1564.  
  1565. while true do
  1566. Swait()
  1567. ANIMATE.Parent = nil
  1568. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1569. IDLEANIMATION:Play()
  1570. SINE = SINE + CHANGE
  1571. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1572. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1573. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1574. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1575. local WALKSPEEDVALUE = 0
  1576. if Speed < 35 then
  1577. WALKSPEEDVALUE = 6
  1578. else
  1579. WALKSPEEDVALUE = 3
  1580. end
  1581. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1582. 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)
  1583. 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)
  1584. if Speed < 35 then
  1585. 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)
  1586. 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)
  1587. else
  1588. 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)
  1589. 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)
  1590. end
  1591. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1592. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1593. 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)
  1594. 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)
  1595. 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)
  1596. end
  1597. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1598. ANIM = "Jump"
  1599. if ATTACK == false then
  1600. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1601. 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)
  1602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1604. 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)
  1605. 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)
  1606. end
  1607. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1608. ANIM = "Fall"
  1609. if ATTACK == false then
  1610. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1614. 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)
  1615. 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)
  1616. end
  1617. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1618. ANIM = "Idle"
  1619. if ATTACK == false then
  1620. 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)
  1621. 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)
  1622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1624. 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)
  1625. 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)
  1626. end
  1627. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1628. ANIM = "Walk"
  1629. WALK = WALK + 1 / Animation_Speed
  1630. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1631. WALK = 0
  1632. if WALKINGANIM == true then
  1633. WALKINGANIM = false
  1634. elseif WALKINGANIM == false then
  1635. WALKINGANIM = true
  1636. end
  1637. end
  1638. --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)
  1639. --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)
  1640. if ATTACK == false then
  1641. if Speed < 35 then
  1642. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1643. 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)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. else
  1649. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. 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)
  1654. 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)
  1655. end
  1656. end
  1657. end
  1658. unanchor()
  1659. Humanoid.MaxHealth = "inf"
  1660. Humanoid.Health = "inf"
  1661. if Rooted == false then
  1662. Disable_Jump = false
  1663. Humanoid.WalkSpeed = Speed
  1664. elseif Rooted == true then
  1665. Disable_Jump = true
  1666. Humanoid.WalkSpeed = 0
  1667. end
  1668. local MATHS = {"0","1"}
  1669. 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)]
  1670. Humanoid.PlatformStand = false
  1671. end
  1672.  
  1673. --//=================================\\
  1674. --\\=================================//
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. --//====================================================\\--
  1681. --|| END OF SCRIPT
  1682. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement