Robert666121

Ruin V

Jul 9th, 2018 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.02 KB | None | 0 0
  1. local GUI = Instance.new("ScreenGui")
  2. local OpenFrame = Instance.new("Frame")
  3. local OpenButton = Instance.new("TextButton")
  4. local OpenBeautyFrame = Instance.new("Frame")
  5. local MainFrame = Instance.new("Frame")
  6. local MainFrameBeautyA = Instance.new("Frame")
  7. local CloseButton = Instance.new("TextButton")
  8. local EXPLOIT1 = Instance.new("TextButton")
  9. local MainFrameCenterBeautyA = Instance.new("Frame")
  10. local MainFrameCenterBeautyA_2 = Instance.new("Frame")
  11. local EXPLOIT5 = Instance.new("TextButton")
  12. local EXPLOIT9 = Instance.new("TextButton")
  13. local EXPLOIT6 = Instance.new("TextButton")
  14. local EXPLOIT7 = Instance.new("TextButton")
  15. local EXPLOIT8 = Instance.new("TextButton")
  16. local EXPLOIT10 = Instance.new("TextButton")
  17. local EXPLOIT11 = Instance.new("TextButton")
  18. local EXPLOIT12 = Instance.new("TextButton")
  19. local EXPLOIT2 = Instance.new("TextButton")
  20. local EXPLOIT3 = Instance.new("TextButton")
  21. local EXPLOIT4 = Instance.new("TextButton")
  22. local MainFrameBeautyB = Instance.new("Frame")
  23.  
  24.  
  25. --Properties:
  26.  
  27. GUI.Name = "GUI"
  28. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  29.  
  30. OpenFrame.Name = "OpenFrame"
  31. OpenFrame.Parent = GUI
  32. OpenFrame.Active = true
  33. OpenFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  34. OpenFrame.BorderSizePixel = 0
  35. OpenFrame.Position = UDim2.new(0, 0, 0.629155695, 0)
  36. OpenFrame.Size = UDim2.new(0, 72, 0, 27)
  37.  
  38. OpenButton.Name = "OpenButton"
  39. OpenButton.Parent = OpenFrame
  40. OpenButton.BackgroundColor3 = Color3.fromRGB(170, 170, 127)
  41. OpenButton.BackgroundTransparency = 1.000
  42. OpenButton.BorderSizePixel = 0
  43. OpenButton.Position = UDim2.new(0.0305736773, 0, 0.116329789, 0)
  44. OpenButton.Size = UDim2.new(0, 66, 0, 20)
  45. OpenButton.Font = Enum.Font.Cartoon
  46. OpenButton.Text = "Open"
  47. OpenButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. OpenButton.TextScaled = true
  49. OpenButton.TextSize = 14.000
  50. OpenButton.TextWrapped = true
  51. OpenButton.MouseButton1Down:connect(function()
  52. MainFrame.Visible = true
  53. OpenFrame.Visible = false
  54. MainFrameBeautyA.Visible = true
  55. MainFrameBeautyB.Visible = true
  56. MainFrameCenterBeautyA_2.Visible = true
  57. MainFrameCenterBeautyA.Visible = true
  58. end)
  59.  
  60. OpenBeautyFrame.Name = "OpenBeautyFrame"
  61. OpenBeautyFrame.Parent = OpenFrame
  62. OpenBeautyFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. OpenBeautyFrame.BorderSizePixel = 0
  64. OpenBeautyFrame.Position = UDim2.new(0.988907099, 0, -0.148148149, 0)
  65. OpenBeautyFrame.Size = UDim2.new(0, 3, 0, 33)
  66.  
  67. MainFrame.Name = "MainFrame"
  68. MainFrame.Parent = GUI
  69. MainFrame.Active = true
  70. MainFrame.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  71. MainFrame.BorderSizePixel = 0
  72. MainFrame.Position = UDim2.new(0.30754894, 0, 0.235294133, 0)
  73. MainFrame.Size = UDim2.new(0, 412, 0, 263)
  74. MainFrame.Visible = false
  75. MainFrame.Draggable = true
  76.  
  77. MainFrameBeautyA.Name = "MainFrameBeautyA"
  78. MainFrameBeautyA.Parent = MainFrame
  79. MainFrameBeautyA.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  80. MainFrameBeautyA.BorderSizePixel = 0
  81. MainFrameBeautyA.Size = UDim2.new(0, 412, 0, 22)
  82. MainFrameBeautyA.Visible = false
  83.  
  84. CloseButton.Name = "CloseButton"
  85. CloseButton.Parent = MainFrameBeautyA
  86. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  87. CloseButton.BackgroundTransparency = 1.000
  88. CloseButton.BorderSizePixel = 0
  89. CloseButton.Position = UDim2.new(0.905339777, 0, 0, 0)
  90. CloseButton.Size = UDim2.new(0, 39, 0, 22)
  91. CloseButton.Font = Enum.Font.Cartoon
  92. CloseButton.Text = "Close"
  93. CloseButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  94. CloseButton.TextScaled = true
  95. CloseButton.TextSize = 14.000
  96. CloseButton.TextWrapped = true
  97. CloseButton.MouseButton1Down:connect(function()
  98. OpenFrame.Visible = true
  99. MainFrame.Visible = false
  100. MainFrameBeautyA.Visible = false
  101. MainFrameBeautyB.Visible = false
  102. MainFrameCenterBeautyA_2.Visible = false
  103. MainFrameCenterBeautyA.Visible = false
  104. end)
  105.  
  106. EXPLOIT1.Name = "EXPLOIT1"
  107. EXPLOIT1.Parent = MainFrame
  108. EXPLOIT1.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  109. EXPLOIT1.BorderSizePixel = 0
  110. EXPLOIT1.Position = UDim2.new(0.024271844, 0, 0.129277572, 0)
  111. EXPLOIT1.Size = UDim2.new(0, 92, 0, 32)
  112. EXPLOIT1.Font = Enum.Font.Cartoon
  113. EXPLOIT1.Text = "My Other GUI"
  114. EXPLOIT1.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. EXPLOIT1.TextScaled = true
  116. EXPLOIT1.TextSize = 14.000
  117. EXPLOIT1.TextWrapped = true
  118. EXPLOIT1.MouseButton1Down:connect(function()
  119. loadstring(game:HttpGet(('https://pastebin.com/raw/HCsqYzwa'),true))()
  120. end)
  121.  
  122. MainFrameCenterBeautyA.Name = "MainFrameCenterBeautyA"
  123. MainFrameCenterBeautyA.Parent = MainFrame
  124. MainFrameCenterBeautyA.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  125. MainFrameCenterBeautyA.BorderSizePixel = 0
  126. MainFrameCenterBeautyA.Position = UDim2.new(0.288834959, 0, 0.129277572, 0)
  127. MainFrameCenterBeautyA.Size = UDim2.new(0, 8, 0, 185)
  128. MainFrameCenterBeautyA.Visible = false
  129.  
  130. MainFrameCenterBeautyA_2.Name = "MainFrameCenterBeautyA"
  131. MainFrameCenterBeautyA_2.Parent = MainFrame
  132. MainFrameCenterBeautyA_2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  133. MainFrameCenterBeautyA_2.BorderSizePixel = 0
  134. MainFrameCenterBeautyA_2.Position = UDim2.new(0.699029148, 0, 0.129277557, 0)
  135. MainFrameCenterBeautyA_2.Size = UDim2.new(0, 8, 0, 185)
  136. MainFrameCenterBeautyA_2.Visible = false
  137.  
  138. EXPLOIT5.Name = "EXPLOIT5"
  139. EXPLOIT5.Parent = MainFrame
  140. EXPLOIT5.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  141. EXPLOIT5.BorderSizePixel = 0
  142. EXPLOIT5.Position = UDim2.new(0.388349503, 0, 0.129277572, 0)
  143. EXPLOIT5.Size = UDim2.new(0, 92, 0, 32)
  144. EXPLOIT5.Font = Enum.Font.Cartoon
  145. EXPLOIT5.Text = "JailTabs"
  146. EXPLOIT5.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. EXPLOIT5.TextScaled = true
  148. EXPLOIT5.TextSize = 14.000
  149. EXPLOIT5.TextWrapped = true
  150. EXPLOIT5.MouseButton1Down:connect(function()
  151. loadstring(game:HttpGet(('https://pastebin.com/raw/aV6LcSGf'),true))()
  152. end)
  153.  
  154. EXPLOIT9.Name = "EXPLOIT9"
  155. EXPLOIT9.Parent = MainFrame
  156. EXPLOIT9.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  157. EXPLOIT9.BorderSizePixel = 0
  158. EXPLOIT9.Position = UDim2.new(0.75242722, 0, 0.129277572, 0)
  159. EXPLOIT9.Size = UDim2.new(0, 92, 0, 32)
  160. EXPLOIT9.Font = Enum.Font.Cartoon
  161. EXPLOIT9.Text = "Counter Pepsi"
  162. EXPLOIT9.TextColor3 = Color3.fromRGB(255, 255, 255)
  163. EXPLOIT9.TextScaled = true
  164. EXPLOIT9.TextSize = 14.000
  165. EXPLOIT9.TextWrapped = true
  166. EXPLOIT9.MouseButton1Down:connect(function()
  167. loadstring(game:HttpGet(('https://pastebin.com/raw/cWTJj3aZ'),true))()
  168. end)
  169.  
  170. EXPLOIT6.Name = "EXPLOIT6"
  171. EXPLOIT6.Parent = MainFrame
  172. EXPLOIT6.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  173. EXPLOIT6.BorderSizePixel = 0
  174. EXPLOIT6.Position = UDim2.new(0.388349503, 0, 0.323193908, 0)
  175. EXPLOIT6.Size = UDim2.new(0, 92, 0, 32)
  176. EXPLOIT6.Font = Enum.Font.Cartoon
  177. EXPLOIT6.Text = "PsyHub"
  178. EXPLOIT6.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. EXPLOIT6.TextScaled = true
  180. EXPLOIT6.TextSize = 14.000
  181. EXPLOIT6.TextWrapped = true
  182. EXPLOIT6.MouseButton1Down:connect(function()
  183. loadstring(game:GetObjects("rbxassetid://3014051754")[1].Source)()
  184. end)
  185.  
  186. EXPLOIT7.Name = "EXPLOIT7"
  187. EXPLOIT7.Parent = MainFrame
  188. EXPLOIT7.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  189. EXPLOIT7.BorderSizePixel = 0
  190. EXPLOIT7.Position = UDim2.new(0.388349503, 0, 0.520912528, 0)
  191. EXPLOIT7.Size = UDim2.new(0, 92, 0, 32)
  192. EXPLOIT7.Font = Enum.Font.Cartoon
  193. EXPLOIT7.Text = "IY FE"
  194. EXPLOIT7.TextColor3 = Color3.fromRGB(255, 255, 255)
  195. EXPLOIT7.TextScaled = true
  196. EXPLOIT7.TextSize = 14.000
  197. EXPLOIT7.TextWrapped = true
  198. EXPLOIT7.MouseButton1Down:connect(function()
  199. loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
  200. end)
  201.  
  202. EXPLOIT8.Name = "EXPLOIT8"
  203. EXPLOIT8.Parent = MainFrame
  204. EXPLOIT8.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  205. EXPLOIT8.BorderSizePixel = 0
  206. EXPLOIT8.Position = UDim2.new(0.388349503, 0, 0.711026609, 0)
  207. EXPLOIT8.Size = UDim2.new(0, 92, 0, 32)
  208. EXPLOIT8.Font = Enum.Font.Cartoon
  209. EXPLOIT8.Text = "Arsenal Kill All"
  210. EXPLOIT8.TextColor3 = Color3.fromRGB(255, 255, 255)
  211. EXPLOIT8.TextScaled = true
  212. EXPLOIT8.TextSize = 14.000
  213. EXPLOIT8.TextWrapped = true
  214. EXPLOIT8.MouseButton1Down:connect(function()
  215. print("Script made by FramzDev#8283")
  216. local c = workspace.CurrentCamera
  217. local lplr = game.Players.LocalPlayer
  218.  
  219. function a(p)
  220. if p and p.Character then
  221. pcall(function()
  222. local t = p.Character.PrimaryPart.CFrame * Vector3.new(0, -0.25, 0)
  223. c.CFrame = CFrame.new(c.Focus.p, t) * CFrame.new(0, 0, 0.5)
  224. end)
  225. end
  226. end
  227. for i=1,10 do
  228. for _,v in pairs(game.Players:GetPlayers()) do
  229. pcall(function()
  230. for i=1,15 do
  231. lplr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame - v.Character.HumanoidRootPart.CFrame.LookVector*4
  232. a(v)
  233. wait()
  234. end
  235. end)
  236. end
  237. end
  238. end)
  239.  
  240. EXPLOIT10.Name = "EXPLOIT10"
  241. EXPLOIT10.Parent = MainFrame
  242. EXPLOIT10.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  243. EXPLOIT10.BorderSizePixel = 0
  244. EXPLOIT10.Position = UDim2.new(0.75242722, 0, 0.323193908, 0)
  245. EXPLOIT10.Size = UDim2.new(0, 92, 0, 32)
  246. EXPLOIT10.Font = Enum.Font.Cartoon
  247. EXPLOIT10.Text = "Reviz Admin"
  248. EXPLOIT10.TextColor3 = Color3.fromRGB(255, 255, 255)
  249. EXPLOIT10.TextScaled = true
  250. EXPLOIT10.TextSize = 14.000
  251. EXPLOIT10.TextWrapped = true
  252. EXPLOIT10.MouseButton1Down:connect(function()
  253. loadstring(game:HttpGet(('https://pastebin.com/raw/KNUzQPYS'),true))()
  254. end)
  255.  
  256. EXPLOIT11.Name = "EXPLOIT11"
  257. EXPLOIT11.Parent = MainFrame
  258. EXPLOIT11.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  259. EXPLOIT11.BorderSizePixel = 0
  260. EXPLOIT11.Position = UDim2.new(0.75242722, 0, 0.520912528, 0)
  261. EXPLOIT11.Size = UDim2.new(0, 92, 0, 32)
  262. EXPLOIT11.Font = Enum.Font.Cartoon
  263. EXPLOIT11.Text = "FE GUI"
  264. EXPLOIT11.TextColor3 = Color3.fromRGB(255, 255, 255)
  265. EXPLOIT11.TextScaled = true
  266. EXPLOIT11.TextSize = 14.000
  267. EXPLOIT11.TextWrapped = true
  268. EXPLOIT11.MouseButton1Down:connect(function()
  269. loadstring(game:HttpGet(('https://pastebin.com/raw/yQaWHmZA'),true))()
  270. end)
  271.  
  272. EXPLOIT12.Name = "EXPLOIT12"
  273. EXPLOIT12.Parent = MainFrame
  274. EXPLOIT12.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  275. EXPLOIT12.BorderSizePixel = 0
  276. EXPLOIT12.Position = UDim2.new(0.75242722, 0, 0.711026609, 0)
  277. EXPLOIT12.Size = UDim2.new(0, 92, 0, 32)
  278. EXPLOIT12.Font = Enum.Font.Cartoon
  279. EXPLOIT12.Text = "FE Troll Animations"
  280. EXPLOIT12.TextColor3 = Color3.fromRGB(255, 255, 255)
  281. EXPLOIT12.TextScaled = true
  282. EXPLOIT12.TextSize = 14.000
  283. EXPLOIT12.TextWrapped = true
  284. EXPLOIT12.MouseButton1Down:connect(function()
  285. loadstring(game:HttpGet(('https://pastebin.com/raw/35ze0RJb'),true))()
  286. end)
  287.  
  288. EXPLOIT2.Name = "EXPLOIT2"
  289. EXPLOIT2.Parent = MainFrame
  290. EXPLOIT2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  291. EXPLOIT2.BorderSizePixel = 0
  292. EXPLOIT2.Position = UDim2.new(0.024271844, 0, 0.323193908, 0)
  293. EXPLOIT2.Size = UDim2.new(0, 92, 0, 32)
  294. EXPLOIT2.Font = Enum.Font.Cartoon
  295. EXPLOIT2.Text = "Fe Invis Kill"
  296. EXPLOIT2.TextColor3 = Color3.fromRGB(255, 255, 255)
  297. EXPLOIT2.TextScaled = true
  298. EXPLOIT2.TextSize = 14.000
  299. EXPLOIT2.TextWrapped = true
  300. EXPLOIT2.MouseButton1Down:connect(function()
  301. loadstring(game:HttpGet(('https://pastebin.com/raw/Lpn5rUDp'),true))()
  302. end)
  303.  
  304. EXPLOIT3.Name = "EXPLOIT3"
  305. EXPLOIT3.Parent = MainFrame
  306. EXPLOIT3.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  307. EXPLOIT3.BorderSizePixel = 0
  308. EXPLOIT3.Position = UDim2.new(0.024271844, 0, 0.520912528, 0)
  309. EXPLOIT3.Size = UDim2.new(0, 92, 0, 32)
  310. EXPLOIT3.Font = Enum.Font.Cartoon
  311. EXPLOIT3.Text = "Vybe CMD Bar"
  312. EXPLOIT3.TextColor3 = Color3.fromRGB(255, 255, 255)
  313. EXPLOIT3.TextScaled = true
  314. EXPLOIT3.TextSize = 14.000
  315. EXPLOIT3.TextWrapped = true
  316. EXPLOIT3.MouseButton1Down:connect(function()
  317. loadstring(game:HttpGet(('https://pastebin.com/raw/NN5P4nQE'),true))()
  318. end)
  319.  
  320. EXPLOIT4.Name = "EXPLOIT4"
  321. EXPLOIT4.Parent = MainFrame
  322. EXPLOIT4.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  323. EXPLOIT4.BorderSizePixel = 0
  324. EXPLOIT4.Position = UDim2.new(0.024271844, 0, 0.711026609, 0)
  325. EXPLOIT4.Size = UDim2.new(0, 92, 0, 32)
  326. EXPLOIT4.Font = Enum.Font.Cartoon
  327. EXPLOIT4.Text = "JB Autorob"
  328. EXPLOIT4.TextColor3 = Color3.fromRGB(255, 255, 255)
  329. EXPLOIT4.TextScaled = true
  330. EXPLOIT4.TextSize = 14.000
  331. EXPLOIT4.TextWrapped = true
  332. EXPLOIT4.MouseButton1Down:connect(function()
  333. loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
  334. end)
  335.  
  336. MainFrameBeautyB.Name = "MainFrameBeautyB"
  337. MainFrameBeautyB.Parent = MainFrame
  338. MainFrameBeautyB.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  339. MainFrameBeautyB.BorderSizePixel = 0
  340. MainFrameBeautyB.Position = UDim2.new(0, 0, 0.916349828, 0)
  341. MainFrameBeautyB.Size = UDim2.new(0, 412, 0, 22)
  342. MainFrameBeautyB.Visible = false
  343.  
  344. wait(0.2)
  345.  
  346.  
  347.  
  348. Player = game:GetService("Players").LocalPlayer
  349. PlayerGui = Player.PlayerGui
  350. Cam = workspace.CurrentCamera
  351. Backpack = Player.Backpack
  352. Character = Player.Character
  353. Humanoid = Character.Humanoid
  354. Mouse = Player:GetMouse()
  355. RootPart = Character["HumanoidRootPart"]
  356. Torso = Character["Torso"]
  357. Head = Character["Head"]
  358. RightArm = Character["Right Arm"]
  359. LeftArm = Character["Left Arm"]
  360. RightLeg = Character["Right Leg"]
  361. LeftLeg = Character["Left Leg"]
  362. RootJoint = RootPart["RootJoint"]
  363. Neck = Torso["Neck"]
  364. RightShoulder = Torso["Right Shoulder"]
  365. LeftShoulder = Torso["Left Shoulder"]
  366. RightHip = Torso["Right Hip"]
  367. LeftHip = Torso["Left Hip"]
  368. local sick = Instance.new("Sound",Character)
  369. sick.SoundId = "rbxassetid://196739738"
  370. sick.Looped = true
  371. sick.Pitch = 1
  372. sick.Volume = 1
  373. sick:Play()
  374.  
  375. IT = Instance.new
  376. CF = CFrame.new
  377. VT = Vector3.new
  378. RAD = math.rad
  379. C3 = Color3.new
  380. UD2 = UDim2.new
  381. BRICKC = BrickColor.new
  382. ANGLES = CFrame.Angles
  383. EULER = CFrame.fromEulerAnglesXYZ
  384. COS = math.cos
  385. ACOS = math.acos
  386. SIN = math.sin
  387. ASIN = math.asin
  388. ABS = math.abs
  389. MRANDOM = math.random
  390. FLOOR = math.floor
  391.  
  392. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  393. local NEWMESH = IT(MESH)
  394. if MESH == "SpecialMesh" then
  395. NEWMESH.MeshType = MESHTYPE
  396. if MESHID ~= "nil" and MESHID ~= "" then
  397. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  398. end
  399. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  400. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  401. end
  402. end
  403. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  404. NEWMESH.Scale = SCALE
  405. NEWMESH.Parent = PARENT
  406. return NEWMESH
  407. end
  408.  
  409. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  410. local NEWPART = IT("Part")
  411. NEWPART.formFactor = FORMFACTOR
  412. NEWPART.Reflectance = REFLECTANCE
  413. NEWPART.Transparency = TRANSPARENCY
  414. NEWPART.CanCollide = false
  415. NEWPART.Locked = true
  416. NEWPART.Anchored = true
  417. if ANCHOR == false then
  418. NEWPART.Anchored = false
  419. end
  420. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  421. NEWPART.Name = NAME
  422. NEWPART.Size = SIZE
  423. NEWPART.Position = Torso.Position
  424. NEWPART.Material = MATERIAL
  425. NEWPART:BreakJoints()
  426. NEWPART.Parent = PARENT
  427. return NEWPART
  428. end
  429.  
  430. --//=================================\\
  431. --|| CUSTOMIZATION
  432. --\\=================================//
  433.  
  434. Class_Name = "Template"
  435. Weapon_Name = "Add-ons"
  436.  
  437. Custom_Colors = {
  438. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  439. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  440.  
  441. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  442. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  443. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  444. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  445. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  446.  
  447. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  448. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  449. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  450. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  451. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  452. }
  453.  
  454.  
  455. Player_Size = 1 --Size of the player.
  456. Animation_Speed = 3
  457. Animation_Speed2 = 1
  458. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  459.  
  460. local Speed = 16
  461. local Effects2 = {}
  462.  
  463. --//=================================\\
  464. --|| END OF CUSTOMIZATION
  465. --\\=================================//
  466.  
  467. local function weldBetween(a, b)
  468. local weldd = Instance.new("ManualWeld")
  469. weldd.Part0 = a
  470. weldd.Part1 = b
  471. weldd.C0 = CFrame.new()
  472. weldd.C1 = b.CFrame:inverse() * a.CFrame
  473. weldd.Parent = a
  474. return weldd
  475. end
  476.  
  477. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  478. local acs = Instance.new("Part")
  479. acs.CanCollide = false
  480. acs.Anchored = false
  481. acs.Size = Vector3.new(0,0,0)
  482. acs.CFrame = attachmentpart.CFrame
  483. acs.Parent = Character
  484. acs.BrickColor = color
  485. local meshs = Instance.new("SpecialMesh")
  486. meshs.MeshId = mesh
  487. meshs.TextureId = texture
  488. meshs.Parent = acs
  489. meshs.Scale = scale
  490. meshs.Offset = offset
  491. weldBetween(attachmentpart,acs)
  492. end
  493.  
  494. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  495. if TYPE == "Gem" then
  496. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  497. acs.Anchored = false
  498. acs.CanCollide = false
  499. acs.CFrame = PART.CFrame
  500. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  501. weldBetween(PART,acs)
  502. elseif TYPE == "Skull" then
  503. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  504. acs.Anchored = false
  505. acs.CanCollide = false
  506. acs.CFrame = PART.CFrame
  507. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  508. weldBetween(PART,acs)
  509. elseif TYPE == "Eye" then
  510. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  511. acs.Anchored = false
  512. acs.CanCollide = false
  513. acs.CFrame = PART.CFrame
  514. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  515. weldBetween(PART,acs)
  516. end
  517. end
  518.  
  519. --//=================================\\
  520. --|| USEFUL VALUES
  521. --\\=================================//
  522.  
  523. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  524. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  525. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  526. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  527. local CHANGEDEFENSE = 0
  528. local CHANGEDAMAGE = 0
  529. local CHANGEMOVEMENT = 0
  530. local ANIM = "Idle"
  531. local ATTACK = false
  532. local EQUIPPED = false
  533. local HOLD = false
  534. local COMBO = 1
  535. local Rooted = false
  536. local SINE = 0
  537. local KEYHOLD = false
  538. local CHANGE = 2 / Animation_Speed
  539. local WALKINGANIM = false
  540. local WALK = 0
  541. local VALUE1 = false
  542. local VALUE2 = false
  543. local ROBLOXIDLEANIMATION = IT("Animation")
  544. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  545. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  546. --ROBLOXIDLEANIMATION.Parent = Humanoid
  547. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  548. WEAPONGUI.Name = "Weapon GUI"
  549. local Weapon = IT("Model")
  550. Weapon.Name = Weapon_Name
  551. local Effects = IT("Folder", Weapon)
  552. Effects.Name = "Effects"
  553. local ANIMATOR = Humanoid.Animator
  554. local ANIMATE = Character.Animate
  555. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  556. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  557. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  558. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  559. local CASTSOUNDS = {"1369158","2974000","2974249"}
  560. local BOLTSOUNDS = {"821439273","224339201","168586586"}
  561. local TORNADOSOUND = "362395087"
  562. local UNANCHOR = true
  563.  
  564. local SKILLTEXTCOLOR = C3(0,0,0)
  565.  
  566. --//=================================\\
  567. --\\=================================//
  568.  
  569.  
  570. --//=================================\\
  571. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  572. --\\=================================//
  573.  
  574. ArtificialHB = Instance.new("BindableEvent", script)
  575. ArtificialHB.Name = "ArtificialHB"
  576.  
  577. script:WaitForChild("ArtificialHB")
  578.  
  579. frame = Frame_Speed
  580. tf = 0
  581. allowframeloss = false
  582. tossremainder = false
  583. lastframe = tick()
  584. script.ArtificialHB:Fire()
  585.  
  586. game:GetService("RunService").Heartbeat:connect(function(s, p)
  587. tf = tf + s
  588. if tf >= frame then
  589. if allowframeloss then
  590. script.ArtificialHB:Fire()
  591. lastframe = tick()
  592. else
  593. for i = 1, math.floor(tf / frame) do
  594. script.ArtificialHB:Fire()
  595. end
  596. lastframe = tick()
  597. end
  598. if tossremainder then
  599. tf = 0
  600. else
  601. tf = tf - frame * math.floor(tf / frame)
  602. end
  603. end
  604. end)
  605.  
  606. --//=================================\\
  607. --\\=================================//
  608.  
  609.  
  610.  
  611.  
  612.  
  613. --//=================================\\
  614. --|| SOME FUNCTIONS
  615. --\\=================================//
  616.  
  617. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  618. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  619. end
  620.  
  621. function PositiveAngle(NUMBER)
  622. if NUMBER >= 0 then
  623. NUMBER = 0
  624. end
  625. return NUMBER
  626. end
  627.  
  628. function NegativeAngle(NUMBER)
  629. if NUMBER <= 0 then
  630. NUMBER = 0
  631. end
  632. return NUMBER
  633. end
  634.  
  635. function Swait(NUMBER)
  636. if NUMBER == 0 or NUMBER == nil then
  637. ArtificialHB.Event:wait()
  638. else
  639. for i = 1, NUMBER do
  640. ArtificialHB.Event:wait()
  641. end
  642. end
  643. end
  644.  
  645. function QuaternionFromCFrame(cf)
  646. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  647. local trace = m00 + m11 + m22
  648. if trace > 0 then
  649. local s = math.sqrt(1 + trace)
  650. local recip = 0.5 / s
  651. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  652. else
  653. local i = 0
  654. if m11 > m00 then
  655. i = 1
  656. end
  657. if m22 > (i == 0 and m00 or m11) then
  658. i = 2
  659. end
  660. if i == 0 then
  661. local s = math.sqrt(m00 - m11 - m22 + 1)
  662. local recip = 0.5 / s
  663. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  664. elseif i == 1 then
  665. local s = math.sqrt(m11 - m22 - m00 + 1)
  666. local recip = 0.5 / s
  667. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  668. elseif i == 2 then
  669. local s = math.sqrt(m22 - m00 - m11 + 1)
  670. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  671. end
  672. end
  673. end
  674.  
  675. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  676. local xs, ys, zs = x + x, y + y, z + z
  677. local wx, wy, wz = w * xs, w * ys, w * zs
  678. local xx = x * xs
  679. local xy = x * ys
  680. local xz = x * zs
  681. local yy = y * ys
  682. local yz = y * zs
  683. local zz = z * zs
  684. 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))
  685. end
  686.  
  687. function QuaternionSlerp(a, b, t)
  688. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  689. local startInterp, finishInterp;
  690. if cosTheta >= 0.0001 then
  691. if (1 - cosTheta) > 0.0001 then
  692. local theta = ACOS(cosTheta)
  693. local invSinTheta = 1 / SIN(theta)
  694. startInterp = SIN((1 - t) * theta) * invSinTheta
  695. finishInterp = SIN(t * theta) * invSinTheta
  696. else
  697. startInterp = 1 - t
  698. finishInterp = t
  699. end
  700. else
  701. if (1 + cosTheta) > 0.0001 then
  702. local theta = ACOS(-cosTheta)
  703. local invSinTheta = 1 / SIN(theta)
  704. startInterp = SIN((t - 1) * theta) * invSinTheta
  705. finishInterp = SIN(t * theta) * invSinTheta
  706. else
  707. startInterp = t - 1
  708. finishInterp = t
  709. end
  710. end
  711. 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
  712. end
  713.  
  714. function Clerp(a, b, t)
  715. local qa = {QuaternionFromCFrame(a)}
  716. local qb = {QuaternionFromCFrame(b)}
  717. local ax, ay, az = a.x, a.y, a.z
  718. local bx, by, bz = b.x, b.y, b.z
  719. local _t = 1 - t
  720. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  721. end
  722.  
  723. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  724. local frame = IT("Frame")
  725. frame.BackgroundTransparency = TRANSPARENCY
  726. frame.BorderSizePixel = BORDERSIZEPIXEL
  727. frame.Position = POSITION
  728. frame.Size = SIZE
  729. frame.BackgroundColor3 = COLOR
  730. frame.BorderColor3 = BORDERCOLOR
  731. frame.Name = NAME
  732. frame.Parent = PARENT
  733. return frame
  734. end
  735.  
  736. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  737. local label = IT("TextLabel")
  738. label.BackgroundTransparency = 1
  739. label.Size = UD2(1, 0, 1, 0)
  740. label.Position = UD2(0, 0, 0, 0)
  741. label.TextColor3 = TEXTCOLOR
  742. label.TextStrokeTransparency = STROKETRANSPARENCY
  743. label.TextTransparency = TRANSPARENCY
  744. label.FontSize = TEXTFONTSIZE
  745. label.Font = TEXTFONT
  746. label.BorderSizePixel = BORDERSIZEPIXEL
  747. label.TextScaled = false
  748. label.Text = TEXT
  749. label.Name = NAME
  750. label.Parent = PARENT
  751. return label
  752. end
  753.  
  754. function NoOutlines(PART)
  755. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  756. end
  757.  
  758.  
  759. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  760. local NEWWELD = IT(TYPE)
  761. NEWWELD.Part0 = PART0
  762. NEWWELD.Part1 = PART1
  763. NEWWELD.C0 = C0
  764. NEWWELD.C1 = C1
  765. NEWWELD.Parent = PARENT
  766. return NEWWELD
  767. end
  768.  
  769. function CreateSound(ID, PARENT, VOLUME, PITCH)
  770. local NEWSOUND = nil
  771. coroutine.resume(coroutine.create(function()
  772. NEWSOUND = IT("Sound", PARENT)
  773. NEWSOUND.Volume = VOLUME
  774. NEWSOUND.Pitch = PITCH
  775. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  776. NEWSOUND:play()
  777. game:GetService("Debris"):AddItem(NEWSOUND, 20)
  778. end))
  779. return NEWSOUND
  780. end
  781.  
  782. function CFrameFromTopBack(at, top, back)
  783. local right = top:Cross(back)
  784. 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)
  785. end
  786.  
  787. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  788. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  789. local mesh = IT("SpecialMesh",wave)
  790. mesh.MeshType = "FileMesh"
  791. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  792. mesh.Scale = SIZE
  793. mesh.Offset = VT(0,0,-SIZE.X/8)
  794. wave.CFrame = CFRAME
  795. coroutine.resume(coroutine.create(function(PART)
  796. for i = 1, WAIT do
  797. Swait()
  798. mesh.Scale = mesh.Scale + GROW
  799. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  800. if DOESROT == true then
  801. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  802. end
  803. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  804. if wave.Transparency > 0.99 then
  805. wave:remove()
  806. end
  807. end
  808. end))
  809. end
  810.  
  811. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  812. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  813. local mesh = IT("SpecialMesh",wave)
  814. mesh.MeshType = "FileMesh"
  815. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  816. mesh.Scale = SIZE
  817. mesh.Offset = VT(0,0,-SIZE.X/8)
  818. wave.CFrame = CFRAME
  819. coroutine.resume(coroutine.create(function(PART)
  820. for i = 1, WAIT do
  821. Swait()
  822. mesh.Scale = mesh.Scale + GROW
  823. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  824. if DOESROT == true then
  825. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  826. end
  827. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  828. if wave.Transparency > 0.99 then
  829. wave:remove()
  830. end
  831. end
  832. end))
  833. end
  834.  
  835. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  836. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  837. local mesh = IT("SpecialMesh",wave)
  838. mesh.MeshType = "FileMesh"
  839. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  840. mesh.Scale = SIZE
  841. mesh.Offset = VT(0,0,-SIZE.X/8)
  842. wave.CFrame = CFRAME
  843. coroutine.resume(coroutine.create(function(PART)
  844. for i = 1, WAIT do
  845. Swait()
  846. mesh.Scale = mesh.Scale + GROW
  847. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  848. if DOESROT == true then
  849. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  850. end
  851. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  852. if wave.Transparency > 0.99 then
  853. wave:remove()
  854. end
  855. end
  856. end))
  857. end
  858.  
  859. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  860. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  861. local mesh = IT("SpecialMesh",wave)
  862. mesh.MeshType = "FileMesh"
  863. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  864. mesh.Scale = SIZE
  865. mesh.Offset = VT(0,0,-SIZE.X/8)
  866. wave.CFrame = CFRAME
  867. coroutine.resume(coroutine.create(function(PART)
  868. for i = 1, WAIT do
  869. Swait()
  870. mesh.Scale = mesh.Scale + GROW
  871. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  872. if DOESROT == true then
  873. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  874. end
  875. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  876. if wave.Transparency > 0.99 then
  877. wave:remove()
  878. end
  879. end
  880. end))
  881. end
  882.  
  883. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  884. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  885. local mesh = IT("SpecialMesh",wave)
  886. mesh.MeshType = "FileMesh"
  887. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  888. mesh.Scale = SIZE
  889. wave.CFrame = CFRAME
  890. coroutine.resume(coroutine.create(function(PART)
  891. for i = 1, WAIT do
  892. Swait()
  893. mesh.Scale = mesh.Scale + GROW
  894. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  895. if DOESROT == true then
  896. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  897. end
  898. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  899. if wave.Transparency > 0.99 then
  900. wave:remove()
  901. end
  902. end
  903. end))
  904. end
  905.  
  906. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  907. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  908. local mesh = IT("SpecialMesh",wave)
  909. mesh.MeshType = "FileMesh"
  910. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  911. mesh.Scale = SIZE
  912. wave.CFrame = CFRAME
  913. coroutine.resume(coroutine.create(function(PART)
  914. for i = 1, WAIT do
  915. Swait()
  916. mesh.Scale = mesh.Scale + GROW
  917. if DOESROT == true then
  918. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  919. end
  920. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  921. if wave.Transparency > 0.99 then
  922. wave:remove()
  923. end
  924. end
  925. end))
  926. end
  927.  
  928. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  929. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  930. local mesh = IT("SpecialMesh",wave)
  931. mesh.MeshType = "FileMesh"
  932. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  933. mesh.Scale = SIZE
  934. mesh.Offset = VT(0,0,0)
  935. wave.CFrame = CFRAME
  936. coroutine.resume(coroutine.create(function(PART)
  937. for i = 1, WAIT do
  938. Swait()
  939. mesh.Scale = mesh.Scale + GROW
  940. if DOESROT == true then
  941. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  942. end
  943. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  944. if wave.Transparency > 0.99 then
  945. wave:remove()
  946. end
  947. end
  948. end))
  949. end
  950.  
  951. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  952. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  953. local mesh = IT("SpecialMesh",wave)
  954. mesh.MeshType = "Sphere"
  955. mesh.Scale = SIZE
  956. mesh.Offset = VT(0,0,0)
  957. wave.CFrame = CFRAME
  958. coroutine.resume(coroutine.create(function(PART)
  959. for i = 1, WAIT do
  960. Swait()
  961. mesh.Scale = mesh.Scale + GROW
  962. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  963. if wave.Transparency > 0.99 then
  964. wave:remove()
  965. end
  966. end
  967. end))
  968. end
  969.  
  970. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  971. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  972. wave.CFrame = CFRAME
  973. coroutine.resume(coroutine.create(function(PART)
  974. for i = 1, WAIT do
  975. Swait()
  976. wave.Size = wave.Size + GROW
  977. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  978. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  979. if wave.Transparency > 0.99 then
  980. wave:remove()
  981. end
  982. end
  983. end))
  984. end
  985.  
  986. function MakeForm(PART,TYPE)
  987. if TYPE == "Cyl" then
  988. local MSH = IT("CylinderMesh",PART)
  989. elseif TYPE == "Ball" then
  990. local MSH = IT("SpecialMesh",PART)
  991. MSH.MeshType = "Sphere"
  992. elseif TYPE == "Wedge" then
  993. local MSH = IT("SpecialMesh",PART)
  994. MSH.MeshType = "Wedge"
  995. end
  996. end
  997.  
  998. function CheckTableForString(Table, String)
  999. for i, v in pairs(Table) do
  1000. if string.find(string.lower(String), string.lower(v)) then
  1001. return true
  1002. end
  1003. end
  1004. return false
  1005. end
  1006.  
  1007. function CheckIntangible(Hit)
  1008. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1009. if Hit and Hit.Parent then
  1010. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1011. return true
  1012. end
  1013. end
  1014. return false
  1015. end
  1016.  
  1017. Debris = game:GetService("Debris")
  1018.  
  1019. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1020. local Direction = CFrame.new(StartPos, Vec).lookVector
  1021. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1022. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1023. if RayHit and CheckIntangible(RayHit) then
  1024. if DelayIfHit then
  1025. wait()
  1026. end
  1027. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1028. end
  1029. return RayHit, RayPos, RayNormal
  1030. end
  1031.  
  1032. function turnto(position)
  1033. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1034. end
  1035.  
  1036. --//=================================\\
  1037. --|| SPEECH
  1038. --\\=================================//
  1039.  
  1040. function chatfunc(text,waitt)
  1041. local chat = coroutine.wrap(function()
  1042. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1043. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1044. end
  1045. local naeeym2 = Instance.new("BillboardGui",Character)
  1046. naeeym2.Size = UDim2.new(0,100,0,40)
  1047. naeeym2.StudsOffset = Vector3.new(0,5,0)
  1048. naeeym2.Adornee = Character.Head
  1049. naeeym2.Name = "TalkingBillBoard"
  1050. naeeym2.AlwaysOnTop = true
  1051. local tecks2 = Instance.new("TextLabel",naeeym2)
  1052. tecks2.BackgroundTransparency = 1
  1053. tecks2.BorderSizePixel = 0
  1054. tecks2.Text = ""
  1055. tecks2.Font = "SciFi"
  1056. tecks2.TextSize = 30
  1057. tecks2.TextStrokeTransparency = 1
  1058. tecks2.TextColor3 = SKILLTEXTCOLOR
  1059. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1060. tecks2.Size = UDim2.new(1,0,0.5,0)
  1061. for i = 1,string.len(text),1 do
  1062. tecks2.Text = string.sub(text,1,i)
  1063. Swait()
  1064. end
  1065. wait(waitt)
  1066. coroutine.resume(coroutine.create(function()
  1067. for i = 1, 10 do
  1068. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  1069. Swait()
  1070. end
  1071. naeeym2:Destroy()
  1072. end))
  1073. end)
  1074. chat()
  1075. end
  1076.  
  1077. --//=================================\\
  1078. --|| WEAPON CREATION
  1079. --\\=================================//
  1080.  
  1081. function CreateGauntlet(LIMB,ROT,OFFSET)
  1082. local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.025,2.025,1.025),false)
  1083. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1084. FIST.CanCollide = true
  1085. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.075,0.25,1.075),false)
  1086. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1087. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,0.15,1.1),false)
  1088. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1089. --ALL OF THE 04--
  1090. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,0.5),false)
  1091. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1092. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  1093. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1094. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  1095. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1096.  
  1097. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  1098. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1099. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  1100. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1101. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  1102. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1103. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,2.065,1.065),false)
  1104. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/4, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  1105. MakeForm(part,"Wedge")
  1106. -----------------
  1107. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.45,0.45),false)
  1108. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1109. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  1110. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1111. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  1112. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1113.  
  1114. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.075,2.075,1.075),false)
  1115. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3.5, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  1116. MakeForm(part,"Wedge")
  1117. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,2.1,1.1),false)
  1118. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3, 0.1, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  1119. MakeForm(part,"Wedge")
  1120. end
  1121.  
  1122. CreateGauntlet(RightArm,180,0.3)
  1123. CreateGauntlet(LeftArm,0,-0.3)
  1124.  
  1125. for _, c in pairs(Weapon:GetChildren()) do
  1126. if c.ClassName == "Part" then
  1127. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1128. end
  1129. end
  1130.  
  1131. Weapon.Parent = Character
  1132.  
  1133. Humanoid.Died:connect(function()
  1134. ATTACK = true
  1135. end)
  1136.  
  1137. print(Class_Name.." loaded.")
  1138.  
  1139. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1140. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1141. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1142.  
  1143. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Turret cannon", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  1144. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Shield pulse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  1145. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[1-8] Switch stance", C3(0,0,0), 6, "SciFi", 0, 2, 1, "Text 3")
  1146.  
  1147. --//=================================\\
  1148. --|| DAMAGE FUNCTIONS
  1149. --\\=================================//
  1150.  
  1151. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1152. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1153. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1154. local BODYGYRO = IT("BodyGyro", STATPART)
  1155. local BODYPOSITION = IT("BodyPosition", STATPART)
  1156. BODYPOSITION.P = 2000
  1157. BODYPOSITION.D = 100
  1158. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1159. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1160. game:GetService("Debris"):AddItem(STATPART ,5)
  1161. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1162. BILLBOARDGUI.Adornee = STATPART
  1163. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1164. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1165. BILLBOARDGUI.AlwaysOnTop = true
  1166. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1167. TEXTLABEL.BackgroundTransparency = 1
  1168. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1169. TEXTLABEL.Text = TEXT
  1170. TEXTLABEL.Font = "SciFi"
  1171. TEXTLABEL.FontSize="Size42"
  1172. TEXTLABEL.TextColor3 = COLOR
  1173. TEXTLABEL.TextStrokeTransparency = 1
  1174. TEXTLABEL.TextScaled = true
  1175. TEXTLABEL.TextWrapped = true
  1176. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1177. if LABELTYPE == "Normal" then
  1178. for i = 1, 20 do
  1179. Swait()
  1180. STATPART.Position = STATPART.Position + VT(0, (10-i)/10 ,0)
  1181. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  1182. end
  1183. elseif LABELTYPE == "Debuff" then
  1184. for i = 1, 20 do
  1185. Swait()
  1186. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1187. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  1188. end
  1189. elseif LABELTYPE == "Shock" then
  1190. local ORIGIN = STATPART.Position
  1191. for i = 1, 20 do
  1192. Swait()
  1193. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1194. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  1195. end
  1196. end
  1197. THEPART.Parent = nil
  1198. end),STATPART, BODYPOSITION, TEXTLABEL)
  1199. end
  1200.  
  1201.  
  1202. --//=================================\\
  1203. --|| DAMAGING
  1204. --\\=================================//
  1205.  
  1206. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1207. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1208. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1209. local dmg = math.random(min,max)
  1210. if humanoid.Health > 0 then
  1211. if beserk == true then
  1212. humanoid.Health = 0
  1213. else
  1214. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1215. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1216. if math.random(1,100) < critrate+1 then
  1217. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1218. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1219. else
  1220. humanoid.Health = humanoid.Health - dmg
  1221. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1222. end
  1223. local defence = Instance.new("BoolValue",hit.Parent)
  1224. defence.Name = ("HitBy"..Player.Name)
  1225. game:GetService("Debris"):AddItem(defence, 0.1)
  1226. end
  1227. end
  1228. end
  1229. end
  1230.  
  1231. function AoEWarp(position,radius)
  1232. for i,v in ipairs(workspace:GetChildren()) do
  1233. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1234. local body = v:GetChildren()
  1235. for part = 1, #body do
  1236. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1237. if(body[part].Position - position).Magnitude < radius then
  1238. if v.ClassName == "Model" then
  1239. if v:FindFirstChild("Humanoid") then
  1240. if v.Humanoid.Health ~= 0 then
  1241. if body[part].Position.Y < position.Y+12 then
  1242. print("Got "..v.Name)
  1243. local defence = Instance.new("BoolValue",v)
  1244. defence.Name = ("HitBy"..Player.Name)
  1245. game:GetService("Debris"):AddItem(defence, 0.01)
  1246. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1247. Warp(TORSO)
  1248. end
  1249. end
  1250. end
  1251. end
  1252. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1253. end
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259.  
  1260. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1261. local dmg = math.random(min,max)
  1262. for i,v in ipairs(workspace:GetChildren()) do
  1263. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1264. local body = v:GetChildren()
  1265. for part = 1, #body do
  1266. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1267. if(body[part].Position - position).Magnitude < radius then
  1268. if v.ClassName == "Model" then
  1269. if v:FindFirstChild("Humanoid") then
  1270. if v.Humanoid.Health ~= 0 then
  1271. if CanBeDodgedByJumping == true then
  1272. if body[part].Position.Y < position.Y+5 then
  1273. if math.random(1,100) < critrate+1 then
  1274. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1275. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1276. else
  1277. v.Humanoid.Health = v.Humanoid.Health - dmg
  1278. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1279. end
  1280. local defence = Instance.new("BoolValue",v)
  1281. defence.Name = ("HitBy"..Player.Name)
  1282. game:GetService("Debris"):AddItem(defence, 0.1)
  1283. end
  1284. else
  1285. if beserk == true then
  1286. v.Humanoid.Health = 0
  1287. end
  1288. if math.random(1,100) < critrate+1 then
  1289. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1290. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1291. else
  1292. v.Humanoid.Health = v.Humanoid.Health - dmg
  1293. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1294. end
  1295. local defence = Instance.new("BoolValue",v)
  1296. defence.Name = ("HitBy"..Player.Name)
  1297. game:GetService("Debris"):AddItem(defence, 0.1)
  1298. end
  1299. end
  1300. end
  1301. end
  1302. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1303. end
  1304. end
  1305. end
  1306. if v.ClassName == "Part" then
  1307. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1308. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1309. end
  1310. end
  1311. end
  1312. end
  1313. end
  1314.  
  1315. function AoEStun(POS,RANGE,LAST,TYPE)
  1316. for i,v in ipairs(workspace:GetChildren()) do
  1317. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1318. local body = v:GetChildren()
  1319. for part = 1, #body do
  1320. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1321. if(body[part].Position - POS).Magnitude < RANGE then
  1322. if v.ClassName == "Model" then
  1323. if v:FindFirstChild("Humanoid") then
  1324. if v.Humanoid.Health ~= 0 then
  1325. if TYPE == "Stun" then
  1326. Stun(v.Humanoid,LAST)
  1327. elseif TYPE == "Freeze" then
  1328. Freeze(v.Humanoid,LAST)
  1329. end
  1330. local defence = Instance.new("BoolValue",v)
  1331. defence.Name = ("StunnedBy"..Player.Name)
  1332. game:GetService("Debris"):AddItem(defence, 0.1)
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. end
  1342.  
  1343. function Warp(Victim)
  1344. print("Warping "..Victim.Name.."...")
  1345. Victim.Anchored = true
  1346. coroutine.resume(coroutine.create(function()
  1347. local GUI,GUI2 = CreateGUICircle(Victim)
  1348. CreateSound("1208650519", Victim, 10, 1)
  1349. for i = 1, 200 do
  1350. Swait()
  1351. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  1352. GUI2.Rotation = GUI2.Rotation + 2
  1353. end
  1354. CastWarpOutlines(Victim.Parent)
  1355. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1356. CreateSound("1177785010", Victim, 10, 1)
  1357. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1358. if HUMANOID ~= nil then
  1359. local dmg = MRANDOM(75,95)
  1360. HUMANOID.Health = HUMANOID.Health - dmg
  1361. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1362. end
  1363. for i = 1, 50 do
  1364. Swait()
  1365. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1366. GUI2.Rotation = GUI2.Rotation - 8
  1367. end
  1368. Victim.Anchored = false
  1369. GUI:remove()
  1370. end))
  1371. end
  1372.  
  1373. function Stun(HUMANOID,LAST)
  1374. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1375. HUMANOID.PlatformStand = true
  1376. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1377. defence.Name = ("StunnedBy"..Player.Name)
  1378. game:GetService("Debris"):AddItem(defence, LAST)
  1379. if HUMANOID.Parent:FindFirstChild("Head") then
  1380. StatLabel("Shock", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1381. end
  1382. coroutine.resume(coroutine.create(function()
  1383. Swait(LAST*100)
  1384. HUMANOID.PlatformStand = false
  1385. end))
  1386. end
  1387. end
  1388.  
  1389. function Freeze(HUMANOID,LAST)
  1390. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1391. local q = HUMANOID.Parent:GetChildren()
  1392. for i = 1, #q do
  1393. local bob = q[i]
  1394. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1395. if bob.Transparency < 1 then
  1396. bob.Anchored = true
  1397. local icelayer = bob:Clone()
  1398. icelayer.Parent = bob
  1399. icelayer.Material = "Ice"
  1400. icelayer.CanCollide = false
  1401. icelayer.BrickColor = BRICKC"Steel blue"
  1402. icelayer.Transparency = 0.5
  1403. icelayer.CFrame = bob.CFrame
  1404. icelayer.Name = "Ice"
  1405. icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1)
  1406. if icelayer:FindFirstChildOfClass("Decal") then
  1407. icelayer:FindFirstChildOfClass("Decal"):remove()
  1408. end
  1409. end
  1410. end
  1411. end
  1412. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1413. defence.Name = ("StunnedBy"..Player.Name)
  1414. game:GetService("Debris"):AddItem(defence, LAST)
  1415. if HUMANOID.Parent:FindFirstChild("Head") then
  1416. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Frozen!", C3(0.3, 0.3, 0.3))
  1417. end
  1418. coroutine.resume(coroutine.create(function()
  1419. Swait(LAST*100)
  1420. local q = HUMANOID.Parent:GetChildren()
  1421. for i = 1, #q do
  1422. local bob = q[i]
  1423. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1424. if bob.Transparency < 1 then
  1425. bob.Anchored = false
  1426. bob.Ice:remove()
  1427. end
  1428. end
  1429. end
  1430. end))
  1431. end
  1432. end
  1433.  
  1434. function killnearest(position,range,maxstrength)
  1435. for i,v in ipairs(workspace:GetChildren()) do
  1436. local body = v:GetChildren()
  1437. for part = 1, #body do
  1438. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1439. if(body[part].Position - position).Magnitude < range then
  1440. table.insert(Effects2,{body[part],"Evaporate",0.005,2,2,2,2})
  1441. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1442. end
  1443. end
  1444. end
  1445. if v.ClassName == "Part" then
  1446. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1447. table.insert(Effects2,{v,"Evaporate",0.005,2,2,2,2})
  1448. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1449. end
  1450. end
  1451. end
  1452. end
  1453.  
  1454. --//=================================\\
  1455. --|| ATTACK FUNCTIONS AND STUFF
  1456. --\\=================================//
  1457.  
  1458. function Stance1()
  1459. VALUE1 = 1
  1460. SKILL1TEXT.Text = "[Z] Turret cannon"
  1461. SKILL2TEXT.Text = "[X] Shield pulse"
  1462. sick.SoundId = "rbxassetid://196739738"
  1463. local wep = Weapon:GetChildren()
  1464. for part = 1, #wep do
  1465. if wep[part].ClassName == "Part" then
  1466. local P = wep[part]
  1467. if P.Name == "01-Type" then
  1468. P.Material = "Granite"
  1469. P.BrickColor = BRICKC"Pearl"
  1470. elseif P.Name == "02-Type" then
  1471. P.Material = "Metal"
  1472. P.BrickColor = BRICKC"Pearl"
  1473. elseif P.Name == "03-Type" then
  1474. P.Material = "Metal"
  1475. P.BrickColor = BRICKC"Really black"
  1476. elseif P.Name == "04-Type" then
  1477. P.Material = "Neon"
  1478. P.BrickColor = BRICKC"Pearl"
  1479. end
  1480. end
  1481. end
  1482. end
  1483.  
  1484. function Stance2()
  1485. VALUE1 = 2
  1486. SKILL1TEXT.Text = "[Z] Fireball"
  1487. SKILL2TEXT.Text = "[X] Fire field"
  1488. sick.SoundId = "rbxassetid://253050461"
  1489. local wep = Weapon:GetChildren()
  1490. for part = 1, #wep do
  1491. if wep[part].ClassName == "Part" then
  1492. local P = wep[part]
  1493. if P.Name == "01-Type" then
  1494. P.Material = "Granite"
  1495. P.BrickColor = BRICKC"Deep orange"
  1496. elseif P.Name == "02-Type" then
  1497. P.Material = "Metal"
  1498. P.BrickColor = BRICKC"Maroon"
  1499. elseif P.Name == "03-Type" then
  1500. P.Material = "Metal"
  1501. P.BrickColor = BRICKC"Really black"
  1502. elseif P.Name == "04-Type" then
  1503. P.Material = "Neon"
  1504. P.BrickColor = BRICKC"CGA brown"
  1505. end
  1506. end
  1507. end
  1508. end
  1509.  
  1510. function Stance3()
  1511. VALUE1 = 3
  1512. SKILL1TEXT.Text = "[Z] Icicle storm"
  1513. SKILL2TEXT.Text = "[X] Frost breath"
  1514. sick.SoundId = "rbxassetid://306681534"
  1515. local wep = Weapon:GetChildren()
  1516. for part = 1, #wep do
  1517. if wep[part].ClassName == "Part" then
  1518. local P = wep[part]
  1519. if P.Name == "01-Type" then
  1520. P.Material = "Marble"
  1521. P.BrickColor = BRICKC"Medium stone grey"
  1522. elseif P.Name == "02-Type" then
  1523. P.Material = "Neon"
  1524. P.BrickColor = BRICKC"Cyan"
  1525. elseif P.Name == "03-Type" then
  1526. P.Material = "Metal"
  1527. P.BrickColor = BRICKC"Cyan"
  1528. elseif P.Name == "04-Type" then
  1529. P.Material = "Ice"
  1530. P.BrickColor = BRICKC"Steel blue"
  1531. end
  1532. end
  1533. end
  1534. end
  1535.  
  1536. function Stance4()
  1537. VALUE1 = 4
  1538. SKILL1TEXT.Text = "[Z] Shriek"
  1539. SKILL2TEXT.Text = "[X] Bloodbath"
  1540. sick.SoundId = "rbxassetid://614032233"
  1541. local wep = Weapon:GetChildren()
  1542. for part = 1, #wep do
  1543. if wep[part].ClassName == "Part" then
  1544. local P = wep[part]
  1545. if P.Name == "01-Type" then
  1546. P.Material = "Cobblestone"
  1547. P.BrickColor = BRICKC"Really black"
  1548. elseif P.Name == "02-Type" then
  1549. P.Material = "Metal"
  1550. P.BrickColor = BRICKC"Maroon"
  1551. elseif P.Name == "03-Type" then
  1552. P.Material = "Metal"
  1553. P.BrickColor = BRICKC"Black"
  1554. elseif P.Name == "04-Type" then
  1555. P.Material = "Neon"
  1556. P.BrickColor = BRICKC"Really red"
  1557. end
  1558. end
  1559. end
  1560. end
  1561.  
  1562. function Stance5()
  1563. VALUE1 = 5
  1564. SKILL1TEXT.Text = "[Z] Rock throw"
  1565. SKILL2TEXT.Text = "[X] Earth tremor"
  1566. sick.SoundId = "rbxassetid://395520245"
  1567. local wep = Weapon:GetChildren()
  1568. for part = 1, #wep do
  1569. if wep[part].ClassName == "Part" then
  1570. local P = wep[part]
  1571. if P.Name == "01-Type" then
  1572. P.Material = "Cobblestone"
  1573. P.BrickColor = BRICKC"Rust"
  1574. elseif P.Name == "02-Type" then
  1575. P.Material = "Cobblestone"
  1576. P.BrickColor = BRICKC"CGA brown"
  1577. elseif P.Name == "03-Type" then
  1578. P.Material = "Marble"
  1579. P.BrickColor = BRICKC"Black"
  1580. elseif P.Name == "04-Type" then
  1581. P.Material = "Slate"
  1582. P.BrickColor = BRICKC"Pine cone"
  1583. end
  1584. end
  1585. end
  1586. end
  1587.  
  1588. function Stance6()
  1589. VALUE1 = 6
  1590. SKILL1TEXT.Text = "[Z] Radiant void"
  1591. SKILL2TEXT.Text = "[X] Void warp"
  1592. sick.SoundId = "rbxassetid://601021377"
  1593. local wep = Weapon:GetChildren()
  1594. for part = 1, #wep do
  1595. if wep[part].ClassName == "Part" then
  1596. local P = wep[part]
  1597. if P.Name == "01-Type" then
  1598. P.Material = "Granite"
  1599. P.BrickColor = BRICKC"Royal purple"
  1600. elseif P.Name == "02-Type" then
  1601. P.Material = "Slate"
  1602. P.BrickColor = BRICKC"Really black"
  1603. elseif P.Name == "03-Type" then
  1604. P.Material = "Metal"
  1605. P.BrickColor = BRICKC"Black"
  1606. elseif P.Name == "04-Type" then
  1607. P.Material = "Neon"
  1608. P.BrickColor = BRICKC"Royal purple"
  1609. end
  1610. end
  1611. end
  1612. end
  1613.  
  1614. function Stance7()
  1615. VALUE1 = 7
  1616. SKILL1TEXT.Text = "[Z] Divine glow"
  1617. SKILL2TEXT.Text = "[X] Divine evaporation"
  1618. sick.SoundId = "rbxassetid://965804171"
  1619. local wep = Weapon:GetChildren()
  1620. for part = 1, #wep do
  1621. if wep[part].ClassName == "Part" then
  1622. local P = wep[part]
  1623. if P.Name == "01-Type" then
  1624. P.Material = "Neon"
  1625. P.BrickColor = BRICKC"Stone grey"
  1626. elseif P.Name == "02-Type" then
  1627. P.Material = "Granite"
  1628. P.BrickColor = BRICKC"Gold"
  1629. elseif P.Name == "03-Type" then
  1630. P.Material = "Metal"
  1631. P.BrickColor = BRICKC"Gold"
  1632. elseif P.Name == "04-Type" then
  1633. P.Material = "Granite"
  1634. P.BrickColor = BRICKC"New Yeller"
  1635. end
  1636. end
  1637. end
  1638. end
  1639.  
  1640. function Stance8()
  1641. VALUE1 = 8
  1642. SKILL1TEXT.Text = "[Z] Leaf Storm"
  1643. SKILL2TEXT.Text = "[X] Leaf Field"
  1644. sick.SoundId = "rbxassetid://630020632"
  1645. local wep = Weapon:GetChildren()
  1646. for part = 1, #wep do
  1647. if wep[part].ClassName == "Part" then
  1648. local P = wep[part]
  1649. if P.Name == "01-Type" then
  1650. P.Material = "Granite"
  1651. P.BrickColor = BRICKC"1020"
  1652. elseif P.Name == "02-Type" then
  1653. P.Material = "Slate"
  1654. P.BrickColor = BRICKC"Really black"
  1655. elseif P.Name == "03-Type" then
  1656. P.Material = "Metal"
  1657. P.BrickColor = BRICKC"Shamrock"
  1658. elseif P.Name == "04-Type" then
  1659. P.Material = "Neon"
  1660. P.BrickColor = BRICKC"1020"
  1661. end
  1662. end
  1663. end
  1664. end
  1665.  
  1666. function createfireball(size,explosionsize,pos,velocity)
  1667. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1668. local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  1669. local FIREBALL = IT("Part",Effects)
  1670. FIREBALL.Shape = "Ball"
  1671. FIREBALL.Size = VT(size,size,size)
  1672. FIREBALL.Material = "Neon"
  1673. FIREBALL.CFrame = CF(pos)
  1674. FIREBALL.Transparency = 1
  1675. local bv = Instance.new("BodyVelocity")
  1676. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1677. bv.velocity = velocity
  1678. bv.Parent = FIREBALL
  1679. bv.Name = "MOVE"
  1680. local HIT = false
  1681. local harm = FIREBALL.Touched:Connect(function(hit)
  1682. if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  1683. HIT = true
  1684. coroutine.resume(coroutine.create(function()
  1685. FIREBALL.Anchored = true
  1686. FIREBALL.CanCollide = false
  1687. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  1688. AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true)
  1689. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0)
  1690. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0)
  1691. Swait(250)
  1692. FIREBALL:remove()
  1693. end))
  1694. end
  1695. end)
  1696. coroutine.resume(coroutine.create(function()
  1697. repeat
  1698. Swait()
  1699. MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0)
  1700. until HIT == true
  1701. end))
  1702. return FIREBALL
  1703. end
  1704.  
  1705. function AttackTemplate()
  1706. ATTACK = true
  1707. Rooted = false
  1708. for i=0, 1, 0.1 / Animation_Speed do
  1709. Swait()
  1710. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1711. 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)
  1712. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1713. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1714. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1715. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1716. end
  1717. ATTACK = false
  1718. Rooted = false
  1719. end
  1720.  
  1721. local asd = Instance.new("ParticleEmitter")
  1722. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1723. asd.LightEmission = .1
  1724. asd.Size = NumberSequence.new(0.2)
  1725. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1726. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1727. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1728. asd.Transparency = bbb
  1729. asd.Size = aaa
  1730. asd.ZOffset = .9
  1731. asd.Acceleration = Vector3.new(0, -15, 0)
  1732. asd.LockedToPart = false
  1733. asd.EmissionDirection = "Back"
  1734. asd.Lifetime = NumberRange.new(1, 2)
  1735. asd.Rotation = NumberRange.new(-100, 100)
  1736. asd.RotSpeed = NumberRange.new(-100, 100)
  1737. asd.Speed = NumberRange.new(25,35)
  1738. asd.Enabled = false
  1739. asd.VelocitySpread = 15
  1740.  
  1741. function getbloody(victim,amount)
  1742. local PART = IT("Part",Effects)
  1743. PART.Transparency = 1
  1744. PART.Size = victim.Size
  1745. PART.Anchored = true
  1746. PART.CanCollide = false
  1747. PART.CFrame = CF(victim.Position,Torso.Position)
  1748. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1749. Debris:AddItem(PART,5)
  1750. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1751. local prtcl = asd:Clone()
  1752. prtcl.Parent = PART
  1753. prtcl:Emit(amount*10)
  1754. end
  1755.  
  1756. function CreateMagicCircle()
  1757. local sinkhole = IT("Part")
  1758. sinkhole.Size = VT(0,0,0)
  1759. sinkhole.Parent = Effects
  1760. sinkhole.Material = "Neon"
  1761. sinkhole.Color = C3(0,0,0)
  1762. sinkhole.Anchored = true
  1763. sinkhole.CanCollide = false
  1764. sinkhole.Transparency = 1
  1765. local decal = IT("Decal",sinkhole)
  1766. decal.Face = "Top"
  1767. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1768. local decal2 = IT("Decal",sinkhole)
  1769. decal2.Face = "Bottom"
  1770. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1771. return sinkhole
  1772. end
  1773.  
  1774. function CreateLeafMagicCircle()
  1775. local sinkhole = IT("Part")
  1776. sinkhole.Size = VT(0,0,0)
  1777. sinkhole.Parent = Effects
  1778. sinkhole.Material = "Neon"
  1779. sinkhole.Color = C3(0,0,0)
  1780. sinkhole.Anchored = true
  1781. sinkhole.CanCollide = false
  1782. sinkhole.Transparency = 1
  1783. local decal = IT("Decal",sinkhole)
  1784. decal.Face = "Top"
  1785. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  1786. local decal2 = IT("Decal",sinkhole)
  1787. decal2.Face = "Bottom"
  1788. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  1789. return sinkhole
  1790. end
  1791.  
  1792. function CreateGUICircle(TARGET)
  1793. local GUI = Instance.new("BillboardGui",Character)
  1794. GUI.Size = UDim2.new(0,0,0,0)
  1795. GUI.Adornee = TARGET
  1796. local GUI2 = IT("ImageLabel",GUI)
  1797. GUI2.BackgroundTransparency = 1
  1798. GUI2.BorderSizePixel = 0
  1799. GUI2.Size = UDim2.new(1,0,1,0)
  1800. GUI2.SizeConstraint = "RelativeYY"
  1801. GUI.AlwaysOnTop = true
  1802. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1803. return GUI,GUI2
  1804. end
  1805.  
  1806. function CastWarpOutlines(TARGET)
  1807. coroutine.resume(coroutine.create(function()
  1808. local T = TARGET:GetChildren()
  1809. for i = 1, # T do
  1810. local child = T[i]
  1811. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1812. local clone = child:Clone()
  1813. clone.Parent = Effects
  1814. clone.Anchored = true
  1815. clone.CanCollide = false
  1816. clone:ClearAllChildren()
  1817. clone.CFrame = child.CFrame
  1818. if clone.Name == "Head" then
  1819. if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  1820. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1821. end
  1822. end
  1823. if clone.ClassName == "MeshPart" then
  1824. clone.TextureID = ""
  1825. end
  1826. clone.BrickColor = BRICKC"Black"
  1827. clone.Material = "Neon"
  1828. coroutine.resume(coroutine.create(function()
  1829. for i = 1, 200 do
  1830. Swait()
  1831. clone.Transparency = clone.Transparency + 0.005
  1832. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1833. end
  1834. clone:remove()
  1835. end))
  1836. end
  1837. end
  1838. end))
  1839. end
  1840.  
  1841. --Z MOVES--
  1842.  
  1843. function TurretCannon()
  1844. ATTACK = true
  1845. Rooted = false
  1846. for i=0, 2, 0.1 / Animation_Speed do
  1847. Swait()
  1848. turnto(Mouse.Hit.p)
  1849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1850. 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)
  1851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1855. end
  1856. Rooted = true
  1857. local TURRETS = {RightArm,LeftArm}
  1858. local soundeffect = IT("Sound",Torso)
  1859. soundeffect.SoundId = "rbxassetid://337638956"
  1860. soundeffect.Looped = true
  1861. soundeffect.Volume = 1
  1862. soundeffect.Playing = true
  1863. repeat
  1864. Swait()
  1865. turnto(Mouse.Hit.p)
  1866. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  1867. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"New Yeller",VT(0.3,0.3,0.3),0)
  1868. local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  1869. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1870. local bv = Instance.new("BodyVelocity")
  1871. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1872. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  1873. bv.Parent = BULLET
  1874. bv.Name = "PROJECTILEVELOCITY"
  1875. MakeForm(BULLET,"Ball")
  1876. local BOO = BULLET.Touched:Connect(function(hit)
  1877. dealdamage(hit,5,8,5,false,2,3)
  1878. end)
  1879. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  1880. until KEYHOLD == false
  1881. soundeffect:remove()
  1882. ATTACK = false
  1883. Rooted = false
  1884. end
  1885.  
  1886. function Fireball()
  1887. ATTACK = true
  1888. Rooted = true
  1889. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1890. CreateSound("169445572", RightArm, 2, 1.6)
  1891. for i=0, 5, 0.1 / Animation_Speed2 do
  1892. Swait()
  1893. MagicSphere(VT(2,2,2),35,RightArm.CFrame*CF(0,-1,0),FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-2/35,-2/35,-2/35),0.6)
  1894. turnto(Mouse.Hit.p)
  1895. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1899. 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_Speed2)
  1900. 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_Speed2)
  1901. end
  1902. local aimpos = Mouse.Hit.p
  1903. createfireball(2,8,RightArm.CFrame * CF(0,-2,0).p,CF(RightArm.CFrame * CF(0,-2,0).p,aimpos).lookVector*100)
  1904. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1905. Swait()
  1906. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1910. 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_Speed2)
  1911. 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_Speed2)
  1912. end
  1913. ATTACK = false
  1914. Rooted = false
  1915. end
  1916.  
  1917. function IcicleStorm()
  1918. ATTACK = true
  1919. Rooted = false
  1920. local BulletHolder = IT("Folder",Weapon)
  1921. BulletHolder.Name = "Bullets"
  1922. game:GetService("Debris"):AddItem(BulletHolder, 30)
  1923. for i=0, 3, 0.1 / Animation_Speed do
  1924. Swait()
  1925. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1926. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1929. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1930. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1931. end
  1932. CreateSound("333476017", Torso, 10, 1)
  1933. for i = 1, 25 do
  1934. Swait()
  1935. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1936. coroutine.resume(coroutine.create(function()
  1937. local gem = IT("Part",BulletHolder)
  1938. gem.Size = VT(0.2,0.2,0.2)
  1939. gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(25,50),math.random(-25,25))
  1940. gem.Anchored = true
  1941. gem.BrickColor = BRICKC"Steel blue"
  1942. local Cys = Instance.new("SpecialMesh", gem)
  1943. Cys.MeshType = "FileMesh"
  1944. Cys.MeshId = "rbxassetid://9756362"
  1945. Cys.Scale = Vector3.new(2,2,2)
  1946. end))
  1947. end
  1948. local IceHitSounds = {
  1949. "338594737",
  1950. "338594687",
  1951. "338594666",
  1952. "338594648",
  1953. "338594606",
  1954. "338594574",
  1955. "338594556",
  1956. "338594524",
  1957. "338594467"
  1958. }
  1959. coroutine.resume(coroutine.create(function()
  1960. q = BulletHolder:GetChildren()
  1961. for i = 1, #q do
  1962. Swait()
  1963. turnto(Mouse.Hit.p)
  1964. local bullet = q[i]
  1965. local bv = Instance.new("BodyVelocity")
  1966. bullet.Mesh.Scale = VT(2,2,5)
  1967. bullet.CFrame = CF(bullet.Position,Mouse.Hit.p)
  1968. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1969. bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*500
  1970. bv.Parent = bullet
  1971. bv.Name = "DASH"
  1972. bullet.Anchored = false
  1973. local paw = bullet.Touched:Connect(function(hit)
  1974. if bullet.Anchored == false then
  1975. CreateSound(IceHitSounds[math.random(1, #IceHitSounds)], bullet, 3, 1)
  1976. local cframe = bullet.CFrame
  1977. bullet.Anchored = true
  1978. table.insert(Effects2,{bullet,"Block1",0.015,0,0,0,2})
  1979. AoEDamage(bullet.Position,5,15,15,0,false,5,3,false)
  1980. if MRANDOM(1,45) == 1 then
  1981. AoEStun(bullet.Position,5,5,"Freeze")
  1982. end
  1983. end
  1984. end)
  1985. end
  1986. end))
  1987. ATTACK = false
  1988. Rooted = false
  1989. end
  1990.  
  1991. function Shriek()
  1992. ATTACK = true
  1993. Rooted = false
  1994. for i=0, 1, 0.1 / Animation_Speed do
  1995. Swait()
  1996. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 , -0.8, -0.2) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2002. end
  2003. Rooted = true
  2004. CreateSound("439369949", Effects, 10, 1)
  2005. for i=0, 3, 0.1 / Animation_Speed do
  2006. Swait()
  2007. MagicSphere(VT(2,2,2),5,Head.CFrame,"Pearl",VT(35,35,35),0.97)
  2008. AoEDamage(Head.Position,65,3,5,4,false,12,3,false)
  2009. AoEStun(Head.Position,65,2,"Stun")
  2010. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)),1 / Animation_Speed)
  2012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2014. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 1 / Animation_Speed)
  2015. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.2) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2016. end
  2017. ATTACK = false
  2018. Rooted = false
  2019. end
  2020.  
  2021. function clerp(a, b, t)
  2022. return a:lerp(b, t)
  2023. end
  2024.  
  2025. function newBezier(startpos, pos2, pos3, endpos, t)
  2026. local A = clerp(startpos, pos2, t)
  2027. local B = clerp(pos2, pos3, t)
  2028. local C = clerp(pos3, endpos, t)
  2029. local lerp1 = clerp(A, B, t)
  2030. local lerp2 = clerp(B, C, t)
  2031. local cubic = clerp(lerp1, lerp2, t)
  2032. return cubic
  2033. end
  2034.  
  2035. function RockThrow()
  2036. ATTACK = true
  2037. Rooted = false
  2038. for i=0, 2, 0.1 / Animation_Speed do
  2039. Swait()
  2040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2044. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2046. end
  2047. local ROCK = IT("Part",Effects)
  2048. ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  2049. ROCK.Size = VT(1.2,1.2,1.2)
  2050. ROCK.Material = "Cobblestone"
  2051. ROCK.Transparency = 1
  2052. ROCK.BrickColor = BRICKC"Pine Cone"
  2053. local WELD = weldBetween(RightArm,ROCK)
  2054. ROCK.CanCollide = false
  2055. for i = 1, 10 do
  2056. Swait()
  2057. ROCK.Transparency = ROCK.Transparency - 0.1
  2058. end
  2059. for i=0, 0.2, 0.1 / Animation_Speed do
  2060. Swait()
  2061. turnto(Mouse.Hit.p)
  2062. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  2063. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  2064. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2065. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2066. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2067. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2068. end
  2069. WELD:remove()
  2070. coroutine.resume(coroutine.create(function()
  2071. local POS = ROCK.Position
  2072. ROCK.Anchored = true
  2073. local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  2074. local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  2075. for i = 0, 1, 0.07 do
  2076. Swait()
  2077. ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  2078. end
  2079. ROCK.Anchored = false
  2080. ROCK.CanCollide = true
  2081. CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Pearl",VT(1,0.2,1),0.5)
  2082. AoEDamage(ROCK.Position,5,35,55,4,false,12,3,true)
  2083. Swait(500)
  2084. ROCK.Anchored = true
  2085. ROCK.CanCollide = false
  2086. for i = 1, 10 do
  2087. Swait()
  2088. ROCK.Transparency = ROCK.Transparency + 0.1
  2089. end
  2090. ROCK:remove()
  2091. end))
  2092. for i=0, 1.6, 0.1 / Animation_Speed do
  2093. Swait()
  2094. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  2095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  2096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2098. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2099. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2100. end
  2101. ATTACK = false
  2102. Rooted = false
  2103. end
  2104.  
  2105. function RadiantVoid()
  2106. ATTACK = true
  2107. Rooted = true
  2108. for i=0, 1, 0.1 / Animation_Speed do
  2109. Swait()
  2110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2114. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2115. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2116. end
  2117. local RING = CreateMagicCircle()
  2118. RING.CFrame = CF(RootPart.Position)*CF(0,-2.8,0)
  2119. CreateSound("1208650519", Torso, 10, 1)
  2120. for i = 1, 200 do
  2121. Swait()
  2122. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/15),RAD(0))
  2123. RING.Size = RING.Size + VT(1,0,1)
  2124. end
  2125. AoEWarp(RING.Position,RING.Size.X/2)
  2126. coroutine.resume(coroutine.create(function()
  2127. Swait(75)
  2128. for i = 1, 50 do
  2129. Swait()
  2130. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(-i/2),RAD(0))
  2131. RING.Size = RING.Size - VT(4,0,4)
  2132. end
  2133. RING:remove()
  2134. end))
  2135. ATTACK = false
  2136. Rooted = false
  2137. end
  2138.  
  2139. function DivineGlow()
  2140. ATTACK = true
  2141. Rooted = true
  2142. for i=0, 2, 0.1 / Animation_Speed do
  2143. Swait()
  2144. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,0.5),0.5)
  2145. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2146. 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)
  2147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2149. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2150. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2151. end
  2152. CreateSound("3264923", Torso, 10, 3)
  2153. coroutine.resume(coroutine.create(function()
  2154. local FRAME = Torso.CFrame
  2155. MagicSphere(VT(3,3,3),450,FRAME,"New Yeller",VT(-3/550,-3/550,-3/550),0)
  2156. for i = 1, 450 do
  2157. Swait()
  2158. MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"New Yeller",VT(0.001,0.001,2.5),0.5)
  2159. AoEDamage(FRAME.p,35,3,5,-5,false,12,3,false)
  2160. end
  2161. MagicSphere(VT(6,6,6),70,FRAME,"New Yeller",VT(1,1,1),0)
  2162. MagicSphere(VT(5,5,5),70,FRAME,"Pearl",VT(1,1,1),0.5)
  2163. AoEDamage(FRAME.p,55,45,45,-5,false,2,30,false)
  2164. end))
  2165. ATTACK = false
  2166. Rooted = false
  2167. end
  2168.  
  2169. --X MOVES--
  2170.  
  2171. function ShieldPulse()
  2172. ATTACK = true
  2173. Rooted = false
  2174. for i=0, 1, 0.1 / Animation_Speed do
  2175. Swait()
  2176. turnto(Mouse.Hit.p)
  2177. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2178. 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.5 / Animation_Speed)
  2179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2181. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2182. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2183. end
  2184. local shield = IT("Part",Effects)
  2185. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  2186. shield.Size = VT(0.2,0.2,0.2)
  2187. shield.Anchored = true
  2188. shield.Material = "Neon"
  2189. shield.Color = C3(1,1,1)
  2190. shield.Transparency = 0.5
  2191. repeat
  2192. Swait()
  2193. turnto(Mouse.Hit.p)
  2194. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  2195. shield.Size = shield.Size + VT(0.07,0.07,0)
  2196. until KEYHOLD == false
  2197. local bv = Instance.new("BodyVelocity")
  2198. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2199. bv.velocity = RootPart.CFrame.lookVector*300
  2200. bv.Parent = shield
  2201. shield.Anchored = false
  2202. shield.CanCollide = false
  2203. bv.Name = "PROJECTILEVELOCITY"
  2204. local BOO = shield.Touched:Connect(function(hit)
  2205. dealdamage(hit,55,75,5,false,2,3)
  2206. end)
  2207. Debris:AddItem(shield,5)
  2208. ATTACK = false
  2209. Rooted = false
  2210. end
  2211.  
  2212. function FireField()
  2213. ATTACK = true
  2214. Rooted = true
  2215. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2216. Swait()
  2217. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2221. 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)
  2222. 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)
  2223. end
  2224. CreateSound("217767125", LeftArm, 10, 1)
  2225. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  2226. coroutine.resume(coroutine.create(function()
  2227. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2228. for i = 1, 450 do
  2229. Swait()
  2230. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2231. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2232. end
  2233. end))
  2234. for i=0, 1.5, 0.1 / Animation_Speed do
  2235. Swait()
  2236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2240. 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)
  2241. 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)
  2242. end
  2243. ATTACK = false
  2244. Rooted = false
  2245. end
  2246.  
  2247. function FrostBreath()
  2248. ATTACK = true
  2249. Rooted = true
  2250. for i=0, 2, 0.1 / Animation_Speed do
  2251. Swait()
  2252. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2253. 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)
  2254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2256. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2257. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2258. end
  2259. CreateSound("976606790", Head, 10, 2)
  2260. local IceColors = {"Steel blue","Cyan","Pastel blue-green"}
  2261. for i=0, 4, 0.1 / Animation_Speed do
  2262. Swait()
  2263. for i = 1, 6 do
  2264. AoEStun(Head.CFrame * CF(0,-0.4,-i*3).p,i*3,35,"Freeze")
  2265. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/15,i/10,i/15),0.7)
  2266. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/10,i/10,i/10),0.7)
  2267. end
  2268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2269. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2272. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2273. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2274. end
  2275. ATTACK = false
  2276. Rooted = false
  2277. end
  2278.  
  2279. function Bloodbath()
  2280. local HASSTARTED = false
  2281. local target = nil
  2282. local targettorso = nil
  2283. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2284. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2285. target = Mouse.Target.Parent.Humanoid
  2286. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2287. end
  2288. end
  2289. if target ~= nil then
  2290. CreateSound("305685800", Head, 10, 1)
  2291. targettorso.Anchored = true
  2292. HASSTARTED = true
  2293. ATTACK = true
  2294. Rooted = true
  2295. CastWarpOutlines(Character)
  2296. RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  2297. coroutine.resume(coroutine.create(function()
  2298. Swait(10*100)
  2299. if HASSTARTED == true then
  2300. ATTACK = false
  2301. Rooted = false
  2302. UNANCHOR = true
  2303. end
  2304. end))
  2305. UNANCHOR = false
  2306. RootPart.Anchored = true
  2307. coroutine.resume(coroutine.create(function()
  2308. for i=0, 3, 0.1 / Animation_Speed do
  2309. Swait()
  2310. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2316. end
  2317. for i=0, 3, 0.1 / Animation_Speed do
  2318. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  2319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2322. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2323. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2324. end
  2325. getbloody(targettorso,25)
  2326. Swait(5)
  2327. targettorso:remove()
  2328. Swait(15)
  2329. ATTACK = false
  2330. Rooted = false
  2331. HASSTARTED = false
  2332. UNANCHOR = true
  2333. end))
  2334. end
  2335. end
  2336.  
  2337. function EarthTremor()
  2338. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2339. if HITFLOOR ~= nil then
  2340. ATTACK = true
  2341. Rooted = true
  2342. for i=0, 2, 0.1 / Animation_Speed do
  2343. Swait()
  2344. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2345. 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.3 / Animation_Speed)
  2346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2348. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2349. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.3 / Animation_Speed)
  2350. end
  2351. for i=0, 0.3, 0.1 / Animation_Speed do
  2352. Swait()
  2353. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2355. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2357. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2358. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2359. end
  2360. CreateSound("438666141", RightLeg, 5, 1)
  2361. local sinkhole = IT("Part")
  2362. sinkhole.Size = VT(35,0,35)
  2363. sinkhole.Parent = Effects
  2364. sinkhole.Material = "Neon"
  2365. sinkhole.Color = C3(0,0,0)
  2366. sinkhole.Anchored = true
  2367. sinkhole.CanCollide = false
  2368. sinkhole.Transparency = 1
  2369. local decal = IT("Decal",sinkhole)
  2370. decal.Face = "Top"
  2371. decal.Texture = "http://www.roblox.com/asset/?id=29268434"
  2372. decal.Transparency = 1
  2373. sinkhole.CFrame = CF(RightLeg.Position)*CF(0,-0.75,0)
  2374. AoEDamage(RightLeg.Position,35,15,25,4,false,32,7,true)
  2375. coroutine.resume(coroutine.create(function()
  2376. for i = 1, 5 do
  2377. Swait()
  2378. decal.Transparency = decal.Transparency - 0.2
  2379. end
  2380. Swait(500)
  2381. for i = 1, 5 do
  2382. Swait()
  2383. decal.Transparency = decal.Transparency + 0.2
  2384. end
  2385. sinkhole:remove()
  2386. end))
  2387. for i=0, 1, 0.1 / Animation_Speed do
  2388. Swait()
  2389. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2390. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2393. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2394. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2395. end
  2396. ATTACK = false
  2397. Rooted = false
  2398. end
  2399. end
  2400.  
  2401. function VoidWarp()
  2402. local HASSTARTED = false
  2403. local target = nil
  2404. local targettorso = nil
  2405. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2406. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2407. target = Mouse.Target.Parent.Humanoid
  2408. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2409. end
  2410. end
  2411. if target ~= nil then
  2412. ATTACK = true
  2413. Rooted = true
  2414. for i=0, 1.5, 0.1 / Animation_Speed do
  2415. Swait()
  2416. if targettorso ~= nil then
  2417. turnto(targettorso.Position)
  2418. end
  2419. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2420. 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)
  2421. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2422. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2423. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2424. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2425. end
  2426. if targettorso ~= nil then
  2427. local GUI,GUI3 = CreateGUICircle(targettorso)
  2428. local GUI2,GUI4 = CreateGUICircle(Torso)
  2429. CreateSound("1208650519", targettorso, 10, 1)
  2430. CreateSound("1208650519", Torso, 10, 1)
  2431. targettorso.Anchored = true
  2432. for i = 1, 200 do
  2433. Swait()
  2434. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  2435. GUI2.Size = GUI.Size
  2436. GUI3.Rotation = GUI3.Rotation + 2
  2437. GUI4.Rotation = GUI4.Rotation - 2
  2438. end
  2439. if targettorso ~= nil then
  2440. CastWarpOutlines(targettorso.Parent)
  2441. CastWarpOutlines(Character)
  2442. local TFrame = Torso.CFrame
  2443. local TTFrame = targettorso.CFrame
  2444. Torso.CFrame = TTFrame
  2445. targettorso.CFrame = TFrame
  2446. local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid")
  2447. local dmg = MRANDOM(75,95)
  2448. HUMANOID.Health = HUMANOID.Health - dmg
  2449. StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  2450. CreateSound("1177785010", targettorso, 10, 1)
  2451. CreateSound("1177785010", Torso, 10, 1)
  2452. HASSTARTED = true
  2453. coroutine.resume(coroutine.create(function()
  2454. for i = 1, 50 do
  2455. Swait()
  2456. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  2457. GUI2.Size = GUI.Size
  2458. GUI3.Rotation = GUI3.Rotation - 8
  2459. GUI4.Rotation = GUI4.Rotation + 8
  2460. end
  2461. GUI:remove()
  2462. GUI2:remove()
  2463. targettorso.Anchored = false
  2464. end))
  2465. end
  2466. if HASSTARTED == false then
  2467. GUI:remove()
  2468. GUI2:remove()
  2469. end
  2470. end
  2471. ATTACK = false
  2472. Rooted = false
  2473. end
  2474. end
  2475.  
  2476. function DivineEvaporation()
  2477. ATTACK = true
  2478. Rooted = false
  2479. for i=0, 6, 0.1 / Animation_Speed do
  2480. Swait()
  2481. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,1),0)
  2482. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2483. 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)
  2484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2488. end
  2489. CreateSound("3264923", Torso, 10, 1)
  2490. for i = 1, 50 do
  2491. MagicSphere(VT(0.2,0.2,0.2),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.005,0.005,0.1),0)
  2492. end
  2493. MagicSphere(VT(20,20,20),50,Torso.CFrame,"New Yeller",VT(0,0,0),0.9)
  2494. killnearest(Torso.Position,15,5)
  2495. ATTACK = false
  2496. Rooted = false
  2497. end
  2498.  
  2499.  
  2500. function LeafField()
  2501. ATTACK = true
  2502. Rooted = true
  2503. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2504. Swait()
  2505. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2509. 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)
  2510. 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)
  2511. end
  2512. CreateSound("217767125", LeftArm, 10, 1)
  2513. local FIREBALLCOLORS = {"Lime green", "Mint", "Forest green"}
  2514. coroutine.resume(coroutine.create(function()
  2515. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2516. for i = 1, 450 do
  2517. Swait()
  2518. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2519. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2520. end
  2521. end))
  2522. for i=0, 1.5, 0.1 / Animation_Speed do
  2523. Swait()
  2524. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2528. 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)
  2529. 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)
  2530. end
  2531. ATTACK = false
  2532. Rooted = false
  2533. end
  2534.  
  2535.  
  2536. function LeafStorm()
  2537. ATTACK = true
  2538. ATTACK = true
  2539. Rooted = false
  2540. for i=0, 2, 0.1 / Animation_Speed do
  2541. Swait()
  2542. turnto(Mouse.Hit.p)
  2543. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2544. 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)
  2545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2549. end
  2550. Rooted = true
  2551. local TURRETS = {RightArm,LeftArm}
  2552. local soundeffect = IT("Sound",Torso)
  2553. soundeffect.SoundId = "rbxassetid://337638956"
  2554. soundeffect.Looped = true
  2555. soundeffect.Volume = 1
  2556. soundeffect.Playing = true
  2557. repeat
  2558. Swait()
  2559. turnto(Mouse.Hit.p)
  2560. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  2561. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"Shamrock",VT(0.3,0.3,0.3),0)
  2562. local BULLET = CreatePart(3, Effects, "Grass", 0, 0, "Shamrock", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  2563. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  2564. local bv = Instance.new("BodyVelocity")
  2565. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2566. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  2567. bv.Parent = BULLET
  2568. bv.Name = "PROJECTILEVELOCITY"
  2569. MakeForm(BULLET,"Ball")
  2570. local BOO = BULLET.Touched:Connect(function(hit)
  2571. dealdamage(hit,5,8,5,false,2,3)
  2572. end)
  2573. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  2574. until KEYHOLD == false
  2575. soundeffect:remove()
  2576. ATTACK = false
  2577. Rooted = false
  2578. end
  2579.  
  2580. --//=================================\\
  2581. --|| ASSIGN THINGS TO KEYS
  2582. --\\=================================//
  2583.  
  2584. function ChineseEarthquake()
  2585. Rooted = true
  2586. local icri = CreateSound("1177999394", Torso, 10, 1)
  2587. Swait(130)
  2588. local FRAME = Torso.CFrame
  2589. repeat
  2590. Swait()
  2591. Torso.CFrame = FRAME * CF(0,1,0)
  2592. Swait()
  2593. Torso.CFrame = FRAME
  2594. until icri.Playing == false
  2595. Rooted = false
  2596. end
  2597.  
  2598. function MouseDown(Mouse)
  2599. if ATTACK == false then
  2600. end
  2601. end
  2602.  
  2603. function MouseUp(Mouse)
  2604. HOLD = false
  2605. end
  2606.  
  2607. function KeyDown(Key)
  2608. KEYHOLD = true
  2609. if Rooted == false then
  2610. if Key == "z" and ATTACK == false then
  2611. if VALUE1 == 1 then
  2612. TurretCannon()
  2613. elseif VALUE1 == 2 then
  2614. Fireball()
  2615. elseif VALUE1 == 3 then
  2616. IcicleStorm()
  2617. elseif VALUE1 == 4 then
  2618. Shriek()
  2619. elseif VALUE1 == 5 then
  2620. RockThrow()
  2621. elseif VALUE1 == 6 then
  2622. RadiantVoid()
  2623. elseif VALUE1 == 7 then
  2624. DivineGlow()
  2625. elseif VALUE1 == 8 then
  2626. LeafStorm()
  2627. end
  2628. end
  2629.  
  2630. if Key == "x" and ATTACK == false then
  2631. if VALUE1 == 1 then
  2632. ShieldPulse()
  2633. elseif VALUE1 == 2 then
  2634. FireField()
  2635. elseif VALUE1 == 3 then
  2636. FrostBreath()
  2637. elseif VALUE1 == 4 then
  2638. Bloodbath()
  2639. elseif VALUE1 == 5 then
  2640. EarthTremor()
  2641. elseif VALUE1 == 6 then
  2642. VoidWarp()
  2643. elseif VALUE1 == 7 then
  2644. DivineEvaporation()
  2645. elseif VALUE1 == 8 then
  2646. LeafField()
  2647. end
  2648. end
  2649.  
  2650. if Key == "1" and ATTACK == false then
  2651. Stance1()
  2652. end
  2653.  
  2654. if Key == "2" and ATTACK == false then
  2655. Stance2()
  2656. end
  2657.  
  2658. if Key == "3" and ATTACK == false then
  2659. Stance3()
  2660. end
  2661.  
  2662. if Key == "4" and ATTACK == false then
  2663. Stance4()
  2664. end
  2665.  
  2666. if Key == "5" and ATTACK == false then
  2667. Stance5()
  2668. end
  2669.  
  2670. if Key == "6" and ATTACK == false then
  2671. Stance6()
  2672. end
  2673.  
  2674. if Key == "7" and ATTACK == false then
  2675. Stance7()
  2676. end
  2677.  
  2678. if Key == "8" and ATTACK == false then
  2679. Stance8()
  2680. end
  2681.  
  2682. if Key == "t" and ATTACK == false and VALUE1 == 5 then
  2683. ChineseEarthquake()
  2684. end
  2685. end
  2686. end
  2687.  
  2688. function KeyUp(Key)
  2689. KEYHOLD = false
  2690. end
  2691.  
  2692. Mouse.Button1Down:connect(function(NEWKEY)
  2693. MouseDown(NEWKEY)
  2694. end)
  2695. Mouse.Button1Up:connect(function(NEWKEY)
  2696. MouseUp(NEWKEY)
  2697. end)
  2698. Mouse.KeyDown:connect(function(NEWKEY)
  2699. KeyDown(NEWKEY)
  2700. end)
  2701. Mouse.KeyUp:connect(function(NEWKEY)
  2702. KeyUp(NEWKEY)
  2703. end)
  2704.  
  2705. --//=================================\\
  2706. --\\=================================//
  2707.  
  2708.  
  2709. function unanchor()
  2710. if UNANCHOR == true then
  2711. g = Character:GetChildren()
  2712. for i = 1, #g do
  2713. if g[i].ClassName == "Part" then
  2714. g[i].Anchored = false
  2715. end
  2716. end
  2717. end
  2718. end
  2719.  
  2720.  
  2721. --//=================================\\
  2722. --|| WRAP THE WHOLE SCRIPT UP
  2723. --\\=================================//
  2724.  
  2725. Humanoid.Changed:connect(function(Jump)
  2726. if Jump == "Jump" and (Disable_Jump == true) then
  2727. Humanoid.Jump = false
  2728. end
  2729. end)
  2730.  
  2731. VALUE1 = 1
  2732. Speed = 25
  2733.  
  2734. while true do
  2735. Swait()
  2736. ANIMATE.Parent = nil
  2737. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2738. IDLEANIMATION:Play()
  2739. SINE = SINE + CHANGE
  2740. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2741. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2742. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2743. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2744. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  2745. if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 then
  2746. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2747. 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)
  2748. --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)
  2749. --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)
  2750. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2751. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2752. 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)
  2753. --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)
  2754. --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)
  2755. end
  2756. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2757. ANIM = "Jump"
  2758. if ATTACK == false then
  2759. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2763. 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)
  2764. 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)
  2765. end
  2766. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2767. ANIM = "Fall"
  2768. if ATTACK == false then
  2769. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2770. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2771. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2772. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2773. 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)
  2774. 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)
  2775. end
  2776. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2777. ANIM = "Idle"
  2778. if ATTACK == false then
  2779. if VALUE1 == 1 then
  2780. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2781. 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)
  2782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2784. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2785. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2786. elseif VALUE1 == 2 then
  2787. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2791. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2792. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2793. elseif VALUE1 == 3 then
  2794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2800. elseif VALUE1 == 4 then
  2801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2803. if MRANDOM(1,15) == 1 then
  2804. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2805. end
  2806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2807. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2808. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2809. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2810. elseif VALUE1 == 5 then
  2811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2812. 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)
  2813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2817. elseif VALUE1 == 6 then
  2818. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2819. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2820. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2821. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2822. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2824. elseif VALUE1 == 7 then
  2825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2826. 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)
  2827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2829. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2831. elseif VALUE1 == 8 then
  2832. 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(-25)), 0.15 / Animation_Speed)
  2833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2836. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2838. end
  2839. end
  2840. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2841. ANIM = "Walk"
  2842. WALK = WALK + 1 / Animation_Speed
  2843. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2844. WALK = 0
  2845. if WALKINGANIM == true then
  2846. WALKINGANIM = false
  2847. elseif WALKINGANIM == false then
  2848. WALKINGANIM = true
  2849. end
  2850. end
  2851. --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)
  2852. --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)
  2853. if ATTACK == false then
  2854. if VALUE1 < 4 or VALUE1 == 6 then
  2855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2859. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2861. elseif VALUE1 == 4 then
  2862. 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)
  2863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2864. if MRANDOM(1,15) == 1 then
  2865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2866. end
  2867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2869. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2871. elseif VALUE1 == 7 then
  2872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2878. elseif VALUE1 == 5 then
  2879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2883. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2885. elseif VALUE1 == 8 then
  2886. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2887. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2888. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2889. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2890. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2891. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2892. end
  2893. end
  2894. end
  2895. if #Effects2>0 then
  2896. for e=1,#Effects2 do
  2897. if Effects2[e]~=nil then
  2898. local Thing=Effects2[e]
  2899. if Thing~=nil then
  2900. local Part=Thing[1]
  2901. local Mode=Thing[2]
  2902. local Delay=Thing[3]
  2903. local IncX=Thing[4]
  2904. local IncY=Thing[5]
  2905. local IncZ=Thing[6]
  2906. local Part2=Thing[8]
  2907. if Thing[1].Transparency<=1 then
  2908. if Thing[2]=="Block1" then
  2909. Thing[1].CFrame=Thing[1].CFrame
  2910. Mesh=Thing[1].Mesh
  2911. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2912. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2913. elseif Thing[2]=="Cylinder" then
  2914. Mesh=Thing[1].Mesh
  2915. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2916. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2917. elseif Thing[2]=="Blood" then
  2918. Mesh=Thing[7]
  2919. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2920. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2921. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2922. elseif Thing[2]=="Elec" then
  2923. Mesh=Thing[1].Mesh
  2924. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2925. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2926. elseif Thing[2]=="Disappear" then
  2927. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2928. elseif Thing[2]=="Evaporate" then
  2929. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2930. local C = {-5,-2,2,5}
  2931. MagicSphere(VT(0,0,0),15,CF(Thing[1].CFrame*CF(C[MRANDOM(1,#C)],C[MRANDOM(1,#C)],C[MRANDOM(1,#C)]).p,Thing[1].Position),"New Yeller",VT(0.01,0.01,0.5),0.8)
  2932. end
  2933. else
  2934. Part.Parent=nil
  2935. table.remove(Effects2,e)
  2936. end
  2937. end
  2938. end
  2939. end
  2940. end
  2941. unanchor()
  2942. Humanoid.MaxHealth = "inf"
  2943. Humanoid.Health = "inf"
  2944. if Rooted == false then
  2945. Disable_Jump = false
  2946. Humanoid.WalkSpeed = Speed
  2947. elseif Rooted == true then
  2948. Disable_Jump = true
  2949. Humanoid.WalkSpeed = 0
  2950. end
  2951. local MATHS = {"0","1"}
  2952. 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)]
  2953. Humanoid.PlatformStand = false
  2954. end
  2955.  
  2956. --//=================================\\
  2957. --\\=================================//
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963. --//====================================================\\--
  2964. --|| END OF SCRIPT
  2965. --\\====================================================//--
Add Comment
Please, Sign In to add comment