Advertisement
astronaut32

catlanaice

Jun 25th, 2017
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.59 KB | None | 0 0
  1. --// Animation Base Created by SavageMunkey
  2. script.Name = 'gtfoh >_> - gafael elfennol'
  3. wait(.05)
  4. local Module_Id = 0 --// Not required, but I use modules somtimes to load union'd models
  5. local Player = game:service'Players'.LocalPlayer
  6. repeat wait() until Player.Character
  7. local Character = Player.Character
  8. local Char, Plr = Character, Player
  9. local Mouse = Player:GetMouse()
  10. local height = 0
  11. local Projectiles={};
  12. --// Removers
  13. for i,v in pairs(Char:children()) do
  14. if v:IsA("Hat") then
  15. v:Destroy()
  16. end
  17. end
  18. for i,v in pairs(Char:children()) do
  19. if v:IsA("Accessory") then
  20. v:Destroy()
  21. end
  22. end
  23. for i,v in pairs(Char:children()) do
  24. if v:IsA("Hair") then
  25. v:Destroy()
  26. end
  27. end
  28. --// Name tag, Torso
  29. CV="Maroon"
  30. p = game.Players.LocalPlayer
  31. char = p.Character
  32. local txt = Instance.new("BillboardGui", char)
  33. txt.Adornee = char .Head
  34. txt.Name = "_status"
  35. txt.Size = UDim2.new(2, 0, 1.2, 0)
  36. txt.StudsOffset = Vector3.new(-9, 8, 0)
  37. local text = Instance.new("TextLabel", txt)
  38. text.Size = UDim2.new(10, 0, 7, 0)
  39. text.FontSize = "Size24"
  40. text.TextScaled = true
  41. text.TextTransparency = 0
  42. text.BackgroundTransparency = 1
  43. text.TextTransparency = 0
  44. text.TextStrokeTransparency = 0
  45. text.Font = "Bodoni"
  46. text.TextStrokeColor3 = Color3.new(255,255,255)
  47.  
  48. local torsmesh = Instance.new("CharacterMesh", char)
  49. torsmesh.BodyPart = "Torso"
  50. torsmesh.MeshId = "48112070"
  51.  
  52. v=Instance.new("Part")
  53. v.Name = "ColorBrick"
  54. v.Parent=p.Character
  55. v.FormFactor="Symmetric"
  56. v.Anchored=true
  57. v.CanCollide=false
  58. v.BottomSurface="Smooth"
  59. v.TopSurface="Smooth"
  60. v.Size=Vector3.new(10,5,3)
  61. v.Transparency=1
  62. v.CFrame=char.Torso.CFrame
  63. v.BrickColor=BrickColor.new(CV)
  64. v.Transparency=1
  65. text.TextColor3 = Color3.new(0,0,0)
  66. v.Shape="Block"
  67. text.Text = "Lanalanakarp -BlackCat-"
  68. --// Settings
  69.  
  70.  
  71. local NotifyKeyPresses = false
  72. local CanRun = false
  73.  
  74. --// Limbs and what not
  75.  
  76. local Torso = Char:WaitForChild'Torso'
  77. local Head = Char:WaitForChild'Head'
  78. local Left_Arm = Char:WaitForChild'Left Arm'
  79. local Right_Arm = Char:WaitForChild'Right Arm'
  80. local Left_Leg = Char:WaitForChild'Left Leg'
  81. local Right_Leg = Char:WaitForChild'Right Leg'
  82. local HumanoidRootPart = Char:WaitForChild'HumanoidRootPart'
  83. local Humanoid = Char:WaitForChild'Humanoid'
  84. --// MusicPlayer
  85. --691666497 real music
  86. --670607453 bendy and the ink machine
  87. --535846047 marshmello alone
  88. --510432947 troll
  89. --415880409 laugh
  90. --503328898 war music
  91. local s = Instance.new("Sound",Char)
  92. s.Name = "BGMusic"
  93. s.SoundId = "http://www.roblox.com/asset/?id=535846047"
  94. s.Volume = 5
  95. s.Looped = true
  96. s.archivable = false
  97. s.Parent = Char.Head
  98. wait(0.1)
  99. s:play()
  100. --// Debounces
  101.  
  102. local DebounceKeyDown, DebounceState = false, false
  103. local DebounceAFKAnimations = false
  104.  
  105. --// Other Things
  106.  
  107. local State, LastState, Mode = 'Idle', 'Normal'
  108. local AFKAnimSequenceCount,MaxSequenceCount = 0,200
  109.  
  110. --// Abbreiviations
  111.  
  112. local char,Char,plr,Plr = Character, Character, Player, Player
  113. local mouse,ms = Mouse, Mouse
  114. local dkd, debkd = DebounceKeyDown, DebounceKeyDown
  115. local dst, debst, ds, debs = DebounceState,DebounceState,DebounceState,DebounceState
  116. local daa,dafk,debafk = DebounceAFKAnimations,DebounceAFKAnimations,DebounceAFKAnimations
  117. local rs = game:service'RunService'
  118. local lrs = rs.RenderStepped
  119. local srs = rs.Heartbeat
  120. local lleg,rleg = Left_Leg, Right_Leg
  121. local larm,rarm = Left_Arm, Right_Arm
  122. local hed,torr,torso = Head, Torso, Torso
  123. local hum, root = Humanoid, HumanoidRootPart
  124. local vec3,vec2 = Vector3.new, Vector2.new
  125. local sin, cos, atan, rad, rand, rands = math.sin, math.cos, math.atan, math.rad, math.random, math.randomseed
  126. local cf, ang, eu = CFrame.new, CFrame.Angles, CFrame.fromEulerAnglesXYZ
  127. local bc,bcr,c3 = BrickColor.new,BrickColor.Random,Color3.new
  128. --//Shirt And Pants, Face
  129.  
  130. char.Shirt.ShirtTemplate = "rbxassetid://776804525"
  131. char.Pants.PantsTemplate = "rbxassetid://780566972"
  132.  
  133. char.Head.face.Texture = "rbxassetid://852561795"
  134.  
  135.  
  136. --// Reaper
  137. Reaper2 = Instance.new("Model")
  138. Reaper2.Parent = Player.Character
  139. Reaper2.Name = "Reaper2"
  140. rh2 = Instance.new("Part")
  141. rh2.Parent = Reaper2
  142. rh2.BrickColor = BrickColor.new("Really black")
  143. rh2.Locked = true
  144. rh2.CanCollide = false
  145. mesh2 = Instance.new("SpecialMesh")
  146. rh2.formFactor = "Symmetric"
  147. mesh2.MeshType = "FileMesh"
  148. mesh2.MeshId = "http://www.roblox.com/asset/?id=167554431"
  149. mesh2.Parent = rh2
  150. local weld2 = Instance.new("Weld")
  151. weld2.Parent = rh2
  152. rh2.Transparency = 0
  153. weld2.Part0 = rh2
  154. weld2.Part1 = Player.Character.Head
  155. weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0)
  156.  
  157. local p = Instance.new("Part", char)
  158. p.Name = "Ears"
  159. p.BrickColor = BrickColor.new("White")
  160. p.Size = Vector3.new(3, 3, 3)
  161. p.BottomSurface = 0
  162. p.TopSurface = 0
  163. p.Position = char.Head.Position
  164. local pweld = Instance.new("Weld", p)
  165. pweld.Part0 = char.Head
  166. pweld.Part1 = p
  167. pweld.C0 = CFrame.new(0, 0.7, 0)
  168. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180))
  169. local earmesh = Instance.new("SpecialMesh", p)
  170. earmesh.MeshType = "FileMesh"
  171. earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  172. earmesh.Scale = Vector3.new(1.1, 1.5, 3)
  173. --// Removals and error prevention
  174. local noothers=false
  175. if noothers then
  176. for i,v in next, char:children() do
  177. if v:IsA'Accessory' then v:Destroy() end
  178. if v:IsA'Shirt' then v:Destroy() end
  179. if v:IsA'Pants' then v:Destroy() end
  180. --if v:IsA'Shirt Graphic' then v:Destroy() end
  181. end
  182. pcall(function()
  183. char['Shirt Graphic']:Destroy()
  184. end)
  185. pcall(function()
  186. torso.roblox:Destroy()
  187. end)
  188. pcall(function()
  189. head.face:Destroy()
  190. end)
  191. end
  192.  
  193. if hed:FindFirstChild'Running' then
  194. hed:WaitForChild'Running'.Volume = 0
  195. end
  196. pcall(function()
  197. local bc = char['Body Colors']
  198. local clr = BrickColor.new('Institutional white')
  199. bc.HeadColor=clr
  200. bc.LeftArmColor=clr
  201. end)
  202. --game:service'InsertService':LoadAsset(13702134):children()[1].Parent=char
  203. --game:service'InsertService':LoadAsset(71484026):children()[1].Parent=char
  204. if Char:FindFirstChild'Animate' then
  205. local Anim = Char:WaitForChild'Animate'
  206. local Anim_2 = Anim:Clone()
  207. Anim_2.Disabled = true
  208. Anim_2.Parent = Char
  209. Anim.Disabled = true
  210. Anim_2.Disabled = false
  211. end
  212. if Char:FindFirstChild'Health' then
  213. ypcall(game.Destroy, Char.Health)
  214. end
  215.  
  216. --// Base Functions
  217.  
  218. Weld = function(to, from, c1)
  219. local New_Weld = Instance.new('Weld', to)
  220. New_Weld.Part0 = from
  221. New_Weld.Part1 = to
  222. New_Weld.C1 = c1
  223. return New_Weld
  224. end
  225.  
  226. clerp = function(c1,c2,al)
  227. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  228. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  229. for i,v in pairs(com1) do
  230. com1[i] = v+(com2[i]-v)*al
  231. end
  232. return cf(com1[1],com1[2],com1[3]) * ang(select(4,unpack(com1)))--]]
  233. end
  234.  
  235. lerp = function(c1,c2,al)
  236. return c1:lerp(c2,al)
  237. end
  238.  
  239. snd = function(Id, Parent)
  240. local Sound = Instance.new('Sound', Parent)
  241. Sound.Volume = .25
  242. Sound.SoundId='rbxassetid://'..Id
  243. Sound.PlaybackSpeed=.95
  244. wait()
  245. return Sound
  246. end
  247.  
  248. local sine, change = 0, 1
  249.  
  250. --// Model Optional
  251.  
  252. local m = Instance.new("Model")
  253. m.Name = "fingers"
  254. p1 = Instance.new("Part", m)
  255. p1.BrickColor = BrickColor.new("Medium stone grey")
  256. p1.Name = "middle"
  257. p1.CFrame = CFrame.new(12.4999723, 5.0500493, 21.9000034, 1, -2.44602666e-006, -1.10638405e-006, 2.44602711e-006, 1, 4.63209261e-007, 1.10638291e-006, -4.63211961e-007, 1)
  258. p1.Size = Vector3.new(0.215000004, 0.700000048, 0.215000004)
  259. p2 = Instance.new("Part", m)
  260. p2.BrickColor = BrickColor.new("Medium stone grey")
  261. p2.Name = "pointer"
  262. p2.CFrame = CFrame.new(12.7999716, 5.00005007, 21.9000034, 1, -2.44602666e-006, -1.10638405e-006, 2.44602711e-006, 1, 4.63209261e-007, 1.10638291e-006, -4.63211961e-007, 1)
  263. p2.Size = Vector3.new(0.215000004, 0.600000024, 0.215000004)
  264. p3 = Instance.new("Part", m)
  265. p3.BrickColor = BrickColor.new("Medium stone grey")
  266. p3.Name = "thumb"
  267. p3.CFrame = CFrame.new(12.8999729, 4.95004988, 21.3500023, 1, -2.44602666e-006, -1.10638405e-006, 2.44602711e-006, 1, 4.63209261e-007, 1.10638291e-006, -4.63211961e-007, 1)
  268. p3.Size = Vector3.new(0.215000004, 0.49999997, 0.215000004)
  269. p4 = Instance.new("Part", m)
  270. p4.BrickColor = BrickColor.new("Medium stone grey")
  271. p4.Transparency = 1
  272. p4.Name = "armHW"
  273. p4.CFrame = CFrame.new(12.4999943, 3.7000339, 21.5, -1.10638405e-006, 2.44602666e-006, 1, 4.63209261e-007, -1, 2.44602711e-006, 1, 4.63211961e-007, 1.10638291e-006)
  274. p4.Size = Vector3.new(1, 2, 1)
  275. p5 = Instance.new("Part", m)
  276. p5.BrickColor = BrickColor.new("Medium stone grey")
  277. p5.Name = "pinky"
  278. p5.CFrame = CFrame.new(12.1999722, 4.95004845, 21.9000034, 1, -2.44602666e-006, -1.10638405e-006, 2.44602711e-006, 1, 4.63209261e-007, 1.10638291e-006, -4.63211961e-007, 1)
  279. p5.Size = Vector3.new(0.215000004, 0.5, 0.215000004)
  280. w1 = Instance.new("Weld", p1)
  281. w1.Name = "pointer_Weld"
  282. w1.Part0 = p1
  283. w1.C0 = CFrame.new(-12.4999819, -2.35001493, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  284. w1.Part1 = p2
  285. w1.C1 = CFrame.new(-12.7999811, -2.30001497, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  286. w2 = Instance.new("Weld", p2)
  287. w2.Name = "thumb_Weld"
  288. w2.Part0 = p2
  289. w2.C0 = CFrame.new(-12.7999811, -2.30001497, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  290. w2.Part1 = p3
  291. w2.C1 = CFrame.new(-12.8999815, -2.25001502, -21.3500023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  292. w3 = Instance.new("Weld", p3)
  293. w3.Name = "armHW_Weld"
  294. w3.Part0 = p3
  295. w3.C0 = CFrame.new(-12.8999815, -2.25001502, -21.3500023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  296. w3.Part1 = p4
  297. w3.C1 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  298. w4 = Instance.new("Weld", p4)
  299. w4.Name = "pinky_Weld"
  300. w4.Part0 = p4
  301. w4.C0 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  302. w4.Part1 = p5
  303. w4.C1 = CFrame.new(-12.1999817, -2.25001502, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  304.  
  305. local f1 = m
  306. f1.Parent=nil
  307.  
  308. local m = Instance.new("Model")
  309. m.Name = "fingers"
  310. p1 = Instance.new("Part", m)
  311. p1.BrickColor = BrickColor.new("Medium stone grey")
  312. p1.Name = "middle"
  313. p1.CFrame = CFrame.new(12.499938, 2.32821345, 21.9010067, 1, -5.83338333e-005, -2.72759116e-005, 5.83215806e-005, 0.99999994, -0.000448981504, 2.73021014e-005, 0.000448979932, 0.999999881)
  314. p1.Size = Vector3.new(0.215000004, 0.700000048, 0.215000004)
  315. p2 = Instance.new("Part", m)
  316. p2.BrickColor = BrickColor.new("Medium stone grey")
  317. p2.Name = "pointer"
  318. p2.CFrame = CFrame.new(12.199975, 2.28902912, 21.9004459, 1, 1.32215405e-006, -9.40560881e-007, -1.32249284e-006, 0.99999994, -0.000360308099, 9.40084419e-007, 0.000360308099, 0.99999994)
  319. p2.Size = Vector3.new(0.215000004, 0.600000024, 0.215000004)
  320. p3 = Instance.new("Part", m)
  321. p3.BrickColor = BrickColor.new("Medium stone grey")
  322. p3.Name = "thumb"
  323. p3.CFrame = CFrame.new(12.0999737, 2.23922753, 21.3504276, 1, 1.32215405e-006, -9.40560881e-007, -1.32249284e-006, 0.99999994, -0.000360308099, 9.40084419e-007, 0.000360308099, 0.99999994)
  324. p3.Size = Vector3.new(0.215000004, 0.49999997, 0.215000004)
  325. p4 = Instance.new("Part", m)
  326. p4.BrickColor = BrickColor.new("Medium stone grey")
  327. p4.Transparency = 1
  328. p4.Name = "armHW"
  329. p4.CFrame = CFrame.new(12.4999924, 0.989158094, 21.4999752, -9.40560881e-007, -1.32215405e-006, 1, -0.000360308099, -0.99999994, -1.32249284e-006, 0.99999994, -0.000360308099, 9.40084419e-007)
  330. p4.Size = Vector3.new(1, 2, 1)
  331. p5 = Instance.new("Part", m)
  332. p5.BrickColor = BrickColor.new("Medium stone grey")
  333. p5.Name = "pinky"
  334. p5.CFrame = CFrame.new(12.7999744, 2.23902845, 21.9004288, 1, 1.32215405e-006, -9.40560881e-007, -1.32249284e-006, 0.99999994, -0.000360308099, 9.40084419e-007, 0.000360308099, 0.99999994)
  335. p5.Size = Vector3.new(0.215000004, 0.5, 0.215000004)
  336. w1 = Instance.new("Weld", p4)
  337. w1.Name = "pointer_Weld"
  338. w1.Part0 = p4
  339. w1.C0 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  340. w1.Part1 = p2
  341. w1.C1 = CFrame.new(-12.1999817, -2.30001497, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  342. w2 = Instance.new("Weld", p4)
  343. w2.Name = "thumb_Weld"
  344. w2.Part0 = p4
  345. w2.C0 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  346. w2.Part1 = p3
  347. w2.C1 = CFrame.new(-12.0999794, -2.25001502, -21.3500023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. w3 = Instance.new("Weld", p4)
  349. w3.Name = "armHW_Weld"
  350. w3.Part0 = p4
  351. w3.C0 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  352. w3.Part1 = p4
  353. w3.C1 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  354. w4 = Instance.new("Weld", p4)
  355. w4.Name = "pinky_Weld"
  356. w4.Part0 = p4
  357. w4.C0 = CFrame.new(-21.5, 1, -12.5, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  358. w4.Part1 = p5
  359. w4.C1 = CFrame.new(-12.7999811, -2.25001502, -21.9000034, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  360.  
  361. local f2=m
  362. f2.Parent=nil
  363. --// Welds
  364.  
  365. local m = Instance.new("Model")
  366. m.Name = "arm_brace"
  367. p1 = Instance.new("Part", m)
  368. p1.BrickColor = BrickColor.new("Medium stone grey")
  369. p1.Transparency = 1
  370. p1.Name = "armhw"
  371. p1.CFrame = CFrame.new(3.49999666, 1.00002205, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  372. p1.Size = Vector3.new(1, 2, 1)
  373. b1 = Instance.new("SpecialMesh", p1)
  374. b1.MeshId = "rbxasset://fonts/rightarm.mesh"
  375. b1.TextureId = ""
  376. b1.MeshType = Enum.MeshType.FileMesh
  377. b1.Name = "Mesh"
  378. p2 = Instance.new("Part", m)
  379. p2.BrickColor = BrickColor.new("Institutional white")
  380. p2.Name = "part"
  381. p2.CFrame = CFrame.new(3.49999666, 1.810022, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  382. p2.Size = Vector3.new(1, 0.200000003, 1)
  383. b2 = Instance.new("SpecialMesh", p2)
  384. b2.MeshId = "rbxasset://fonts/rightarm.mesh"
  385. b2.TextureId = ""
  386. b2.MeshType = Enum.MeshType.FileMesh
  387. b2.Name = "Mesh"
  388. b2.Scale = Vector3.new(1.02999997, 0.0500000007, 1.02999997)
  389. p3 = Instance.new("Part", m)
  390. p3.BrickColor = BrickColor.new("Institutional white")
  391. p3.Name = "part"
  392. p3.CFrame = CFrame.new(3.49999666, 1.65002191, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  393. p3.Size = Vector3.new(1, 0.200000003, 1)
  394. b3 = Instance.new("SpecialMesh", p3)
  395. b3.MeshId = "rbxasset://fonts/rightarm.mesh"
  396. b3.TextureId = ""
  397. b3.MeshType = Enum.MeshType.FileMesh
  398. b3.Name = "Mesh"
  399. b3.Scale = Vector3.new(1.02999997, 0.0500000007, 1.02999997)
  400. p4 = Instance.new("Part", m)
  401. p4.BrickColor = BrickColor.new("Bright bluish green")
  402. p4.Material = Enum.Material.Neon
  403. p4.Name = "part"
  404. p4.CFrame = CFrame.new(3.49999666, 1.73002207, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  405. p4.Size = Vector3.new(1, 0.200000003, 1)
  406. b4 = Instance.new("SpecialMesh", p4)
  407. b4.MeshId = "rbxasset://fonts/rightarm.mesh"
  408. b4.TextureId = ""
  409. b4.MeshType = Enum.MeshType.FileMesh
  410. b4.Name = "Mesh"
  411. b4.Scale = Vector3.new(1.03199995, 0.0250000004, 1.03199995)
  412. p5 = Instance.new("Part", m)
  413. p5.BrickColor = BrickColor.new("Institutional white")
  414. p5.Name = "part"
  415. p5.CFrame = CFrame.new(3.49999666, 0.820021987, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  416. p5.Size = Vector3.new(1, 1.62, 1)
  417. b5 = Instance.new("BlockMesh", p5)
  418. b5.Name = "Mesh"
  419. b5.Scale = Vector3.new(1.01499999, 1, 0.100000001)
  420. p6 = Instance.new("Part", m)
  421. p6.BrickColor = BrickColor.new("Institutional white")
  422. p6.Name = "part"
  423. p6.CFrame = CFrame.new(3.49999666, 1.53002203, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  424. p6.Size = Vector3.new(1, 0.200000003, 1)
  425. b6 = Instance.new("BlockMesh", p6)
  426. b6.Name = "Mesh"
  427. b6.Scale = Vector3.new(1.14999998, 1, 0.100000001)
  428. p7 = Instance.new("Part", m)
  429. p7.BrickColor = BrickColor.new("Smoky grey")
  430. p7.Name = "part"
  431. p7.CFrame = CFrame.new(3.49999666, 1.5300225, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  432. p7.Shape = Enum.PartType.Cylinder
  433. p7.Size = Vector3.new(1, 0.200000003, 1)
  434. b7 = Instance.new("SpecialMesh", p7)
  435. b7.MeshType = Enum.MeshType.Cylinder
  436. b7.Name = "Mesh"
  437. b7.Scale = Vector3.new(1.125, 1, 1)
  438. p8 = Instance.new("Part", m)
  439. p8.BrickColor = BrickColor.new("Smoky grey")
  440. p8.Name = "part"
  441. p8.CFrame = CFrame.new(3.49999666, 1.5300225, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  442. p8.Shape = Enum.PartType.Cylinder
  443. p8.Size = Vector3.new(1, 0.200000003, 1)
  444. b8 = Instance.new("SpecialMesh", p8)
  445. b8.MeshType = Enum.MeshType.Cylinder
  446. b8.Name = "Mesh"
  447. b8.Scale = Vector3.new(1.20000005, 0.25, 0.25)
  448. p9 = Instance.new("Part", m)
  449. p9.BrickColor = BrickColor.new("Fossil")
  450. p9.Name = "part"
  451. p9.CFrame = CFrame.new(3.49999666, 1.64002216, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  452. p9.Size = Vector3.new(1, 0.200000003, 1)
  453. b9 = Instance.new("BlockMesh", p9)
  454. b9.Name = "Mesh"
  455. b9.Scale = Vector3.new(1.14999998, 0.100000001, 0.100000001)
  456. p10 = Instance.new("Part", m)
  457. p10.BrickColor = BrickColor.new("Fossil")
  458. p10.Name = "part"
  459. p10.CFrame = CFrame.new(3.49999666, 1.42002213, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  460. p10.Size = Vector3.new(1, 0.200000003, 1)
  461. b10 = Instance.new("BlockMesh", p10)
  462. b10.Name = "Mesh"
  463. b10.Scale = Vector3.new(1.14999998, 0.100000001, 0.100000001)
  464. p11 = Instance.new("Part", m)
  465. p11.BrickColor = BrickColor.new("Institutional white")
  466. p11.Name = "part"
  467. p11.CFrame = CFrame.new(3.49999666, 0.820021987, 23.7000046, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  468. p11.Size = Vector3.new(1, 1.62, 1)
  469. b11 = Instance.new("BlockMesh", p11)
  470. b11.Name = "Mesh"
  471. b11.Scale = Vector3.new(1.01499999, 1, 0.0250000004)
  472. p12 = Instance.new("Part", m)
  473. p12.BrickColor = BrickColor.new("Institutional white")
  474. p12.Name = "part"
  475. p12.CFrame = CFrame.new(3.89999628, 0.820021987, 23.7000046, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  476. p12.Size = Vector3.new(1, 1.62, 1)
  477. b12 = Instance.new("BlockMesh", p12)
  478. b12.Name = "Mesh"
  479. b12.Scale = Vector3.new(1.01499999, 1, 0.0250000004)
  480. p13 = Instance.new("Part", m)
  481. p13.BrickColor = BrickColor.new("Institutional white")
  482. p13.Name = "part"
  483. p13.CFrame = CFrame.new(3.09999609, 0.820021987, 23.7000046, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  484. p13.Size = Vector3.new(1, 1.62, 1)
  485. b13 = Instance.new("BlockMesh", p13)
  486. b13.Name = "Mesh"
  487. b13.Scale = Vector3.new(1.01499999, 1, 0.0250000004)
  488. p14 = Instance.new("Part", m)
  489. p14.BrickColor = BrickColor.new("Institutional white")
  490. p14.Name = "part"
  491. p14.CFrame = CFrame.new(3.49999666, 0.250021935, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  492. p14.Size = Vector3.new(1, 0.200000003, 1)
  493. b14 = Instance.new("SpecialMesh", p14)
  494. b14.MeshId = "rbxasset://fonts/rightarm.mesh"
  495. b14.TextureId = ""
  496. b14.MeshType = Enum.MeshType.FileMesh
  497. b14.Name = "Mesh"
  498. b14.Scale = Vector3.new(1.02999997, 0.0500000007, 1.02999997)
  499. p15 = Instance.new("Part", m)
  500. p15.BrickColor = BrickColor.new("Institutional white")
  501. p15.Name = "part"
  502. p15.CFrame = CFrame.new(3.49999666, 0.450021982, 23.7000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  503. p15.Size = Vector3.new(1, 0.200000003, 1)
  504. b15 = Instance.new("SpecialMesh", p15)
  505. b15.MeshId = "rbxasset://fonts/rightarm.mesh"
  506. b15.TextureId = ""
  507. b15.MeshType = Enum.MeshType.FileMesh
  508. b15.Name = "Mesh"
  509. b15.Scale = Vector3.new(1.02999997, 0.0500000007, 1.02999997)
  510. w1 = Instance.new("Weld", p1)
  511. w1.Name = "part_Weld"
  512. w1.Part0 = p1
  513. w1.C0 = CFrame.new(-4.5, -1.4000001, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  514. w1.Part1 = p2
  515. w1.C1 = CFrame.new(-4.5, -2.21000004, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  516. w2 = Instance.new("Weld", p2)
  517. w2.Name = "part_Weld"
  518. w2.Part0 = p2
  519. w2.C0 = CFrame.new(-4.5, -2.21000004, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  520. w2.Part1 = p3
  521. w2.C1 = CFrame.new(-4.5, -2.04999995, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  522. w3 = Instance.new("Weld", p3)
  523. w3.Name = "part_Weld"
  524. w3.Part0 = p3
  525. w3.C0 = CFrame.new(-4.5, -2.04999995, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  526. w3.Part1 = p4
  527. w3.C1 = CFrame.new(-4.5, -2.13000011, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  528. w4 = Instance.new("Weld", p4)
  529. w4.Name = "part_Weld"
  530. w4.Part0 = p4
  531. w4.C0 = CFrame.new(-4.5, -2.13000011, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  532. w4.Part1 = p5
  533. w4.C1 = CFrame.new(-4.5, -1.22000003, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  534. w5 = Instance.new("Weld", p5)
  535. w5.Name = "part_Weld"
  536. w5.Part0 = p5
  537. w5.C0 = CFrame.new(-4.5, -1.22000003, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  538. w5.Part1 = p6
  539. w5.C1 = CFrame.new(-4.5, -1.93000007, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. w6 = Instance.new("Weld", p6)
  541. w6.Name = "part_Weld"
  542. w6.Part0 = p6
  543. w6.C0 = CFrame.new(-4.5, -1.93000007, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  544. w6.Part1 = p7
  545. w6.C1 = CFrame.new(-4.5, -1.93000054, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  546. w7 = Instance.new("Weld", p7)
  547. w7.Name = "part_Weld"
  548. w7.Part0 = p7
  549. w7.C0 = CFrame.new(-4.5, -1.93000054, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  550. w7.Part1 = p8
  551. w7.C1 = CFrame.new(-4.5, -1.93000054, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  552. w8 = Instance.new("Weld", p8)
  553. w8.Name = "part_Weld"
  554. w8.Part0 = p8
  555. w8.C0 = CFrame.new(-4.5, -1.93000054, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  556. w8.Part1 = p9
  557. w8.C1 = CFrame.new(-4.5, -2.0400002, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  558. w9 = Instance.new("Weld", p9)
  559. w9.Name = "part_Weld"
  560. w9.Part0 = p9
  561. w9.C0 = CFrame.new(-4.5, -2.0400002, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  562. w9.Part1 = p10
  563. w9.C1 = CFrame.new(-4.5, -1.82000017, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  564. w10 = Instance.new("Weld", p10)
  565. w10.Name = "part_Weld"
  566. w10.Part0 = p10
  567. w10.C0 = CFrame.new(-4.5, -1.82000017, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  568. w10.Part1 = p11
  569. w10.C1 = CFrame.new(23.5, -1.22000003, -4.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  570. w11 = Instance.new("Weld", p11)
  571. w11.Name = "part_Weld"
  572. w11.Part0 = p11
  573. w11.C0 = CFrame.new(23.5, -1.22000003, -4.5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  574. w11.Part1 = p12
  575. w11.C1 = CFrame.new(23.5, -1.22000003, -4.89999962, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  576. w12 = Instance.new("Weld", p12)
  577. w12.Name = "part_Weld"
  578. w12.Part0 = p12
  579. w12.C0 = CFrame.new(23.5, -1.22000003, -4.89999962, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  580. w12.Part1 = p13
  581. w12.C1 = CFrame.new(23.5, -1.22000003, -4.09999943, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  582. w13 = Instance.new("Weld", p13)
  583. w13.Name = "part_Weld"
  584. w13.Part0 = p13
  585. w13.C0 = CFrame.new(23.5, -1.22000003, -4.09999943, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  586. w13.Part1 = p14
  587. w13.C1 = CFrame.new(-4.5, -0.649999976, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  588. w14 = Instance.new("Weld", p14)
  589. w14.Name = "part_Weld"
  590. w14.Part0 = p14
  591. w14.C0 = CFrame.new(-4.5, -0.649999976, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  592. w14.Part1 = p15
  593. w14.C1 = CFrame.new(-4.5, -0.850000024, -23.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  594.  
  595. local b1=m
  596. b1.Parent=char
  597.  
  598. local handle1 = nil
  599. local hitbox1 = nil
  600. local trailbox1 = nil
  601.  
  602. local llw = Weld(Left_Leg, Torso, cf(.5,2,0))
  603. local rlw = Weld(Right_Leg, Torso, cf(-.5,2,0))
  604. local raw = Weld(Right_Arm, Torso, cf(-1.5,0,0))
  605. local law = Weld(Left_Arm, Torso, cf(1.5,0,0))
  606. local torw = Weld(Torso, HumanoidRootPart, cf(0,0,0))
  607. local hedw = Weld(Head, Torso, cf(0,-1.5,0))
  608. local h1w = Weld(rarm, f2['armHW'], cf(0,0,0)*ang(0,rad(0),0)) --// if weapon model
  609. local bracew = Weld(rarm, b1['armhw'], cf(0,0,0)*ang(0,0,0)) --// if weapon model
  610. --local tw=f2['armHW'].thumb_Weld
  611. --local pinw=f2['armHW'].pinky_Weld
  612. --local poiw=f2['armHW'].pointer_Weld
  613. --local mw=f2['armHW'].middle_Weld
  614. --local h2w = Weld(larm, f1['armHW'], cf(0,0,0)*ang(0,rad(90),0))--// if dual weapon model
  615.  
  616. --[[ State Example: Arms Out
  617. raw.C0 = clerp(raw.C0, cf(0,.5,-.5)*ang(rad(90),0,0),.1)
  618. law.C0 = clerp(law.C0, cf(0,.5,-.5)*ang(rad(90),0,0),.1)
  619. --]]
  620.  
  621. local Used = {
  622. Executed={};
  623. Failed={};
  624. };
  625. local Keys={};
  626.  
  627. local BindKey = function(Name, Key, Function)
  628. local keydown
  629. Keys[Key]=Name
  630. keydown = mouse.KeyDown:connect(function(key)
  631. if Key:lower() == key:lower() then
  632. if dkd then
  633. table.insert(Used.Failed, {Name, Key, Function})
  634. else
  635. if NotifyKeyPresses then
  636. warn('executed('..Name..', "'..tostring(Key:upper())..'")')
  637. end
  638. Function(Name, Key)
  639. if NotifyKeyPresses then
  640. warn('ended('..Name..')')
  641. end
  642. table.insert(Used.Executed, {Name, Key, Function})
  643. end
  644. end
  645. end)
  646. end
  647.  
  648. --[[
  649.  
  650. BindKey('Attack Name', 'Key{Not case sensative}', function(AttackName, Key)
  651. ds,dkd = true,true
  652. for i = 0,1,.05 do
  653. local animspd = .1
  654. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  655. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  656. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  657. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  658. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  659. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  660. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  661. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  662. lrs:wait()
  663. end
  664. for i = 0,1,.05 do
  665. local animspd = .1
  666. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  667. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  668. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  669. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  670. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  671. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  672. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  673. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  674. lrs:wait()
  675. end
  676. ds,dkd = false,false
  677. end)
  678.  
  679. --]]
  680.  
  681. function rainb(hue)
  682. local section = hue % 1 * 3
  683. local secondary = 0.5 * math.pi * (section % 1)
  684. if section < 1 then
  685. return c3(1, 1 - cos(secondary), 1 - sin(secondary))
  686. elseif section < 2 then
  687. return c3(1 - sin(secondary), 1, 1 - cos(secondary))
  688. else
  689. return c3(1 - cos(secondary), 1 - sin(secondary), 1)
  690. end
  691. end
  692.  
  693. local CRIT = false
  694. showDamage = function(Parent, Txt, RemovalTime, Clr)
  695. ypcall(function()
  696. --// Sav's ShowDamage script
  697. if string.find('critical',Txt:lower()) then
  698. Clr = 'Really red'
  699. print'crit'
  700. end
  701. local Clr_Raw = Clr
  702. if Clr == nil then Clr = 'Mulberry' end
  703. Clr = bc(Clr).Color
  704. local Pert = Instance.new('Part', Parent)
  705. Pert.Size = vec3(.2,.2,.2)
  706. Pert.Transparency = 1
  707. Pert.CanCollide = false
  708. Pert.Anchored = true
  709. Pert.CFrame = Parent:FindFirstChild'Head'.CFrame
  710. Pert.BrickColor = bc'Really black'
  711. local Gui = Instance.new('BillboardGui',Pert)
  712. Gui.Adornee = Pert
  713. local n2 = 10
  714. Gui.Size = UDim2.new(n2,0,n2,0)
  715. local TextL = Instance.new('TextLabel', Gui)
  716. local r,g,b = Clr.r,Clr.g,Clr.b
  717. local clr = c3(r,g,b)
  718. if Clr_Raw:lower() == 'rainbow' then
  719. lrs:connect(function()
  720. Clr = rainb(tick()/3)
  721. r,g,b = Clr.r,Clr.g,Clr.b
  722. clr = c3(r,g,b)
  723. end)
  724. end
  725. ypcall(function()
  726. if type(tonumber(Txt)) == 'number' then
  727. TextL.Text = tostring(math.floor(tonumber(Txt)))
  728. else
  729. TextL.Text = tostring(Txt)
  730. end
  731. end)
  732. TextL.BackgroundTransparency = 1
  733. TextL.Font = 'SourceSansLight'
  734. TextL.Size = UDim2.new(1,0,1,0)
  735. TextL.TextScaled = true
  736. TextL.FontSize = 'Size8'
  737. TextL.TextColor3 = clr
  738. local n = 10
  739. local sp = Pert.CFrame * cf(rand(-n,n),rand(-n,n),rand(-n,n))
  740. lrs:connect(function()
  741. Pert.CFrame = clerp(Pert.CFrame,sp,.01)
  742. clr = c3(r,g,b)
  743. TextL.TextColor3 = clr
  744. end)
  745. delay(RemovalTime+1, function()
  746. local rn,bn,gn = 1-r,1-b,1-g
  747. spawn(function()
  748. for i = 0,1,.025 do
  749. TextL.TextTransparency = i
  750. lrs:wait()
  751. end
  752. Pert:Destroy()
  753. end)
  754. spawn(function()
  755. for i = 0,rn,.01 do
  756. r = rn-i
  757. lrs:wait()
  758. end
  759. end)
  760. spawn(function()
  761. for i = 0,bn,.01 do
  762. b = bn-i
  763. lrs:wait()
  764. end
  765. end)
  766. spawn(function()
  767. for i = 0,gn,.01 do
  768. g = gn-i
  769. lrs:wait()
  770. end
  771. end)
  772. end)
  773. end)
  774. end
  775.  
  776. CheckIfLanded = function()
  777. local Ray = Ray.new(torso.Position,vec3(0,-1,0)*10)
  778. local Ignore = {Char}
  779. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  780. if Hit == nil then return false,nil end
  781. return true,Hit
  782. end;
  783.  
  784. FindNearestTorso = function(Position, Distance, SinglePlayer)
  785. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  786. local List = {}
  787. for i,v in pairs(workspace:GetChildren())do
  788. if v:IsA("Model")then
  789. if v:findFirstChild("Torso")then
  790. if v ~= Char then
  791. if(v.Torso.Position -Position).magnitude <= Distance then
  792. table.insert(List,v)
  793. end
  794. end
  795. end
  796. end
  797. end
  798. return List
  799. end
  800.  
  801. DebounceHit = false
  802.  
  803. NewFXBox = function(name,prnt)
  804. if prnt == nil then
  805. prnt = Character
  806. end
  807. local FXBox = Instance.new('Model', prnt)
  808. FXBox.Name = 'FXBox'
  809. if name then
  810. FXBox.Name = name
  811. end
  812. local Count = 0
  813. local Check
  814. Check = FXBox.ChildAdded:connect(function(Object)
  815. if Object:IsA'BasePart' then
  816. FXBox.PrimaryPart = Object
  817. Check:disconnect()
  818. end
  819. end)
  820. return FXBox
  821. end
  822.  
  823. ReSurface = function(Part, Integer)
  824. if Part ~= nil and Part:IsA'BasePart' then
  825. Part.TopSurface = Integer
  826. Part.BottomSurface = Integer
  827. Part.LeftSurface = Integer
  828. Part.RightSurface = Integer
  829. Part.FrontSurface = Integer
  830. Part.BackSurface = Integer
  831. end
  832. end
  833.  
  834. function ni(name,prnt)
  835. return Instance.new(tostring(name),prnt)
  836. end
  837.  
  838. local TrailModel = NewFXBox'TrailBOX'
  839. function NewPart(prnt)
  840. local NPart = ni('Part', prnt)
  841. ReSurface(NPart,10)
  842. if prnt:IsA'BasePart' then
  843. NPart.CFrame = prnt.CFrame
  844. end
  845. NPart.Anchored = true
  846. NPart.Size = vec3(1,1,1)
  847. NPart.CanCollide = false
  848. --NPart.TopSurface,NPart.BottomSurface=0,0
  849. NPart.BrickColor = bc'Toothpaste'
  850. return NPart
  851. end
  852.  
  853. function GenTrail(Origin, Time) --// SavageMunkey's Trail
  854. --[[
  855. local Last = Origin
  856. spawn(function()
  857. lrs:wait()
  858. Last = Origin
  859. local fb = NewFXBox('trails',nil)
  860. local Part = NewPart(fb)
  861. --Part.CFrame = Origin.CFrame
  862. end)
  863. --]]
  864. end
  865.  
  866. function MagDmg(Part,magni,knock,func)
  867. for _,c in pairs(workspace:children()) do
  868. local hum=c:findFirstChild("Humanoid")
  869. if hum~=nil then
  870. local head=c:findFirstChild("Torso")
  871. if head~=nil then
  872. local targ=head.Position-Part.Position
  873. local mag=targ.magnitude
  874. if mag<=magni and c.Name~=Player.Name then
  875. func(c,hum)
  876. end
  877. end
  878. end
  879. end
  880. end
  881.  
  882. local Element='Ice'
  883.  
  884. BindKey('Controls', ']', function(Name, Key)
  885. for i,v in next, Keys do
  886. warn('\' '..i:upper()..' \' : '..v)
  887. end
  888. end)
  889.  
  890. BindKey('Ground Water Ascend', 'g', function(AttackName, Key)
  891. ds,dkd = true,true
  892. local fb=NewFXBox('derp')
  893. for i = 0,1,.05 do
  894. local animspd = .15
  895. torw.C0 = clerp(torw.C0, cf(0,0,0)*CFrame.new(-1.90734863e-006, 2.6224041, -0.0868358612, 0.939692259, -2.83122063e-007, 0.342021227, -0.0593909919, 0.984807849, 0.163175672, -0.336825192, -0.17364791, 0.92541635)*ang(0,-rad(40),0),animspd)
  896. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(-0.0447119251, 0.0056065321, 0.122857794, 0.938856542, 0.0298092216, 0.34301576, -0.0560224578, 0.996194899, 0.0667644441, -0.339720368, -0.0818988383, 0.936954021)*ang(0,0,0),animspd)
  897. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(-0.330499291, 0.172678888, -0.699603319, 0.906182826, 0.387694091, 0.168896496, -0.0199337415, 0.438106418, -0.898702145, -0.42241621, 0.811021686, 0.404732645)*ang(0,0,0),animspd)
  898. raw.C0 = clerp(raw.C0, cf(0,0,0)*CFrame.new(0.264802456, -0.208232492, -0.1720258, 0.958214164, -0.284303367, -0.0315763652, 0.262002051, 0.916593254, -0.302012861, 0.114805937, 0.281119943, 0.952780902)*ang(0,0,0),animspd)
  899. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(-2.83122063e-006, 2.33650208e-005, -1.93715096e-006, 0.99999994, 0, 0, 0, 1, -1.49011612e-008, 0, -1.49011612e-008, 1.00000012)*ang(0,0,0),animspd)
  900. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.0261345506, 0.165382981, -0.928192735, 0.99999994, -1.49011612e-008, -2.98023224e-008, 0, 0.866025984, 0.499999344, 0, -0.499999344, 0.866025925)*ang(0,0,0),animspd)
  901. lrs:wait()
  902. end
  903. local hp=root.CFrame
  904. local positions={}
  905. local partz={}
  906. for i=0,16,2 do
  907. local np=NewPart(fb)
  908. np.CFrame=hp*ang(0,-rad(i),0)*cf(-8+i,-3.2,-14)*eu(rad(rand(-4,4)),rad(rand(-20,20)),rad(rand(-7,7)))
  909. np.Size=Vector3.new(2,.2,2)
  910. np.Transparency=1
  911. table.insert(positions,np.CFrame)
  912. local np2=NewPart(np)
  913. table.insert(partz,np)
  914. table.insert(partz,np2)
  915. np2.CFrame=np.CFrame*ang(rad(rand(-360,360)),rad(rand(-360,360)),rad(rand(-360,360)))
  916. np2.Size=Vector3.new(3.5,3.5,3.5)
  917. np2.Transparency=0
  918. np2.Material='Slate'
  919. np2.Color=bc'Pastel blue-green'.Color
  920. local P_E = Instance.new('ParticleEmitter', np)
  921. P_E.Color = ColorSequence.new(bc'Toothpaste'.Color,Color3.new(1,1,1))
  922. P_E.LightEmission = 1
  923. P_E.Size = NumberSequence.new(.1,.4)
  924. P_E.Texture = 'rbxassetid://242201991'
  925. P_E.Transparency = NumberSequence.new(.1,.3)
  926. P_E.ZOffset = 0
  927. P_E.Name = 'fog'
  928. P_E.LockedToPart = false
  929. P_E.Lifetime = NumberRange.new(1,3)
  930. P_E.Rate = 100
  931. P_E.RotSpeed = NumberRange.new(15,30)
  932. P_E.Speed = NumberRange.new(1,3)
  933. P_E.VelocitySpread = 80
  934. wait(.1)
  935. delay(5,function()
  936. P_E:Destroy()
  937. end)
  938. end
  939. wait(.2)
  940. delay(.1,function()
  941. for i,v in next, positions do
  942. local np3=NewPart(fb)
  943. table.insert(partz,np3)
  944. np3.CFrame=v*cf(0,-6,0)
  945. np3.Size=Vector3.new(3,12,3)
  946. np3.Transparency=.3
  947. np3.CanCollide=true
  948. np3.Material='Slate'
  949. np3.Color=bc'Pastel light blue'.Color
  950. spawn(function()
  951. local pos=np3.CFrame
  952. for i = 0,12,.5 do
  953. np3.CFrame=clerp(np3.CFrame,pos*cf(0,i,0),.2)
  954. lrs:wait()
  955. end
  956. end)
  957. end
  958. end)
  959. for i = 0,1,.05 do
  960. local animspd = .15
  961. torw.C0 = clerp(torw.C0, cf(0,0,0)*CFrame.new(-1.90734863e-006, 2.62240314, -0.0868415833, 0.93969202, -3.74391675e-007, 0.342022032, -0.0593913011, 0.984807849, 0.163176328, -0.336825907, -0.173648596, 0.925415754)*ang(0,-rad(40),0),animspd)
  962. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(-0.0535775274, 0.0289516449, -0.288858682, 0.943033874, 0.0357196219, 0.33077392, 0.0307064224, 0.98063153, -0.193440214, -0.331276864, 0.192577541, 0.923671782)*ang(0,0,0),animspd)
  963. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(-0.184325457, 0.845791936, -0.885428011, 0.906183124, 0.360723317, -0.22070609, -0.0199345555, -0.484886765, -0.874349892, -0.422415763, 0.796720564, -0.43220526)*ang(0,0,0),animspd)
  964. raw.C0 = clerp(raw.C0, cf(0,0,0)*CFrame.new(-0.179211617, 0.799872458, -0.283458829, 0.948380113, 0.313267231, -0.0493861586, 0.123820588, -0.509127736, -0.851737916, -0.291965395, 0.801656187, -0.521635532)*ang(0,0,0),animspd)
  965. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(-5.78165054e-006, 2.27689743e-005, -3.82959843e-006, 1.00000012, 1.86264515e-009, 2.98023224e-008, 1.86264515e-009, 1.00000012, 0, 2.98023224e-008, 0, 1)*ang(0,0,0),animspd)
  966. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.0261363983, 0.165383101, -0.928189278, 1.00000012, -1.49011612e-008, 0, 1.86264515e-009, 0.866026282, 0.499998599, 2.98023224e-008, -0.499998569, 0.866026282)*ang(0,0,0),animspd)
  967. lrs:wait()
  968. end
  969. delay(rand(8,16),function()
  970. for i,v in next, partz do
  971. spawn(function()
  972. for i = 0,2,.05 do
  973. v.Transparency=v.Transparency+.05
  974. lrs:wait()
  975. end
  976. v:Destroy()
  977. end)
  978. end
  979. end)
  980. ds,dkd = false,false
  981. end)
  982.  
  983. BindKey('Lay Down', 'l', function(AttackName, Key)
  984. ds,dkd = true,true
  985. hum.WalkSpeed = 0
  986. delay(.5,function()
  987. hum.WalkSpeed = 10
  988. end)
  989. repeat
  990. FaceMouse()
  991. local animspd = .2
  992. torw.C0 = clerp(torw.C0, cf(0,0-sin(sine/16)/3,0)*CFrame.new(-0.482990265, 2.22939396, -0.200000048, 0.24999994, -0.950350344, -0.185295373, 0.933012784, 0.18529515, 0.30846864, -0.258818954, -0.250000119, 0.933012664)*ang(0,0,0),animspd)
  993. hedw.C0 = clerp(hedw.C0, cf(0,0,-cos(sine/16)/26)*CFrame.new(-0.359177589, 0.1250664, -0.0787416622, 0.933012843, 0.308469027, -0.185295075, -0.314705104, 0.949178934, -0.00448743999, 0.174493939, 0.0625000745, 0.982672632)*ang(cos(sine/16)/26,0,0),animspd)
  994. law.C0 = clerp(law.C0, CFrame.new(0.468412578, 0.981580019, 0.0708976835, 0.946090937, -0.29880929, 0.125000089, -0.305040181, -0.951745093, 0.0336439162, 0.108915083, -0.0699602216, -0.991586149)*ang(0,0,0),animspd)
  995. raw.C0 = clerp(raw.C0, CFrame.new(-0.828222156, 0.864441633, 0.30142796, 0.685298264, 0.726752639, -0.0468733013, -0.302758366, 0.225768551, -0.925940633, -0.662347257, 0.648736715, 0.374749154)*ang(0,0,0),animspd)
  996. rlw.C0 = clerp(rlw.C0, cf(cos(sine/16)/26,0,0)*CFrame.new(0.527912021, 0.244418263, -0.249614716, 0.899519026, 0.37500006, -0.224144161, -0.313563436, 0.911415875, 0.266457021, 0.304209858, -0.169399709, 0.937422037)*ang(0,0,-cos(sine/16)/26),animspd)
  997. llw.C0 = clerp(llw.C0, CFrame.new(-0.228842348, 0.386762857, -0.514651418, 0.933012784, -0.174494147, -0.314704657, 0.18529515, 0.982672751, 0.00448712707, 0.30846864, -0.0624997914, 0.949179053)*ang(0,0,0),animspd)
  998. lrs:wait()
  999. until State == 'Moving'
  1000. hum.WalkSpeed = 0
  1001. ds,dkd = false,false
  1002. end)
  1003.  
  1004. BindKey('Play Around', 'k', function(AttackName, Key)
  1005. ds,dkd = true,true
  1006. hum.WalkSpeed = 0
  1007. delay(.5,function()
  1008. hum.WalkSpeed = 10
  1009. end)
  1010. local ball=NewPart(rarm)
  1011. ball.CFrame=rarm.CFrame*cf(0,-1.5,-.9)
  1012. ball.Size=Vector3.new(.5,.5,.5)
  1013. ball.Anchored=false
  1014. ball.Color=bc'Pastel blue-green'.Color
  1015. ball.Transparency=.3
  1016. ball.Material='Slate'
  1017. local btaw=Weld(Right_Arm,ball,cf(0,-1,-.8))
  1018. local i=0
  1019. repeat
  1020. i=i+1
  1021. --FaceMouse()
  1022. local animspd = .25
  1023. btaw.C0=lerp(btaw.C0,cf(0,0,.2-sin(sine/5)/3)*eu(0,0,rad(i)),animspd)
  1024. torw.C0 = clerp(torw.C0, cf(-sin(sine/5)/16,-sin(sine/5)/8,0)*CFrame.new(0, 3, 0, 1.00000012, -2.32830644e-009, -1.39698386e-008, -2.32830644e-009, 0.99999994, 0, -1.39698386e-008, 0, 1)*ang(-rad(90),0,-cos(sine/5)/40),animspd)
  1025. hedw.C0 = clerp(hedw.C0, cf(0,0,sin(sine/5)/7)*CFrame.new(-0.0139540099, 0.340087056, -0.558372915, 0.936116934, 0.0266671758, -0.350676477, -0.218770072, 0.824873686, -0.521270633, 0.275362939, 0.564687848, 0.778012216)*ang(-sin(sine/5)/7,-rad(22),0),animspd/4)
  1026. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(0.440753937, 0.203005075, -0.169209003, 0.692407012, -0.70642823, 0.146737024, -0.591227055, -0.672093213, -0.445804089, 0.413549572, 0.221922994, -0.883021474)*ang(0,0,0),animspd)
  1027. raw.C0 = clerp(raw.C0, cf(0,0,-cos(sine/5)/7)*CFrame.new(0.1588518858, 1.16434693, -0.746104658, 0.965925932, -0.258818775, 1.30617991e-006, -0.166364551, -0.620885551, -0.766044259, 0.19826743, 0.739941835, -0.642787755)*ang(-cos(sine/5)/7,0,0),animspd)
  1028. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(0.79446888, 0.0219111443, -0.843867457, 0.902859271, 0.344731003, 0.256915927, -0.422617853, 0.821394563, 0.383021235, -0.0789900646, -0.454391539, 0.887293041)*ang(0,0,0),animspd)
  1029. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.368179977, 0.269208193, -0.0977735668, 0.934236646, -0.347736239, 0.0792566538, 0.341038465, 0.936031103, 0.0868240446, -0.104378559, -0.0540845841, 0.993065894)*ang(0,0,0),animspd)
  1030. lrs:wait()
  1031. until State == 'Moving'
  1032. btaw:Destroy()
  1033. ball:Destroy()
  1034. hum.WalkSpeed = 0
  1035. ds,dkd = false,false
  1036. end)
  1037.  
  1038. local icepet,firepet,voidpet,earthpet=false,false,false,false
  1039.  
  1040. BindKey('Summon Pet', 'f', function(AttackName,Key)
  1041. if Element=='Ice' and icepet==false then
  1042. local fb = NewFXBox('summon_effects')
  1043. local s1=snd(588738712,fb)
  1044. local s2=snd(588732660,fb)
  1045. local s3=snd(588731098,fb)
  1046. local s4=snd(588730685,fb)
  1047. local s5=snd(588737825,fb)
  1048. --wait()
  1049. hum.WalkSpeed=0
  1050. ds,dkd = true,true
  1051. for i = 0,1,.01 do
  1052. local animspd = .1
  1053. torw.C0 = clerp(torw.C0, cf(0,-sin(sine/16)/5.5,0)*CFrame.new(0, 2.62240458, -0.0868360996, 0.939693093, 8.75157298e-008, 0.342019022, -0.0593910068, 0.984807849, 0.163175792, -0.336823016, -0.173648015, 0.925417006)*ang(0,0,0),animspd)
  1054. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(-0.0447137877, 0.00560760498, 0.122847803, 0.423539102, 0.0298085548, -0.905387402, 0.0616278872, 0.996194839, 0.0616276935, 0.903779149, -0.0818988532, 0.420090407)*ang(0,0,0),animspd)
  1055. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(-0.346446753, -0.287446797, 0.0445638299, 0.939692378, 0.336825192, 0.0593916476, -0.34071973, 0.937029302, 0.0767228007, -0.0298095942, -0.0923317373, 0.995281935)*ang(0,0,0),animspd)
  1056. raw.C0 = clerp(raw.C0, cf(0,0,0)*CFrame.new(1.92405653, -1.00079525, -0.291472614, 0.0773547888, -0.984707892, 0.156099021, 0.995029986, 0.0664025024, -0.074204661, 0.0627045333, 0.161063224, 0.984950125)*ang(0,0,0),animspd)
  1057. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(-1.01327896e-006, 2.21729279e-005, -4.47034836e-007, 1.00000012, 0, 0, 0, 1.00000012, 1.49011612e-008, 0, 1.49011612e-008, 1)*ang(0,0,0),animspd)
  1058. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.026132524, 0.165382504, -0.928200483, 1.00000012, 0, 2.98023224e-008, 0, 0.866025627, 0.499999732, 0, -0.499999642, 0.866025567)*ang(0,0,0),animspd)
  1059. lrs:wait()
  1060. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1061. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,-rad(90),0),animspd)
  1062. end
  1063. ds=false
  1064. local np=Instance.new('Part',fb)
  1065. np.Size=Vector3.new(1.25,1.25,1.25)
  1066. np.Shape='Ball'
  1067. np.Material='Neon'
  1068. np.Transparency=1
  1069. np.Color=bc'Pastel blue-green'.Color
  1070. np.Anchored,np.CanCollide=true,false
  1071. np.CFrame=rarm.CFrame*cf(.9,-1,0)
  1072. s1:Play()
  1073. for i = 0,.3,.05 do
  1074. np.Transparency=1-i
  1075. lrs:wait()
  1076. end
  1077. wait(.5)
  1078. local perts={}
  1079. for i = 0,1.5,.15 do
  1080. local np2=Instance.new('Part',fb)
  1081. np2.Size=Vector3.new(.2+i,.2+i,.2+i)
  1082. np2.Material='Slate'
  1083. np2.Transparency=.5
  1084. np2.Color=bc'Pastel blue-green'.Color
  1085. np2.Anchored,np2.CanCollide=true,false
  1086. np2.CFrame=np.CFrame*ang(rad(rand(-360,360)),rad(rand(-360,360)),rad(rand(-360,360)))
  1087. table.insert(perts,np2)
  1088. lrs:wait()
  1089. end
  1090. s3:play()
  1091. s4:Play()
  1092. wait(.75)
  1093. local can={}
  1094. for i,v in next, perts do
  1095. can[i]=false
  1096. spawn(function()
  1097. for i = 0,.5,.5 do
  1098. v.Transparency=.5-i
  1099. lrs:wait()
  1100. end
  1101. v.Transparency=0
  1102. can[i]=true
  1103. end)
  1104. end
  1105. local continue=true
  1106. repeat
  1107. for i,v in next, can do
  1108. if v then
  1109. continue=false
  1110. end
  1111. end
  1112. lrs:wait()
  1113. until continue
  1114. --print'dun'
  1115. for i,v in next, perts do
  1116. local bp=Instance.new('BodyPosition',v)
  1117. bp.P=50000
  1118. bp.D=2000
  1119. v.Anchored=false
  1120. bp.position = v.Position+vec3(rand(-8,8),8,rand(-8,8))
  1121. delay(.5,function()
  1122. bp:Destroy()
  1123. v.CanCollide=true
  1124. delay(2,function()
  1125. for i = 0,1,.01 do
  1126. v.Transparency=i
  1127. lrs:wait()
  1128. end
  1129. v:Destroy()
  1130. end)
  1131. end)
  1132. end
  1133. s2:Play()
  1134. np.Material='Slate'
  1135. ds=true
  1136. for i = 0,1,.05 do
  1137. local animspd = .1
  1138. np.CFrame=clerp(np.CFrame,rarm.CFrame*cf(.9,-1,0),.5)
  1139. torw.C0 = clerp(torw.C0, cf(0,-sin(sine/16)/5.5,0)*CFrame.new(0, 2.62240458, -0.0868360996, 0.939693093, 8.75157298e-008, 0.342019022, -0.0593910068, 0.984807849, 0.163175792, -0.336823016, -0.173648015, 0.925417006)*ang(0,0,0),animspd)
  1140. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(-0.0447137877, 0.00560760498, 0.122847803, 0.423539102, 0.0298085548, -0.905387402, 0.0616278872, 0.996194839, 0.0616276935, 0.903779149, -0.0818988532, 0.420090407)*ang(0,0,0),animspd)
  1141. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(-0.346446753, -0.287446797, 0.0445638299, 0.939692378, 0.336825192, 0.0593916476, -0.34071973, 0.937029302, 0.0767228007, -0.0298095942, -0.0923317373, 0.995281935)*ang(0,0,0),animspd)
  1142. raw.C0 = clerp(raw.C0, cf(-rad(6),-rad(6),0)*CFrame.new(1.92405653, -1.00079525, -0.291472614, 0.0773547888, -0.984707892, 0.156099021, 0.995029986, 0.0664025024, -0.074204661, 0.0627045333, 0.161063224, 0.984950125)*ang(0,0,-rad(6)),animspd)
  1143. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(-1.01327896e-006, 2.21729279e-005, -4.47034836e-007, 1.00000012, 0, 0, 0, 1.00000012, 1.49011612e-008, 0, 1.49011612e-008, 1)*ang(0,0,0),animspd)
  1144. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.026132524, 0.165382504, -0.928200483, 1.00000012, 0, 2.98023224e-008, 0, 0.866025627, 0.499999732, 0, -0.499999642, 0.866025567)*ang(0,0,0),animspd)
  1145. lrs:wait()
  1146. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1147. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,-rad(90),0),animspd)
  1148. end
  1149. for i = 0,1,.05 do
  1150. local animspd = .3
  1151. np.CFrame=clerp(np.CFrame,rarm.CFrame*cf(.9+i/3,-1-i*1.5,0),.25)
  1152. torw.C0 = clerp(torw.C0, cf(0,-sin(sine/16)/5.5,0)*CFrame.new(0, 2.62240458, -0.0868360996, 0.939693093, 8.75157298e-008, 0.342019022, -0.0593910068, 0.984807849, 0.163175792, -0.336823016, -0.173648015, 0.925417006)*ang(0,0,0),animspd)
  1153. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(-0.0447137877, 0.00560760498, 0.122847803, 0.423539102, 0.0298085548, -0.905387402, 0.0616278872, 0.996194839, 0.0616276935, 0.903779149, -0.0818988532, 0.420090407)*ang(0,0,0),animspd)
  1154. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(-0.346446753, -0.287446797, 0.0445638299, 0.939692378, 0.336825192, 0.0593916476, -0.34071973, 0.937029302, 0.0767228007, -0.0298095942, -0.0923317373, 0.995281935)*ang(0,0,0),animspd)
  1155. raw.C0 = clerp(raw.C0, cf(rad(25),rad(25),0)*CFrame.new(1.92405653, -1.00079525, -0.291472614, 0.0773547888, -0.984707892, 0.156099021, 0.995029986, 0.0664025024, -0.074204661, 0.0627045333, 0.161063224, 0.984950125)*ang(0,0,rad(25)),animspd)
  1156. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(-1.01327896e-006, 2.21729279e-005, -4.47034836e-007, 1.00000012, 0, 0, 0, 1.00000012, 1.49011612e-008, 0, 1.49011612e-008, 1)*ang(0,0,0),animspd)
  1157. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(-0.026132524, 0.165382504, -0.928200483, 1.00000012, 0, 2.98023224e-008, 0, 0.866025627, 0.499999732, 0, -0.499999642, 0.866025567)*ang(0,0,0),animspd)
  1158. lrs:wait()
  1159. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1160. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,-rad(90),0),animspd)
  1161. end
  1162. s5:Play()
  1163. for i = 0,.7,.05 do
  1164. np.Transparency=.7-i
  1165. lrs:wait()
  1166. end
  1167. np.Transparency=0
  1168. np.CFrame=cf(np.Position)
  1169. np.CFrame=np.CFrame*ang(0,-rad(90),0)
  1170. np.Parent=char
  1171. --print(ncf)
  1172. local e1=Instance.new('Part',np)
  1173. e1.Size=Vector3.new(.4,.4,.4)
  1174. e1.Material='Neon'
  1175. e1.Transparency=0
  1176. e1.Color=bc'Pastel blue-green'.Color
  1177. e1.Anchored,e1.CanCollide=true,false
  1178. e1.CFrame=np.CFrame*cf(.2,0,.4)
  1179. local ms1=Instance.new('SpecialMesh',e1)
  1180. ms1.MeshType='Sphere'
  1181. local e2=Instance.new('Part',np)
  1182. e2.Size=Vector3.new(.4,.4,.4)
  1183. e2.Material='Neon'
  1184. e2.Transparency=0
  1185. e2.Color=bc'Pastel blue-green'.Color
  1186. e2.Anchored,e2.CanCollide=true,false
  1187. e2.CFrame=np.CFrame*cf(-.2,0,.4)
  1188. local ms2=Instance.new('SpecialMesh',e2)
  1189. ms2.MeshType='Sphere'
  1190. hum.WalkSpeed=0
  1191. --1323306
  1192. local e3=Instance.new('Part',np)
  1193. e3.Size=Vector3.new(.4,1,.4)
  1194. e3.Material='Neon'
  1195. e3.Transparency=0
  1196. e3.Color=bc'Pastel blue-green'.Color
  1197. e3.Anchored,e2.CanCollide=true,false
  1198. e3.CFrame=np.CFrame*cf(0,.2,0)
  1199. local ms3=Instance.new('SpecialMesh',e3)
  1200. ms3.MeshType='FileMesh'
  1201. ms3.MeshId='rbxassetid://1323306'
  1202. ms3.Scale=vec3(.5,.5,.5)
  1203. local e4=Instance.new('Part',np)
  1204. e4.Size=Vector3.new(.4,1,.4)
  1205. e4.Material='Neon'
  1206. e4.Transparency=0
  1207. e4.Color=bc'Pastel blue-green'.Color
  1208. e4.Anchored,e2.CanCollide=true,false
  1209. e4.CFrame=np.CFrame
  1210. local ms4=Instance.new('SpecialMesh',e4)
  1211. ms4.MeshType='FileMesh'
  1212. ms4.MeshId='rbxassetid://3270017'
  1213. ms4.Scale=vec3(1.35,1.35,.2)
  1214. local e5=Instance.new('Part',np)
  1215. e5.Size=Vector3.new(.4,1,.4)
  1216. e5.Material='Neon'
  1217. e5.Transparency=0
  1218. e5.Color=bc'Pastel blue-green'.Color
  1219. e5.Anchored,e2.CanCollide=true,false
  1220. e5.CFrame=np.CFrame
  1221. local ms5=Instance.new('SpecialMesh',e5)
  1222. ms5.MeshType='FileMesh'
  1223. ms5.MeshId='rbxassetid://68241543'
  1224. ms5.Scale=vec3(1,.2,.6)
  1225. local poss={};
  1226. for i = 0,1,.05 do
  1227. table.insert(poss,i)
  1228. end
  1229. spawn(function()
  1230. while wait(math.random(4,7)) do
  1231. local spd=.15
  1232. ms1.Scale=vec3(1,1,1)
  1233. ms2.Scale=vec3(1,1,1)
  1234. for i = 0,.9,spd do
  1235. ms1.Scale=vec3(1,1-i,1)
  1236. ms2.Scale=vec3(1,1-i,1)
  1237. lrs:wait()
  1238. end
  1239. for i = 0,.9,spd do
  1240. ms1.Scale=vec3(1,.1+i,1)
  1241. ms2.Scale=vec3(1,.1+i,1)
  1242. lrs:wait()
  1243. end
  1244. ms1.Scale=vec3(1,1,1)
  1245. ms2.Scale=vec3(1,1,1)
  1246. end
  1247. end)
  1248. local clrz={'Toothpaste','Pastel blue-green'}
  1249. spawn(function()
  1250. while wait(rand()/2.5) and np.Parent ~= nil do
  1251. local clr = clrz[math.random(1,#clrz)]
  1252. pos = np.CFrame*cf(0,-3,0)
  1253. local p = Instance.new('Part')
  1254. local mafc,mafa = rand(-10,10), rand(-360,360)
  1255. p.CanCollide = false
  1256. p.FormFactor = 3
  1257. p.Size = Vector3.new(.4,.4,.4)
  1258. p.Parent=char
  1259. p.Shape='Ball'
  1260. local m = Instance.new('SpecialMesh',p)
  1261. m.MeshType = 'Sphere'
  1262. spawn(function()
  1263. for i = 0,50 do
  1264. local int,int2 = .02,.02
  1265. m.Scale = m.Scale - Vector3.new(int,int,int)
  1266. p.Transparency = p.Transparency + int2
  1267. game:service'RunService'.RenderStepped:wait()
  1268. end
  1269. pcall(function()
  1270. p:Destroy()
  1271. end)
  1272. end)
  1273. p.BrickColor = BrickColor.new(clr)
  1274. p.Material = 'Slate'
  1275. local radius=1
  1276. p.CFrame = pos * CFrame.new(math.random(-radius,radius),math.random(-radius,radius)+2,math.random(-radius,radius)) * CFrame.Angles(mafa,mafa,mafa)
  1277. local bp = Instance.new('BodyPosition',p)
  1278. bp.MaxForce = Vector3.new(1/0,1/0,1/0)
  1279. bp.D = 100
  1280. bp.P = 100
  1281. bp.Position = pos.p
  1282. game.Debris:AddItem(p,10)
  1283. end
  1284. end)
  1285. local okd
  1286. local i1=snd(588733125,char.Torso)
  1287. local i2=snd(588733880,char.Torso)
  1288. local i3=snd(588738949,char.Torso)
  1289. local cankeydown=true
  1290.  
  1291. odk=mouse.KeyDown:connect(function(k)
  1292. if k:lower()=='e' and cankeydown then --// frost beam
  1293. cankeydown=false
  1294. delay(1,function()
  1295. cankeydown=true
  1296. end)
  1297. elseif k:lower()=='q' and cankeydown then --// ice shard
  1298. cankeydown=false
  1299. delay(.3,function()
  1300. cankeydown=true
  1301. end)
  1302. local mcd=357408908
  1303. local fb2=char.Torso
  1304. local m1 = rand(-360,360)
  1305. local pe = Instance.new('Part')
  1306. pe.CanCollide = false
  1307. pe.TopSurface,pe.BottomSurface=0,0
  1308. pe.Size = Vector3.new(2,2,.2)
  1309. pe.Anchored=true
  1310. pe.Transparency=1
  1311. pe.CFrame=np.CFrame*cf(rand(-.5,.5),rand(2,3),0)*ang(0,0,m1)
  1312. local d1=Instance.new('Decal',pe)
  1313. d1.Face='Front'
  1314. d1.Texture='rbxassetid://'..mcd
  1315. local d2=Instance.new('Decal',pe)
  1316. d2.Face='Back'
  1317. d2.Texture='rbxassetid://'..mcd
  1318. pe.Parent=fb2
  1319. local nic = Instance.new("Part")
  1320. game.Debris:AddItem(nic,15)
  1321. nic.BrickColor = BrickColor.new("Bright bluish green")
  1322. nic.Material = Enum.Material.Slate
  1323. nic.Name = "center"
  1324. nic.Transparency=0
  1325. nic.Material='Slate'
  1326. nic.CFrame = pe.CFrame
  1327. nic.CanCollide = false
  1328. nic.Anchored=true
  1329. nic.Locked = true
  1330. nic.Size = Vector3.new(.2,.2,3)
  1331. nic.BottomSurface = Enum.SurfaceType.Smooth
  1332. nic.TopSurface = Enum.SurfaceType.Smooth
  1333. local nic2 = Instance.new("Part")
  1334. nic2.BrickColor = BrickColor.new("Bright bluish green")
  1335. nic2.Material = Enum.Material.Slate
  1336. nic2.Name = "spikeimage"
  1337. nic2.CFrame = nic.CFrame*ang(-rad(90),0,0)
  1338. nic2.CanCollide = false
  1339. nic2.Anchored=true
  1340. nic2.Locked = true
  1341. nic2.Size = Vector3.new(.2,.2,3)
  1342. nic2.BottomSurface = Enum.SurfaceType.Smooth
  1343. nic2.TopSurface = Enum.SurfaceType.Smooth
  1344. b2 = Instance.new("SpecialMesh", nic2)
  1345. b2.MeshId = "rbxassetid://1033714"
  1346. b2.TextureId = ""
  1347. b2.MeshType = Enum.MeshType.FileMesh
  1348. b2.Name = "Mesh"
  1349. b2.Scale = Vector3.new(.3,5,.3)
  1350. nic.Parent,nic2.Parent=fb2,nic
  1351. lrs:connect(function()
  1352. if nic.Parent then
  1353. nic2.CFrame=nic.CFrame*ang(-rad(90),0,0)
  1354. end
  1355. end)
  1356. delay(0,function()
  1357. i2:Play()
  1358.  
  1359. table.insert(Projectiles,{pe.CFrame*cf(0,0,nic.Size.Z/2),nic,i1,nic2,400,cf(0,0,-50),-20,300})
  1360. spawn(function()
  1361. i3:play()
  1362. for i = 0,1,.1 do
  1363. d1.Transparency=1-i
  1364. d2.Transparency=1-i
  1365. lrs:wait()
  1366. end
  1367. d1.Transparency,d2.Transparency=0,0
  1368. end)
  1369. delay(.5,function()
  1370. for i = 0,1,.1 do
  1371. d1.Transparency=i
  1372. d2.Transparency=i
  1373. lrs:wait()
  1374. end
  1375. d1:Destroy()
  1376. d2:Destroy()
  1377. pe:Destroy()
  1378. end)
  1379. local i=0
  1380. local ncf=pe.CFrame
  1381. repeat
  1382. i=i+1
  1383. pe.CFrame=lerp(pe.CFrame,ncf*ang(0,0,rad(i)),.3)
  1384. lrs:wait()
  1385. until pe.Parent==nil
  1386. end)
  1387. end
  1388. end)
  1389. lrs:connect(function()
  1390. if np.Parent then
  1391. np.Anchored=true
  1392. local stuff = lerp(np.CFrame,torso.CFrame*cf(3.5,2.75+-cos(sine/16)/5.5,0),.1);
  1393. stuff = cf(stuff.p, mouse.hit.p);
  1394. np.CFrame = lerp(np.CFrame,stuff,.15)
  1395. e1.CFrame=np.CFrame*cf(.2,0,-.4)
  1396. e2.CFrame=np.CFrame*cf(-.2,0,-.4)
  1397. e3.CFrame=np.CFrame*cf(0,.65,0)*ang(rad(15),0,0)
  1398. e4.CFrame=np.CFrame*cf(0,-.2,0)*ang(rad(65)+-cos(sine/16)/5.5,0,-cos(sine/16)/5.5)
  1399. e5.CFrame=np.CFrame*cf(0,0,0)*ang(rad(0),-rad(90),0,0)
  1400. end
  1401. end)
  1402. delay(80,function()
  1403. np:Destroy()
  1404. icepet=false
  1405. odk:disconnect()
  1406. end)
  1407. icepet=true
  1408. ds,dkd = false,false
  1409. game.Debris:AddItem(fb,20)
  1410. end
  1411. end)
  1412.  
  1413. BindKey('Toggle Flight', 'disabled', function(AttackName, Key)
  1414. local fb=NewFXBox('velo\'s',root)
  1415. local vw=Instance.new('BodyVelocity',fb)
  1416. local va=Instance.new('BodyVelocity',fb)
  1417. local vs=Instance.new('BodyVelocity',fb)
  1418. local vd=Instance.new('BodyVelocity',fb)
  1419. for i,v in next, fb:children() do
  1420. if v:IsA'BodyVelocity' then
  1421. v.MaxVelocity=Vector3.new(1000,10,1000)
  1422. end
  1423. end
  1424. local cam=workspace.CurrentCamera
  1425. local kd
  1426. kd=mouse.KeyDown:connect(function(ke)
  1427. if ke==' ' then
  1428. fb:Destroy()
  1429. kd:disconnect()
  1430. end
  1431. if ke=='w' then
  1432. vw.Velocity=root.CFrame.lookVector*200
  1433. end
  1434. if ke=='a' then
  1435. --va.Velocity=root.CFrame.lookVector*200
  1436. end
  1437. if ke=='s' then
  1438. vs.Velocity=root.CFrame.lookVector*-200
  1439. end
  1440. if ke=='d' then
  1441. --vd.Velocity=root.CFrame.lookVector*200
  1442. end
  1443. end)
  1444. local ku
  1445. ku=mouse.KeyUp:connect(function(ke)
  1446. if ke==' ' then
  1447. fb:Destroy()
  1448. ku:disconnect()
  1449. end
  1450. if ke=='w' then
  1451. vw.Velocity=root.CFrame.lookVector*0
  1452. end
  1453. if ke=='a' then
  1454. --va.Velocity=root.CFrame.lookVector*0
  1455. end
  1456. if ke=='s' then
  1457. vs.Velocity=root.CFrame.lookVector*-0
  1458. end
  1459. if ke=='d' then
  1460. --vd.Velocity=root.CFrame.lookVector*0
  1461. end
  1462. end)
  1463. end)
  1464.  
  1465. function Attack1()
  1466. dkd,ds = true,true
  1467. for i = 0,1,.05 do
  1468. lrs:wait()
  1469. end
  1470. dkd,ds = false,false
  1471. end
  1472.  
  1473. function Attack2()
  1474. dkd,ds = true,true
  1475. for i = 0,1,.05 do
  1476. lrs:wait()
  1477. end
  1478. dkd,ds = false,false
  1479. end
  1480.  
  1481. function Attack3()
  1482. dkd,ds = true,true
  1483. for i = 0,1,.05 do
  1484. lrs:wait()
  1485. end
  1486. dkd,ds = false,false
  1487. end
  1488.  
  1489. function Attack4()
  1490. dkd,ds = true,true
  1491. for i = 0,1,.05 do
  1492. lrs:wait()
  1493. end
  1494. dkd,ds = false,false
  1495. end
  1496.  
  1497. local ComboResetTime,canatk = .3,true
  1498. local combo = 0
  1499. local output_clicks = true
  1500. --// debst is debounce state
  1501. ComboUp = function()
  1502. if dkd == true then return end
  1503. --print'k'
  1504. if combo == 0 and canatk == true then
  1505. canatk = false
  1506. if output_clicks then
  1507. --print'Attack1'
  1508. end
  1509. Attack1()
  1510. combo = 1
  1511. canatk = true
  1512. spawn(function()
  1513. ds = true
  1514. wait(ComboResetTime)
  1515. if canatk == true then
  1516. ds = false
  1517. end
  1518. if combo == 1 and not ds then
  1519. combo = 0
  1520. if output_clicks then
  1521. --print'Combo Reset'
  1522. end
  1523. end
  1524. end)
  1525. return
  1526. end
  1527. if combo == 1 and canatk == true then
  1528. canatk = false
  1529. if output_clicks then
  1530. --print'Attack2'
  1531. end
  1532. Attack2()
  1533. combo = 2
  1534. canatk = true
  1535. spawn(function()
  1536. ds = true
  1537. wait(ComboResetTime)
  1538. if canatk == true then
  1539. ds = false
  1540. end
  1541. if combo == 2 and not ds then
  1542. combo = 0
  1543. if output_clicks then
  1544. --print'Combo Reset'
  1545. end
  1546. end
  1547. end)
  1548. return
  1549. end
  1550. if combo == 2 and canatk == true then
  1551. canatk = false
  1552. Attack3()
  1553. if output_clicks then
  1554. --print'Attack3'
  1555. end
  1556. combo = 3
  1557. canatk = true
  1558. spawn(function()
  1559. ds = true
  1560. wait(ComboResetTime)
  1561. if canatk == true then
  1562. ds = false
  1563. end
  1564. if combo == 3 and not ds then
  1565. combo = 0
  1566. if output_clicks then
  1567. --print'Combo Reset'
  1568. end
  1569. end
  1570. end)
  1571. return
  1572. end
  1573. if combo == 3 and canatk == true then
  1574. canatk = false
  1575. if output_clicks then
  1576. --print'Attack4'
  1577. end
  1578. Attack4()
  1579. combo = 0
  1580. wait(ComboResetTime)
  1581. canatk = true
  1582. spawn(function()
  1583. if canatk == true then
  1584. ds = false
  1585. end
  1586. wait(ComboResetTime/4)
  1587. if combo == 0 and not ds then
  1588. combo = 0
  1589. if output_clicks then
  1590. --print'Combo Reset'
  1591. end
  1592. end
  1593. end)
  1594. return
  1595. end
  1596. end
  1597.  
  1598. FaceMouse = function()
  1599. local torso, torsoPos = torso, HumanoidRootPart.Position
  1600. local torso = Char:FindFirstChild'Torso'
  1601. if torso then
  1602. torsoPos = HumanoidRootPart.CFrame.p
  1603. --headPos = vec3(hedw.C1)
  1604. HumanoidRootPart.CFrame = lerp(HumanoidRootPart.CFrame,cf(torsoPos,Vector3.new(mouse.Hit.X,torsoPos.Y,mouse.Hit.Z)),.1)
  1605. --hedw.C0 = lerp(hedw.C0,cf(headPos,Vector3.new(mouse.Hit.X,headPos.Y,mouse.Hit.Z)),.5)
  1606. end
  1607. end
  1608.  
  1609. Lightning = function()
  1610. local perts={};
  1611. local fb=NewFXBox('lightning')
  1612. for i = 0,1,.2 do
  1613. local np=Instance.new('Part',fb)
  1614. np.Size=Vector3.new(.2,.2,.2)
  1615. np.Material='Slate'
  1616. np.Transparency=1
  1617. np.Color=bc'Pastel blue-green'.Color
  1618. np.Anchored,np.CanCollide=true,false
  1619. local nums={}
  1620. for i = 0,1.5,.05 do
  1621. table.insert(nums,i)
  1622. end np.CFrame=rarm.CFrame*cf(rand(-1,1),rand(-nums[rand(1,#nums)],nums[rand(1,#nums)]),rand(-1,1))
  1623. table.insert(perts,np)
  1624. end
  1625. local last,final=nil,perts[#perts-1]
  1626. local lightning={};
  1627. for i,v in next, perts do
  1628. lrs:wait()
  1629. if last then
  1630. local mag=(last.CFrame.p-v.CFrame.p).magnitude
  1631. local np2=Instance.new('Part',fb)
  1632. np2.Size=Vector3.new(.2,.2,mag)
  1633. np2.CFrame=cf(last.CFrame.p,v.CFrame.p)*cf(0,0,-mag/2)
  1634. np2.Material='Neon'
  1635. np2.Transparency=.5
  1636. np2.Color=bc'Pastel blue-green'.Color
  1637. np2.Anchored,np2.CanCollide=true,false
  1638. Instance.new('BlockMesh',np2).Scale=vec3(.1,.1,1)
  1639. table.insert(lightning,np2)
  1640. last=np2
  1641. else
  1642. last=v
  1643. end
  1644. end
  1645. --wait(6)
  1646. for i,v in next, lightning do
  1647. spawn(function()
  1648. for i = 0,.5,.05 do
  1649. v.Transparency=.5+i
  1650. lrs:wait()
  1651. end
  1652. v:Destroy()
  1653. end)
  1654. lrs:wait()
  1655. end
  1656. end
  1657.  
  1658. local wz={}
  1659. for i = .75,3,.01 do
  1660. table.insert(wz,i)
  1661. end
  1662. spawn(function()
  1663. while wait(wz[rand(1,#wz)]) do
  1664. spawn(Lightning)
  1665. end
  1666. end)
  1667.  
  1668. mouse.Button1Down:connect(function()
  1669. ComboUp()
  1670. end)
  1671.  
  1672. Twitch1 = function()
  1673. end
  1674.  
  1675. Twitch2 = function()
  1676. end
  1677.  
  1678. hum.MaxHealth = 2000
  1679. wait(.1)
  1680. hum.Health = 2000
  1681. HumanoidRootPart.Transparency = 1
  1682. --241539438
  1683. HandleProjectiles=function()
  1684. for i,v in next, Projectiles do
  1685. spawn(function()
  1686. local IgnoreTable={char,v[2],v[2].Parent}
  1687. local TrailBool=false
  1688. local Bullet=v[2]
  1689. local distY = Bullet.Size.Z/2
  1690. local i1 = v[3]
  1691. --table.foreach(v,print)
  1692. local bulletposition = (v[1]*cf(0,0,distY)*ang(rad(90),0,0)).p
  1693. local sprd=vec3(rand(-0,0),rand(-0,0),rand(-0,0))
  1694. local bulletvelocity = (sprd+(v[1]*v[6]).p - bulletposition).unit*v[5]
  1695. local bulletlastposition = bulletposition
  1696. Bullet.CFrame = cf( bulletposition, bulletposition+bulletvelocity )
  1697. local dt = lrs:wait()
  1698. bulletlastposition = bulletposition
  1699. bulletvelocity = bulletvelocity + (Vector3.new(0, v[7]*1.1, 0)*dt)
  1700. local ray = Ray.new(v[1].p, (v[1].p- bulletlastposition))
  1701. local hit, hitposition = workspace:FindPartOnRayWithIgnoreList( ray, IgnoreTable )
  1702. if (torso.Position - Bullet.Position).magnitude > v[8] then
  1703. table.remove(Projectiles,i)
  1704. v[4]:Destroy()
  1705. Bullet:Destroy()
  1706. end
  1707. local cp=true
  1708. if hit and not hit:IsDescendantOf(Character) then
  1709. print(hit.Name)
  1710. --delay(.4,function()
  1711. Bullet:Destroy()
  1712. v[4]:Destroy()
  1713. table.remove(Projectiles,i)
  1714. --end)
  1715. if cp then
  1716. cp=false
  1717. v[3]:Play()
  1718. end
  1719. --local inv=Weld(hit,v[4],hit.CFrame:inverse()*v[2].CFrame:inverse())
  1720. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1721. if not hit.Parent:findFirstChild("Humanoid"):IsA'Humanoid' then return end
  1722. if not hit.Parent then return end
  1723. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(15, 31)
  1724. end
  1725. if hit.Name == 'Head' and hit.Parent:findFirstChild("Humanoid") ~= nil then
  1726. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(45, 72)
  1727. end
  1728. if hit.Parent:IsA("Accessory") and hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  1729. if not hit.Parent.Parent:findFirstChild("Humanoid"):IsA'Humanoid' then return end
  1730. hit.Parent.Parent:findFirstChild("Humanoid").Health = hit.Parent.Parent:findFirstChild("Humanoid").Health - rand(45,72)
  1731. end
  1732. return
  1733. else
  1734. local tbl=Bullet:GetTouchingParts()
  1735. if #tbl > 0 then
  1736. for i,v in next, tbl do
  1737. if not v:IsDescendantOf(Character) and (v.Parent:FindFirstChild'Humanoid') or (v.Parent.Parent:FindFirstChild'Humanoid') or (v.Parent.Parent.Parent:FindFirstChild'Humanoid') or (v.Parent.Parent.Parent.Parent:FindFirstChild'Humanoid') or (v.Parent.Parent.Parent.Parent.Parent:FindFirstChild'Humanoid')then
  1738. local lastp=v.Parent
  1739. repeat lastp=lastp.Parent until lastp:FindFirstChild'Humanoid'
  1740. local lph = lastp:WaitForChild'Humanoid'
  1741. lph.Health=lph.Health - rand(45,72)
  1742. Bullet:Destroy()
  1743. v[4]:Destroy()
  1744. table.remove(Projectiles,i)
  1745. if cp then
  1746. cp=false
  1747. v[3]:Play()
  1748. end
  1749. end
  1750. end
  1751. end
  1752. bulletposition = bulletposition + (bulletvelocity*dt)
  1753. Bullet.CFrame = cf(bulletposition, bulletposition+bulletvelocity)
  1754. v[1] = Bullet.CFrame
  1755. end
  1756. end)
  1757. end
  1758. end
  1759.  
  1760. lrs:connect(HandleProjectiles)
  1761.  
  1762. --char:MakeJoints()
  1763.  
  1764. lrs:connect(function()
  1765. if Torso.CFrame.Y < -40 then
  1766. Torso.CFrame = cf(rand(-100,100),10,rand(-100,100))
  1767. end
  1768. sine = sine+change/2
  1769. FreeFalling = false
  1770. hum.PlatformStand = false
  1771. local tmag_xz = (torso.Velocity*vec3(1, 0, 1)).magnitude
  1772. local tmag_y = torso.Velocity.Y
  1773. local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
  1774. local TiltOnAxis = (root.CFrame-root.CFrame.p):inverse()*speed/50
  1775. local trot = torso.RotVelocity.Y/20
  1776. --print(trot)
  1777. --print(tmag_y)
  1778. local cap = 2
  1779. if tmag_y > cap then
  1780. State, Mode = 'Falling', 'Jumping'
  1781. elseif tmag_y < -cap then
  1782. State, Mode = 'Falling', 'Normal'
  1783. end
  1784. if AFKAnimSequenceCount >= MaxSequenceCount then
  1785. local AFKAnimations = {
  1786. Twitch1,Twitch2,
  1787. };
  1788. local Index = rand(1, #AFKAnimations)
  1789. spawn(AFKAnimations[Index])
  1790. AFKAnimSequenceCount = 0
  1791. return
  1792. end
  1793. AFKAnimSequenceCount = AFKAnimSequenceCount + .5
  1794. workspace.CurrentCamera.CameraSubject = torso
  1795. if FreeFalling == true then
  1796.  
  1797. elseif tmag_xz < 7 then
  1798. State, Mode = 'Idle', 'Floating'
  1799. elseif tmag_xz >= 7 then
  1800. State = 'Moving'
  1801. if tmag_xz > 25 then
  1802. Mode = 'Fast'
  1803. else
  1804. Mode = 'Normal'
  1805. end
  1806. end
  1807. hum.AutoRotate=true
  1808. hum.JumpPower = 0
  1809. if ds then
  1810. return
  1811. end
  1812. hum.WalkSpeed = 20
  1813. hum.AutoRotate=false
  1814. FaceMouse()
  1815. local RestoreDefault = function(Current)
  1816. Current = Current or State
  1817. if LastState ~= Current then
  1818. LastState = Current
  1819. sine = 0
  1820. end
  1821. end
  1822. --State, Mode = '',''
  1823. local Default_Anims = function()
  1824. local animspd = .1
  1825. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1826. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1827. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1828. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1829. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1830. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1831. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1832. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1833. end
  1834. change=1
  1835. if State == 'Falling' and ds == false then
  1836. RestoreDefault()
  1837. local animspd = .1
  1838. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1839. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1840. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1841. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1842. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1843. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1844. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1845. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1846. elseif State == 'Idle' and ds == false then
  1847. RestoreDefault()
  1848. if Mode == 'Floating' and ds == false then
  1849. local animspd = .1
  1850. change=.8
  1851. torw.C0 = clerp(torw.C0, cf(TiltOnAxis)*cf(0,-sin(sine/16)/5.5,0)*cf(0, 2.50240202, -0.0868360996, 0.939693093, 8.75157298e-008, 0.342019022, -0.0593910068, 0.984807849, 0.163175792, -0.336823016, -0.173648015, 0.925417006)*ang(sin(sine/16)/30,0,0),animspd)
  1852.  
  1853. local acb=cf(0,0,-cos(sine/16)/20)*cf(-0.0447133183, 0.00560772419, 0.122849166, 0.939693093, 0.0298088789, -0.340717584, 8.75157298e-008, 0.99619478, 0.0871558487, 0.342019022, -0.0818997622, 0.936117232)*ang(-rad(8)+cos(sine/16)/20,0,0)
  1854. local stuff = lerp(hedw.C0,acb,.1);
  1855. stuff = cf(stuff.p, vec3(mouse.hit.X,-hedw.C0.Y,mouse.hit.Z));
  1856.  
  1857. hedw.C0 = lerp(hedw.C0, acb, animspd)
  1858.  
  1859. law.C0 = clerp(law.C0, cf(-rad(12)+sin(sine/16)/24,sin(sine/16)/24,0)*cf(-0.0553687811, -0.226759991, -0.0504205972, 0.99619472, 0.0871562138, 1.1920929e-007, -0.0868245661, 0.992403924, -0.0871551931, -0.00759622455, 0.0868235454, 0.99619472)*ang(0,0,-rad(12)+sin(sine/16)/24),animspd/2.5)
  1860.  
  1861. raw.C0 = clerp(raw.C0, cf(rad(3)+-sin(sine/16)/24,sin(sine/16)/24,0)*cf(0.264802575, -0.258233178, -0.17202577, 0.958214402, -0.266443729, -0.104081899, 0.262002349, 0.963527858, -0.0544902682, 0.114804327, 0.0249436535, 0.993074954)*ang(0,0,rad(3)+-sin(sine/16)/24),animspd)
  1862.  
  1863. rlw.C0 = clerp(rlw.C0, cf(0,0,-sin(sine/16)/20)*cf(-2.62260437e-006, -0.00758528709, -0.174312115, 1.00000012, 7.4505806e-009, 2.98023224e-008, 0, 0.99619478, 0.0871560574, 0, -0.0871560574, 0.996194661)*ang(-sin(sine/16)/20,0,0),animspd)
  1864.  
  1865. llw.C0 = clerp(llw.C0, cf(0,sin(sine/16)/20,cos(sine/16)/20)*cf(-0.0261328816, 0.165385127, -0.928200483, 1.00000012, 0, 2.98023224e-008, 0, 0.866025627, 0.499999732, 0, -0.499999642, 0.866025567)*ang(cos(sine/16)/14,0,0),animspd)
  1866.  
  1867. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1868. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1869. else
  1870. Default_Anims()
  1871. warn'Idle: Unknown Mode Used'
  1872. end
  1873. elseif State == 'Moving' and ds == false then
  1874. RestoreDefault()
  1875. if Mode == 'Normal' and ds == false then
  1876. local animspd = .1
  1877. torw.C0 = clerp(torw.C0, cf(0,0,0)*CFrame.new(0, 2.63301897, -0.32141304, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414)*ang(rad(15)+TiltOnAxis.Z,-TiltOnAxis.X,trot+-TiltOnAxis.X),animspd)
  1878. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*CFrame.new(0, 0.04040277, -0.266627759, 1, 0, 0, 0, 0.965925634, -0.258819878, 0, 0.258819878, 0.965925634)*ang(0,0,0),animspd)
  1879. law.C0 = clerp(law.C0, cf(0,0,0)*CFrame.new(0.678582788, 0.555288911, 0.126882374, 0.866025388, -0.5, 0, 0.453154027, 0.784885764, 0.422617853, -0.211308926, -0.365997791, 0.906308055)*ang(0,0,0),animspd)
  1880. raw.C0 = clerp(raw.C0, cf(0,0,0)*CFrame.new(-0.63903904, 0.555296779, 0.126904935, 0.866025269, 0.500000238, 4.89455431e-007, -0.453154147, 0.784885168, 0.422618806, 0.211309135, -0.365998834, 0.906307578)*ang(0,0,0),animspd)
  1881. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*CFrame.new(0, -0.0397446156, -0.136011362, 1, 0, 0, 0, 0.996194839, 0.0871559381, 0, -0.0871559381, 0.996194839)*ang(0,0,0),animspd)
  1882. llw.C0 = clerp(llw.C0, cf(0,0,0)*CFrame.new(0, 0.213100076, -0.926180363, 1, 0, 0, 0, 0.939692438, 0.34202075, 0, -0.34202075, 0.939692438)*ang(0,0,0),animspd)
  1883. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1884. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1885. elseif Mode == 'Fast' and ds == false then
  1886. local animspd = .1
  1887. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1888. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1889. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1890. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1891. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1892. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1893. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1894. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1895. else
  1896. Default_Anims()
  1897. warn'Walking: Unknown Mode Used'
  1898. end
  1899. else --// New Animation Test Stage
  1900. local animspd = .1
  1901. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1902. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1903. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1904. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1905. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1906. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1907. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1908. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1909. end
  1910. local sr
  1911. sr=function(prt)
  1912. for i,v in next, prt:children() do
  1913. if v:IsA'BasePart' then
  1914. v.TopSurface,v.BottomSurface=0,0
  1915. v.Locked=true
  1916. --v.CanCollide=false
  1917. end
  1918. sr(v)
  1919. end
  1920. end
  1921. sr(char)
  1922. end)
  1923.  
  1924. --[[ Default Welds
  1925. local animspd = .1
  1926. torw.C0 = clerp(torw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1927. hedw.C0 = clerp(hedw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1928. law.C0 = clerp(law.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1929. raw.C0 = clerp(raw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1930. rlw.C0 = clerp(rlw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1931. llw.C0 = clerp(llw.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1932. h1w.C0 = lerp(h1w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1933. --h2w.C0 = lerp(h2w.C0, cf(0,0,0)*ang(0,0,0),animspd)
  1934. --]]
  1935.  
  1936. --print'script ran'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement