Advertisement
Robert666121

Untitled

Jul 1st, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 131.29 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. Player = game:GetService("Players").LocalPlayer
  143. PlayerGui = Player.PlayerGui
  144. Cam = workspace.CurrentCamera
  145. Backpack = Player.Backpack
  146. Character = Player.Character
  147. Humanoid = Character.Humanoid
  148. Mouse = Player:GetMouse()
  149. RootPart = Character["HumanoidRootPart"]
  150. Torso = Character["Torso"]
  151. Head = Character["Head"]
  152. RightArm = Character["Right Arm"]
  153. LeftArm = Character["Left Arm"]
  154. RightLeg = Character["Right Leg"]
  155. LeftLeg = Character["Left Leg"]
  156. RootJoint = RootPart["RootJoint"]
  157. Neck = Torso["Neck"]
  158. RightShoulder = Torso["Right Shoulder"]
  159. LeftShoulder = Torso["Left Shoulder"]
  160. RightHip = Torso["Right Hip"]
  161. LeftHip = Torso["Left Hip"]
  162.  
  163. IT = Instance.new
  164. CF = CFrame.new
  165. VT = Vector3.new
  166. RAD = math.rad
  167. C3 = Color3.new
  168. UD2 = UDim2.new
  169. BRICKC = BrickColor.new
  170. ANGLES = CFrame.Angles
  171. EULER = CFrame.fromEulerAnglesXYZ
  172. COS = math.cos
  173. ACOS = math.acos
  174. SIN = math.sin
  175. ASIN = math.asin
  176. ABS = math.abs
  177. MRANDOM = math.random
  178. FLOOR = math.floor
  179.  
  180.  
  181. warn("Edit by Robert666121")
  182. warn("If u see me... its good")
  183. warn("Have a nice day...")
  184.  
  185. local txt = Instance.new("BillboardGui", Character)
  186. txt.Adornee = Character.Head
  187. txt.Name = "_status"
  188. txt.Size = UDim2.new(2, 0, 1.2, 0)
  189. txt.StudsOffset = Vector3.new(-9, 14, 0)
  190. local text = Instance.new("TextLabel", txt)
  191. text.Size = UDim2.new(5, 0, 7, 0)
  192. text.FontSize = "Size24"
  193. text.TextScaled = true
  194. text.TextTransparency = 0
  195. text.BackgroundTransparency = 1
  196. text.TextTransparency = 0
  197. text.TextStrokeTransparency = 0
  198. text.Font = "SciFi"
  199. text.TextStrokeColor3 = Color3.new(0,255,0)
  200. text.Text = "Robert"
  201. local txt = Instance.new("BillboardGui", Character)
  202. txt.Adornee = Character.Head
  203. txt.Name = "_status"
  204. txt.Size = UDim2.new(2, 0, 1.2, 0)
  205. txt.StudsOffset = Vector3.new(-9, 11, 0)
  206. local text = Instance.new("TextLabel", txt)
  207. text.Size = UDim2.new(10, 0, 7, 0)
  208. text.FontSize = "Size24"
  209. text.TextScaled = true
  210. text.TextTransparency = 0
  211. text.BackgroundTransparency = 1
  212. text.TextTransparency = 0
  213. text.TextStrokeTransparency = 0
  214. text.Font = "Fantasy"
  215. text.TextStrokeColor3 = Color3.new(170,0,0)
  216. text.Text = "The Chosen"
  217. script.Name = "Banisher Gun V3 / 1"
  218. --//====================================================\\--
  219. --|| CREATED BY SHACKLUSTER
  220. --\\====================================================//--
  221.  
  222. script:ClearAllChildren()
  223. wait(0.2)
  224.  
  225. Player = game:GetService("Players").LocalPlayer
  226. PlayerGui = Player.PlayerGui
  227. Cam = workspace.CurrentCamera
  228. Backpack = Player.Backpack
  229. Character = Player.Character
  230. Humanoid = Character.Humanoid
  231. Mouse = Player:GetMouse()
  232. RootPart = Character["HumanoidRootPart"]
  233. Torso = Character["Torso"]
  234. Head = Character["Head"]
  235. RightArm = Character["Right Arm"]
  236. LeftArm = Character["Left Arm"]
  237. RightLeg = Character["Right Leg"]
  238. LeftLeg = Character["Left Leg"]
  239. RootJoint = RootPart["RootJoint"]
  240. Neck = Torso["Neck"]
  241. RightShoulder = Torso["Right Shoulder"]
  242. LeftShoulder = Torso["Left Shoulder"]
  243. RightHip = Torso["Right Hip"]
  244. LeftHip = Torso["Left Hip"]
  245. local TIME = 0
  246. local sick = Instance.new("Sound",Torso)
  247.  
  248. IT = Instance.new
  249. CF = CFrame.new
  250. VT = Vector3.new
  251. RAD = math.rad
  252. C3 = Color3.new
  253. UD2 = UDim2.new
  254. BRICKC = BrickColor.new
  255. ANGLES = CFrame.Angles
  256. EULER = CFrame.fromEulerAnglesXYZ
  257. COS = math.cos
  258. ACOS = math.acos
  259. SIN = math.sin
  260. ASIN = math.asin
  261. ABS = math.abs
  262. MRANDOM = math.random
  263. FLOOR = math.floor
  264.  
  265. --//=================================\\
  266. --|| USEFUL VALUES
  267. --\\=================================//
  268.  
  269. local SIZE = 1
  270. Player_Size = 1 --Size of the player.
  271. Animation_Speed = 1.8
  272. local FORCERESET = false
  273. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  274. local Speed = 16
  275. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  276. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  277. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  278. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  279. local DAMAGEMULTIPLIER = 1
  280. local ANIM = "Idle"
  281. local ATTACK = false
  282. local EQUIPPED = false
  283. local HOLD = false
  284. local COMBO = 1
  285. local Rooted = false
  286. local SINE = 0
  287. local KEYHOLD = false
  288. local CHANGE = 2 / Animation_Speed
  289. local WALKINGANIM = false
  290. local VALUE1 = false
  291. local VALUE2 = false
  292. local ROBLOXIDLEANIMATION = IT("Animation")
  293. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  294. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  295. --ROBLOXIDLEANIMATION.Parent = Humanoid
  296. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  297. WEAPONGUI.Name = "BanishV3Gui"
  298. local Weapon = IT("Model")
  299. Weapon.Name = "Adds"
  300. local Effects = IT("Folder", Weapon)
  301. Effects.Name = "Effects"
  302. local ANIMATOR = Humanoid.Animator
  303. local ANIMATE = Character:FindFirstChild("Animate")
  304. local UNANCHOR = true
  305. local TOBANISH = {}
  306. script.Parent = PlayerGui
  307. local LAUGHS = {293377341,293376193,293377341,293376193}
  308.  
  309. --//=================================\\
  310. --\\=================================//
  311.  
  312.  
  313. --//=================================\\
  314. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  315. --\\=================================//
  316.  
  317. ArtificialHB = Instance.new("BindableEvent", script)
  318. ArtificialHB.Name = "ArtificialHB"
  319.  
  320. script:WaitForChild("ArtificialHB")
  321.  
  322. frame = Frame_Speed
  323. tf = 0
  324. allowframeloss = false
  325. tossremainder = false
  326. lastframe = tick()
  327. script.ArtificialHB:Fire()
  328.  
  329. game:GetService("RunService").Heartbeat:connect(function(s, p)
  330. tf = tf + s
  331. if tf >= frame then
  332. if allowframeloss then
  333. script.ArtificialHB:Fire()
  334. lastframe = tick()
  335. else
  336. for i = 1, math.floor(tf / frame) do
  337. script.ArtificialHB:Fire()
  338. end
  339. lastframe = tick()
  340. end
  341. if tossremainder then
  342. tf = 0
  343. else
  344. tf = tf - frame * math.floor(tf / frame)
  345. end
  346. end
  347. end)
  348.  
  349. --//=================================\\
  350. --\\=================================//
  351.  
  352. --//=================================\\
  353. --|| SOME FUNCTIONS
  354. --\\=================================//
  355.  
  356. local BODY = {}
  357. for _, c in pairs(Character:GetDescendants()) do
  358. if c:IsA("BasePart") and c.Name ~= "Handle" then
  359. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  360. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  361. end
  362. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  363. elseif c:IsA("JointInstance") then
  364. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  365. end
  366. end
  367. for e = 1, #BODY do
  368. if BODY[e] ~= nil then
  369. local STUFF = BODY[e]
  370. local PART = STUFF[1]
  371. local PARENT = STUFF[2]
  372. local MATERIAL = STUFF[3]
  373. local COLOR = STUFF[4]
  374. local TRANSPARENCY = STUFF[5]
  375. if PART.ClassName == "Part" and PART ~= RootPart then
  376. PART.Material = MATERIAL
  377. PART.Color = COLOR
  378. PART.Transparency = TRANSPARENCY
  379. end
  380. PART.AncestryChanged:Connect(function()
  381. PART.Parent = PARENT
  382. end)
  383. end
  384. end
  385.  
  386. function refit()
  387. Character.Parent = workspace
  388. for e = 1, #BODY do
  389. if BODY[e] ~= nil then
  390. local STUFF = BODY[e]
  391. local PART = STUFF[1]
  392. local PARENT = STUFF[2]
  393. local MATERIAL = STUFF[3]
  394. local COLOR = STUFF[4]
  395. local TRANSPARENCY = STUFF[5]
  396. if PART:IsA("BasePart") and PART ~= RootPart then
  397. PART.Material = MATERIAL
  398. PART.Color = COLOR
  399. PART.Transparency = TRANSPARENCY
  400. end
  401. if PART.Parent ~= PARENT then
  402. Humanoid:remove()
  403. PART.Parent = PARENT
  404. Humanoid = IT("Humanoid",Character)
  405. end
  406. end
  407. end
  408. end
  409.  
  410. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  411. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  412. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  413. wave.CFrame = CFRAME
  414. coroutine.resume(coroutine.create(function(PART)
  415. for i = 1, WAIT do
  416. Swait()
  417. mesh.Scale = mesh.Scale * GROW
  418. wave.Transparency = wave.Transparency + (0.5/WAIT)
  419. if wave.Transparency > 0.99 then
  420. wave:remove()
  421. end
  422. end
  423. end))
  424. end
  425.  
  426.  
  427. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  428. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  429. end
  430.  
  431. function PositiveAngle(NUMBER)
  432. if NUMBER >= 0 then
  433. NUMBER = 0
  434. end
  435. return NUMBER
  436. end
  437.  
  438. function NegativeAngle(NUMBER)
  439. if NUMBER <= 0 then
  440. NUMBER = 0
  441. end
  442. return NUMBER
  443. end
  444.  
  445. function Swait(NUMBER)
  446. if NUMBER == 0 or NUMBER == nil then
  447. ArtificialHB.Event:wait()
  448. else
  449. for i = 1, NUMBER do
  450. ArtificialHB.Event:wait()
  451. end
  452. end
  453. end
  454.  
  455. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  456. local NEWMESH = IT(MESH)
  457. if MESH == "SpecialMesh" then
  458. NEWMESH.MeshType = MESHTYPE
  459. if MESHID ~= "nil" and MESHID ~= "" then
  460. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  461. end
  462. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  463. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  464. end
  465. end
  466. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  467. NEWMESH.Scale = SCALE
  468. NEWMESH.Parent = PARENT
  469. return NEWMESH
  470. end
  471.  
  472. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  473. local NEWPART = IT("Part")
  474. NEWPART.formFactor = FORMFACTOR
  475. NEWPART.Reflectance = REFLECTANCE
  476. NEWPART.Transparency = TRANSPARENCY
  477. NEWPART.CanCollide = false
  478. NEWPART.Locked = true
  479. NEWPART.Anchored = true
  480. if ANCHOR == false then
  481. NEWPART.Anchored = false
  482. end
  483. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  484. NEWPART.Name = NAME
  485. NEWPART.Size = SIZE
  486. NEWPART.Position = Torso.Position
  487. NEWPART.Material = MATERIAL
  488. NEWPART:BreakJoints()
  489. NEWPART.Parent = PARENT
  490. return NEWPART
  491. end
  492.  
  493. local function weldBetween(a, b)
  494. local weldd = Instance.new("ManualWeld")
  495. weldd.Part0 = a
  496. weldd.Part1 = b
  497. weldd.C0 = CFrame.new()
  498. weldd.C1 = b.CFrame:inverse() * a.CFrame
  499. weldd.Parent = a
  500. return weldd
  501. end
  502.  
  503.  
  504. function QuaternionFromCFrame(cf)
  505. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  506. local trace = m00 + m11 + m22
  507. if trace > 0 then
  508. local s = math.sqrt(1 + trace)
  509. local recip = 0.5 / s
  510. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  511. else
  512. local i = 0
  513. if m11 > m00 then
  514. i = 1
  515. end
  516. if m22 > (i == 0 and m00 or m11) then
  517. i = 2
  518. end
  519. if i == 0 then
  520. local s = math.sqrt(m00 - m11 - m22 + 1)
  521. local recip = 0.5 / s
  522. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  523. elseif i == 1 then
  524. local s = math.sqrt(m11 - m22 - m00 + 1)
  525. local recip = 0.5 / s
  526. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  527. elseif i == 2 then
  528. local s = math.sqrt(m22 - m00 - m11 + 1)
  529. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  530. end
  531. end
  532. end
  533.  
  534. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  535. local xs, ys, zs = x + x, y + y, z + z
  536. local wx, wy, wz = w * xs, w * ys, w * zs
  537. local xx = x * xs
  538. local xy = x * ys
  539. local xz = x * zs
  540. local yy = y * ys
  541. local yz = y * zs
  542. local zz = z * zs
  543. 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))
  544. end
  545.  
  546. function QuaternionSlerp(a, b, t)
  547. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  548. local startInterp, finishInterp;
  549. if cosTheta >= 0.0001 then
  550. if (1 - cosTheta) > 0.0001 then
  551. local theta = ACOS(cosTheta)
  552. local invSinTheta = 1 / SIN(theta)
  553. startInterp = SIN((1 - t) * theta) * invSinTheta
  554. finishInterp = SIN(t * theta) * invSinTheta
  555. else
  556. startInterp = 1 - t
  557. finishInterp = t
  558. end
  559. else
  560. if (1 + cosTheta) > 0.0001 then
  561. local theta = ACOS(-cosTheta)
  562. local invSinTheta = 1 / SIN(theta)
  563. startInterp = SIN((t - 1) * theta) * invSinTheta
  564. finishInterp = SIN(t * theta) * invSinTheta
  565. else
  566. startInterp = t - 1
  567. finishInterp = t
  568. end
  569. end
  570. 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
  571. end
  572.  
  573. function Clerp(a, b, t)
  574. local qa = {QuaternionFromCFrame(a)}
  575. local qb = {QuaternionFromCFrame(b)}
  576. local ax, ay, az = a.x, a.y, a.z
  577. local bx, by, bz = b.x, b.y, b.z
  578. local _t = 1 - t
  579. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  580. end
  581.  
  582. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  583. local frame = IT("Frame")
  584. frame.BackgroundTransparency = TRANSPARENCY
  585. frame.BorderSizePixel = BORDERSIZEPIXEL
  586. frame.Position = POSITION
  587. frame.Size = SIZE
  588. frame.BackgroundColor3 = COLOR
  589. frame.BorderColor3 = BORDERCOLOR
  590. frame.Name = NAME
  591. frame.Parent = PARENT
  592. return frame
  593. end
  594.  
  595. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  596. local label = IT("TextLabel")
  597. label.BackgroundTransparency = 1
  598. label.Size = UD2(1, 0, 1, 0)
  599. label.Position = UD2(0, 0, 0, 0)
  600. label.TextColor3 = TEXTCOLOR
  601. label.TextStrokeTransparency = STROKETRANSPARENCY
  602. label.TextTransparency = TRANSPARENCY
  603. label.FontSize = TEXTFONTSIZE
  604. label.Font = TEXTFONT
  605. label.BorderSizePixel = BORDERSIZEPIXEL
  606. label.TextScaled = false
  607. label.Text = TEXT
  608. label.Name = NAME
  609. label.Parent = PARENT
  610. return label
  611. end
  612.  
  613. function NoOutlines(PART)
  614. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  615. end
  616.  
  617. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  618. local NEWWELD = IT(TYPE)
  619. NEWWELD.Part0 = PART0
  620. NEWWELD.Part1 = PART1
  621. NEWWELD.C0 = C0
  622. NEWWELD.C1 = C1
  623. NEWWELD.Parent = PARENT
  624. return NEWWELD
  625. end
  626.  
  627. local S = IT("Sound")
  628. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  629. local NEWSOUND = nil
  630. coroutine.resume(coroutine.create(function()
  631. NEWSOUND = S:Clone()
  632. NEWSOUND.Parent = PARENT
  633. NEWSOUND.Volume = VOLUME
  634. NEWSOUND.Pitch = PITCH
  635. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  636. NEWSOUND:play()
  637. if DOESLOOP == true then
  638. NEWSOUND.Looped = true
  639. else
  640. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  641. NEWSOUND:remove()
  642. end
  643. end))
  644. return NEWSOUND
  645. end
  646.  
  647. function CFrameFromTopBack(at, top, back)
  648. local right = top:Cross(back)
  649. 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)
  650. end
  651.  
  652. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  653. function WACKYEFFECT(Table)
  654. local TYPE = (Table.EffectType or "Sphere")
  655. local SIZE = (Table.Size or VT(1,1,1))
  656. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  657. local TRANSPARENCY = (Table.Transparency or 0)
  658. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  659. local CFRAME = (Table.CFrame or Torso.CFrame)
  660. local MOVEDIRECTION = (Table.MoveToPos or nil)
  661. local ROTATION1 = (Table.RotationX or 0)
  662. local ROTATION2 = (Table.RotationY or 0)
  663. local ROTATION3 = (Table.RotationZ or 0)
  664. local MATERIAL = (Table.Material or "Neon")
  665. local COLOR = (Table.Color or C3(1,1,1))
  666. local TIME = (Table.Time or 45)
  667. local SOUNDID = (Table.SoundID or nil)
  668. local SOUNDPITCH = (Table.SoundPitch or nil)
  669. local SOUNDVOLUME = (Table.SoundVolume or nil)
  670. coroutine.resume(coroutine.create(function()
  671. local PLAYSSOUND = false
  672. local SOUND = nil
  673. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  674. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  675. PLAYSSOUND = true
  676. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  677. end
  678. EFFECT.Color = COLOR
  679. local MSH = nil
  680. if TYPE == "Sphere" then
  681. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  682. elseif TYPE == "Block" then
  683. MSH = IT("BlockMesh",EFFECT)
  684. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  685. elseif TYPE == "Wave" then
  686. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  687. elseif TYPE == "Ring" then
  688. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  689. elseif TYPE == "Slash" then
  690. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  691. elseif TYPE == "Round Slash" then
  692. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  693. elseif TYPE == "Swirl" then
  694. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  695. elseif TYPE == "Skull" then
  696. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  697. elseif TYPE == "Crystal" then
  698. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  699. end
  700. if MSH ~= nil then
  701. local MOVESPEED = nil
  702. if MOVEDIRECTION ~= nil then
  703. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  704. end
  705. local GROWTH = SIZE - ENDSIZE
  706. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  707. if TYPE == "Block" then
  708. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  709. else
  710. EFFECT.CFrame = CFRAME
  711. end
  712. for LOOP = 1, TIME+1 do
  713. Swait()
  714. MSH.Scale = MSH.Scale - GROWTH/TIME
  715. if TYPE == "Wave" then
  716. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  717. end
  718. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  719. if TYPE == "Block" then
  720. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  721. else
  722. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  723. end
  724. if MOVEDIRECTION ~= nil then
  725. local ORI = EFFECT.Orientation
  726. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  727. EFFECT.Orientation = ORI
  728. end
  729. end
  730. if PLAYSSOUND == false then
  731. EFFECT:remove()
  732. else
  733. SOUND.Stopped:Connect(function()
  734. EFFECT:remove()
  735. end)
  736. end
  737. else
  738. if PLAYSSOUND == false then
  739. EFFECT:remove()
  740. else
  741. repeat Swait() until SOUND.Playing == false
  742. EFFECT:remove()
  743. end
  744. end
  745. end))
  746. end
  747.  
  748. function MakeForm(PART,TYPE)
  749. if TYPE == "Cyl" then
  750. local MSH = IT("CylinderMesh",PART)
  751. elseif TYPE == "Ball" then
  752. local MSH = IT("SpecialMesh",PART)
  753. MSH.MeshType = "Sphere"
  754. elseif TYPE == "Wedge" then
  755. local MSH = IT("SpecialMesh",PART)
  756. MSH.MeshType = "Wedge"
  757. end
  758. end
  759.  
  760. function SpawnTrail(FROM,TO,BIG)
  761. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  762. MakeForm(TRAIL,"Cyl")
  763. local DIST = (FROM - TO).Magnitude
  764. if BIG == true then
  765. TRAIL.Size = VT(0.5,DIST,0.5)
  766. else
  767. TRAIL.Size = VT(0.25,DIST,0.25)
  768. end
  769. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  770. coroutine.resume(coroutine.create(function()
  771. for i = 1, 5 do
  772. Swait()
  773. TRAIL.Transparency = TRAIL.Transparency + 0.1
  774. end
  775. TRAIL:remove()
  776. end))
  777. end
  778.  
  779. Debris = game:GetService("Debris")
  780.  
  781. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  782. local DIRECTION = CF(StartPos,EndPos).lookVector
  783. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  784. end
  785.  
  786. function turnto(position)
  787. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  788. end
  789.  
  790. local asd = Instance.new("ParticleEmitter")
  791. asd.Color = ColorSequence.new(Color3.new(170, 0, 0), Color3.new(170, 0, 0))
  792. asd.LightEmission = .1
  793. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  794. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  795. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  796. asd.Transparency = bbb
  797. asd.Size = aaa
  798. asd.ZOffset = .9
  799. asd.Acceleration = Vector3.new(0, -15, 0)
  800. asd.LockedToPart = false
  801. asd.EmissionDirection = "Back"
  802. asd.Lifetime = NumberRange.new(1, 2)
  803. asd.Rotation = NumberRange.new(-100, 100)
  804. asd.RotSpeed = NumberRange.new(-100, 100)
  805. asd.Speed = NumberRange.new(10)
  806. asd.Enabled = false
  807. asd.VelocitySpread = 999
  808.  
  809.  
  810. function getbloody(victim,amount)
  811. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  812. PART.CFrame = victim.CFrame
  813. local HITPLAYERSOUNDS = {"356551938","264486467"}
  814. Debris:AddItem(PART,5)
  815. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  816. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  817. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  818. local prtcl = asd:Clone()
  819. prtcl.Parent = PART
  820. prtcl:Emit(amount*10)
  821. end
  822.  
  823. local Particle = IT("ParticleEmitter",nil)
  824. Particle.Enabled = false
  825. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  826. Particle.LightEmission = 0.5
  827. Particle.Rate = 150
  828. Particle.ZOffset = 1
  829. Particle.Rotation = NumberRange.new(-180, 180)
  830. Particle.RotSpeed = NumberRange.new(-180, 180)
  831. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  832. Particle.Color = ColorSequence.new(C3(255,0,0),C3(255,0,0))
  833.  
  834. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  835. function ParticleEmitter(Table)
  836. local PRTCL = Particle:Clone()
  837. local Speed = Table.Speed or 5
  838. local Drag = Table.Drag or 0
  839. local Size1 = Table.Size1 or 1
  840. local Size2 = Table.Size2 or 5
  841. local Lifetime1 = Table.Lifetime1 or 1
  842. local Lifetime2 = Table.Lifetime2 or 1.5
  843. local Parent = Table.Parent or Torso
  844. local Emit = Table.Emit or 100
  845. local Offset = Table.Offset or 360
  846. local Acel = Table.Acel or VT(0,0,0)
  847. local Enabled = Table.Enabled or false
  848. PRTCL.Parent = Parent
  849. PRTCL.Size = NumberSequence.new(Size1,Size2)
  850. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  851. PRTCL.Speed = NumberRange.new(Speed)
  852. PRTCL.VelocitySpread = Offset
  853. PRTCL.Drag = Drag
  854. PRTCL.Acceleration = Acel
  855. if Enabled == false then
  856. PRTCL:Emit(Emit)
  857. Debris:AddItem(PRTCL,Lifetime2)
  858. else
  859. PRTCL.Enabled = true
  860. end
  861. return PRTCL
  862. end
  863.  
  864. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  865. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  866. local mesh = IT("SpecialMesh",wave)
  867. mesh.MeshType = "Sphere"
  868. mesh.Scale = SIZE
  869. mesh.Offset = VT(0,0,0)
  870. wave.CFrame = CFRAME
  871. coroutine.resume(coroutine.create(function(PART)
  872. for i = 1, WAIT do
  873. Swait()
  874. mesh.Scale = mesh.Scale + GROW
  875. wave.Transparency = wave.Transparency + (1/WAIT)
  876. if wave.Transparency > 0.99 then
  877. wave:remove()
  878. end
  879. end
  880. end))
  881. end
  882.  
  883. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  884. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  885. local mesh = IT("SpecialMesh",wave)
  886. mesh.MeshType = "FileMesh"
  887. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  888. mesh.Scale = SIZE
  889. mesh.Offset = VT(0,0,-SIZE.X/8)
  890. wave.CFrame = CFRAME
  891. coroutine.resume(coroutine.create(function(PART)
  892. for i = 1, WAIT do
  893. Swait()
  894. mesh.Scale = mesh.Scale + GROW
  895. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  896. if DOESROT == true then
  897. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  898. end
  899. wave.Transparency = wave.Transparency + (0.5/WAIT)
  900. if wave.Transparency > 0.99 then
  901. wave:remove()
  902. end
  903. end
  904. end))
  905. end
  906.  
  907. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  908. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  909. local mesh = IT("SpecialMesh",wave)
  910. mesh.MeshType = "FileMesh"
  911. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  912. mesh.Scale = SIZE
  913. --mesh.Offset = VT(0,0,-SIZE.X/8)
  914. wave.CFrame = CFRAME
  915. coroutine.resume(coroutine.create(function(PART)
  916. for i = 1, WAIT do
  917. Swait()
  918. mesh.Scale = mesh.Scale + GROW
  919. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  920. if DOESROT == true then
  921. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  922. end
  923. wave.Transparency = wave.Transparency + (0.5/WAIT)
  924. if wave.Transparency > 0.99 then
  925. wave:remove()
  926. end
  927. end
  928. end))
  929. end
  930.  
  931. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  932. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  933. local mesh = IT("SpecialMesh",wave)
  934. mesh.MeshType = "FileMesh"
  935. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  936. mesh.Scale = SIZE
  937. wave.CFrame = CFRAME
  938. coroutine.resume(coroutine.create(function(PART)
  939. for i = 1, WAIT do
  940. Swait()
  941. mesh.Scale = mesh.Scale + GROW
  942. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  943. if DOESROT == true then
  944. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  945. end
  946. wave.Transparency = wave.Transparency + (0.5/WAIT)
  947. if wave.Transparency > 0.99 then
  948. wave:remove()
  949. end
  950. end
  951. end))
  952. end
  953.  
  954. --//=================================\\
  955. --|| WEAPON CREATION
  956. --\\=================================//
  957.  
  958. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Dark red", "Part", VT(0.2,1.2,0.2),false)
  959. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  960. local Part = CreatePart(3, Character, "Metal", 0, 0, "Dark red", "Part", VT(0.2,0.8,0.2),false)
  961. MakeForm(Part,"Wedge")
  962. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  963. local Part = CreatePart(3, Character, "Metal", 0, 0, "Dark red", "Part", VT(0.3,0.5,0.6),false)
  964. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  965. local Part = CreatePart(3, Character, "Metal", 0, 0, "Dark red", "Part", VT(0.4,0.4,0.4),false)
  966. MakeForm(Part,"Cyl")
  967. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  968. for i = 1, 8 do
  969. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Dark red", "Eye", VT(0,0.35,0.41),false)
  970. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  971. end
  972. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Eye", VT(0.6,0.1,1)/2,false)
  973. MakeForm(Eye,"Ball")
  974. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  975. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Eye", VT(0.6,0.1,1)/2,false)
  976. MakeForm(Eye,"Ball")
  977. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  978. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Eye", VT(0.1,1,1)/2,false)
  979. MakeForm(Eye,"Ball")
  980. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  981. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Eye", VT(0.1,1,1)/2,false)
  982. MakeForm(Eye,"Ball")
  983. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  984. local A = IT("Attachment",Torso)
  985. A.Position = VT(1,1.3,0)
  986. A.Orientation = VT(-0.098, -89.999, 0.227)
  987. local B = IT("Attachment",Torso)
  988. B.Position = VT(-1.3,-0.6,0)
  989. B.Orientation = VT(-88.911, -68.808, 158.782)
  990. local ChainLink = IT("Beam",Torso)
  991. ChainLink.Texture = "rbxassetid://73042633"
  992. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  993. ChainLink.TextureSpeed = 1
  994. ChainLink.FaceCamera = true
  995. ChainLink.Width0 = 1
  996. ChainLink.Width1 = 1
  997. ChainLink.TextureLength = 3
  998. ChainLink.Attachment0 = A
  999. ChainLink.Attachment1 = B
  1000. ChainLink.CurveSize0 = 1.6
  1001. ChainLink.CurveSize1 = 1.6
  1002. ChainLink.FaceCamera = true
  1003. ChainLink.Transparency = NumberSequence.new(0)
  1004. local ChainLink = IT("Beam",Torso)
  1005. ChainLink.Texture = "rbxassetid://73042633"
  1006. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1007. ChainLink.TextureSpeed = 1
  1008. ChainLink.FaceCamera = true
  1009. ChainLink.Width0 = 1
  1010. ChainLink.Width1 = 1
  1011. ChainLink.TextureLength = 3
  1012. ChainLink.Attachment0 = B
  1013. ChainLink.Attachment1 = A
  1014. ChainLink.CurveSize0 = 1.6
  1015. ChainLink.CurveSize1 = 1.6
  1016. ChainLink.FaceCamera = true
  1017. ChainLink.Transparency = NumberSequence.new(0)
  1018. local A = IT("Attachment",Torso)
  1019. A.Position = VT(1.3,-0.85,0)
  1020. A.Orientation = VT(-0.098, -89.999, 0.227)
  1021. local B = IT("Attachment",Torso)
  1022. B.Position = VT(-1,2,0)
  1023. B.Orientation = VT(-88.911, -68.808, 158.782)
  1024. local ChainLink = IT("Beam",Torso)
  1025. ChainLink.Texture = "rbxassetid://73042633"
  1026. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1027. ChainLink.TextureSpeed = 1
  1028. ChainLink.FaceCamera = true
  1029. ChainLink.Width0 = 1
  1030. ChainLink.Width1 = 1
  1031. ChainLink.TextureLength = 3
  1032. ChainLink.Attachment0 = A
  1033. ChainLink.Attachment1 = B
  1034. ChainLink.CurveSize0 = 1.3
  1035. ChainLink.CurveSize1 = 1.3
  1036. ChainLink.FaceCamera = true
  1037. ChainLink.Transparency = NumberSequence.new(0)
  1038. local ChainLink = IT("Beam",Torso)
  1039. ChainLink.Texture = "rbxassetid://73042633"
  1040. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1041. ChainLink.TextureSpeed = 1
  1042. ChainLink.FaceCamera = true
  1043. ChainLink.Width0 = 1
  1044. ChainLink.Width1 = 1
  1045. ChainLink.TextureLength = 3
  1046. ChainLink.Attachment0 = B
  1047. ChainLink.Attachment1 = A
  1048. ChainLink.CurveSize0 = 1.3
  1049. ChainLink.CurveSize1 = 1.3
  1050. ChainLink.FaceCamera = true
  1051. ChainLink.Transparency = NumberSequence.new(0)
  1052. local A = IT("Attachment",RightBarrel)
  1053. A.Position = VT(0,-2.5,0)
  1054. local B = IT("Attachment",RightBarrel)
  1055. B.Position = VT(0,2.5,0)
  1056. local Trail = IT("Trail",RightBarrel)
  1057. Trail.Attachment0 = A
  1058. Trail.Attachment1 = B
  1059. Trail.Lifetime = 0.2
  1060. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1061. Trail.Transparency = NumberSequence.new(0, 1)
  1062. Trail.Enabled = false
  1063.  
  1064. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1065. PRT.LockedToPart = true
  1066. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1067. PRT.LockedToPart = true
  1068. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1069. PRT.LockedToPart = true
  1070. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1071. PRT.LockedToPart = true
  1072. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1073. PRT.LockedToPart = true
  1074. for _, c in pairs(Character:GetDescendants()) do
  1075. if c and c.Parent then
  1076. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1077. local ACCESSORY = c.Parent
  1078. c.Parent = Character
  1079. if c then
  1080. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1081. weldBetween(Head,c)
  1082. else
  1083. weldBetween(Torso,c)
  1084. end
  1085. end
  1086. ACCESSORY:remove()
  1087. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1088. c.Material = "Neon"
  1089. c.Color = C3(0,0,0)
  1090. if c:FindFirstChildOfClass("SpecialMesh") then
  1091. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1092. end
  1093. if c == Head then
  1094. if c:FindFirstChild("face") then
  1095. c.face:remove()
  1096. end
  1097. end
  1098. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1099. c.Color = C3(1,0,0)
  1100. c.Material = "Neon"
  1101. end
  1102. end
  1103. end
  1104.  
  1105. local Particle = IT("ParticleEmitter",nil)
  1106. Particle.Enabled = false
  1107. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1108. Particle.LightEmission = 0.5
  1109. Particle.Rate = 150
  1110. Particle.ZOffset = 1
  1111. Particle.Rotation = NumberRange.new(-180, 180)
  1112. Particle.RotSpeed = NumberRange.new(-180, 180)
  1113. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1114. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1115.  
  1116. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 5, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1117. function ParticleEmitter(Table)
  1118. local PRTCL = Particle:Clone()
  1119. local Speed = Table.Speed or 5
  1120. local Drag = Table.Drag or 0
  1121. local Size1 = Table.Size1 or 1
  1122. local Size2 = Table.Size2 or 5
  1123. local Lifetime1 = Table.Lifetime1 or 1
  1124. local Lifetime2 = Table.Lifetime2 or 1.5
  1125. local Parent = Table.Parent or Torso
  1126. local Emit = Table.Emit or 100
  1127. local Offset = Table.Offset or 360
  1128. local Acel = Table.Acel or VT(0,0,0)
  1129. local Enabled = Table.Enabled or false
  1130. PRTCL.Parent = Parent
  1131. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1132. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1133. PRTCL.Speed = NumberRange.new(Speed)
  1134. PRTCL.VelocitySpread = Offset
  1135. PRTCL.Drag = Drag
  1136. PRTCL.Acceleration = Acel
  1137. if Enabled == false then
  1138. PRTCL:Emit(Emit)
  1139. Debris:AddItem(PRTCL,Lifetime2)
  1140. else
  1141. PRTCL.Enabled = true
  1142. end
  1143. return PRTCL
  1144. end
  1145.  
  1146. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1147. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1148. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1149. MakeForm(Part,"Wedge")
  1150. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1151. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1152. MakeForm(Part,"Wedge")
  1153. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1154. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1157. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1159. MakeForm(Part,"Cyl")
  1160. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1161. for i = 1, 8 do
  1162. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1163. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1164. end
  1165. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1166. MakeForm(Part,"Cyl")
  1167. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1168. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.42),false)
  1169. MakeForm(Part,"Ball")
  1170. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1171. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1172. MakeForm(Part,"Wedge")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1174. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1175. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1176. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1177. MakeForm(Part,"Cyl")
  1178. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1179. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1180. MakeForm(Part,"Cyl")
  1181. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1182. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1183. MakeForm(Part,"Cyl")
  1184. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1185. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1186. MakeForm(Part,"Wedge")
  1187. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1188. local LASTPART = Handle
  1189. for i = 1, 10 do
  1190. if LASTPART == Handle then
  1191. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1192. LASTPART = Part
  1193. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. else
  1195. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1196. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1197. LASTPART = Part
  1198. end
  1199. end
  1200.  
  1201. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1202. MakeForm(Barrel,"Cyl")
  1203. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1204. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1205. MakeForm(Part,"Cyl")
  1206. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1207. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1208. MakeForm(Part,"Wedge")
  1209. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1210. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1211. MakeForm(Hole,"Cyl")
  1212. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1213. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1214. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1215. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1216. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1217. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1218. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1219. coroutine.resume(coroutine.create(function()
  1220. while wait() do
  1221. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1222. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1223. end
  1224. end))
  1225.  
  1226. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1227. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1228.  
  1229. for _, c in pairs(Weapon:GetDescendants()) do
  1230. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1231. c.Material = "Glass"
  1232. c.Color = C3(0,0,0)
  1233. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1234. c.Color = C3(1,0,0)
  1235. c.Material = "Neon"
  1236. end
  1237. end
  1238.  
  1239. Weapon.Parent = Character
  1240. for _, c in pairs(Weapon:GetChildren()) do
  1241. if c.ClassName == "Part" then
  1242. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1243. end
  1244. end
  1245.  
  1246. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1247. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1248. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1249. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1250.  
  1251. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1252. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1253. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1254. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1255. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1256. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1258. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1259.  
  1260. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1261. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1262. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1263. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1264. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1265. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1266. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1267. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1268. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1269. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1270.  
  1271. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1272. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1273. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1274. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1275.  
  1276. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1277. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1278. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1279. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1280. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1281. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1282. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1283. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1284.  
  1285. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1286. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1287. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1288. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1289. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Dark red", "Neon Gauntlet Part", VT(1.1*Player_Size,-0.8*Player_Size,1*Player_Size),false)
  1290. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1291. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1292. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1293. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1294. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1295. local part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Black", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1296. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1297.  
  1298. for _, c in pairs(Weapon:GetChildren()) do
  1299. if c.ClassName == "Part" then
  1300. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1301. end
  1302. end
  1303.  
  1304. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  1305. MakeForm(HAT1,"Cyl")
  1306. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1307. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  1308. BELT.Color = C3(15/255,15/255,15/255)
  1309. MakeForm(BELT,"Cyl")
  1310. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1311. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  1312. MakeForm(HAT2,"Cyl")
  1313. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1314. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  1315. BELT.Color = C3(15/255,15/255,15/255)
  1316. MakeForm(BELT,"Cyl")
  1317. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1318. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Gem", VT(0.25,0.25,0.1),false)
  1319. MakeForm(GEM,"Ball")
  1320. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1321. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Gem", VT(0.25,0.25,0.1),false)
  1322. MakeForm(GEM,"Ball")
  1323. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1324. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Gem", VT(0.1,0.25,0.25),false)
  1325. MakeForm(GEM,"Ball")
  1326. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1327. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Dark red", "Gem", VT(0.1,0.25,0.25),false)
  1328. MakeForm(GEM,"Ball")
  1329. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1330. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1331. BELT.Color = C3(15/255,15/255,15/255)
  1332. MakeForm(BELT,"Cyl")
  1333. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1334. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1335. BELT.Color = C3(15/255,15/255,15/255)
  1336. MakeForm(BELT,"Cyl")
  1337. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1338. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1339. BELT.Color = C3(15/255,15/255,15/255)
  1340. MakeForm(BELT,"Cyl")
  1341. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1342. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1343. BELT.Color = C3(15/255,15/255,15/255)
  1344. MakeForm(BELT,"Cyl")
  1345. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1346. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1347. MakeForm(BELT,"Ball")
  1348. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1349. Humanoid.DisplayDistanceType = "None"
  1350. for _, c in pairs(Character:GetChildren()) do
  1351. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1352. c.Material = "Neon"
  1353. if c:FindFirstChildOfClass("ParticleEmitter") then
  1354. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1355. end
  1356. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1357. c:remove()
  1358. end
  1359. end
  1360.  
  1361. local SKILLTEXTCOLOR = C3(255,0,0)
  1362. local SKILLFONT = "Fantasy"
  1363. local SKILLTEXTSIZE = 6
  1364.  
  1365. Humanoid.Died:connect(function()
  1366. refit()
  1367. end)
  1368.  
  1369.  
  1370. function printbye(Name)
  1371. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1372. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1373. end
  1374.  
  1375. workspace.ChildAdded:connect(function(instance)
  1376. for BANISH = 1, #TOBANISH do
  1377. if TOBANISH[BANISH] ~= nil then
  1378. if instance.Name == TOBANISH[BANISH] then
  1379. coroutine.resume(coroutine.create(function()
  1380. printbye(instance.Name)
  1381. instance:ClearAllChildren()
  1382. Debris:AddItem(instance,0.0005)
  1383. end))
  1384. end
  1385. end
  1386. end
  1387. end)
  1388.  
  1389. --//=================================\\
  1390. --|| DAMAGE FUNCTIONS
  1391. --\\=================================//
  1392.  
  1393. function Kill(Char)
  1394. local NewCharacter = IT("Model",Effects)
  1395. NewCharacter.Name = "Ow im ded ;-;"
  1396. for _, c in pairs(Char:GetDescendants()) do
  1397. if c:IsA("BasePart") and c.Transparency == 0 then
  1398. if c.Parent == Char then
  1399. getbloody(c,5)
  1400. end
  1401. c:BreakJoints()
  1402. c.Material = "Glass"
  1403. c.Color = C3(255,0,0)
  1404. c.CanCollide = true
  1405. c.Transparency = 0.3
  1406. if c:FindFirstChildOfClass("SpecialMesh") then
  1407. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1408. end
  1409. if c.Name == "Head" then
  1410. c:ClearAllChildren()
  1411. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1412. end
  1413. if c.ClassName == "MeshPart" then
  1414. c.TextureID = ""
  1415. end
  1416. if c:FindFirstChildOfClass("BodyPosition") then
  1417. c:FindFirstChildOfClass("BodyPosition"):remove()
  1418. end
  1419. if c:FindFirstChildOfClass("ParticleEmitter") then
  1420. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1421. end
  1422. c.Parent = NewCharacter
  1423. c.Name = "DeadPart"
  1424. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1425. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1426. end
  1427. end
  1428. Char:remove()
  1429. Debris:AddItem(NewCharacter,5)
  1430. end
  1431.  
  1432. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1433. local CHILDREN = workspace:GetDescendants()
  1434. for index, CHILD in pairs(CHILDREN) do
  1435. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1436. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1437. if HUM then
  1438. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1439. if TORSO then
  1440. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1441. if BRUTAL == true then
  1442. Kill(CHILD)
  1443. else
  1444. CHILD:BreakJoints()
  1445. end
  1446. end
  1447. end
  1448. end
  1449. end
  1450. end
  1451. end
  1452.  
  1453. function BulletDetection(FROM,TO,BRUTAL)
  1454. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1455. coroutine.resume(coroutine.create(function()
  1456. if AIMHIT ~= nil then
  1457. if AIMHIT.Parent ~= Character then
  1458. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1459. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1460. if BRUTAL == true then
  1461. Kill(AIMHIT.Parent)
  1462. else
  1463. getbloody(AIMHIT,15)
  1464. AIMHIT.Parent:BreakJoints()
  1465. if AIMHIT.Name == "Head" then
  1466. AIMHIT.Name = "HEADSHOT"
  1467. AIMHIT:remove()
  1468. end
  1469. end
  1470. else
  1471. if BRUTAL == true then
  1472. Kill(AIMHIT.Parent.Parent)
  1473. else
  1474. AIMHIT.Parent.Parent:BreakJoints()
  1475. end
  1476. end
  1477. end
  1478. end
  1479. end
  1480. end))
  1481. SpawnTrail(FROM,AIMPOS)
  1482. return AIMHIT,AIMPOS,NORMAL
  1483. end
  1484.  
  1485. function Banish(Foe)
  1486. if Foe then
  1487. coroutine.resume(coroutine.create(function()
  1488. --if game.Players:FindFirstChild(Foe.Name) then
  1489. table.insert(TOBANISH,Foe.Name)
  1490. printbye(Foe.Name)
  1491. --end
  1492. Foe.Archivable = true
  1493. local CLONE = Foe:Clone()
  1494. Foe:Destroy()
  1495. CLONE.Parent = Effects
  1496. CLONE:BreakJoints()
  1497. local MATERIALS = {"Glass","Neon"}
  1498. for _, c in pairs(CLONE:GetDescendants()) do
  1499. if c:IsA("BasePart") then
  1500. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1501. CreateSound(340722848, c, 10, 1, false)
  1502. end
  1503. c.Anchored = true
  1504. c.Transparency = c.Transparency + 0.2
  1505. c.Material = MATERIALS[MRANDOM(1,2)]
  1506. c.Color = C3(1,0,0)
  1507. if c.ClassName == "MeshPart" then
  1508. c.TextureID = ""
  1509. end
  1510. if c:FindFirstChildOfClass("SpecialMesh") then
  1511. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1512. end
  1513. if c:FindFirstChildOfClass("Decal") then
  1514. c:FindFirstChildOfClass("Decal"):remove()
  1515. end
  1516. c.Name = "Banished"
  1517. c.CanCollide = false
  1518. else
  1519. c:remove()
  1520. end
  1521. end
  1522. local A = false
  1523. for i = 1, 35 do
  1524. if A == false then
  1525. A = true
  1526. elseif A == true then
  1527. A = false
  1528. end
  1529. for _, c in pairs(CLONE:GetDescendants()) do
  1530. if c:IsA("BasePart") then
  1531. c.Anchored = true
  1532. c.Material = MATERIALS[MRANDOM(1,2)]
  1533. c.Transparency = c.Transparency + 0.8/35
  1534. if A == false then
  1535. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1536. elseif A == true then
  1537. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1538. end
  1539. end
  1540. end
  1541. Swait()
  1542. end
  1543. CLONE:remove()
  1544. end))
  1545. end
  1546. end
  1547.  
  1548. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1549. local CHILDREN = workspace:GetDescendants()
  1550. for index, CHILD in pairs(CHILDREN) do
  1551. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1552. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1553. if HUM then
  1554. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1555. if TORSO then
  1556. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1557. if ISBANISH == true then
  1558. Banish(CHILD)
  1559. else
  1560. if ISBANISH == "Gravity" then
  1561. HUM.PlatformStand = true
  1562. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1563. local grav = Instance.new("BodyPosition",TORSO)
  1564. grav.D = 15
  1565. grav.P = 20000
  1566. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1567. grav.position = TORSO.Position
  1568. grav.Name = "V3BanishForce"..Player.Name
  1569. else
  1570. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1571. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1572. end
  1573. else
  1574. HUM.PlatformStand = false
  1575. end
  1576. end
  1577. elseif ISBANISH == "Gravity" then
  1578. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1579. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1580. HUM.PlatformStand = false
  1581. end
  1582. end
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588.  
  1589. function killnearest(position,range,maxstrength,direction)
  1590. for i,v in ipairs(workspace:GetChildren()) do
  1591. local body = v:GetChildren()
  1592. for part = 1, #body do
  1593. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1594. if(body[part].Position - position).Magnitude < range then
  1595. if v.ClassName == "Model" then
  1596. --v:BreakJoints()
  1597. end
  1598. local POS = position
  1599. coroutine.resume(coroutine.create(function()
  1600. body[part].Anchored = true
  1601. body[part].Parent = Effects
  1602. body[part].CanCollide = true
  1603. local SIZE = body[part].Size
  1604. body[part].Material = "Neon"
  1605. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1606. for i = 1, 75 do
  1607. Swait()
  1608. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1609. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1610. end
  1611. coroutine.resume(coroutine.create(function()
  1612. while true do
  1613. Swait()
  1614. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1615. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1616. end
  1617. end))
  1618. body[part].Anchored = false
  1619. body[part].Velocity = direction.lookVector*maxstrength
  1620. end))
  1621. end
  1622. end
  1623. end
  1624. if v.ClassName == "Part" then
  1625. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1626. local POS = position
  1627. coroutine.resume(coroutine.create(function()
  1628. v.Anchored = true
  1629. v.Parent = Effects
  1630. local SIZE = v.Size
  1631. v.Material = "Neon"
  1632. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1633. for i = 1, 75 do
  1634. Swait()
  1635. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1636. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1637. end
  1638. coroutine.resume(coroutine.create(function()
  1639. while true do
  1640. Swait()
  1641. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1642. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1643. end
  1644. end))
  1645. v.Anchored = false
  1646. v.Velocity = direction.lookVector*maxstrength
  1647. end))
  1648. end
  1649. end
  1650. end
  1651. end
  1652.  
  1653. --//=================================\\
  1654. --|| ATTACK FUNCTIONS AND STUFF
  1655. --\\=================================//
  1656.  
  1657. function ChineseEarthquake()
  1658. Rooted = true
  1659. local icri = CreateSound("1177999394", Torso, 10, 1)
  1660. Swait(130)
  1661. local FRAME = Torso.CFrame
  1662. repeat
  1663. Swait()
  1664. Torso.CFrame = FRAME * CF(0,1,0)
  1665. Swait()
  1666. Torso.CFrame = FRAME
  1667. until icri.Playing == false
  1668. Rooted = false
  1669. end
  1670.  
  1671. function Taunt3()
  1672. ATTACK = true
  1673. Rooted = true
  1674. local TAUNT = CreateSound(2056147468, Torso, 7, 1, false)
  1675. repeat
  1676. Swait()
  1677. TAUNT.Parent = Torso
  1678. TAUNT.Playing = true
  1679. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1685. until TAUNT.TimePosition >= 1.25
  1686. for i=0, 1.6, 0.1 / Animation_Speed do
  1687. Swait()
  1688. TAUNT.Parent = Torso
  1689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1693. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1695. end
  1696. ATTACK = false
  1697. Rooted = false
  1698. end
  1699.  
  1700. function Taunt2()
  1701. ATTACK = true
  1702. Rooted = true
  1703. local TAUNT = CreateSound(198581763,Torso,10,1,false)
  1704. coroutine.resume(coroutine.create(function()
  1705. repeat
  1706. Swait()
  1707. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1708. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1709. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1710. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1711. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1712. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1713. until ATTACK == false
  1714. end))
  1715. repeat wait() until TAUNT.Playing == false
  1716. ATTACK = false
  1717. Rooted = false
  1718. end
  1719.  
  1720. function Taunt()
  1721. ATTACK = true
  1722. local LAUGH = nil
  1723. coroutine.resume(coroutine.create(function()
  1724. repeat
  1725. Swait()
  1726. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1727. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1728. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1729. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1730. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1731. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1732. until LAUGH ~= nil
  1733. repeat
  1734. Swait()
  1735. LAUGH.Parent = Head
  1736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1737. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1740. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1742. until LAUGH.Playing == false
  1743. ATTACK = false
  1744. end))
  1745. wait(0.1)
  1746. sick:Pause()
  1747. LAUGH = CreateSound(137473066, Head, 10, 1, false)
  1748. wait(1)
  1749. sick:Resume()
  1750. end
  1751.  
  1752. function TakeOnMe()
  1753. Speed = 5
  1754. local MEME = CreateSound(1464292047, Effects, 15, 1, false)
  1755. ATTACK = true
  1756. Rooted = false
  1757. local DANCE = true
  1758. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1759. if NEWKEY == "p" then
  1760. DANCE = false
  1761. end
  1762. end)
  1763. PLAYSONG = false
  1764. while true do
  1765. for i = 1, 15 do
  1766. Swait()
  1767. MEME.Parent = Effects
  1768. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1774. end
  1775. if DANCE == false then
  1776. break
  1777. end
  1778. for i = 1, 15 do
  1779. Swait()
  1780. MEME.Parent = Effects
  1781. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1782. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1783. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1784. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1785. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1786. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1787. end
  1788. end
  1789. PLAYSONG = true
  1790. KEY:Disconnect()
  1791. MEME:remove()
  1792. Speed = 25
  1793. ATTACK = false
  1794. Rooted = false
  1795. end
  1796.  
  1797. function Unload()
  1798. ATTACK = true
  1799. Rooted = false
  1800. repeat
  1801. local GYRO = IT("BodyGyro",RootPart)
  1802. GYRO.D = 175
  1803. GYRO.P = 20000
  1804. GYRO.MaxTorque = VT(0,40000,0)
  1805. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1806. if COMBO == 1 then
  1807. COMBO = 2
  1808. for i=0, 0.6, 0.1 / Animation_Speed do
  1809. Swait()
  1810. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817. end
  1818. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1819. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1820. CreateSound(145080998, LeftHole, 7, 1, false)
  1821. BulletDetection(LeftHole.Position,Mouse.Hit.p,false)
  1822. for i=0, 0.2, 0.1 / Animation_Speed do
  1823. Swait()
  1824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1830. end
  1831. elseif COMBO == 2 then
  1832. COMBO = 1
  1833. for i=0, 0.6, 0.1 / Animation_Speed do
  1834. Swait()
  1835. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1836. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1839. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1840. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1841. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1842. end
  1843. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1844. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1845. CreateSound(145080998, RightHole, 7, 1, false)
  1846. BulletDetection(RightHole.Position,Mouse.Hit.p,false)
  1847. for i=0, 0.2, 0.1 / Animation_Speed do
  1848. Swait()
  1849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1855. end
  1856. end
  1857. GYRO:remove()
  1858. until KEYHOLD == false
  1859. ATTACK = false
  1860. Rooted = false
  1861. end
  1862.  
  1863.  
  1864. function Cleave()
  1865. ATTACK = true
  1866. Rooted = false
  1867. local TARGET = nil
  1868. local TORS = nil
  1869. local GYRO = IT("BodyGyro",RootPart)
  1870. GYRO.D = 175
  1871. GYRO.P = 20000
  1872. GYRO.MaxTorque = VT(0,40000,0)
  1873. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1874. local RANGE = 5
  1875. CreateSound(541909867, Torso, 7, 1, false)
  1876. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1877. for i=0, 1, 0.1 / Animation_Speed do
  1878. Swait()
  1879. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1880. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1881. local CHILDREN = workspace:GetDescendants()
  1882. for index, CHILD in pairs(CHILDREN) do
  1883. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1884. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1885. if HUM then
  1886. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1887. if TORSO then
  1888. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1889. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1890. TARGET = HUM
  1891. TORS = TORSO
  1892. end
  1893. end
  1894. end
  1895. end
  1896. end
  1897. if TARGET then
  1898. break
  1899. end
  1900. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1901. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  1902. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1903. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1904. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1905. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1906. end
  1907. GYRO:remove()
  1908. if TORS and TARGET then
  1909. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false)
  1910. Rooted = true
  1911. local BODYPOSITION = IT("BodyPosition", TORS)
  1912. BODYPOSITION.P = 2000
  1913. BODYPOSITION.D = 100
  1914. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1915. for i=0, 1, 0.1 / Animation_Speed do
  1916. Swait()
  1917. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1918. BODYPOSITION.Position = TORS.Position
  1919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1923. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1925. end
  1926. for i=0, 0.4, 0.1 / Animation_Speed do
  1927. Swait()
  1928. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1929. BODYPOSITION.Position = TORS.Position
  1930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1931. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1935. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1936. end
  1937. local LOOP = 0
  1938. local LOOP2 = 0
  1939. for i=0, 5, 0.1 / Animation_Speed do
  1940. Swait()
  1941. LOOP = LOOP + 1
  1942. TORS.Anchored = true
  1943. LOOP2 = LOOP2 + 1
  1944. if LOOP2 >= 5 then
  1945. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1946. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1947. CreateSound(145080998, RightHole, 7, 1, false)
  1948. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  1949. LOOP2 = 0
  1950. getbloody(TORS,1)
  1951. end
  1952. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1953. BODYPOSITION.Position = TORS.Position
  1954. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1955. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1958. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1959. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1960. end
  1961. BODYPOSITION:remove()
  1962. if TORS then
  1963. TORS.Anchored = false
  1964. Kill(TORS.Parent)
  1965. end
  1966. end
  1967. ATTACK = false
  1968. Rooted = false
  1969. end
  1970.  
  1971. function ImplosionCollision()
  1972. ATTACK = true
  1973. Rooted = true
  1974. CreateSound("169445572", RightArm, 10, 0.8)
  1975. for i=0, 8, 0.1 / Animation_Speed do
  1976. Swait()
  1977. turnto(Mouse.Hit.p)
  1978. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Black",VT(0.2,0,0.2))
  1979. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Dark red", 1.1)
  1980. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  1981. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Black",VT(0.001,0.001,2),0)
  1982. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Black",VT(-1/15,-1/15,-1/15))
  1983. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Dark red",VT(-2/15,-2/15,-2/15))
  1984. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1985. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  1986. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1987. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1988. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1989. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1990. end
  1991. for i=0, 0.15, 0.1 / Animation_Speed do
  1992. Swait()
  1993. turnto(Mouse.Hit.p)
  1994. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1995. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1997. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1998. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1999. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2000. end
  2001. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Dark red",VT(-0.04,-0.04,-0.04))
  2002. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Black",VT(-0.035,-0.035,-0.035))
  2003. coroutine.resume(coroutine.create(function()
  2004. Swait(100)
  2005. for i = 1, 5 do
  2006. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Dark red",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  2007. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Black",VT(4.5*i,0.2,4.5*i))
  2008. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(5*i,0.2,5*i))
  2009. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Black",VT(4*i,0.6,4*i))
  2010. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(5.2*i,0.6,5.2*i))
  2011. end
  2012. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  2013. for i = 1, 5 do
  2014. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  2015. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  2016. end
  2017. coroutine.resume(coroutine.create(function()
  2018. for i = 1, 50 do
  2019. Swait()
  2020. for i = 1, 1 do
  2021. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  2022. end
  2023. for i = 1, 2 do
  2024. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Black", 1 + MRANDOM(1,30)/3)
  2025. end
  2026. end
  2027. end))
  2028. end))
  2029. for i=0, 4, 0.1 / Animation_Speed do
  2030. Swait()
  2031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2035. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2036. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2037. end
  2038. ATTACK = false
  2039. Rooted = false
  2040. end
  2041.  
  2042. function GoldenGrasp()
  2043. ATTACK = true
  2044. Rooted = false
  2045. local HASGRABBED = false
  2046. local WELD = nil
  2047. local TORS = nil
  2048. local hitting = FIST.Touched:connect(function(hit)
  2049. if hit.Parent:FindFirstChild("Humanoid") then
  2050. if hit.Parent.Humanoid.Health ~= 0 then
  2051. UNANCHOR = false
  2052. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2053. TORS.Anchored = true
  2054. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  2055. WELD = weldBetween(RightArm,TORS)
  2056. HASGRABBED = true
  2057. Rooted = true
  2058. end
  2059. end
  2060. end)
  2061. for i=0, 1, 0.1 / Animation_Speed do
  2062. Swait()
  2063. if HASGRABBED == true then
  2064. break
  2065. end
  2066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  2067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  2068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2070. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2072. end
  2073. hitting:disconnect()
  2074. if HASGRABBED == true then
  2075. TORS.Anchored = false
  2076. RootPart.Anchored = true
  2077. for i=0, 2, 0.1 / Animation_Speed do
  2078. Swait()
  2079. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2080. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2081. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2082. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2083. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2084. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2085. end
  2086. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  2087. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  2088. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  2089. SOUNDPART.CFrame = RootPart.CFrame
  2090. Debris:AddItem(SOUNDPART,5)
  2091. CreateSound("1295446488", SOUNDPART, 2, 1)
  2092. for i = 1, 15 do
  2093. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  2094. end
  2095. for i=0, 2, 0.1 / Animation_Speed do
  2096. Swait()
  2097. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2101. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2103. end
  2104. for i=0, 0.25, 0.1 / Animation_Speed do
  2105. Swait()
  2106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2110. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2112. end
  2113. if HITFLOOR ~= nil then
  2114. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  2115. end
  2116. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  2117. WELD:remove()
  2118. for i = 1, 25 do
  2119. Swait()
  2120. killnearest(RootPart.Position,45,100,Torso.CFrame)
  2121. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Black",VT(0.3,3,0.3))
  2122. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Dark red",VT(1,0.4,1))
  2123. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Dark red",VT(2.3,0.3,2.3))
  2124. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  2125. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Black", 1 + MRANDOM(1,30)/15)
  2126. end
  2127. end
  2128. UNANCHOR = true
  2129. ATTACK = false
  2130. Rooted = false
  2131. end
  2132.  
  2133.  
  2134. function Shot()
  2135. ATTACK = true
  2136. Rooted = false
  2137. for i=0, 0.4, 0.1 / Animation_Speed do
  2138. Swait()
  2139. turnto(Mouse.Hit.p)
  2140. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2144. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2145. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2146. end
  2147. repeat
  2148. for i=0, 0.2, 0.1 / Animation_Speed do
  2149. Swait()
  2150. turnto(Mouse.Hit.p)
  2151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2155. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2156. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2157. end
  2158. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2159. SpawnTrail(Hole.Position,POS)
  2160. if HIT ~= nil then
  2161. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2162. Banish(HIT.Parent)
  2163. end
  2164. end
  2165. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2166. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2167. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2168. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2169. for i=0, 0.3, 0.1 / Animation_Speed do
  2170. Swait()
  2171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2177. end
  2178. until KEYHOLD == false
  2179. ATTACK = false
  2180. Rooted = false
  2181. end
  2182.  
  2183. function AttackTemplate()
  2184. ATTACK = true
  2185. Rooted = false
  2186. for i=0, 1, 0.1 / Animation_Speed do
  2187. Swait()
  2188. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2189. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2190. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2191. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2192. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2193. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2194. end
  2195. ATTACK = false
  2196. Rooted = false
  2197. end
  2198.  
  2199. function GoldenPunch()
  2200. ATTACK = true
  2201. Rooted = false
  2202. local SPEED = Speed
  2203. Speed = 8
  2204. CreateSound("169445572", RightArm, 10, 1.1)
  2205. for i=0, 4, 0.1 / Animation_Speed do
  2206. Swait()
  2207. turnto(Mouse.Hit.p)
  2208. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Dark red",VT(-1/15,-1/15,-1/15))
  2209. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Black",VT(-2/15,-2/15,-2/15))
  2210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  2211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  2212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2214. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2215. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2216. end
  2217. for i=0, 0.15, 0.1 / Animation_Speed do
  2218. Swait()
  2219. turnto(Mouse.Hit.p)
  2220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  2221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  2222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2224. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2226. end
  2227. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Dark red", "Punch", VT(50,50,50),false)
  2228. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  2229. PART.Shape = "Ball"
  2230. local bv = Instance.new("BodyVelocity")
  2231. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2232. bv.velocity = RootPart.CFrame.lookVector*600
  2233. bv.Parent = PART
  2234. bv.Name = "PROJECTILEVELOCITY"
  2235. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Black",VT(2.5,0.2,2.5))
  2236. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(3,0.2,3))
  2237. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Black",VT(2,0.6,2))
  2238. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Dark red",VT(2.2,0.6,2.2))
  2239. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  2240. coroutine.resume(coroutine.create(function()
  2241. for i = 1, 10 do
  2242. Swait()
  2243. PART.Transparency = PART.Transparency + 0.2/10
  2244. PART.Size = PART.Size + VT(5,5,5)
  2245. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  2246. end
  2247. PART:Destroy()
  2248. end))
  2249. for i=0, 1, 0.1 / Animation_Speed do
  2250. Swait()
  2251. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2252. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2255. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2256. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2257. end
  2258. Speed = SPEED
  2259. ATTACK = false
  2260. Rooted = false
  2261. end
  2262.  
  2263. --//=================================\\
  2264. --|| ASSIGN THINGS TO KEYS
  2265. --\\=================================//
  2266.  
  2267. function MouseDown(Mouse)
  2268. if ATTACK == false then
  2269. end
  2270. end
  2271.  
  2272. function MouseUp(Mouse)
  2273. HOLD = false
  2274. end
  2275.  
  2276. function KeyDown(Key)
  2277. KEYHOLD = true
  2278. if Key == "z" and ATTACK == false then
  2279. Shot()
  2280. end
  2281.  
  2282. if Key == "v" and ATTACK == false then
  2283. GoldenGrasp()
  2284. end
  2285.  
  2286. if Key == "c" and ATTACK == false then
  2287. GoldenPunch()
  2288. end
  2289.  
  2290. if Key == "m" and ATTACK == false then
  2291. ChineseEarthquake()
  2292. end
  2293.  
  2294. if Key == "g" and ATTACK == false then
  2295. Deathbound()
  2296. end
  2297.  
  2298. if Key == "q" and ATTACK == false then
  2299. Unload()
  2300. end
  2301.  
  2302. if Key == "p" and ATTACK == false then
  2303. TakeOnMe()
  2304. end
  2305.  
  2306. if Key == "b" and ATTACK == false then
  2307. ImplosionCollision()
  2308. end
  2309.  
  2310. if Key == "u" and ATTACK == false then
  2311. Taunt2()
  2312. end
  2313.  
  2314. if Key == "t" and ATTACK == false then
  2315. Taunt()
  2316. end
  2317.  
  2318. if Key == "h" and ATTACK == false then
  2319. Taunt3()
  2320. end
  2321.  
  2322. if Key == "n" and ATTACK == false then
  2323. Cleave()
  2324. end
  2325. end
  2326.  
  2327. function KeyUp(Key)
  2328. KEYHOLD = false
  2329. end
  2330.  
  2331. Mouse.Button1Down:connect(function(NEWKEY)
  2332. MouseDown(NEWKEY)
  2333. end)
  2334. Mouse.Button1Up:connect(function(NEWKEY)
  2335. MouseUp(NEWKEY)
  2336. end)
  2337. Mouse.KeyDown:connect(function(NEWKEY)
  2338. KeyDown(NEWKEY)
  2339. end)
  2340. Mouse.KeyUp:connect(function(NEWKEY)
  2341. KeyUp(NEWKEY)
  2342. end)
  2343. Mouse.KeyUp:connect(function(NEWKEY)
  2344. KeyUp(NEWKEY)
  2345. end)
  2346.  
  2347. --//=================================\\
  2348. --\\=================================//
  2349.  
  2350.  
  2351. function unanchor()
  2352. if UNANCHOR == true then
  2353. g = Character:GetChildren()
  2354. for i = 1, #g do
  2355. if g[i].ClassName == "Part" then
  2356. g[i].Anchored = false
  2357. end
  2358. end
  2359. end
  2360. end
  2361.  
  2362.  
  2363. --//=================================\\
  2364. --|| WRAP THE WHOLE SCRIPT UP
  2365. --\\=================================//
  2366.  
  2367. Humanoid.Changed:connect(function(Jump)
  2368. if Jump == "Jump" and (Disable_Jump == true) then
  2369. Humanoid.Jump = false
  2370. end
  2371. end)
  2372.  
  2373. local CONNECT = nil
  2374.  
  2375. while true do
  2376. Swait()
  2377. ANIMATE.Parent = nil
  2378. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2379. Humanoid = IT("Humanoid",Character)
  2380. end
  2381. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2382. v:Stop();
  2383. end
  2384. SINE = SINE + CHANGE
  2385. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2386. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2387. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2388. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2389. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2390. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2391. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  2392. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2393. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2394. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2395. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2396. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2397. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2398. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2399. end
  2400. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2401. ANIM = "Jump"
  2402. if ATTACK == false then
  2403. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2404. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2405. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2406. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2407. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2408. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2409. end
  2410. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2411. ANIM = "Fall"
  2412. if ATTACK == false then
  2413. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2414. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2415. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2416. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2417. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2418. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2419. end
  2420. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2421. ANIM = "Idle"
  2422. if ATTACK == false then
  2423. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2427. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2429. end
  2430. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2431. ANIM = "Walk"
  2432. if ATTACK == false then
  2433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2437. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2439. end
  2440. end
  2441.  
  2442. unanchor()
  2443. Humanoid.MaxHealth = "inf"
  2444. Humanoid.Health = "inf"
  2445. if Rooted == false then
  2446. Disable_Jump = false
  2447. Humanoid.WalkSpeed = Speed
  2448. elseif Rooted == true then
  2449. Disable_Jump = true
  2450. Humanoid.WalkSpeed = 0
  2451. end
  2452. sick.Parent = Torso
  2453. sick:resume()
  2454. sick.Volume = 10
  2455. sick.Pitch = 1
  2456. sick.SoundId = "rbxassetid://460874877"
  2457. sick.Name = "Dead"
  2458. end
  2459.  
  2460. --//=================================\\
  2461. --\\=================================//
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467. --//====================================================\\--
  2468. --|| END OF SCRIPT
  2469. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement