Robert666121

Son Of Ruin

Jul 8th, 2018 (edited)
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.91 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER, EDIT BY XXUNORIBOASXX
  3. --\\====================================================//--
  4.  
  5. local GUI = Instance.new("ScreenGui")
  6. local OpenFrame = Instance.new("Frame")
  7. local OpenButton = Instance.new("TextButton")
  8. local OpenBeautyFrame = Instance.new("Frame")
  9. local MainFrame = Instance.new("Frame")
  10. local MainFrameBeautyA = Instance.new("Frame")
  11. local CloseButton = Instance.new("TextButton")
  12. local EXPLOIT1 = Instance.new("TextButton")
  13. local MainFrameCenterBeautyA = Instance.new("Frame")
  14. local MainFrameCenterBeautyA_2 = Instance.new("Frame")
  15. local EXPLOIT5 = Instance.new("TextButton")
  16. local EXPLOIT9 = Instance.new("TextButton")
  17. local EXPLOIT6 = Instance.new("TextButton")
  18. local EXPLOIT7 = Instance.new("TextButton")
  19. local EXPLOIT8 = Instance.new("TextButton")
  20. local EXPLOIT10 = Instance.new("TextButton")
  21. local EXPLOIT11 = Instance.new("TextButton")
  22. local EXPLOIT12 = Instance.new("TextButton")
  23. local EXPLOIT2 = Instance.new("TextButton")
  24. local EXPLOIT3 = Instance.new("TextButton")
  25. local EXPLOIT4 = Instance.new("TextButton")
  26. local MainFrameBeautyB = Instance.new("Frame")
  27.  
  28.  
  29. --Properties:
  30.  
  31. GUI.Name = "GUI"
  32. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  33.  
  34. OpenFrame.Name = "OpenFrame"
  35. OpenFrame.Parent = GUI
  36. OpenFrame.Active = true
  37. OpenFrame.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  38. OpenFrame.BorderSizePixel = 0
  39. OpenFrame.Position = UDim2.new(0, 0, 0.629155695, 0)
  40. OpenFrame.Size = UDim2.new(0, 72, 0, 27)
  41.  
  42. OpenButton.Name = "OpenButton"
  43. OpenButton.Parent = OpenFrame
  44. OpenButton.BackgroundColor3 = Color3.fromRGB(170, 170, 127)
  45. OpenButton.BackgroundTransparency = 1.000
  46. OpenButton.BorderSizePixel = 0
  47. OpenButton.Position = UDim2.new(0.0305736773, 0, 0.116329789, 0)
  48. OpenButton.Size = UDim2.new(0, 66, 0, 20)
  49. OpenButton.Font = Enum.Font.Cartoon
  50. OpenButton.Text = "Open"
  51. OpenButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. OpenButton.TextScaled = true
  53. OpenButton.TextSize = 14.000
  54. OpenButton.TextWrapped = true
  55. OpenButton.MouseButton1Down:connect(function()
  56. MainFrame.Visible = true
  57. OpenFrame.Visible = false
  58. MainFrameBeautyA.Visible = true
  59. MainFrameBeautyB.Visible = true
  60. MainFrameCenterBeautyA_2.Visible = true
  61. MainFrameCenterBeautyA.Visible = true
  62. end)
  63.  
  64. OpenBeautyFrame.Name = "OpenBeautyFrame"
  65. OpenBeautyFrame.Parent = OpenFrame
  66. OpenBeautyFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  67. OpenBeautyFrame.BorderSizePixel = 0
  68. OpenBeautyFrame.Position = UDim2.new(0.988907099, 0, -0.148148149, 0)
  69. OpenBeautyFrame.Size = UDim2.new(0, 3, 0, 33)
  70.  
  71. MainFrame.Name = "MainFrame"
  72. MainFrame.Parent = GUI
  73. MainFrame.Active = true
  74. MainFrame.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  75. MainFrame.BorderSizePixel = 0
  76. MainFrame.Position = UDim2.new(0.30754894, 0, 0.235294133, 0)
  77. MainFrame.Size = UDim2.new(0, 412, 0, 263)
  78. MainFrame.Visible = false
  79. MainFrame.Draggable = true
  80.  
  81. MainFrameBeautyA.Name = "MainFrameBeautyA"
  82. MainFrameBeautyA.Parent = MainFrame
  83. MainFrameBeautyA.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  84. MainFrameBeautyA.BorderSizePixel = 0
  85. MainFrameBeautyA.Size = UDim2.new(0, 412, 0, 22)
  86. MainFrameBeautyA.Visible = false
  87.  
  88. CloseButton.Name = "CloseButton"
  89. CloseButton.Parent = MainFrameBeautyA
  90. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  91. CloseButton.BackgroundTransparency = 1.000
  92. CloseButton.BorderSizePixel = 0
  93. CloseButton.Position = UDim2.new(0.905339777, 0, 0, 0)
  94. CloseButton.Size = UDim2.new(0, 39, 0, 22)
  95. CloseButton.Font = Enum.Font.Cartoon
  96. CloseButton.Text = "Close"
  97. CloseButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  98. CloseButton.TextScaled = true
  99. CloseButton.TextSize = 14.000
  100. CloseButton.TextWrapped = true
  101. CloseButton.MouseButton1Down:connect(function()
  102. OpenFrame.Visible = true
  103. MainFrame.Visible = false
  104. MainFrameBeautyA.Visible = false
  105. MainFrameBeautyB.Visible = false
  106. MainFrameCenterBeautyA_2.Visible = false
  107. MainFrameCenterBeautyA.Visible = false
  108. end)
  109.  
  110. EXPLOIT1.Name = "EXPLOIT1"
  111. EXPLOIT1.Parent = MainFrame
  112. EXPLOIT1.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  113. EXPLOIT1.BorderSizePixel = 0
  114. EXPLOIT1.Position = UDim2.new(0.024271844, 0, 0.129277572, 0)
  115. EXPLOIT1.Size = UDim2.new(0, 92, 0, 32)
  116. EXPLOIT1.Font = Enum.Font.Cartoon
  117. EXPLOIT1.Text = "My Other GUI"
  118. EXPLOIT1.TextColor3 = Color3.fromRGB(255, 255, 255)
  119. EXPLOIT1.TextScaled = true
  120. EXPLOIT1.TextSize = 14.000
  121. EXPLOIT1.TextWrapped = true
  122. EXPLOIT1.MouseButton1Down:connect(function()
  123. loadstring(game:HttpGet(('https://pastebin.com/raw/HCsqYzwa'),true))()
  124. end)
  125.  
  126. MainFrameCenterBeautyA.Name = "MainFrameCenterBeautyA"
  127. MainFrameCenterBeautyA.Parent = MainFrame
  128. MainFrameCenterBeautyA.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  129. MainFrameCenterBeautyA.BorderSizePixel = 0
  130. MainFrameCenterBeautyA.Position = UDim2.new(0.288834959, 0, 0.129277572, 0)
  131. MainFrameCenterBeautyA.Size = UDim2.new(0, 8, 0, 185)
  132. MainFrameCenterBeautyA.Visible = false
  133.  
  134. MainFrameCenterBeautyA_2.Name = "MainFrameCenterBeautyA"
  135. MainFrameCenterBeautyA_2.Parent = MainFrame
  136. MainFrameCenterBeautyA_2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  137. MainFrameCenterBeautyA_2.BorderSizePixel = 0
  138. MainFrameCenterBeautyA_2.Position = UDim2.new(0.699029148, 0, 0.129277557, 0)
  139. MainFrameCenterBeautyA_2.Size = UDim2.new(0, 8, 0, 185)
  140. MainFrameCenterBeautyA_2.Visible = false
  141.  
  142. EXPLOIT5.Name = "EXPLOIT5"
  143. EXPLOIT5.Parent = MainFrame
  144. EXPLOIT5.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  145. EXPLOIT5.BorderSizePixel = 0
  146. EXPLOIT5.Position = UDim2.new(0.388349503, 0, 0.129277572, 0)
  147. EXPLOIT5.Size = UDim2.new(0, 92, 0, 32)
  148. EXPLOIT5.Font = Enum.Font.Cartoon
  149. EXPLOIT5.Text = "JailTabs"
  150. EXPLOIT5.TextColor3 = Color3.fromRGB(255, 255, 255)
  151. EXPLOIT5.TextScaled = true
  152. EXPLOIT5.TextSize = 14.000
  153. EXPLOIT5.TextWrapped = true
  154. EXPLOIT5.MouseButton1Down:connect(function()
  155. loadstring(game:HttpGet(('https://pastebin.com/raw/aV6LcSGf'),true))()
  156. end)
  157.  
  158. EXPLOIT9.Name = "EXPLOIT9"
  159. EXPLOIT9.Parent = MainFrame
  160. EXPLOIT9.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  161. EXPLOIT9.BorderSizePixel = 0
  162. EXPLOIT9.Position = UDim2.new(0.75242722, 0, 0.129277572, 0)
  163. EXPLOIT9.Size = UDim2.new(0, 92, 0, 32)
  164. EXPLOIT9.Font = Enum.Font.Cartoon
  165. EXPLOIT9.Text = "Counter Pepsi"
  166. EXPLOIT9.TextColor3 = Color3.fromRGB(255, 255, 255)
  167. EXPLOIT9.TextScaled = true
  168. EXPLOIT9.TextSize = 14.000
  169. EXPLOIT9.TextWrapped = true
  170. EXPLOIT9.MouseButton1Down:connect(function()
  171. loadstring(game:HttpGet(('https://pastebin.com/raw/cWTJj3aZ'),true))()
  172. end)
  173.  
  174. EXPLOIT6.Name = "EXPLOIT6"
  175. EXPLOIT6.Parent = MainFrame
  176. EXPLOIT6.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  177. EXPLOIT6.BorderSizePixel = 0
  178. EXPLOIT6.Position = UDim2.new(0.388349503, 0, 0.323193908, 0)
  179. EXPLOIT6.Size = UDim2.new(0, 92, 0, 32)
  180. EXPLOIT6.Font = Enum.Font.Cartoon
  181. EXPLOIT6.Text = "PsyHub"
  182. EXPLOIT6.TextColor3 = Color3.fromRGB(255, 255, 255)
  183. EXPLOIT6.TextScaled = true
  184. EXPLOIT6.TextSize = 14.000
  185. EXPLOIT6.TextWrapped = true
  186. EXPLOIT6.MouseButton1Down:connect(function()
  187. loadstring(game:GetObjects("rbxassetid://3014051754")[1].Source)()
  188. end)
  189.  
  190. EXPLOIT7.Name = "EXPLOIT7"
  191. EXPLOIT7.Parent = MainFrame
  192. EXPLOIT7.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  193. EXPLOIT7.BorderSizePixel = 0
  194. EXPLOIT7.Position = UDim2.new(0.388349503, 0, 0.520912528, 0)
  195. EXPLOIT7.Size = UDim2.new(0, 92, 0, 32)
  196. EXPLOIT7.Font = Enum.Font.Cartoon
  197. EXPLOIT7.Text = "IY FE"
  198. EXPLOIT7.TextColor3 = Color3.fromRGB(255, 255, 255)
  199. EXPLOIT7.TextScaled = true
  200. EXPLOIT7.TextSize = 14.000
  201. EXPLOIT7.TextWrapped = true
  202. EXPLOIT7.MouseButton1Down:connect(function()
  203. loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
  204. end)
  205.  
  206. EXPLOIT8.Name = "EXPLOIT8"
  207. EXPLOIT8.Parent = MainFrame
  208. EXPLOIT8.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  209. EXPLOIT8.BorderSizePixel = 0
  210. EXPLOIT8.Position = UDim2.new(0.388349503, 0, 0.711026609, 0)
  211. EXPLOIT8.Size = UDim2.new(0, 92, 0, 32)
  212. EXPLOIT8.Font = Enum.Font.Cartoon
  213. EXPLOIT8.Text = "Arsenal Kill All"
  214. EXPLOIT8.TextColor3 = Color3.fromRGB(255, 255, 255)
  215. EXPLOIT8.TextScaled = true
  216. EXPLOIT8.TextSize = 14.000
  217. EXPLOIT8.TextWrapped = true
  218. EXPLOIT8.MouseButton1Down:connect(function()
  219. print("Script made by FramzDev#8283")
  220. local c = workspace.CurrentCamera
  221. local lplr = game.Players.LocalPlayer
  222.  
  223. function a(p)
  224. if p and p.Character then
  225. pcall(function()
  226. local t = p.Character.PrimaryPart.CFrame * Vector3.new(0, -0.25, 0)
  227. c.CFrame = CFrame.new(c.Focus.p, t) * CFrame.new(0, 0, 0.5)
  228. end)
  229. end
  230. end
  231. for i=1,10 do
  232. for _,v in pairs(game.Players:GetPlayers()) do
  233. pcall(function()
  234. for i=1,15 do
  235. lplr.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame - v.Character.HumanoidRootPart.CFrame.LookVector*4
  236. a(v)
  237. wait()
  238. end
  239. end)
  240. end
  241. end
  242. end)
  243.  
  244. EXPLOIT10.Name = "EXPLOIT10"
  245. EXPLOIT10.Parent = MainFrame
  246. EXPLOIT10.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  247. EXPLOIT10.BorderSizePixel = 0
  248. EXPLOIT10.Position = UDim2.new(0.75242722, 0, 0.323193908, 0)
  249. EXPLOIT10.Size = UDim2.new(0, 92, 0, 32)
  250. EXPLOIT10.Font = Enum.Font.Cartoon
  251. EXPLOIT10.Text = "Reviz Admin"
  252. EXPLOIT10.TextColor3 = Color3.fromRGB(255, 255, 255)
  253. EXPLOIT10.TextScaled = true
  254. EXPLOIT10.TextSize = 14.000
  255. EXPLOIT10.TextWrapped = true
  256. EXPLOIT10.MouseButton1Down:connect(function()
  257. loadstring(game:HttpGet(('https://pastebin.com/raw/KNUzQPYS'),true))()
  258. end)
  259.  
  260. EXPLOIT11.Name = "EXPLOIT11"
  261. EXPLOIT11.Parent = MainFrame
  262. EXPLOIT11.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  263. EXPLOIT11.BorderSizePixel = 0
  264. EXPLOIT11.Position = UDim2.new(0.75242722, 0, 0.520912528, 0)
  265. EXPLOIT11.Size = UDim2.new(0, 92, 0, 32)
  266. EXPLOIT11.Font = Enum.Font.Cartoon
  267. EXPLOIT11.Text = "FE GUI"
  268. EXPLOIT11.TextColor3 = Color3.fromRGB(255, 255, 255)
  269. EXPLOIT11.TextScaled = true
  270. EXPLOIT11.TextSize = 14.000
  271. EXPLOIT11.TextWrapped = true
  272. EXPLOIT11.MouseButton1Down:connect(function()
  273. loadstring(game:HttpGet(('https://pastebin.com/raw/yQaWHmZA'),true))()
  274. end)
  275.  
  276. EXPLOIT12.Name = "EXPLOIT12"
  277. EXPLOIT12.Parent = MainFrame
  278. EXPLOIT12.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  279. EXPLOIT12.BorderSizePixel = 0
  280. EXPLOIT12.Position = UDim2.new(0.75242722, 0, 0.711026609, 0)
  281. EXPLOIT12.Size = UDim2.new(0, 92, 0, 32)
  282. EXPLOIT12.Font = Enum.Font.Cartoon
  283. EXPLOIT12.Text = "FE Troll Animations"
  284. EXPLOIT12.TextColor3 = Color3.fromRGB(255, 255, 255)
  285. EXPLOIT12.TextScaled = true
  286. EXPLOIT12.TextSize = 14.000
  287. EXPLOIT12.TextWrapped = true
  288. EXPLOIT12.MouseButton1Down:connect(function()
  289. loadstring(game:HttpGet(('https://pastebin.com/raw/35ze0RJb'),true))()
  290. end)
  291.  
  292. EXPLOIT2.Name = "EXPLOIT2"
  293. EXPLOIT2.Parent = MainFrame
  294. EXPLOIT2.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  295. EXPLOIT2.BorderSizePixel = 0
  296. EXPLOIT2.Position = UDim2.new(0.024271844, 0, 0.323193908, 0)
  297. EXPLOIT2.Size = UDim2.new(0, 92, 0, 32)
  298. EXPLOIT2.Font = Enum.Font.Cartoon
  299. EXPLOIT2.Text = "Fe Invis Kill"
  300. EXPLOIT2.TextColor3 = Color3.fromRGB(255, 255, 255)
  301. EXPLOIT2.TextScaled = true
  302. EXPLOIT2.TextSize = 14.000
  303. EXPLOIT2.TextWrapped = true
  304. EXPLOIT2.MouseButton1Down:connect(function()
  305. loadstring(game:HttpGet(('https://pastebin.com/raw/Lpn5rUDp'),true))()
  306. end)
  307.  
  308. EXPLOIT3.Name = "EXPLOIT3"
  309. EXPLOIT3.Parent = MainFrame
  310. EXPLOIT3.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  311. EXPLOIT3.BorderSizePixel = 0
  312. EXPLOIT3.Position = UDim2.new(0.024271844, 0, 0.520912528, 0)
  313. EXPLOIT3.Size = UDim2.new(0, 92, 0, 32)
  314. EXPLOIT3.Font = Enum.Font.Cartoon
  315. EXPLOIT3.Text = "Vybe CMD Bar"
  316. EXPLOIT3.TextColor3 = Color3.fromRGB(255, 255, 255)
  317. EXPLOIT3.TextScaled = true
  318. EXPLOIT3.TextSize = 14.000
  319. EXPLOIT3.TextWrapped = true
  320. EXPLOIT3.MouseButton1Down:connect(function()
  321. loadstring(game:HttpGet(('https://pastebin.com/raw/NN5P4nQE'),true))()
  322. end)
  323.  
  324. EXPLOIT4.Name = "EXPLOIT4"
  325. EXPLOIT4.Parent = MainFrame
  326. EXPLOIT4.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  327. EXPLOIT4.BorderSizePixel = 0
  328. EXPLOIT4.Position = UDim2.new(0.024271844, 0, 0.711026609, 0)
  329. EXPLOIT4.Size = UDim2.new(0, 92, 0, 32)
  330. EXPLOIT4.Font = Enum.Font.Cartoon
  331. EXPLOIT4.Text = "JB Autorob"
  332. EXPLOIT4.TextColor3 = Color3.fromRGB(255, 255, 255)
  333. EXPLOIT4.TextScaled = true
  334. EXPLOIT4.TextSize = 14.000
  335. EXPLOIT4.TextWrapped = true
  336. EXPLOIT4.MouseButton1Down:connect(function()
  337. loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
  338. end)
  339.  
  340. MainFrameBeautyB.Name = "MainFrameBeautyB"
  341. MainFrameBeautyB.Parent = MainFrame
  342. MainFrameBeautyB.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  343. MainFrameBeautyB.BorderSizePixel = 0
  344. MainFrameBeautyB.Position = UDim2.new(0, 0, 0.916349828, 0)
  345. MainFrameBeautyB.Size = UDim2.new(0, 412, 0, 22)
  346. MainFrameBeautyB.Visible = false
  347.  
  348. wait(0.2)
  349.  
  350.  
  351.  
  352. Player = game:GetService("Players").LocalPlayer
  353. PlayerGui = Player.PlayerGui
  354. Cam = workspace.CurrentCamera
  355. Backpack = Player.Backpack
  356. Character = Player.Character
  357. Humanoid = Character.Humanoid
  358. Mouse = Player:GetMouse()
  359. RootPart = Character["HumanoidRootPart"]
  360. Torso = Character["Torso"]
  361. Head = Character["Head"]
  362. RightArm = Character["Right Arm"]
  363. LeftArm = Character["Left Arm"]
  364. RightLeg = Character["Right Leg"]
  365. LeftLeg = Character["Left Leg"]
  366. RootJoint = RootPart["RootJoint"]
  367. Neck = Torso["Neck"]
  368. RightShoulder = Torso["Right Shoulder"]
  369. LeftShoulder = Torso["Left Shoulder"]
  370. RightHip = Torso["Right Hip"]
  371. LeftHip = Torso["Left Hip"]
  372. local sick = Instance.new("Sound",Torso)
  373. sick.SoundId = "rbxassetid://1375384985"
  374. sick.Looped = true
  375. sick.Pitch = 1
  376. sick.Volume = 100
  377. sick.TimePosition = 16.3
  378. sick:Play()
  379.  
  380. local naeeym2 = Instance.new("BillboardGui",Character)
  381. naeeym2.AlwaysOnTop = true
  382. naeeym2.Size = UDim2.new(5,35,2,35)
  383. naeeym2.StudsOffset = Vector3.new(0,3,0)
  384. naeeym2.Adornee = Character.Head
  385. naeeym2.Name = "Name"
  386. naeeym2.MaxDistance = 200
  387. local tecks2 = Instance.new("TextLabel",naeeym2)
  388. tecks2.BackgroundTransparency = 1
  389. tecks2.TextScaled = true
  390. tecks2.BorderSizePixel = 0
  391. tecks2.Text = "Son Of Ruin"
  392. tecks2.Font = "Antique"
  393. tecks2.TextSize = 30
  394. tecks2.TextStrokeTransparency = 1
  395. tecks2.TextColor3 = Color3.new(0,255,255)
  396. tecks2.TextStrokeColor3 = Color3.new(0,255,255)
  397. tecks2.Size = UDim2.new(1,0,0.5,0)
  398. tecks2.Parent = naeeym2
  399.  
  400. IT = Instance.new
  401. CF = CFrame.new
  402. VT = Vector3.new
  403. RAD = math.rad
  404. C3 = Color3.new
  405. UD2 = UDim2.new
  406. BRICKC = BrickColor.new
  407. ANGLES = CFrame.Angles
  408. EULER = CFrame.fromEulerAnglesXYZ
  409. COS = math.cos
  410. ACOS = math.acos
  411. SIN = math.sin
  412. ASIN = math.asin
  413. ABS = math.abs
  414. MRANDOM = math.random
  415. FLOOR = math.floor
  416.  
  417. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  418. local NEWMESH = IT(MESH)
  419. if MESH == "SpecialMesh" then
  420. NEWMESH.MeshType = MESHTYPE
  421. if MESHID ~= "nil" and MESHID ~= "" then
  422. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  423. end
  424. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  425. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  426. end
  427. end
  428. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  429. NEWMESH.Scale = SCALE
  430. NEWMESH.Parent = PARENT
  431. return NEWMESH
  432. end
  433.  
  434. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  435. local NEWPART = IT("Part")
  436. NEWPART.formFactor = FORMFACTOR
  437. NEWPART.Reflectance = REFLECTANCE
  438. NEWPART.Transparency = TRANSPARENCY
  439. NEWPART.CanCollide = false
  440. NEWPART.Locked = true
  441. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  442. NEWPART.Name = NAME
  443. NEWPART.Size = SIZE
  444. NEWPART.Position = Torso.Position
  445. NEWPART.Material = MATERIAL
  446. NEWPART:BreakJoints()
  447. NEWPART.Parent = PARENT
  448. return NEWPART
  449. end
  450.  
  451.  
  452. --//=================================\\
  453. --|| CUSTOMIZATION
  454. --\\=================================//
  455.  
  456. Class_Name = "₱Ɽł₴₥.exe"
  457. Weapon_Name = "Add-ons"
  458.  
  459. Custom_Colors = {
  460. Custom_Color_1 = BRICKC("Toothpaste"); --1st color for the weapon.
  461. Custom_Color_2 = BRICKC("Toothpaste"); --2nd color for the weapon.
  462.  
  463. Custom_Color_3 = BRICKC("Toothpaste"); --Color for the abilities.
  464. Custom_Color_4 = BRICKC("Toothpaste"); --Color for the secondary bar.
  465. Custom_Color_5 = BRICKC("Toothpaste"); --Color for the mana bar.
  466. Custom_Color_6 = BRICKC("Toothpaste"); --Color for the health bar.
  467. Custom_Color_7 = BRICKC("Toothpaste"); --Color for the stun bar.
  468.  
  469. Custom_Color_8 = BRICKC("Toothpaste"); --Background for the mana bar.
  470. Custom_Color_9 = BRICKC("Toothpaste"); --Background for the secondary mana bar.
  471. Custom_Color_10 = BRICKC("Toothpaste"); --Background for the stun bar.
  472. Custom_Color_11 = BRICKC("Toothpaste"); --Background for the health bar.
  473. Custom_Color_12 = BRICKC("Toothpaste"); --Background for the abilities.
  474. }
  475.  
  476.  
  477. Player_Size = 1 --Size of the player.
  478. Animation_Speed = 3
  479. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  480.  
  481. local Speed = 36
  482. local Effects2 = {}
  483.  
  484. --//=================================\\
  485. --|| END OF CUSTOMIZATION
  486. --\\=================================//
  487.  
  488. local function weldBetween(a, b)
  489. local weldd = Instance.new("ManualWeld")
  490. weldd.Part0 = a
  491. weldd.Part1 = b
  492. weldd.C0 = CFrame.new()
  493. weldd.C1 = b.CFrame:inverse() * a.CFrame
  494. weldd.Parent = a
  495. return weldd
  496. end
  497.  
  498. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  499. local acs = Instance.new("Part")
  500. acs.CanCollide = false
  501. acs.Anchored = false
  502. acs.Size = Vector3.new(0,0,0)
  503. acs.CFrame = attachmentpart.CFrame
  504. acs.Parent = Character
  505. acs.BrickColor = color
  506. local meshs = Instance.new("SpecialMesh")
  507. meshs.MeshId = mesh
  508. meshs.TextureId = texture
  509. meshs.Parent = acs
  510. meshs.Scale = scale
  511. meshs.Offset = offset
  512. weldBetween(attachmentpart,acs)
  513. end
  514.  
  515. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  516. if TYPE == "Gem" then
  517. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  518. acs.Anchored = false
  519. acs.CanCollide = false
  520. acs.CFrame = PART.CFrame
  521. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  522. weldBetween(PART,acs)
  523. elseif TYPE == "Skull" then
  524. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  525. acs.Anchored = false
  526. acs.CanCollide = false
  527. acs.CFrame = PART.CFrame
  528. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  529. weldBetween(PART,acs)
  530. elseif TYPE == "Eye" then
  531. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  532. acs.Anchored = false
  533. acs.CanCollide = false
  534. acs.CFrame = PART.CFrame
  535. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  536. weldBetween(PART,acs)
  537. end
  538. end
  539.  
  540. --//=================================\\
  541. --|| USEFUL VALUES
  542. --\\=================================//
  543.  
  544. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  545. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  546. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  547. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  548. local CO1 = 0
  549. local CO2 = 0
  550. local CO3 = 0
  551. local CO4 = 0
  552. local CHANGEDEFENSE = 0
  553. local CHANGEDAMAGE = 0
  554. local CHANGEMOVEMENT = 0
  555. local ANIM = "Idle"
  556. local ATTACK = false
  557. local EQUIPPED = false
  558. local HOLD = false
  559. local COMBO = 1
  560. local LASTPOINT = nil
  561. local BLCF = nil
  562. local SCFR = nil
  563. local STAGGERHITANIM = false
  564. local STAGGERANIM = false
  565. local STUNANIM = false
  566. local CRITCHANCENUMBER = 0
  567. local IDLENUMBER = 0
  568. local DONUMBER = 0
  569. local HANDIDLE = false
  570. local SINE = 0
  571. local CHANGE = 2 / Animation_Speed
  572. local WALKINGANIM = false
  573. local WALK = 0
  574. local KEYHOLD = false
  575. local DISABLEJUMPING = false
  576. local HASBEENBLOCKED = false
  577. local STUNDELAYNUMBER = 0
  578. local MANADELAYNUMBER = 0
  579. local SECONDARYMANADELAYNUMBER = 0
  580. local ROBLOXIDLEANIMATION = IT("Animation")
  581. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  582. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  583. --ROBLOXIDLEANIMATION.Parent = Humanoid
  584. local WEAPONGUI = IT("ScreenGui", nil)
  585. WEAPONGUI.Name = "Weapon GUI"
  586. local WEAPONTOOL = IT("HopperBin", nil)
  587. WEAPONTOOL.Name = Weapon_Name
  588. local Weapon = IT("Model")
  589. Weapon.Name = Weapon_Name
  590. local Effects = IT("Folder", Weapon)
  591. Effects.Name = "Effects"
  592. local ANIMATOR = Humanoid.Animator
  593. local ANIMATE = Character.Animate
  594. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  595. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  596. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  597. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  598. local CUTSOUNDS = {"645750958","645747150"}
  599. local VICIOUSWOOSH = "658941933"
  600. local RELEASESOUND = "565538688"
  601. local CHARGESOUND = "565538601"
  602. local UNANCHOR = true
  603. local MAGICPARTICLE = "300899323"
  604.  
  605. --//=================================\\
  606. --\\=================================//
  607.  
  608. --//=================================\\
  609. --|| STATS
  610. --\\=================================//
  611.  
  612. if Character:FindFirstChild("Stats") ~= nil then
  613. Character:FindFirstChild("Stats").Parent = nil
  614. end
  615.  
  616. local Stats = IT("Folder", nil)
  617. Stats.Name = "Stats"
  618. local ChangeStat = IT("Folder", Stats)
  619. ChangeStat.Name = "ChangeStat"
  620. local Defense = IT("NumberValue", Stats)
  621. Defense.Name = "Defense"
  622. Defense.Value = 1
  623. local Movement = IT("NumberValue", Stats)
  624. Movement.Name = "Movement"
  625. Movement.Value = 1
  626. local Damage = IT("NumberValue", Stats)
  627. Damage.Name = "Damage"
  628. Damage.Value = 1
  629. local Mana = IT("NumberValue", Stats)
  630. Mana.Name = "Mana"
  631. Mana.Value = 0
  632. local SecondaryMana = IT("NumberValue", Stats)
  633. SecondaryMana.Name = "SecondaryMana"
  634. SecondaryMana.Value = 0
  635. local CanCrit = IT("BoolValue", Stats)
  636. CanCrit.Name = "CanCrit"
  637. CanCrit.Value = false
  638. local CritChance = IT("NumberValue", Stats)
  639. CritChance.Name = "CritChance"
  640. CritChance.Value = 20
  641. local CanPenetrateArmor = IT("BoolValue", Stats)
  642. CanPenetrateArmor.Name = "CanPenetrateArmor"
  643. CanPenetrateArmor.Value = false
  644. local AntiTeamKill = IT("BoolValue", Stats)
  645. AntiTeamKill.Name = "AntiTeamKill"
  646. AntiTeamKill.Value = false
  647. local Rooted = IT("BoolValue", Stats)
  648. Rooted.Name = "Rooted"
  649. Rooted.Value = false
  650. local Block = IT("BoolValue", Stats)
  651. Block.Name = "Block"
  652. Block.Value = false
  653. local RecentEnemy = IT("ObjectValue", Stats)
  654. RecentEnemy.Name = "RecentEnemy"
  655. RecentEnemy.Value = nil
  656. local StaggerHit = IT("BoolValue", Stats)
  657. StaggerHit.Name = "StaggerHit"
  658. StaggerHit.Value = false
  659. local Stagger = IT("BoolValue", Stats)
  660. Stagger.Name = "Stagger"
  661. Stagger.Value = false
  662. local Stun = IT("BoolValue", Stats)
  663. Stun.Name = "Stun"
  664. Stun.Value = false
  665. local StunValue = IT("NumberValue", Stats)
  666. StunValue.Name = "StunValue"
  667. StunValue.Value = 0
  668.  
  669.  
  670. --//=================================\\
  671. --\\=================================//
  672.  
  673.  
  674.  
  675.  
  676.  
  677. --//=================================\\
  678. --|| DEBUFFS / BUFFS
  679. --\\=================================//
  680.  
  681. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  682. DEFENSECHANGE1.Name = "ChangeDefense"
  683. DEFENSECHANGE1.Value = 0
  684.  
  685. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  686. MOVEMENTCHANGE1.Name = "ChangeMovement"
  687. MOVEMENTCHANGE1.Value = 0
  688.  
  689. --//=================================\\
  690. --\\=================================//
  691.  
  692.  
  693.  
  694.  
  695.  
  696. --//=================================\\
  697. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  698. --\\=================================//
  699.  
  700. ArtificialHB = Instance.new("BindableEvent", script)
  701. ArtificialHB.Name = "ArtificialHB"
  702.  
  703. script:WaitForChild("ArtificialHB")
  704.  
  705. frame = Frame_Speed
  706. tf = 0
  707. allowframeloss = false
  708. tossremainder = false
  709. lastframe = tick()
  710. script.ArtificialHB:Fire()
  711.  
  712. game:GetService("RunService").Heartbeat:connect(function(s, p)
  713. tf = tf + s
  714. if tf >= frame then
  715. if allowframeloss then
  716. script.ArtificialHB:Fire()
  717. lastframe = tick()
  718. else
  719. for i = 1, math.floor(tf / frame) do
  720. script.ArtificialHB:Fire()
  721. end
  722. lastframe = tick()
  723. end
  724. if tossremainder then
  725. tf = 0
  726. else
  727. tf = tf - frame * math.floor(tf / frame)
  728. end
  729. end
  730. end)
  731.  
  732. --//=================================\\
  733. --\\=================================//
  734.  
  735.  
  736.  
  737.  
  738.  
  739. --//=================================\\
  740. --|| SOME FUNCTIONS
  741. --\\=================================//
  742.  
  743. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  744. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  745. end
  746.  
  747. function PositiveAngle(NUMBER)
  748. if NUMBER >= 0 then
  749. NUMBER = 0
  750. end
  751. return NUMBER
  752. end
  753.  
  754. function NegativeAngle(NUMBER)
  755. if NUMBER <= 0 then
  756. NUMBER = 0
  757. end
  758. return NUMBER
  759. end
  760.  
  761. function Swait(NUMBER)
  762. if NUMBER == 0 or NUMBER == nil then
  763. ArtificialHB.Event:wait()
  764. else
  765. for i = 1, NUMBER do
  766. ArtificialHB.Event:wait()
  767. end
  768. end
  769. end
  770.  
  771. function QuaternionFromCFrame(cf)
  772. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  773. local trace = m00 + m11 + m22
  774. if trace > 0 then
  775. local s = math.sqrt(1 + trace)
  776. local recip = 0.5 / s
  777. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  778. else
  779. local i = 0
  780. if m11 > m00 then
  781. i = 1
  782. end
  783. if m22 > (i == 0 and m00 or m11) then
  784. i = 2
  785. end
  786. if i == 0 then
  787. local s = math.sqrt(m00 - m11 - m22 + 1)
  788. local recip = 0.5 / s
  789. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  790. elseif i == 1 then
  791. local s = math.sqrt(m11 - m22 - m00 + 1)
  792. local recip = 0.5 / s
  793. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  794. elseif i == 2 then
  795. local s = math.sqrt(m22 - m00 - m11 + 1)
  796. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  797. end
  798. end
  799. end
  800.  
  801. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  802. local xs, ys, zs = x + x, y + y, z + z
  803. local wx, wy, wz = w * xs, w * ys, w * zs
  804. local xx = x * xs
  805. local xy = x * ys
  806. local xz = x * zs
  807. local yy = y * ys
  808. local yz = y * zs
  809. local zz = z * zs
  810. 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))
  811. end
  812.  
  813. function QuaternionSlerp(a, b, t)
  814. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  815. local startInterp, finishInterp;
  816. if cosTheta >= 0.0001 then
  817. if (1 - cosTheta) > 0.0001 then
  818. local theta = ACOS(cosTheta)
  819. local invSinTheta = 1 / SIN(theta)
  820. startInterp = SIN((1 - t) * theta) * invSinTheta
  821. finishInterp = SIN(t * theta) * invSinTheta
  822. else
  823. startInterp = 1 - t
  824. finishInterp = t
  825. end
  826. else
  827. if (1 + cosTheta) > 0.0001 then
  828. local theta = ACOS(-cosTheta)
  829. local invSinTheta = 1 / SIN(theta)
  830. startInterp = SIN((t - 1) * theta) * invSinTheta
  831. finishInterp = SIN(t * theta) * invSinTheta
  832. else
  833. startInterp = t - 1
  834. finishInterp = t
  835. end
  836. end
  837. 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
  838. end
  839.  
  840. function Clerp(a, b, t)
  841. local qa = {QuaternionFromCFrame(a)}
  842. local qb = {QuaternionFromCFrame(b)}
  843. local ax, ay, az = a.x, a.y, a.z
  844. local bx, by, bz = b.x, b.y, b.z
  845. local _t = 1 - t
  846. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  847. end
  848.  
  849. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  850. local frame = IT("Frame")
  851. frame.BackgroundTransparency = TRANSPARENCY
  852. frame.BorderSizePixel = BORDERSIZEPIXEL
  853. frame.Position = POSITION
  854. frame.Size = SIZE
  855. frame.BackgroundColor3 = COLOR
  856. frame.BorderColor3 = BORDERCOLOR
  857. frame.Name = NAME
  858. frame.Parent = PARENT
  859. return frame
  860. end
  861.  
  862. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  863. local label = IT("TextLabel")
  864. label.BackgroundTransparency = 1
  865. label.Size = UD2(1, 0, 1, 0)
  866. label.Position = UD2(0, 0, 0, 0)
  867. label.TextColor3 = C3(255, 255, 255)
  868. label.TextStrokeTransparency = STROKETRANSPARENCY
  869. label.TextTransparency = TRANSPARENCY
  870. label.FontSize = TEXTFONTSIZE
  871. label.Font = TEXTFONT
  872. label.BorderSizePixel = BORDERSIZEPIXEL
  873. label.TextScaled = true
  874. label.Text = TEXT
  875. label.Name = NAME
  876. label.Parent = PARENT
  877. return label
  878. end
  879.  
  880. function NoOutlines(PART)
  881. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  882. end
  883.  
  884.  
  885. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  886. local NEWWELD = IT(TYPE)
  887. NEWWELD.Part0 = PART0
  888. NEWWELD.Part1 = PART1
  889. NEWWELD.C0 = C0
  890. NEWWELD.C1 = C1
  891. NEWWELD.Parent = PARENT
  892. return NEWWELD
  893. end
  894.  
  895. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  896. local NEWSOUND = nil
  897. coroutine.resume(coroutine.create(function()
  898. NEWSOUND = IT("Sound", PARENT)
  899. NEWSOUND.Volume = VOLUME
  900. NEWSOUND.Pitch = PITCH
  901. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  902. --Swait()
  903. NEWSOUND:play()
  904. if DOESLOOP == false then
  905. repeat Swait() until NEWSOUND.Playing == false
  906. NEWSOUND:remove()
  907. elseif DOESLOOP == true then
  908. NEWSOUND.Looped = true
  909. end
  910. end))
  911. return NEWSOUND
  912. end
  913.  
  914. function CFrameFromTopBack(at, top, back)
  915. local right = top:Cross(back)
  916. 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)
  917. end
  918.  
  919. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  920. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  921. local mesh = IT("SpecialMesh",wave)
  922. mesh.MeshType = "FileMesh"
  923. wave.Anchored = true
  924. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  925. mesh.Scale = VT(size,size,size)
  926. mesh.Offset = VT(0,0,-size/8)
  927. wave.CFrame = CF(part.p) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  928. coroutine.resume(coroutine.create(function(PART)
  929. for i = 1, waitt do
  930. Swait()
  931. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  932. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  933. if doesrotate == true then
  934. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  935. end
  936. wave.Transparency = wave.Transparency + (0.5/waitt)
  937. if wave.Transparency > 0.99 then
  938. wave:remove()
  939. end
  940. end
  941. end))
  942. end
  943.  
  944. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  945. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  946. local mesh = IT("SpecialMesh",wave)
  947. mesh.MeshType = "FileMesh"
  948. wave.Anchored = true
  949. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  950. mesh.Scale = VT(size,size,size)
  951. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  952. coroutine.resume(coroutine.create(function(PART)
  953. for i = 1, waitt do
  954. Swait()
  955. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  956. if doesrotate == true then
  957. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  958. end
  959. wave.Transparency = wave.Transparency + (0.5/waitt)
  960. if wave.Transparency > 0.99 then
  961. wave:remove()
  962. end
  963. end
  964. end))
  965. end
  966.  
  967. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  968. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  969. local mesh = IT("SpecialMesh",wave)
  970. mesh.MeshType = "FileMesh"
  971. wave.Anchored = true
  972. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  973. mesh.Scale = VT(size,size,size)
  974. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  975. coroutine.resume(coroutine.create(function(PART)
  976. for i = 1, waitt do
  977. Swait()
  978. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  979. if doesrotate == true then
  980. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  981. end
  982. wave.Transparency = wave.Transparency + (0.5/waitt)
  983. if wave.Transparency > 0.99 then
  984. wave:remove()
  985. end
  986. end
  987. end))
  988. end
  989.  
  990. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  991. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  992. local mesh = IT("SpecialMesh",wave)
  993. mesh.MeshType = "FileMesh"
  994. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  995. mesh.Scale = VT(size,size,size)
  996. wave.Anchored = true
  997. mesh.Offset = VT(0,0,0)
  998. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  999. coroutine.resume(coroutine.create(function(PART)
  1000. for i = 1, waitt do
  1001. Swait()
  1002. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1003. if doesrotate == true then
  1004. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  1005. end
  1006. wave.Transparency = wave.Transparency + (0.5/waitt)
  1007. if wave.Transparency > 0.99 then
  1008. wave:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. function MagicSphere(size,waitt,part,color)
  1015. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0))
  1016. local mesh = IT("SpecialMesh",wave)
  1017. mesh.MeshType = "Sphere"
  1018. wave.Anchored = true
  1019. mesh.Scale = VT(size,size,size)
  1020. mesh.Offset = VT(0,0,0)
  1021. wave.CFrame = part * ANGLES(RAD(0),RAD(0),RAD(0))
  1022. coroutine.resume(coroutine.create(function(PART)
  1023. for i = 1, waitt do
  1024. Swait()
  1025. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1026. wave.Transparency = wave.Transparency + (1/waitt)
  1027. if wave.Transparency > 0.99 then
  1028. wave:remove()
  1029. end
  1030. end
  1031. end))
  1032. end
  1033.  
  1034. function MagicBlock(size,waitt,part,offset,color)
  1035. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  1036. local mesh = IT("BlockMesh",wave)
  1037. wave.Anchored = true
  1038. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1039. coroutine.resume(coroutine.create(function(PART)
  1040. for i = 1, waitt do
  1041. Swait()
  1042. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1043. wave.CFrame = CF(wave.Position) * ANGLES(RAD(math(-360,360)),RAD(math(-360,360)),RAD(math(-360,360)))
  1044. wave.Transparency = wave.Transparency + (1/waitt)
  1045. if wave.Transparency > 0.99 then
  1046. wave:remove()
  1047. end
  1048. end
  1049. end))
  1050. end
  1051.  
  1052. local EyeSizes={
  1053. NumberSequenceKeypoint.new(0,0.5,0),
  1054. NumberSequenceKeypoint.new(1,0.2,0)
  1055. }
  1056. local EyeTrans={
  1057. NumberSequenceKeypoint.new(0,0,0),
  1058. NumberSequenceKeypoint.new(1,1,0)
  1059. }
  1060. local PE=Instance.new("ParticleEmitter")
  1061. PE.LightEmission=0.3
  1062. PE.Size=NumberSequence.new(EyeSizes)
  1063. PE.Transparency=NumberSequence.new(EyeTrans)
  1064. PE.Rotation=NumberRange.new(0,360)
  1065. PE.LockedToPart = false
  1066. PE.Speed = NumberRange.new(0,0,0)
  1067. PE.ZOffset = 0.3
  1068. PE.Rate = 999
  1069. PE.Name = "Particles"
  1070.  
  1071. function CreateParticles(art,text,accel,drag,lifetime,type,isenabledbydefault,locked)
  1072. local particle = nil
  1073. coroutine.resume(coroutine.create(function(PART)
  1074. particle = PE:Clone()
  1075. Swait()
  1076. particle.Rate = 999
  1077. particle.Parent = art
  1078. particle.Acceleration = accel
  1079. if type == "Fire" then
  1080. local EyeSizes={
  1081. NumberSequenceKeypoint.new(0,0.5,0.3),
  1082. NumberSequenceKeypoint.new(1,0.2,0.2)
  1083. }
  1084. particle.Size = NumberSequence.new(EyeSizes)
  1085. elseif type == "Smoke" then
  1086. local EyeSizes={
  1087. NumberSequenceKeypoint.new(0,0.5,0),
  1088. NumberSequenceKeypoint.new(1,5,0.5)
  1089. }
  1090. particle.Size = NumberSequence.new(EyeSizes)
  1091. elseif type == "Solid" then
  1092. local EyeSizes={
  1093. NumberSequenceKeypoint.new(0,0.5,0),
  1094. NumberSequenceKeypoint.new(1,0.5,0)
  1095. }
  1096. particle.Size = NumberSequence.new(EyeSizes)
  1097. end
  1098. particle.Lifetime=NumberRange.new(lifetime)
  1099. particle.Drag = drag
  1100. if locked == true then
  1101. particle.LockedToPart = true
  1102. end
  1103. particle.Texture = "http://www.roblox.com/asset/?id="..text
  1104. particle.Enabled = isenabledbydefault
  1105. end))
  1106. return particle
  1107. end
  1108.  
  1109. local EyeSizes={
  1110. NumberSequenceKeypoint.new(0,0.5,0),
  1111. NumberSequenceKeypoint.new(1,0.2,0)
  1112. }
  1113. local EyeTrans={
  1114. NumberSequenceKeypoint.new(0,0,0),
  1115. NumberSequenceKeypoint.new(1,1,0)
  1116. }
  1117. local PE2=Instance.new("ParticleEmitter")
  1118. PE2.LightEmission=0.8
  1119. PE2.Size=NumberSequence.new(EyeSizes)
  1120. PE2.Transparency=NumberSequence.new(EyeTrans)
  1121. PE2.Rotation=NumberRange.new(0,360)
  1122. PE2.LockedToPart = false
  1123. PE2.Speed = NumberRange.new(0,0,0)
  1124. PE2.ZOffset = 0.3
  1125. PE2.Rate = 999
  1126. PE2.VelocitySpread = 90000
  1127. PE2.Name = "Particles"
  1128.  
  1129. function CreateParticles2(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  1130. local particle = nil
  1131. coroutine.resume(coroutine.create(function(PART)
  1132. particle = PE2:Clone()
  1133. Swait()
  1134. particle.Rate = 999
  1135. particle.Parent = art
  1136. particle.Acceleration = accel
  1137. if type == "Fire" then
  1138. local EyeSizes={
  1139. NumberSequenceKeypoint.new(0,size,size/2),
  1140. NumberSequenceKeypoint.new(1,size/4,size/8)
  1141. }
  1142. particle.Size = NumberSequence.new(EyeSizes)
  1143. elseif type == "Smoke" then
  1144. local EyeSizes={
  1145. NumberSequenceKeypoint.new(0,0.5,0),
  1146. NumberSequenceKeypoint.new(1,5,0.5)
  1147. }
  1148. particle.Size = NumberSequence.new(EyeSizes)
  1149. elseif type == "Solid" then
  1150. local EyeSizes={
  1151. NumberSequenceKeypoint.new(0,0.5,0),
  1152. NumberSequenceKeypoint.new(1,0.5,0)
  1153. }
  1154. particle.Size = NumberSequence.new(EyeSizes)
  1155. end
  1156. particle.Lifetime=NumberRange.new(lifetime)
  1157. particle.Drag = drag
  1158. if locked == true then
  1159. particle.LockedToPart = true
  1160. end
  1161. particle.Speed = NumberRange.new(speed,speed,speed)
  1162. particle.Texture = "http://www.roblox.com/asset/?id="..MAGICPARTICLE
  1163. particle.Enabled = isenabledbydefault
  1164. --particle.Color = ColorSequence.new(Color3.new(255, 255, 255))
  1165. end))
  1166. return particle
  1167. end
  1168. local Decal = IT("Decal")
  1169.  
  1170. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  1171. local sinkhole = IT("Part")
  1172. sinkhole.Size = VT(size,0,size)
  1173. sinkhole.CFrame = cframe
  1174. --sinkhole.Orientation = VT(0,0,0)
  1175. sinkhole.Parent = Effects
  1176. sinkhole.Material = "Neon"
  1177. sinkhole.Color = C3(255, 255, 255)
  1178. sinkhole.Anchored = true
  1179. sinkhole.CanCollide = false
  1180. sinkhole.Transparency = 1
  1181. local decal = Decal:Clone()
  1182. decal.Parent = sinkhole
  1183. decal.Face = "Top"
  1184. decal.Texture = "http://www.roblox.com/asset/?id=1226241606"
  1185. local decal2 = Decal:Clone()
  1186. decal2.Parent = sinkhole
  1187. decal2.Face = "Bottom"
  1188. decal2.Texture = "http://www.roblox.com/asset/?id=1226241606"
  1189. coroutine.resume(coroutine.create(function(PART)
  1190. for i = 1, waitt do
  1191. Swait()
  1192. if doesrotate == true then
  1193. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1194. end
  1195. if alwaysfade == true then
  1196. decal.Transparency = decal.Transparency + (1/waitt)
  1197. decal2.Transparency = decal.Transparency + (1/waitt)
  1198. end
  1199. if i > waitt-11 and (alwaysfade ~= true) then
  1200. decal.Transparency = decal.Transparency + 0.1
  1201. decal2.Transparency = decal.Transparency + 0.1
  1202. end
  1203. end
  1204. sinkhole.Parent = nil
  1205. end))
  1206. return sinkhole
  1207. end
  1208.  
  1209. --//=================================\\
  1210. --\\=================================//
  1211.  
  1212.  
  1213. --//=================================\\
  1214. --|| WEAPON CREATION
  1215. --\\=================================//
  1216.  
  1217. if Player_Size ~= 1 then
  1218. for _, v in pairs (Weapon:GetChildren()) do
  1219. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1220. local p1 = v.Part1
  1221. v.Part1 = nil
  1222. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1223. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1224. v.Part1 = p1
  1225. elseif v.ClassName == "Part" then
  1226. for _, b in pairs (v:GetChildren()) do
  1227. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1228. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1229. end
  1230. end
  1231. end
  1232. end
  1233. end
  1234.  
  1235. Swait()
  1236.  
  1237. local Plate = IT("Part",Weapon)
  1238. Plate.Size = VT(1,0.1,1)
  1239. Plate.Transparency = 1
  1240. Plate.CanCollide = false
  1241. Plate.CFrame = LeftLeg.CFrame * CF(0,-1.1,0)
  1242. CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
  1243. weldBetween(LeftLeg,Plate)
  1244.  
  1245. local Plate = IT("Part",Weapon)
  1246. Plate.Size = VT(1,0.1,1)
  1247. Plate.Transparency = 1
  1248. Plate.CanCollide = false
  1249. Plate.CFrame = RightLeg.CFrame * CF(0,-1.1,0)
  1250. CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
  1251. weldBetween(RightLeg,Plate)
  1252.  
  1253. local Plate = IT("Part",Weapon)
  1254. Plate.Size = VT(1,0.1,1)
  1255. Plate.Transparency = 1
  1256. Plate.CanCollide = false
  1257. Plate.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1258. CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
  1259. weldBetween(RightArm,Plate)
  1260.  
  1261. local Plate = IT("Part",Weapon)
  1262. Plate.Size = VT(1,0.1,1)
  1263. Plate.Transparency = 1
  1264. Plate.CanCollide = false
  1265. Plate.CFrame = LeftArm.CFrame * CF(0,-1.1,0)
  1266. CreateParticles(Plate,MAGICPARTICLE,VT(0,2,0),2,2,"Fire",true,true)
  1267. weldBetween(LeftArm,Plate)
  1268.  
  1269. local eye = IT("Part",Weapon)
  1270. eye.Size = VT(0.2,0.2,0.2)
  1271. eye.Shape = "Ball"
  1272. eye.CFrame = Head.CFrame * CF(0.125,0.2,-0.55)
  1273. eye.Material = "Neon"
  1274. eye.BrickColor = BRICKC("Toothpaste")
  1275. weldBetween(Head,eye)
  1276.  
  1277.  
  1278.  
  1279.  
  1280. for _, c in pairs(Weapon:GetChildren()) do
  1281. if c.ClassName == "Part" then
  1282. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1283. end
  1284. end
  1285.  
  1286. Weapon.Parent = Character
  1287.  
  1288. Humanoid.Died:connect(function()
  1289. ATTACK = true
  1290. end)
  1291.  
  1292. print(Class_Name.." loaded.")
  1293.  
  1294. --//=================================\\
  1295. --\\=================================//
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301. --//=================================\\
  1302. --|| DAMAGE FUNCTIONS
  1303. --\\=================================//
  1304.  
  1305. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1306. local STATPART = CreatePart(3, Effects, "Neon", 0, 1, "Toothpaste", "Effect", VT())
  1307. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1308. local BODYGYRO = IT("BodyGyro", STATPART)
  1309. local BODYPOSITION = IT("BodyPosition", STATPART)
  1310. BODYPOSITION.P = 2000
  1311. BODYPOSITION.D = 100
  1312. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1313. if LABELTYPE == "Normal" then
  1314. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1315. elseif LABELTYPE == "Debuff" then
  1316. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1317. elseif LABELTYPE == "Interruption" then
  1318. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1319. end
  1320. game:GetService("Debris"):AddItem(STATPART ,5)
  1321. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1322. BILLBOARDGUI.Adornee = STATPART
  1323. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1324. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1325. BILLBOARDGUI.AlwaysOnTop = false
  1326. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1327. TEXTLABEL.BackgroundTransparency = 1
  1328. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1329. TEXTLABEL.Text = TEXT
  1330. TEXTLABEL.Font = "SciFi"
  1331. TEXTLABEL.FontSize="Size42"
  1332. TEXTLABEL.TextColor3 = COLOR
  1333. TEXTLABEL.TextStrokeTransparency = 1
  1334. TEXTLABEL.TextScaled = true
  1335. TEXTLABEL.TextWrapped = true
  1336. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1337. wait(0.2)
  1338. for i=1, 5 do
  1339. wait()
  1340. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1341. end
  1342. wait(1.2)
  1343. for i=1, 5 do
  1344. wait()
  1345. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1346. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1347. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1348. end
  1349. THEPART.Parent = nil
  1350. end),STATPART, BODYPOSITION, TEXTLABEL)
  1351. end
  1352.  
  1353.  
  1354. --//=================================\\
  1355. --|| DAMAGING
  1356. --\\=================================//
  1357.  
  1358. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1359. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1360. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1361. local dmg = math.random(min,max)
  1362. if humanoid.Health > 0 then
  1363. if beserk == true then
  1364. humanoid.Health = 0
  1365. else
  1366. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1367. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1368. if math.random(1,100) < critrate+1 then
  1369. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1370. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1371. else
  1372. humanoid.Health = humanoid.Health - dmg
  1373. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1374. end
  1375. local defence = Instance.new("BoolValue",hit.Parent)
  1376. defence.Name = ("HitBy"..Player.Name)
  1377. game:GetService("Debris"):AddItem(defence, 0.5)
  1378. end
  1379. end
  1380. end
  1381. end
  1382.  
  1383. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1384. local dmg = math.random(min,max)
  1385. for i,v in ipairs(workspace:GetChildren()) do
  1386. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1387. local body = v:GetChildren()
  1388. for part = 1, #body do
  1389. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1390. if(body[part].Position - position).Magnitude < radius then
  1391. if v.ClassName == "Model" then
  1392. if v:FindFirstChild("Humanoid") then
  1393. if v.Humanoid.Health ~= 0 then
  1394. if CanBeDodgedByJumping == true then
  1395. if body[part].Position.Y < position.Y+5 then
  1396. if math.random(1,100) < critrate+1 then
  1397. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1398. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1399. else
  1400. v.Humanoid.Health = v.Humanoid.Health - dmg
  1401. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1402. end
  1403. local defence = Instance.new("BoolValue",v)
  1404. defence.Name = ("HitBy"..Player.Name)
  1405. game:GetService("Debris"):AddItem(defence, 0.5)
  1406. end
  1407. else
  1408. if beserk == true then
  1409. v.Humanoid.Health = 0
  1410. end
  1411. if math.random(1,100) < critrate+1 then
  1412. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1413. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1414. else
  1415. v.Humanoid.Health = v.Humanoid.Health - dmg
  1416. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1417. end
  1418. local defence = Instance.new("BoolValue",v)
  1419. defence.Name = ("HitBy"..Player.Name)
  1420. game:GetService("Debris"):AddItem(defence, 0.5)
  1421. end
  1422. end
  1423. end
  1424. end
  1425. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1426. end
  1427. end
  1428. end
  1429. if v.ClassName == "Part" then
  1430. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1431. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1432. end
  1433. end
  1434. end
  1435. end
  1436. end
  1437.  
  1438. function attractnearest(postype,position,range,maxstrength,last)
  1439. if postype == "Vector" then
  1440. for i,v in ipairs(workspace:GetChildren()) do
  1441. local body = v:GetChildren()
  1442. for part = 1, #body do
  1443. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1444. if(body[part].Position - position).Magnitude < range then
  1445. if body[part]:FindFirstChild("ATTRACT") == nil then
  1446. local bv = Instance.new("BodyVelocity")
  1447. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1448. bv.velocity = CF(body[part].Position,position).lookVector*maxstrength
  1449. bv.Parent = body[part]
  1450. bv.Name = "ATTRACT"
  1451. else
  1452. coroutine.resume(coroutine.create(function()
  1453. for i = 1, last/5 do
  1454. Swait(5)
  1455. body[part].ATTRACT.velocity = CF(body[part].Position,position).lookVector*maxstrength
  1456. end
  1457. body[part].ATTRACT:remove()
  1458. end))
  1459. end
  1460. end
  1461. end
  1462. end
  1463. if v.ClassName == "Part" then
  1464. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1465. if v:FindFirstChild("ATTRACT") == nil then
  1466. local bv = Instance.new("BodyVelocity")
  1467. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1468. bv.velocity = CF(v.Position,position).lookVector*maxstrength
  1469. bv.Parent = v
  1470. bv.Name = "ATTRACT"
  1471. else
  1472. coroutine.resume(coroutine.create(function()
  1473. for i = 1, last/5 do
  1474. Swait(5)
  1475. v.ATTRACT.velocity = CF(v.Position,position).lookVector*maxstrength
  1476. end
  1477. v.ATTRACT:remove()
  1478. end))
  1479. end
  1480. end
  1481. end
  1482. end
  1483. elseif postype == "Part" then
  1484. for i,v in ipairs(workspace:GetChildren()) do
  1485. local body = v:GetChildren()
  1486. for part = 1, #body do
  1487. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1488. if(body[part].Position - position.Position).Magnitude < range then
  1489. if body[part]:FindFirstChild("ATTRACT") == nil then
  1490. local bv = Instance.new("BodyVelocity")
  1491. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1492. bv.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  1493. bv.Parent = body[part]
  1494. bv.Name = "ATTRACT"
  1495. else
  1496. coroutine.resume(coroutine.create(function()
  1497. for i = 1, last/5 do
  1498. Swait(5)
  1499. body[part].ATTRACT.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  1500. end
  1501. body[part].ATTRACT:remove()
  1502. end))
  1503. end
  1504. end
  1505. end
  1506. end
  1507. if v.ClassName == "Part" then
  1508. if v.Anchored == false and (v.Position - position.Position).Magnitude < range then
  1509. if v:FindFirstChild("ATTRACT") == nil then
  1510. local bv = Instance.new("BodyVelocity")
  1511. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1512. bv.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  1513. bv.Parent = v
  1514. bv.Name = "ATTRACT"
  1515. else
  1516. coroutine.resume(coroutine.create(function()
  1517. for i = 1, last/5 do
  1518. Swait(5)
  1519. v.ATTRACT.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  1520. end
  1521. v.ATTRACT:remove()
  1522. end))
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end
  1529.  
  1530. function killnearest(position,range,maxstrength,candestroy)
  1531. for i,v in ipairs(workspace:GetChildren()) do
  1532. local body = v:GetChildren()
  1533. for part = 1, #body do
  1534. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1535. if(body[part].Position - position).Magnitude < range then
  1536. if v.ClassName == "Model" then
  1537. v:BreakJoints()
  1538. end
  1539. if candestroy == true then
  1540. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1541. end
  1542. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1543. end
  1544. end
  1545. end
  1546. if v.ClassName == "Part" then
  1547. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1548. if candestroy == true then
  1549. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1550. end
  1551. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1552. end
  1553. end
  1554. end
  1555. end
  1556.  
  1557. --//=================================\\
  1558. --|| ATTACK FUNCTIONS AND STUFF
  1559. --\\=================================//
  1560.  
  1561. function CheckTableForString(Table, String)
  1562. for i, v in pairs(Table) do
  1563. if string.find(string.lower(String), string.lower(v)) then
  1564. return true
  1565. end
  1566. end
  1567. return false
  1568. end
  1569.  
  1570. function CheckIntangible(Hit)
  1571. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1572. if Hit and Hit.Parent then
  1573. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1574. return true
  1575. end
  1576. end
  1577. return false
  1578. end
  1579.  
  1580. Debris = game:GetService("Debris")
  1581.  
  1582. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1583. local Direction = CFrame.new(StartPos, Vec).lookVector
  1584. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1585. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1586. if RayHit and CheckIntangible(RayHit) then
  1587. if DelayIfHit then
  1588. wait()
  1589. end
  1590. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1591. end
  1592. return RayHit, RayPos, RayNormal
  1593. end
  1594.  
  1595. function turnto(pos)
  1596. RootPart.CFrame = CF(RootPart.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1597. end
  1598.  
  1599. function GraviBomb()
  1600. ATTACK = true
  1601. for i=0, 1, 0.1 / Animation_Speed do
  1602. Swait()
  1603. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  1604. 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)
  1605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1606. 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)
  1607. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1608. 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(10)), 0.2 / Animation_Speed)
  1609. end
  1610. MagicSphere(25,25,LeftArm.CFrame*CF(0,-1,0),"Toothpaste")
  1611. MagicSphere(20,25,LeftArm.CFrame*CF(0,-1,0),"Toothpaste")
  1612. coroutine.resume(coroutine.create(function()
  1613. local cframe = CF(Mouse.Hit.p)
  1614. local circle = CreateMagicCircle(75,true,0.05,120,cframe,false)
  1615. for i = 1, 5 do
  1616. CreateSound(CUTSOUNDS[MRANDOM(1, #CUTSOUNDS)], Effects, 2, 1)
  1617. local sphere = IT("Part",Effects)
  1618. sphere.Shape = "Ball"
  1619. sphere.Size = VT(50,50,50)
  1620. sphere.Anchored = true
  1621. sphere.CanCollide = false
  1622. sphere.Material = "Neon"
  1623. sphere.BrickColor = BRICKC("Toothpaste")
  1624. sphere.Transparency = 0
  1625. sphere.CFrame = cframe
  1626. for i = 1, 10 do
  1627. Swait(2)
  1628. attractnearest("Vector",cframe.p,75,50,10)
  1629. sphere.CFrame = cframe
  1630. sphere.Size = sphere.Size - VT(5,5,5)
  1631. sphere.CFrame = cframe
  1632. end
  1633. sphere:remove()
  1634. end
  1635. local scale = 5
  1636. coroutine.resume(coroutine.create(function()
  1637. CreateSound(RELEASESOUND, Effects, 2, 1)
  1638. MagicSphere(100,125,cframe,"Toothpaste")
  1639. MagicSphere(75,125,cframe,"Toothpaste")
  1640. CreateSwirl(180,6,true,0.3,225,circle,0,"Toothpaste")
  1641. CreateSwirl(180,4,true,0.3,225,circle,0,"Toothpaste")
  1642. CreateSwirl(180,2,true,0.3,225,circle,0,"Toothpaste")
  1643. for i = 1, 15 do
  1644. Swait()
  1645. killnearest(cframe.p,25,150)
  1646. end
  1647. end))
  1648. end))
  1649. for i=0, 1, 0.1 / Animation_Speed do
  1650. Swait()
  1651. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1652. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1654. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1655. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1656. 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(10)), 0.2 / Animation_Speed)
  1657. end
  1658. ATTACK = false
  1659. end
  1660.  
  1661. function GraviSpear()
  1662. ATTACK = true
  1663. for i=0, 1.5, 0.1 / Animation_Speed do
  1664. Swait()
  1665. turnto(Mouse.Hit.p)
  1666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.4 / Animation_Speed)
  1667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1669. 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_Speed)
  1670. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1671. 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(10)), 0.2 / Animation_Speed)
  1672. end
  1673. local spear = IT("Part",Effects)
  1674. spear.Anchored = true
  1675. spear.CanCollide = false
  1676. spear.Shape = "Ball"
  1677. spear.Size = VT(0,0,0)
  1678. spear.Material = "Neon"
  1679. spear.Transparency = 0.2
  1680. spear.BrickColor = BRICKC("Toothpaste")
  1681. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1682. local inner = spear:Clone()
  1683. inner.Parent = spear
  1684. inner.Size = VT(0,0,0)
  1685. inner.BrickColor = BRICKC("Toothpaste")
  1686. inner.CFrame = spear.CFrame
  1687. for i = 1, 10 do
  1688. Swait()
  1689. turnto(Mouse.Hit.p)
  1690. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1691. inner.CFrame = spear.CFrame
  1692. spear.Size = spear.Size + VT(0.4,0.4,0.4)
  1693. inner.Size = inner.Size + VT(0.35,0.35,0.35)
  1694. end
  1695. CreateParticles2(inner,VT(0,255,255),5,1,"Fire",true,true,1,8)
  1696. MagicSphere(25,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1697. MagicSphere(20,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1698. CreateSound(CUTSOUNDS[MRANDOM(1, #CUTSOUNDS)], RightArm, 6, 1)
  1699. local bv = Instance.new("BodyVelocity")
  1700. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1701. bv.velocity = CF(spear.Position,Mouse.Hit.p).lookVector*65
  1702. bv.Parent = spear
  1703. bv.Name = "MOVE"
  1704. weldBetween(spear,inner)
  1705. spear.Anchored = false
  1706. inner.Anchored = false
  1707. local harm = spear.Touched:Connect(function(hit)
  1708. if hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1709. local cframe = spear.CFrame
  1710. coroutine.resume(coroutine.create(function()
  1711. spear.Parent = nil
  1712. coroutine.resume(coroutine.create(function()
  1713. CreateSound(RELEASESOUND, Effects, 2, 1)
  1714. MagicSphere(60,125,cframe,"Toothpaste")
  1715. MagicSphere(50,125,cframe,"Toothpaste")
  1716. CreateSwirl(0,6,true,0.3,125,spear,0,"Toothpaste")
  1717. CreateSwirl(0,4,true,0.3,125,spear,0,"Toothpaste")
  1718. CreateSwirl(0,2,true,0.3,125,spear,0,"Toothpaste")
  1719. for i = 1, 15 do
  1720. Swait()
  1721. killnearest(cframe.p,15,150)
  1722. end
  1723. end))
  1724. end))
  1725. end
  1726. end)
  1727. coroutine.resume(coroutine.create(function()
  1728. repeat
  1729. Swait()
  1730. CreateSwirl(0,2,true,0.3,25,spear,0,"Toothpaste")
  1731. attractnearest("Part",spear,65,70,5)
  1732. until spear.Parent == nil
  1733. end))
  1734. ATTACK = false
  1735. end
  1736.  
  1737. function WarpSpear()
  1738. ATTACK = true
  1739. for i=0, 1.5, 0.1 / Animation_Speed do
  1740. Swait()
  1741. turnto(Mouse.Hit.p)
  1742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.4 / Animation_Speed)
  1743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1745. 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_Speed)
  1746. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1747. 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(10)), 0.2 / Animation_Speed)
  1748. end
  1749. local spear = IT("Part",Effects)
  1750. spear.Anchored = true
  1751. spear.CanCollide = false
  1752. spear.Shape = "Ball"
  1753. spear.Size = VT(0,0,0)
  1754. spear.Material = "Neon"
  1755. spear.Transparency = 0.2
  1756. spear.BrickColor = BRICKC("Toothpaste")
  1757. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1758. local inner = spear:Clone()
  1759. inner.Parent = spear
  1760. inner.Size = VT(0,0,0)
  1761. inner.BrickColor = BRICKC("Toothpaste")
  1762. inner.CFrame = spear.CFrame
  1763. for i = 1, 5 do
  1764. Swait()
  1765. turnto(Mouse.Hit.p)
  1766. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1767. inner.CFrame = spear.CFrame
  1768. spear.Size = spear.Size + VT(0.4,0.4,0.4)
  1769. inner.Size = inner.Size + VT(0.35,0.35,0.35)
  1770. end
  1771. MagicSphere(25,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1772. MagicSphere(20,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1773. CreateSound(CUTSOUNDS[MRANDOM(1, #CUTSOUNDS)], RightArm, 6, 1)
  1774. local bv = Instance.new("BodyVelocity")
  1775. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1776. bv.velocity = CF(spear.Position,Mouse.Hit.p).lookVector*100
  1777. bv.Parent = spear
  1778. bv.Name = "MOVE"
  1779. weldBetween(spear,inner)
  1780. spear.Anchored = false
  1781. inner.Anchored = false
  1782. local HIT = false
  1783. local harm = spear.Touched:Connect(function(hit)
  1784. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1785. local cframe = spear.CFrame
  1786. HIT = true
  1787. coroutine.resume(coroutine.create(function()
  1788. spear.Parent = nil
  1789. RootPart.CFrame = CF(spear.Position,Mouse.Hit.p)
  1790. coroutine.resume(coroutine.create(function()
  1791. CreateSound(RELEASESOUND, Effects, 2, 1.5)
  1792. MagicSphere(30,105,cframe,"Toothpaste")
  1793. MagicSphere(25,105,cframe,"Toothpaste")
  1794. for i = 1, 15 do
  1795. Swait()
  1796. killnearest(cframe.p,7.5,150)
  1797. end
  1798. end))
  1799. end))
  1800. end
  1801. end)
  1802. coroutine.resume(coroutine.create(function()
  1803. Swait(75)
  1804. if HIT == false then
  1805. local cframe = spear.CFrame
  1806. HIT = true
  1807. coroutine.resume(coroutine.create(function()
  1808. spear.Parent = nil
  1809. RootPart.CFrame = CF(spear.Position,Mouse.Hit.p)
  1810. coroutine.resume(coroutine.create(function()
  1811. CreateSound(RELEASESOUND, Effects, 2, 1.5)
  1812. MagicSphere(30,105,cframe,"Toothpaste")
  1813. MagicSphere(25,105,cframe,"Toothpaste")
  1814. for i = 1, 15 do
  1815. Swait()
  1816. killnearest(cframe.p,7.5,150)
  1817. end
  1818. end))
  1819. end))
  1820. end
  1821. end))
  1822. coroutine.resume(coroutine.create(function()
  1823. local loop = 0
  1824. repeat
  1825. Swait()
  1826. loop = loop + 1
  1827. if loop == 4 then
  1828. MagicSphere(25,15,spear.CFrame,"Toothpaste")
  1829. end
  1830. if loop == 7 then
  1831. loop = 0
  1832. MagicSphere(25,15,spear.CFrame,"Toothpaste")
  1833. end
  1834. attractnearest("Part",spear,12.5,50,5)
  1835. until spear.Parent == nil
  1836. end))
  1837. ATTACK = false
  1838. end
  1839.  
  1840. function GravityGlobe()
  1841. ATTACK = true
  1842. Rooted = true
  1843. for i=0, 1, 0.1 / Animation_Speed do
  1844. Swait()
  1845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  1846. 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)
  1847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1848. 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)
  1849. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1850. 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(10)), 0.2 / Animation_Speed)
  1851. end
  1852. coroutine.resume(coroutine.create(function()
  1853. CreateMagicCircle(100,true,0.02,50,CF(RootPart.Position) * CF(0,-2.8,0),true)
  1854. local cframe = RootPart.CFrame
  1855. CreateSound(RELEASESOUND, Effects, 2, 1)
  1856. local sphere = IT("Part",Effects)
  1857. sphere.Shape = "Ball"
  1858. sphere.Size = VT(0,0,0)
  1859. sphere.Anchored = true
  1860. sphere.CanCollide = false
  1861. sphere.Material = "Neon"
  1862. sphere.Transparency = 0.5
  1863. sphere.BrickColor = BRICKC("Toothpaste")
  1864. sphere.CFrame = cframe
  1865. local sphere2 = IT("Part",Effects)
  1866. sphere2.Shape = "Ball"
  1867. sphere2.Size = VT(0,0,0)
  1868. sphere2.Anchored = true
  1869. sphere2.CanCollide = false
  1870. sphere2.Material = "Neon"
  1871. sphere2.Transparency = 0.3
  1872. sphere2.BrickColor = BRICKC("Toothpaste")
  1873. sphere2.CFrame = cframe
  1874. for i = 1, 10 do
  1875. Swait(2)
  1876. attractnearest("Vector",cframe.p,50,50,10)
  1877. sphere.CFrame = cframe
  1878. sphere.Size = sphere.Size + VT(4,4,4)
  1879. sphere2.CFrame = cframe
  1880. sphere2.Size = sphere2.Size + VT(3.5,3.5,3.5)
  1881. killnearest(cframe.p,15,0)
  1882. end
  1883. local scale = 0.2
  1884. local mode = "shrink"
  1885. for i = 1, 350 do
  1886. Swait()
  1887. if mode == "shrink" then
  1888. scale = scale + scale
  1889. if scale >= - 65 then
  1890. mode = "grow"
  1891. end
  1892. elseif mode == "grow" then
  1893. scale = scale + -scale*2
  1894. if scale <= - 65 then
  1895. mode = "shrink"
  1896. end
  1897. end
  1898. CreateRing(180,5,true,0,50,sphere,0,scale,scale,"Toothpaste")
  1899. sphere.Size = sphere.Size + VT(scale,scale,scale)
  1900. attractnearest("Vector",cframe.p,50,50,5)
  1901. killnearest(cframe.p,15,0)
  1902. end
  1903. for i = 1, 10 do
  1904. Swait(2)
  1905. sphere.CFrame = cframe
  1906. sphere.Size = sphere.Size - VT(5,5,5)
  1907. sphere.CFrame = cframe
  1908. sphere2.CFrame = cframe
  1909. sphere2.Size = sphere2.Size - VT(3.5,3.5,3.5)
  1910. end
  1911. sphere:remove()
  1912. sphere2:remove()
  1913. end))
  1914. for i=0, 1, 0.1 / Animation_Speed do
  1915. Swait()
  1916. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  1917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1920. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1921. 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(10)), 0.2 / Animation_Speed)
  1922. end
  1923. Rooted = false
  1924. ATTACK = false
  1925. end
  1926.  
  1927. function GravityBeam()
  1928. ATTACK = true
  1929. Rooted = true
  1930. for i=0, 1.5, 0.1 / Animation_Speed do
  1931. Swait()
  1932. turnto(Mouse.Hit.p)
  1933. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.4 / Animation_Speed)
  1934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1936. 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_Speed)
  1937. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1938. 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(10)), 0.2 / Animation_Speed)
  1939. end
  1940. local startpos = RightArm.CFrame*CF(0,-1.5,0).p
  1941. local loop = 0
  1942. local loopsound = CreateSound(CHARGESOUND, RightArm, 10, 1, true)
  1943. local loopsound2 = CreateSound("487214658", Effects, 1, 0, true)
  1944. local pos = nil
  1945. repeat
  1946. if loop < 150 then
  1947. Swait()
  1948. loop = loop + 1
  1949. turnto(Mouse.Hit.p)
  1950. MagicSphere(15,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1951. MagicSphere(12,25,RightArm.CFrame*CF(0,-1,0),"Toothpaste")
  1952. else
  1953. loopsound2.Pitch = 1
  1954. loopsound:Stop()
  1955. startpos = RightArm.CFrame*CF(0,-1.5,0).p
  1956. turnto(Mouse.Hit.p)
  1957. MagicSphere(35,25,CF(startpos),"Toothpaste")
  1958. MagicSphere(32,25,CF(startpos),"Toothpaste")
  1959. local RayHit, RayPos, RayNormal = CastZapRay(startpos, Mouse.Hit.p, 150, Character, false)
  1960. local distance = (startpos - RayPos).magnitude
  1961. local laser = Instance.new("Part",Effects)
  1962. laser.Transparency = 0.5
  1963. laser.CanCollide = false
  1964. laser.Anchored = true
  1965. laser.BrickColor = BrickColor.new("Toothpaste")
  1966. laser.Material = "Neon"
  1967. laser.formFactor = Enum.FormFactor.Custom
  1968. laser.Size = Vector3.new(2.5, 2.5, distance)
  1969. laser.CFrame = CFrame.new(startpos, RayPos) * CFrame.new(0, 0, -distance/2)
  1970. local laser2 = Instance.new("Part",Effects)
  1971. laser2.Transparency = 0
  1972. laser2.CanCollide = false
  1973. laser2.Anchored = true
  1974. laser2.BrickColor = BrickColor.new("Toothpaste")
  1975. laser2.Material = "Neon"
  1976. laser2.formFactor = Enum.FormFactor.Custom
  1977. laser2.Size = Vector3.new(2, 2, distance)
  1978. laser2.CFrame = CFrame.new(startpos, RayPos) * CFrame.new(0, 0, -distance/2)
  1979. killnearest(RayPos,5,150,true)
  1980. MagicSphere(350,2,CF(RayPos),"Toothpaste")
  1981. MagicSphere(320,2,CF(RayPos),"Toothpaste")
  1982. if RayHit ~= nil then
  1983. CreateWave(0,5,false,0,25,CF(RayPos),0,"Toothpaste")
  1984. end
  1985. attractnearest("Vector",RayPos,40,50,10)
  1986. pos = RayPos
  1987. Swait()
  1988. laser2:remove()
  1989. laser:remove()
  1990. end
  1991. until KEYHOLD == false
  1992. if loop == 150 then
  1993. local cframe = CF(pos)
  1994. coroutine.resume(coroutine.create(function()
  1995. coroutine.resume(coroutine.create(function()
  1996. CreateSound(RELEASESOUND, Effects, 2, 1)
  1997. MagicSphere(500,55,cframe,"Toothpaste")
  1998. MagicSphere(450,55,cframe,"Toothpaste")
  1999. for i = 1, 15 do
  2000. Swait()
  2001. killnearest(cframe.p,75,150)
  2002. end
  2003. end))
  2004. end))
  2005. end
  2006. loopsound2:remove()
  2007. loopsound:remove()
  2008. Rooted = false
  2009. ATTACK = false
  2010. end
  2011.  
  2012. --//=================================\\
  2013. --|| ASSIGN THINGS TO KEYS
  2014. --\\=================================//
  2015.  
  2016. Humanoid.Changed:connect(function(Jump)
  2017. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2018. Humanoid.Jump = false
  2019. end
  2020. end)
  2021.  
  2022. function MouseDown(Mouse)
  2023. if ATTACK == false then
  2024. end
  2025. end
  2026.  
  2027. function MouseUp(Mouse)
  2028. HOLD = false
  2029. end
  2030.  
  2031. function KeyDown(Key)
  2032. KEYHOLD = true
  2033. if Key == "q" and ATTACK == false then
  2034. GraviBomb()
  2035. end
  2036.  
  2037. if Key == "e" and ATTACK == false then
  2038. GraviSpear()
  2039. end
  2040.  
  2041. if Key == "r" and ATTACK == false then
  2042. GravityGlobe()
  2043. end
  2044.  
  2045. if Key == "g" and ATTACK == false then
  2046. GravityBeam()
  2047. end
  2048.  
  2049. if Key == "x" and ATTACK == false then
  2050. end
  2051.  
  2052. if Key == "c" and ATTACK == false then
  2053. WarpSpear()
  2054. end
  2055.  
  2056. if Key == "t" and ATTACK == false then
  2057. CreateSound("305685800", Head, 10, 1 ,false)
  2058. end
  2059. end
  2060.  
  2061. function KeyUp(Key)
  2062. KEYHOLD = false
  2063. end
  2064.  
  2065. Mouse.Button1Down:connect(function(NEWKEY)
  2066. MouseDown(NEWKEY)
  2067. end)
  2068. Mouse.Button1Up:connect(function(NEWKEY)
  2069. MouseUp(NEWKEY)
  2070. end)
  2071. Mouse.KeyDown:connect(function(NEWKEY)
  2072. KeyDown(NEWKEY)
  2073. end)
  2074. Mouse.KeyUp:connect(function(NEWKEY)
  2075. KeyUp(NEWKEY)
  2076. end)
  2077.  
  2078. --//=================================\\
  2079. --\\=================================//
  2080.  
  2081.  
  2082. function unanchor()
  2083. if UNANCHOR == true then
  2084. g = Character:GetChildren()
  2085. for i = 1, #g do
  2086. if g[i].ClassName == "Part" then
  2087. g[i].Anchored = false
  2088. end
  2089. end
  2090. end
  2091. end
  2092.  
  2093.  
  2094. --//=================================\\
  2095. --|| WRAP THE WHOLE SCRIPT UP
  2096. --\\=================================//
  2097.  
  2098. Humanoid.Changed:connect(function(Jump)
  2099. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2100. Humanoid.Jump = false
  2101. end
  2102. end)
  2103.  
  2104. ANIMATE.Parent = nil
  2105. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2106. IDLEANIMATION:Play()
  2107.  
  2108. while true do
  2109. Swait()
  2110. SINE = SINE + CHANGE
  2111. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2112. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2113. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2114. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2115. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2116. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2117. 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)
  2118. 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)
  2119. --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)
  2120. --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)
  2121. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2122. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2123. 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)
  2124. --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)
  2125. ----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)
  2126. end
  2127. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2128. ANIM = "Jump"
  2129. if ATTACK == false then
  2130. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2131. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2132. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2133. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2134. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2135. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2136. end
  2137. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2138. ANIM = "Fall"
  2139. if ATTACK == false then
  2140. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2144. 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(20)), 0.2 / Animation_Speed)
  2145. 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(10)), 0.2 / Animation_Speed)
  2146. end
  2147. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2148. ANIM = "Idle"
  2149. if ATTACK == false then
  2150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2154. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2155. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2156. end
  2157. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2158. ANIM = "Walk"
  2159. WALK = WALK + 1 / Animation_Speed
  2160. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2161. WALK = 0
  2162. if WALKINGANIM == true then
  2163. WALKINGANIM = false
  2164. elseif WALKINGANIM == false then
  2165. WALKINGANIM = true
  2166. end
  2167. end
  2168. --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)
  2169. --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)
  2170. if ATTACK == false then
  2171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  2172. 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(0)), 0.15 / Animation_Speed)
  2173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2175. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2177. end
  2178. end
  2179. if #Effects2>0 then
  2180. for e=1,#Effects2 do
  2181. if Effects2[e]~=nil then
  2182. local Thing=Effects2[e]
  2183. if Thing~=nil then
  2184. local Part=Thing[1]
  2185. local Mode=Thing[2]
  2186. local Delay=Thing[3]
  2187. local IncX=Thing[4]
  2188. local IncY=Thing[5]
  2189. local IncZ=Thing[6]
  2190. local Part2=Thing[8]
  2191. if Thing[1].Transparency<=1 then
  2192. if Thing[2]=="Block1" then
  2193. Thing[1].CFrame=Thing[1].CFrame
  2194. Mesh=Thing[1].Mesh
  2195. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2196. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2197. elseif Thing[2]=="Cylinder" then
  2198. Mesh=Thing[1].Mesh
  2199. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2200. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2201. elseif Thing[2]=="Blood" then
  2202. Mesh=Thing[7]
  2203. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2204. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2205. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2206. elseif Thing[2]=="Elec" then
  2207. Mesh=Thing[1].Mesh
  2208. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2209. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2210. elseif Thing[2]=="Disappear" then
  2211. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2212. end
  2213. else
  2214. Part.Parent=nil
  2215. table.remove(Effects2,e)
  2216. end
  2217. end
  2218. end
  2219. end
  2220. end
  2221. unanchor()
  2222. Humanoid.MaxHealth = "inf"
  2223. Humanoid.Health = "inf"
  2224. if Rooted == false then
  2225. Disable_Jump = false
  2226. Humanoid.WalkSpeed = Speed
  2227. elseif Rooted == true then
  2228. Disable_Jump = true
  2229. Humanoid.WalkSpeed = 0
  2230. end
  2231. --CreateMagicCircle(2 ,false,0,3,LeftLeg.CFrame * CF(0,-1.2,0),true)
  2232. end
  2233.  
  2234. --//=================================\\
  2235. --\\=================================//
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241. --//====================================================\\--
  2242. --|| END OF SCRIPT
  2243. --\\====================================================//--
Add Comment
Please, Sign In to add comment