Advertisement
StarzoZero

Untitled

Jan 25th, 2019
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.67 KB | None | 0 0
  1. -- Note, This was leaked on V3rmillion by a banned user so don't get mad at me for putting it on Pastebin
  2.  
  3. 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 = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  7. local function NewFakeEvent()
  8. local Bind = Instance.new("BindableEvent")
  9. local Fake;Fake = {Connections = {},
  10. fakeEvent=true;
  11. Connect=function(self,Func)
  12. Bind.Event:connect(Func)
  13. self.Connections[Bind] = true
  14. return setmetatable({Connected = true},{
  15. __index = function (self,Index)
  16. if Index:lower() == "disconnect" then
  17. return function() Fake.Connections[Bind] = false;self.Connected = false end
  18. end
  19. return Fake[Index]
  20. end;
  21. __tostring = function() return "Connection" end;
  22. })
  23. end}
  24. Fake.connect = Fake.Connect;return Fake;
  25. end
  26. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  27. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  28. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  29. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  30. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  31. local function TriggerEvent(self,Event,...)
  32. local Trigger = Mouse[Event]
  33. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  34. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  35. end
  36. end
  37. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  38. Event.OnServerEvent:Connect(function(FiredBy,Input)
  39. if FiredBy.Name ~= owner.Name then return end
  40. if Input.MouseEvent then
  41. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  42. else
  43. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  44. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  45. for _,Action in pairs(ContextActionService.Actions) do
  46. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  47. end
  48. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  49. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  50. end
  51. end)
  52. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  53. Event.Parent = NLS([[
  54. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  55. local Input = function(Input,gameProcessedEvent)
  56. if gameProcessedEvent then return end
  57. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  58. end
  59. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  64. end
  65. end
  66. ]],owner.Character)
  67. end
  68. RealGame = game;game = setmetatable({},{
  69. __index = function (self,Index)
  70. local Sandbox = function (Thing)
  71. if Thing:IsA("Player") then
  72. local RealPlayer = Thing
  73. return setmetatable({},{
  74. __index = function (self,Index)
  75. local Type = type(RealPlayer[Index])
  76. if Type == "function" then
  77. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  78. return function (self)return InternalData["Mouse"] end
  79. end
  80. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  81. end
  82. return RealPlayer[Index]
  83. end;
  84. __tostring = function(self) return RealPlayer.Name end
  85. })
  86. end
  87. end
  88. if RealGame[Index] then
  89. local Type = type(RealGame[Index])
  90. if Type == "function" then
  91. if Index:lower() == "getservice" or Index:lower() == "service" then
  92. return function (self,Service)
  93. local FakeServices = {
  94. ["players"] = function()
  95. return setmetatable({},{
  96. __index = function (self2,Index2)
  97. local RealService = RealGame:GetService(Service)
  98. local Type2 = type(Index2)
  99. if Type2 == "function" then
  100. return function (self,...) return RealService[Index2](RealService,...)end
  101. else
  102. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  103. return RealService[Index2]
  104. end
  105. end;
  106. __tostring = function(self) return RealGame:GetService(Service).Name end
  107. })
  108. end;
  109. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  110. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  111. ["runservice"] = function()
  112. return setmetatable({},{
  113. __index = function(self2,Index2)
  114. local RealService = RealGame:GetService(Service)
  115. local Type2 = type(Index2)
  116. if Type2 == "function" then
  117. return function (self,...) return RealService[Index2](RealService,...) end
  118. else
  119. local RunServices = {
  120. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  121. ["renderstepped"] = function() return RealService["Stepped"] end
  122. }
  123. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  124. return RealService[Index2]
  125. end
  126. end
  127. })
  128. end
  129. }
  130. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  131. return RealGame:GetService(Service)
  132. end
  133. end
  134. return function (self,...) return RealGame[Index](RealGame,...) end
  135. else
  136. if game:GetService(Index) then return game:GetService(Index) end
  137. return RealGame[Index]
  138. end
  139. end
  140. return nil
  141. end
  142. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("dont leak")
  143.  
  144.  
  145. --//====================================================\\--
  146. --|| CREATED BY SHACKLUSTER
  147. --\\====================================================//--
  148.  
  149. wait(0.2)
  150.  
  151. local textblin = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  152. textblin.Adornee = cykablyat
  153. textblin.Name = "ky"
  154. textblin.Size = UDim2.new(2, 0, 1.2, 0)
  155. textblin.StudsOffset = Vector3.new(-5, 3, 0)
  156. local textblin= Instance.new("TextLabel", textblin)
  157. textblin.Size = UDim2.new(6, 0, 1, 0)
  158. textblin.FontSize = "Size14"
  159. textblin.TextScaled = true
  160. textblin.TextTransparency = 0
  161. textblin.BackgroundTransparency = 1
  162. textblin.TextTransparency = 0
  163. textblin.TextStrokeTransparency = 0
  164. textblin.Font = "Cartoon"
  165. textblin.TextStrokeColor3 = Color3.new(0,0,0)
  166. textblin.Text = "StarzoZero's Kill-Bot"
  167.  
  168. Player = game:GetService("Players").LocalPlayer
  169. PlayerGui = Player.PlayerGui
  170. Cam = workspace.CurrentCamera
  171. Backpack = Player.Backpack
  172. Character = Player.Character
  173. Humanoid = Character.Humanoid
  174. Mouse = Player:GetMouse()
  175. RootPart = Character["HumanoidRootPart"]
  176. Torso = Character["Torso"]
  177. Head = Character["Head"]
  178. RightArm = Character["Right Arm"]
  179. LeftArm = Character["Left Arm"]
  180. RightLeg = Character["Right Leg"]
  181. LeftLeg = Character["Left Leg"]
  182. RootJoint = RootPart["RootJoint"]
  183. Neck = Torso["Neck"]
  184. RightShoulder = Torso["Right Shoulder"]
  185. LeftShoulder = Torso["Left Shoulder"]
  186. RightHip = Torso["Right Hip"]
  187. LeftHip = Torso["Left Hip"]
  188.  
  189. IT = Instance.new
  190. CF = CFrame.new
  191. VT = Vector3.new
  192. RAD = math.rad
  193. C3 = Color3.new
  194. UD2 = UDim2.new
  195. BRICKC = BrickColor.new
  196. ANGLES = CFrame.Angles
  197. EULER = CFrame.fromEulerAnglesXYZ
  198. COS = math.cos
  199. ACOS = math.acos
  200. SIN = math.sin
  201. ASIN = math.asin
  202. ABS = math.abs
  203. MRANDOM = math.random
  204. FLOOR = math.floor
  205.  
  206. --//=================================\\
  207. --|| USEFUL VALUES
  208. --\\=================================//
  209.  
  210. Animation_Speed = 3
  211. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  212. local Speed = 16
  213. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  214. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  215. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  216. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  217. local DAMAGEMULTIPLIER = 1
  218. local ANIM = "Idle"
  219. local ATTACK = false
  220. local EQUIPPED = false
  221. local HOLD = false
  222. local COMBO = 1
  223. local Rooted = false
  224. local SINE = 0
  225. local KEYHOLD = false
  226. local CHANGE = 2 / Animation_Speed
  227. local WALKINGANIM = false
  228. local VALUE1 = false
  229. local VALUE2 = false
  230. local ROBLOXIDLEANIMATION = IT("Animation")
  231. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  232. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  233. --ROBLOXIDLEANIMATION.Parent = Humanoid
  234. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  235. WEAPONGUI.Name = "Weapon GUI"
  236. local Weapon = IT("Model")
  237. Weapon.Name = "Adds"
  238. local Effects = IT("Folder", Weapon)
  239. Effects.Name = "Effects"
  240. local ANIMATOR = Humanoid.Animator
  241. local ANIMATE = Character.Animate
  242. local UNANCHOR = true
  243.  
  244. --//=================================\\
  245. --\\=================================//
  246.  
  247.  
  248. --//=================================\\
  249. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  250. --\\=================================//
  251.  
  252. ArtificialHB = Instance.new("BindableEvent", script)
  253. ArtificialHB.Name = "ArtificialHB"
  254.  
  255. script:WaitForChild("ArtificialHB")
  256.  
  257. frame = Frame_Speed
  258. tf = 0
  259. allowframeloss = false
  260. tossremainder = false
  261. lastframe = tick()
  262. script.ArtificialHB:Fire()
  263.  
  264. game:GetService("RunService").Heartbeat:connect(function(s, p)
  265. tf = tf + s
  266. if tf >= frame then
  267. if allowframeloss then
  268. script.ArtificialHB:Fire()
  269. lastframe = tick()
  270. else
  271. for i = 1, math.floor(tf / frame) do
  272. script.ArtificialHB:Fire()
  273. end
  274. lastframe = tick()
  275. end
  276. if tossremainder then
  277. tf = 0
  278. else
  279. tf = tf - frame * math.floor(tf / frame)
  280. end
  281. end
  282. end)
  283.  
  284. --//=================================\\
  285. --\\=================================//
  286.  
  287. --//=================================\\
  288. --|| SOME FUNCTIONS
  289. --\\=================================//
  290.  
  291. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  292. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  293. end
  294.  
  295. function PositiveAngle(NUMBER)
  296. if NUMBER >= 0 then
  297. NUMBER = 0
  298. end
  299. return NUMBER
  300. end
  301.  
  302. function NegativeAngle(NUMBER)
  303. if NUMBER <= 0 then
  304. NUMBER = 0
  305. end
  306. return NUMBER
  307. end
  308.  
  309. function Swait(NUMBER)
  310. if NUMBER == 0 or NUMBER == nil then
  311. ArtificialHB.Event:wait()
  312. else
  313. for i = 1, NUMBER do
  314. ArtificialHB.Event:wait()
  315. end
  316. end
  317. end
  318.  
  319. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  320. local NEWMESH = IT(MESH)
  321. if MESH == "SpecialMesh" then
  322. NEWMESH.MeshType = MESHTYPE
  323. if MESHID ~= "nil" and MESHID ~= "" then
  324. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  325. end
  326. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  327. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  328. end
  329. end
  330. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  331. NEWMESH.Scale = SCALE
  332. NEWMESH.Parent = PARENT
  333. return NEWMESH
  334. end
  335.  
  336. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  337. local NEWPART = IT("Part")
  338. NEWPART.formFactor = FORMFACTOR
  339. NEWPART.Reflectance = REFLECTANCE
  340. NEWPART.Transparency = TRANSPARENCY
  341. NEWPART.CanCollide = false
  342. NEWPART.Locked = true
  343. NEWPART.Anchored = true
  344. if ANCHOR == false then
  345. NEWPART.Anchored = false
  346. end
  347. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  348. NEWPART.Name = NAME
  349. NEWPART.Size = SIZE
  350. NEWPART.Position = Torso.Position
  351. NEWPART.Material = MATERIAL
  352. NEWPART:BreakJoints()
  353. NEWPART.Parent = PARENT
  354. return NEWPART
  355. end
  356.  
  357. local function weldBetween(a, b)
  358. local weldd = Instance.new("ManualWeld")
  359. weldd.Part0 = a
  360. weldd.Part1 = b
  361. weldd.C0 = CFrame.new()
  362. weldd.C1 = b.CFrame:inverse() * a.CFrame
  363. weldd.Parent = a
  364. return weldd
  365. end
  366.  
  367.  
  368. function QuaternionFromCFrame(cf)
  369. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  370. local trace = m00 + m11 + m22
  371. if trace > 0 then
  372. local s = math.sqrt(1 + trace)
  373. local recip = 0.5 / s
  374. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  375. else
  376. local i = 0
  377. if m11 > m00 then
  378. i = 1
  379. end
  380. if m22 > (i == 0 and m00 or m11) then
  381. i = 2
  382. end
  383. if i == 0 then
  384. local s = math.sqrt(m00 - m11 - m22 + 1)
  385. local recip = 0.5 / s
  386. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  387. elseif i == 1 then
  388. local s = math.sqrt(m11 - m22 - m00 + 1)
  389. local recip = 0.5 / s
  390. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  391. elseif i == 2 then
  392. local s = math.sqrt(m22 - m00 - m11 + 1)
  393. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  394. end
  395. end
  396. end
  397.  
  398. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  399. local xs, ys, zs = x + x, y + y, z + z
  400. local wx, wy, wz = w * xs, w * ys, w * zs
  401. local xx = x * xs
  402. local xy = x * ys
  403. local xz = x * zs
  404. local yy = y * ys
  405. local yz = y * zs
  406. local zz = z * zs
  407. 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))
  408. end
  409.  
  410. function QuaternionSlerp(a, b, t)
  411. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  412. local startInterp, finishInterp;
  413. if cosTheta >= 0.0001 then
  414. if (1 - cosTheta) > 0.0001 then
  415. local theta = ACOS(cosTheta)
  416. local invSinTheta = 1 / SIN(theta)
  417. startInterp = SIN((1 - t) * theta) * invSinTheta
  418. finishInterp = SIN(t * theta) * invSinTheta
  419. else
  420. startInterp = 1 - t
  421. finishInterp = t
  422. end
  423. else
  424. if (1 + cosTheta) > 0.0001 then
  425. local theta = ACOS(-cosTheta)
  426. local invSinTheta = 1 / SIN(theta)
  427. startInterp = SIN((t - 1) * theta) * invSinTheta
  428. finishInterp = SIN(t * theta) * invSinTheta
  429. else
  430. startInterp = t - 1
  431. finishInterp = t
  432. end
  433. end
  434. 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
  435. end
  436.  
  437. function Clerp(a, b, t)
  438. local qa = {QuaternionFromCFrame(a)}
  439. local qb = {QuaternionFromCFrame(b)}
  440. local ax, ay, az = a.x, a.y, a.z
  441. local bx, by, bz = b.x, b.y, b.z
  442. local _t = 1 - t
  443. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  444. end
  445.  
  446. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  447. local frame = IT("Frame")
  448. frame.BackgroundTransparency = TRANSPARENCY
  449. frame.BorderSizePixel = BORDERSIZEPIXEL
  450. frame.Position = POSITION
  451. frame.Size = SIZE
  452. frame.BackgroundColor3 = COLOR
  453. frame.BorderColor3 = BORDERCOLOR
  454. frame.Name = NAME
  455. frame.Parent = PARENT
  456. return frame
  457. end
  458.  
  459. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  460. local label = IT("TextLabel")
  461. label.BackgroundTransparency = 1
  462. label.Size = UD2(1, 0, 1, 0)
  463. label.Position = UD2(0, 0, 0, 0)
  464. label.TextColor3 = TEXTCOLOR
  465. label.TextStrokeTransparency = STROKETRANSPARENCY
  466. label.TextTransparency = TRANSPARENCY
  467. label.FontSize = TEXTFONTSIZE
  468. label.Font = TEXTFONT
  469. label.BorderSizePixel = BORDERSIZEPIXEL
  470. label.TextScaled = false
  471. label.Text = TEXT
  472. label.Name = NAME
  473. label.Parent = PARENT
  474. return label
  475. end
  476.  
  477. function NoOutlines(PART)
  478. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  479. end
  480.  
  481. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  482. local NEWWELD = IT(TYPE)
  483. NEWWELD.Part0 = PART0
  484. NEWWELD.Part1 = PART1
  485. NEWWELD.C0 = C0
  486. NEWWELD.C1 = C1
  487. NEWWELD.Parent = PARENT
  488. return NEWWELD
  489. end
  490.  
  491. local S = IT("Sound")
  492. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  493. local NEWSOUND = nil
  494. coroutine.resume(coroutine.create(function()
  495. NEWSOUND = S:Clone()
  496. NEWSOUND.Parent = PARENT
  497. NEWSOUND.Volume = VOLUME
  498. NEWSOUND.Pitch = PITCH
  499. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  500. NEWSOUND:play()
  501. if DOESLOOP == true then
  502. NEWSOUND.Looped = true
  503. else
  504. repeat wait(1) until NEWSOUND.Playing == false
  505. NEWSOUND:remove()
  506. end
  507. end))
  508. return NEWSOUND
  509. end
  510.  
  511. function CFrameFromTopBack(at, top, back)
  512. local right = top:Cross(back)
  513. 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)
  514. end
  515.  
  516. --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})
  517. function WACKYEFFECT(Table)
  518. local TYPE = (Table.EffectType or "Sphere")
  519. local SIZE = (Table.Size or VT(1,1,1))
  520. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  521. local TRANSPARENCY = (Table.Transparency or 0)
  522. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  523. local CFRAME = (Table.CFrame or Torso.CFrame)
  524. local MOVEDIRECTION = (Table.MoveToPos or nil)
  525. local ROTATION1 = (Table.RotationX or 0)
  526. local ROTATION2 = (Table.RotationY or 0)
  527. local ROTATION3 = (Table.RotationZ or 0)
  528. local MATERIAL = (Table.Material or "Neon")
  529. local COLOR = (Table.Color or C3(1,1,1))
  530. local TIME = (Table.Time or 45)
  531. local SOUNDID = (Table.SoundID or nil)
  532. local SOUNDPITCH = (Table.SoundPitch or nil)
  533. local SOUNDVOLUME = (Table.SoundVolume or nil)
  534. coroutine.resume(coroutine.create(function()
  535. local PLAYSSOUND = false
  536. local SOUND = nil
  537. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  538. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  539. PLAYSSOUND = true
  540. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  541. end
  542. EFFECT.Color = COLOR
  543. local MSH = nil
  544. if TYPE == "Sphere" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  546. elseif TYPE == "Block" then
  547. MSH = IT("BlockMesh",EFFECT)
  548. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  549. elseif TYPE == "Wave" then
  550. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  551. elseif TYPE == "Ring" then
  552. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  553. elseif TYPE == "Slash" then
  554. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  555. elseif TYPE == "Round Slash" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  557. elseif TYPE == "Swirl" then
  558. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  559. elseif TYPE == "Skull" then
  560. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  561. elseif TYPE == "Crystal" then
  562. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  563. end
  564. if MSH ~= nil then
  565. local MOVESPEED = nil
  566. if MOVEDIRECTION ~= nil then
  567. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  568. end
  569. local GROWTH = SIZE - ENDSIZE
  570. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  571. if TYPE == "Block" then
  572. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  573. else
  574. EFFECT.CFrame = CFRAME
  575. end
  576. for LOOP = 1, TIME+1 do
  577. Swait()
  578. MSH.Scale = MSH.Scale - GROWTH/TIME
  579. if TYPE == "Wave" then
  580. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  581. end
  582. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  583. if TYPE == "Block" then
  584. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  585. else
  586. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  587. end
  588. if MOVEDIRECTION ~= nil then
  589. local ORI = EFFECT.Orientation
  590. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  591. EFFECT.Orientation = ORI
  592. end
  593. end
  594. if PLAYSSOUND == false then
  595. EFFECT:remove()
  596. else
  597. repeat Swait() until SOUND.Playing == false
  598. EFFECT:remove()
  599. end
  600. else
  601. if PLAYSSOUND == false then
  602. EFFECT:remove()
  603. else
  604. repeat Swait() until SOUND.Playing == false
  605. EFFECT:remove()
  606. end
  607. end
  608. end))
  609. end
  610.  
  611. function MakeForm(PART,TYPE)
  612. if TYPE == "Cyl" then
  613. local MSH = IT("CylinderMesh",PART)
  614. elseif TYPE == "Ball" then
  615. local MSH = IT("SpecialMesh",PART)
  616. MSH.MeshType = "Sphere"
  617. elseif TYPE == "Wedge" then
  618. local MSH = IT("SpecialMesh",PART)
  619. MSH.MeshType = "Wedge"
  620. end
  621. end
  622.  
  623. Debris = game:GetService("Debris")
  624.  
  625. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  626. local DIRECTION = CF(StartPos,EndPos).lookVector
  627. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  628. end
  629.  
  630. function CharacterFade(COLOR,TIMER)
  631. coroutine.resume(coroutine.create(function()
  632. local FADE = IT("Model",Effects)
  633. for _, c in pairs(Character:GetChildren()) do
  634. if c.ClassName == "Part" and c ~= RootPart then
  635. local FADER = c:Clone()
  636. FADER.Color = COLOR
  637. FADER.CFrame = c.CFrame
  638. FADER.Parent = FADE
  639. FADER.Anchored = true
  640. FADER.Transparency = 0.25
  641. FADER:BreakJoints()
  642. FADER.Material = "Glass"
  643. FADER:ClearAllChildren()
  644. if FADER.Name == "Head" then
  645. FADER.Size = VT(1,1,1)
  646. end
  647. end
  648. end
  649. local TRANS = 0.75/TIMER
  650. for i = 1, TIMER do
  651. Swait()
  652. for _, c in pairs(FADE:GetChildren()) do
  653. if c.ClassName == "Part" then
  654. c.Transparency = c.Transparency + TRANS
  655. end
  656. end
  657. end
  658. FADE:remove()
  659. end))
  660. end
  661.  
  662. local PE=Instance.new("ParticleEmitter")
  663. PE.LightEmission=0.3
  664. PE.Size=NumberSequence.new(0)
  665. PE.Transparency=NumberSequence.new(0,1)
  666. PE.Rotation=NumberRange.new(0,360)
  667. PE.LockedToPart = false
  668. PE.Speed = NumberRange.new(0,0,0)
  669. PE.ZOffset = 0.3
  670. PE.Rate = 999
  671. PE.VelocitySpread = 25
  672. PE.Name = "Particles"
  673.  
  674. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  675. local particle = nil
  676. coroutine.resume(coroutine.create(function(PART)
  677. particle = PE:Clone()
  678. Swait()
  679. particle.Rate = 999
  680. particle.Parent = art
  681. particle.Acceleration = accel
  682. if type == "Fire" then
  683. local EyeSizes={
  684. NumberSequenceKeypoint.new(0,size,size/2),
  685. NumberSequenceKeypoint.new(1,size/4,size/8)
  686. }
  687. particle.Size = NumberSequence.new(EyeSizes)
  688. elseif type == "Smoke" then
  689. local EyeSizes={
  690. NumberSequenceKeypoint.new(0,size/5,0),
  691. NumberSequenceKeypoint.new(1,size*2,0.5)
  692. }
  693. particle.Size = NumberSequence.new(EyeSizes)
  694. elseif type == "Solid" then
  695. local EyeSizes={
  696. NumberSequenceKeypoint.new(0,size,0),
  697. NumberSequenceKeypoint.new(1,size,0)
  698. }
  699. particle.Size = NumberSequence.new(EyeSizes)
  700. end
  701. particle.Lifetime=NumberRange.new(lifetime)
  702. particle.Drag = drag
  703. if locked == true then
  704. particle.LockedToPart = true
  705. end
  706. particle.Speed = NumberRange.new(speed*0.8,speed)
  707. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  708. particle.Enabled = isenabledbydefault
  709. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  710. end))
  711. return particle
  712. end
  713.  
  714. --//=================================\\
  715. --|| RAGDOLL STUFF
  716. --\\=================================//
  717.  
  718. function recurse(root,callback,i)
  719. i= i or 0
  720. for _,v in pairs(root:GetChildren()) do
  721. i = i + 1
  722. callback(i,v)
  723.  
  724. if #v:GetChildren() > 0 then
  725. i = recurse(v,callback,i)
  726. end
  727. end
  728.  
  729. return i
  730. end
  731.  
  732. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  733. attachmentName = attachmentName.."RigAttachment"
  734. local constraint = Instance.new(className.."Constraint")
  735. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  736. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  737. constraint.Name = "RagdollConstraint"..part1.Name
  738.  
  739. for _,propertyData in next,properties or {} do
  740. constraint[propertyData[1]] = propertyData[2]
  741. end
  742.  
  743. constraint.Parent = character
  744. end
  745.  
  746. function getAttachment0(character, attachmentName)
  747. for _,child in next,character:GetChildren() do
  748. local attachment = child:FindFirstChild(attachmentName)
  749. if attachment then
  750. return attachment
  751. end
  752. end
  753. end
  754.  
  755. function ArtificialHitbox(Part)
  756. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Pearl", "Hitbox", Part.Size/2, false)
  757. HITBOX.CanCollide = true
  758. HITBOX.CFrame = Part.CFrame
  759. weldBetween(Part,HITBOX)
  760. end
  761.  
  762. function R15Ragdoll(character,KeepArms)
  763. character:BreakJoints()
  764. coroutine.resume(coroutine.create(function()
  765. recurse(character, function(_,v)
  766. if v:IsA("Attachment") then
  767. v.Axis = Vector3.new(0, 1, 0)
  768. v.SecondaryAxis = Vector3.new(0, 0, 1)
  769. v.Rotation = Vector3.new(0, 0, 0)
  770. end
  771. end)
  772. for _,child in next,character:GetChildren() do
  773. if child:IsA("Accoutrement") then
  774. for _,part in next,child:GetChildren() do
  775. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  776. local attachment1 = part:FindFirstChildOfClass("Attachment")
  777. local attachment0 = getAttachment0(character,attachment1.Name)
  778. if attachment0 and attachment1 then
  779. local constraint = Instance.new("HingeConstraint")
  780. constraint.Attachment0 = attachment0
  781. constraint.Attachment1 = attachment1
  782. constraint.LimitsEnabled = true
  783. constraint.UpperAngle = 0
  784. constraint.LowerAngle = 0
  785. constraint.Parent = character
  786. end
  787. ArtificialHitbox(part)
  788. elseif part.Name == "HumanoidRootPart" then
  789. part:remove()
  790. end
  791. end
  792. end
  793. end
  794.  
  795. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  796. {"LimitsEnabled",true};
  797. {"UpperAngle",5};
  798. })
  799. if character:FindFirstChild("Head") then
  800. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  801. {"LimitsEnabled",true};
  802. {"UpperAngle",15};
  803. })
  804. end
  805.  
  806. local handProperties = {
  807. {"LimitsEnabled", true};
  808. {"UpperAngle",0};
  809. {"LowerAngle",0};
  810. }
  811. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  812. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  813.  
  814. local shinProperties = {
  815. {"LimitsEnabled", true};
  816. {"UpperAngle", 0};
  817. {"LowerAngle", -75};
  818. }
  819. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  820. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  821.  
  822. local footProperties = {
  823. {"LimitsEnabled", true};
  824. {"UpperAngle", 15};
  825. {"LowerAngle", -45};
  826. }
  827. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  828. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  829. if KeepArms == true then
  830. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  831. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  832. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  833. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  834. end
  835. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  836. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  837. Debris:AddItem(character,5)
  838. end))
  839. end
  840.  
  841. function Ragdoll(Character2,CharTorso,KeepArms)
  842. coroutine.resume(coroutine.create(function()
  843. Character2:BreakJoints()
  844. local hum = Character2:findFirstChild("Humanoid")
  845. hum:remove()
  846. local function Scan(ch)
  847. local e
  848. for e = 1,#ch do
  849. Scan(ch[e]:GetChildren())
  850. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  851. ch[e]:remove()
  852. end
  853. end
  854. end
  855. local NEWHUM = IT("Humanoid")
  856. NEWHUM.Name = "Corpse"
  857. NEWHUM.Health = 0
  858. NEWHUM.MaxHealth = 0
  859. NEWHUM.PlatformStand = true
  860. NEWHUM.Parent = Character2
  861. NEWHUM.DisplayDistanceType = "None"
  862.  
  863. local ch = Character2:GetChildren()
  864. local i
  865. for i = 1,#ch do
  866. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  867. ch[i]:remove()
  868. end
  869. end
  870.  
  871. local Torso2 = Character2.Torso
  872. local movevector = Vector3.new()
  873.  
  874. if Torso2 then
  875. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  876. local Head = Character2:FindFirstChild("Head")
  877. if Head then
  878. local Neck = Instance.new("Weld")
  879. Neck.Name = "Neck"
  880. Neck.Part0 = Torso2
  881. Neck.Part1 = Head
  882. Neck.C0 = CFrame.new(0, 1.5, 0)
  883. Neck.C1 = CFrame.new()
  884. Neck.Parent = Torso2
  885.  
  886. end
  887. local Limb = Character2:FindFirstChild("Right Arm")
  888. if Limb and KeepArms == true then
  889.  
  890. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  891. local Joint = Instance.new("Glue")
  892. Joint.Name = "RightShoulder"
  893. Joint.Part0 = Torso2
  894. Joint.Part1 = Limb
  895. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  896. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  897. Joint.Parent = Torso2
  898.  
  899. local B = Instance.new("Part")
  900. B.TopSurface = 0
  901. B.BottomSurface = 0
  902. B.formFactor = "Symmetric"
  903. B.Size = Vector3.new(1, 1, 1)
  904. B.Transparency = 1
  905. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  906. B.Parent = Character2
  907. local W = Instance.new("Weld")
  908. W.Part0 = Limb
  909. W.Part1 = B
  910. W.C0 = CFrame.new(0, -0.5, 0)
  911. W.Parent = Limb
  912.  
  913. end
  914. local Limb = Character2:FindFirstChild("Left Arm")
  915. if Limb and KeepArms == true then
  916.  
  917. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  918. local Joint = Instance.new("Glue")
  919. Joint.Name = "LeftShoulder"
  920. Joint.Part0 = Torso2
  921. Joint.Part1 = Limb
  922. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  923. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  924. Joint.Parent = Torso2
  925.  
  926. local B = Instance.new("Part")
  927. B.TopSurface = 0
  928. B.BottomSurface = 0
  929. B.formFactor = "Symmetric"
  930. B.Size = Vector3.new(1, 1, 1)
  931. B.Transparency = 1
  932. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  933. B.Parent = Character2
  934. local W = Instance.new("Weld")
  935. W.Part0 = Limb
  936. W.Part1 = B
  937. W.C0 = CFrame.new(0, -0.5, 0)
  938. W.Parent = Limb
  939.  
  940. end
  941. local Limb = Character2:FindFirstChild("Right Leg")
  942. if Limb then
  943.  
  944. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  945. local Joint = Instance.new("Glue")
  946. Joint.Name = "RightHip"
  947. Joint.Part0 = Torso2
  948. Joint.Part1 = Limb
  949. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  950. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  951. Joint.Parent = Torso2
  952.  
  953. local B = Instance.new("Part")
  954. B.TopSurface = 0
  955. B.BottomSurface = 0
  956. B.formFactor = "Symmetric"
  957. B.Size = Vector3.new(1, 1, 1)
  958. B.Transparency = 1
  959. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  960. B.Parent = Character2
  961. local W = Instance.new("Weld")
  962. W.Part0 = Limb
  963. W.Part1 = B
  964. W.C0 = CFrame.new(0, -0.5, 0)
  965. W.Parent = Limb
  966.  
  967. end
  968. local Limb = Character2:FindFirstChild("Left Leg")
  969. if Limb then
  970.  
  971. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  972. local Joint = Instance.new("Glue")
  973. Joint.Name = "LeftHip"
  974. Joint.Part0 = Torso2
  975. Joint.Part1 = Limb
  976. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  977. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  978. Joint.Parent = Torso2
  979.  
  980. local B = Instance.new("Part")
  981. B.TopSurface = 0
  982. B.BottomSurface = 0
  983. B.formFactor = "Symmetric"
  984. B.Size = Vector3.new(1, 1, 1)
  985. B.Transparency = 1
  986. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  987. B.Parent = Character2
  988. local W = Instance.new("Weld")
  989. W.Part0 = Limb
  990. W.Part1 = B
  991. W.C0 = CFrame.new(0, -0.5, 0)
  992. W.Parent = Limb
  993.  
  994. end
  995. --[
  996. local Bar = Instance.new("Part")
  997. Bar.TopSurface = 0
  998. Bar.BottomSurface = 0
  999. Bar.formFactor = "Symmetric"
  1000. Bar.Size = Vector3.new(1, 1, 1)
  1001. Bar.Transparency = 1
  1002. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1003. Bar.Parent = Character2
  1004. local Weld = Instance.new("Weld")
  1005. Weld.Part0 = Torso2
  1006. Weld.Part1 = Bar
  1007. Weld.C0 = CFrame.new(0, 0.5, 0)
  1008. Weld.Parent = Torso2
  1009. --]]
  1010. end
  1011. Character2.Parent = workspace
  1012. Debris:AddItem(Character2,5)
  1013.  
  1014. return Character2,Torso2
  1015. end))
  1016. end
  1017.  
  1018. --//=================================\\
  1019. --|| WEAPON CREATION
  1020. --\\=================================//
  1021.  
  1022. local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
  1023. DUST.ZOffset = 1
  1024. RightArm.Transparency = 1
  1025. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "Part", VT(1,2,1),false)
  1026. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1027. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "Part", VT(1.4,1.4,1.4),false)
  1028. MakeForm(Sphere,"Ball")
  1029. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1030. local LaserPart = CreatePart(3, Weapon, "Metal", 0, 0, "Magenta", "Part", VT(0.3,0.3,0.1),false)
  1031. MakeForm(LaserPart,"Ball")
  1032. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1033. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "Part", VT(0.3,0.3,0.2),false)
  1034. MakeForm(Bump,"Ball")
  1035. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1036. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0.4,0,0.4),false)
  1037. MakeForm(BottomLaser,"Cyl")
  1038. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1039. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.5,0.5),false)
  1040. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1041. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.5,0.5),false)
  1042. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  1043. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.5,0.5),false)
  1044. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  1045. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.56,0.5),false)
  1046. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  1047. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.56,0.5),false)
  1048. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  1049. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.25,0.5),false)
  1050. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  1051. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(0,0.3,0.5),false)
  1052. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  1053. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(1.4,0,1.4),false)
  1054. MakeForm(Part,"Cyl")
  1055. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1056. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Magenta", "Part", VT(1.4,0,1.4),false)
  1057. MakeForm(Part,"Cyl")
  1058. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1059. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "Part", VT(0.3,1.6,0.7),false)
  1060. MakeForm(Sphere,"Ball")
  1061. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1062.  
  1063. for _, c in pairs(Weapon:GetChildren()) do
  1064. if c.ClassName == "Part" then
  1065. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1066. end
  1067. end
  1068.  
  1069. local SKILLTEXTCOLOR = C3(1,0,0)
  1070. local SKILLFONT = "SciFi"
  1071. local SKILLTEXTSIZE = 5
  1072.  
  1073. Weapon.Parent = Character
  1074.  
  1075. Humanoid.Died:connect(function()
  1076. ATTACK = true
  1077. end)
  1078.  
  1079. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1080. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1081. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1082. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1083. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1084. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1085.  
  1086. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1087. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1088. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1089. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1090. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1091. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1092.  
  1093. --//=================================\\
  1094. --|| ATTACK FUNCTIONS AND STUFF
  1095. --\\=================================//
  1096.  
  1097. function Warp()
  1098. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1099. if HITFLOOR then
  1100. CharacterFade(C3(0.5,0,0),50)
  1101. HITPOS = HITPOS + VT(0,3.5,0)
  1102. local POS = RootPart.Position
  1103. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1104. CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
  1105. end
  1106. end
  1107.  
  1108. function Dash()
  1109. ATTACK = true
  1110. Rooted = true
  1111. local SOUND = CreateSound(1165167610, Torso, 1, 1, true)
  1112. local LOOP = 0
  1113. repeat
  1114. LOOP = LOOP + 1
  1115. Swait()
  1116. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)
  1117. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
  1118. if HITFLOOR then
  1119. CharacterFade(C3(0.5,0,0),35)
  1120. HITPOS = HITPOS + VT(0,3.5,0)
  1121. local POS = RootPart.Position
  1122. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1123. RootPart.Velocity = VT(0,0,0)
  1124. RootPart.RotVelocity = VT(0,0,0)
  1125. end
  1126. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
  1127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1130. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1132. until KEYHOLD == false
  1133. coroutine.resume(coroutine.create(function()
  1134. for i = 1, 20 do
  1135. Swait()
  1136. SOUND.Volume = SOUND.Volume - 1/20
  1137. end
  1138. SOUND:remove()
  1139. end))
  1140. if LOOP > 50 then
  1141. CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false)
  1142. for i = 1, 100 do
  1143. Swait()
  1144. RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
  1145. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1146. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1151. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1153. end
  1154. end
  1155. ATTACK = false
  1156. Rooted = false
  1157. end
  1158.  
  1159. function LimbRip()
  1160. ATTACK = true
  1161. Rooted = false
  1162. local TARGET = nil
  1163. local ROOT = nil
  1164. local HUMAN = nil
  1165. local DIST = 4
  1166. Speed = 12
  1167. for i=0, 1, 0.1 / Animation_Speed do
  1168. Swait()
  1169. local CHILDREN = workspace:GetDescendants()
  1170. for index, CHILD in pairs(CHILDREN) do
  1171. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1172. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1173. if HUM then
  1174. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1175. if TORSO and HUM.Health > 0 then
  1176. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  1177. DIST = (TORSO.Position - RightArm.Position).Magnitude
  1178. ROOT = TORSO
  1179. HUMAN = HUM
  1180. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1181. end
  1182. end
  1183. end
  1184. end
  1185. end
  1186. if ROOT then
  1187. break
  1188. end
  1189. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1193. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1194. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1195. end
  1196. Speed = 16
  1197. if ROOT then
  1198. CreateSound(305685800,Torso,5,1.3,false)
  1199. Rooted = true
  1200. local GORED = false
  1201. coroutine.resume(coroutine.create(function()
  1202. repeat
  1203. Swait()
  1204. ROOT.Anchored = true
  1205. until GORED == true
  1206. ROOT.Anchored = false
  1207. end))
  1208. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
  1209. if TARGET.Name == "Torso" then
  1210. local RARM = TARGET.Parent:FindFirstChild("Right Arm")
  1211. local LARM = TARGET.Parent:FindFirstChild("Left Arm")
  1212. if RARM and LARM then
  1213. for i=0, 1, 0.1 / Animation_Speed do
  1214. Swait()
  1215. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1218. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1219. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1221. end
  1222. for _, c in pairs(TARGET.Parent:GetDescendants()) do
  1223. if c:IsA("JointInstance") then
  1224. if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
  1225. c:remove()
  1226. end
  1227. end
  1228. end
  1229. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1230. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1231. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1232. for i=0, 1, 0.1 / Animation_Speed do
  1233. Swait()
  1234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1238. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1239. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1240. end
  1241. for i=0, 1, 0.1 / Animation_Speed do
  1242. Swait()
  1243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  1244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  1248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. end
  1250. for i=0, 0.1, 0.1 / Animation_Speed do
  1251. Swait()
  1252. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1253. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1254. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1255. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1256. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1257. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1258. end
  1259. GORED = true
  1260. Ragdoll(TARGET.Parent,Torso)
  1261. if ROOT.Name ~= "Torso" then
  1262. ROOT:remove()
  1263. end
  1264. local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1265. local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1266. local bv = Instance.new("BodyVelocity",TARGET)
  1267. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1268. bv.velocity = TARGET.CFrame.lookVector*75
  1269. Debris:AddItem(bv,0.05)
  1270. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  1271. for i=0, 0.5, 0.1 / Animation_Speed do
  1272. Swait()
  1273. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1274. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. end
  1280. for i=0, 1, 0.1 / Animation_Speed do
  1281. Swait()
  1282. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  1286. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1287. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1288. end
  1289. local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Pearl", "Part", RARM.Size, false)
  1290. HITBOX.CFrame = RARM.CFrame
  1291. HITBOX.CanCollide = true
  1292. weldBetween(RARM,HITBOX)
  1293. local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Pearl", "Part", RARM.Size, false)
  1294. HITBOX.CFrame = LARM.CFrame
  1295. HITBOX.CanCollide = true
  1296. weldBetween(LARM,HITBOX)
  1297. RGRAB:remove()
  1298. LGRAB:remove()
  1299. for i=0, 0.4, 0.1 / Animation_Speed do
  1300. Swait()
  1301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1305. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1306. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1307. end
  1308. end
  1309. elseif TARGET.Name == "UpperTorso" then
  1310. if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
  1311. for i=0, 0.3, 0.1 / Animation_Speed do
  1312. Swait()
  1313. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1314. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1315. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1316. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1317. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1319. end
  1320. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Magenta", "Part", VT(0,0,0),false)
  1321. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1322. local BLADE = true
  1323. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
  1324. coroutine.resume(coroutine.create(function()
  1325. repeat
  1326. Swait()
  1327. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  1328. until BLADE == false
  1329. SAWBLADE:remove()
  1330. end))
  1331. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  1332. for i=0, 1, 0.1 / Animation_Speed do
  1333. Swait()
  1334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1336. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1337. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1338. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1339. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1340. end
  1341. for i=0, 3, 0.1 / Animation_Speed do
  1342. Swait()
  1343. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1345. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1346. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1347. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1348. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1349. end
  1350. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1351. TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
  1352. for i=0, 1, 0.1 / Animation_Speed do
  1353. Swait()
  1354. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1358. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1359. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1360. end
  1361. for i=0, 3, 0.1 / Animation_Speed do
  1362. Swait()
  1363. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1369. end
  1370. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1371. TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
  1372. BLADE = false
  1373. for i=0, 0.5, 0.1 / Animation_Speed do
  1374. Swait()
  1375. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  1376. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1377. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1378. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1379. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  1380. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1381. end
  1382. for i=0, 0.1, 0.1 / Animation_Speed do
  1383. Swait()
  1384. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1385. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1386. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1387. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1388. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1389. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1390. end
  1391. GORED = true
  1392. TARGET.Parent:BreakJoints()
  1393. R15Ragdoll(TARGET.Parent)
  1394. if ROOT.Name ~= "Torso" then
  1395. ROOT:remove()
  1396. end
  1397. local bv = Instance.new("BodyVelocity",TARGET)
  1398. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1399. bv.velocity = TARGET.CFrame.lookVector*75
  1400. Debris:AddItem(bv,0.05)
  1401. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  1402. for i=0, 0.3, 0.1 / Animation_Speed do
  1403. Swait()
  1404. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1405. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1406. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1407. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1408. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1409. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1410. end
  1411. end
  1412. end
  1413. end
  1414. ATTACK = false
  1415. Rooted = false
  1416. end
  1417.  
  1418. function Buzzsaw()
  1419. ATTACK = true
  1420. Rooted = false
  1421. local ARMSPEED = 0.1
  1422. local TARGET = nil
  1423. local ROOT = nil
  1424. local HUMAN = nil
  1425. local DIST = 4
  1426. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Magenta", "Part", VT(0,0,0),false)
  1427. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1428. local BLADE = true
  1429. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  1430. coroutine.resume(coroutine.create(function()
  1431. repeat
  1432. Swait()
  1433. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  1434. until BLADE == false
  1435. SAWBLADE:remove()
  1436. end))
  1437. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  1438. for i=0, 1, 0.1 / Animation_Speed do
  1439. Swait()
  1440. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1441. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1442. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1443. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1444. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1445. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. end
  1447. for i=0, 2, 0.1 / Animation_Speed do
  1448. Swait()
  1449. local CHILDREN = workspace:GetDescendants()
  1450. for index, CHILD in pairs(CHILDREN) do
  1451. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1452. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1453. if HUM then
  1454. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1455. if TORSO and HUM.Health > 0 then
  1456. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  1457. DIST = (TORSO.Position - RightArm.Position).Magnitude
  1458. ROOT = TORSO
  1459. HUMAN = HUM
  1460. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1461. end
  1462. end
  1463. end
  1464. end
  1465. end
  1466. if ROOT then
  1467. break
  1468. end
  1469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1475. end
  1476. if ROOT then
  1477. ARMSPEED = 0.03
  1478. Rooted = true
  1479. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  1480. repeat
  1481. HUMAN.Health = HUMAN.Health - 0.5
  1482. Swait()
  1483. ROOT.Anchored = true
  1484. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1488. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1490. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  1491. ROOT.Anchored = false
  1492. if HUMAN.Health == 0 then
  1493. if ROOT.Name ~= "Torso" then
  1494. ROOT:remove()
  1495. end
  1496. if TARGET.Name == "Torso" then
  1497. Ragdoll(HUMAN.Parent,Torso,true)
  1498. elseif TARGET.Name == "UpperTorso" then
  1499. R15Ragdoll(HUMAN.Parent,true)
  1500. end
  1501. end
  1502. end
  1503. BLADE = false
  1504. ATTACK = false
  1505. Rooted = false
  1506. end
  1507.  
  1508. function ReeeEEEEEE()
  1509. ATTACK = true
  1510. Rooted = false
  1511. Speed = 12
  1512. local FX = CreateSound(176238381, Head, 4, 1, false)
  1513. repeat
  1514. Swait()
  1515. FX.Parent = Head
  1516. local CHILDREN = workspace:GetDescendants()
  1517. for index, CHILD in pairs(CHILDREN) do
  1518. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1519. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1520. if HUM then
  1521. local TORSO = CHILD:FindFirstChild("Head")
  1522. if TORSO then
  1523. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1524. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1525. TORSO:remove()
  1526. if CHILD:FindFirstChild("Torso") then
  1527. Ragdoll(CHILD,Torso,true)
  1528. elseif CHILD:FindFirstChild("UpperTorso") then
  1529. R15Ragdoll(CHILD,true)
  1530. end
  1531. end
  1532. end
  1533. end
  1534. end
  1535. end
  1536. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1537. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1539. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1540. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1542. until FX.Playing == false
  1543. Speed = 16
  1544. ATTACK = false
  1545. Rooted = false
  1546. end
  1547.  
  1548. function Needle()
  1549. ATTACK = true
  1550. Rooted = true
  1551. local GYRO = IT("BodyGyro",RootPart)
  1552. GYRO.D = 2
  1553. GYRO.P = 2000
  1554. GYRO.MaxTorque = VT(0,4000000,0)
  1555. local NEEDGYRO = true
  1556. coroutine.resume(coroutine.create(function()
  1557. repeat
  1558. Swait()
  1559. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1560. until NEEDGYRO == false
  1561. GYRO:Remove()
  1562. end))
  1563. for i=0, 0.3, 0.1 / Animation_Speed do
  1564. Swait()
  1565. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1566. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1567. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1569. 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)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. end
  1572. for i=0, 1, 0.1 / Animation_Speed do
  1573. Swait()
  1574. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  1576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1578. 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)
  1579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1580. end
  1581. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  1582. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
  1583. NEEDGYRO = false
  1584. if HIT then
  1585. local NEEDLE = IT("Model",Effects)
  1586. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  1587. MakeForm(BASE,"Cyl")
  1588. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  1589. weldBetween(BASE,HIT)
  1590. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  1591. MakeForm(FLUID,"Cyl")
  1592. FLUID.CFrame = BASE.CFrame
  1593. weldBetween(BASE,FLUID)
  1594. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  1595. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  1596. weldBetween(BASE,PART)
  1597. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  1598. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  1599. weldBetween(BASE,PART)
  1600. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  1601. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  1602. weldBetween(BASE,PART)
  1603. Debris:AddItem(NEEDLE,7)
  1604. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1605. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  1606. coroutine.resume(coroutine.create(function()
  1607. for i = 1, 500 do
  1608. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  1609. if HUMAN.Health == 0 then
  1610. break
  1611. end
  1612. Swait(2)
  1613. end
  1614. if HUMAN.Health == 0 then
  1615. local CHILD = HUMAN.Parent
  1616. if CHILD:FindFirstChild("Torso") then
  1617. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  1618. Ragdoll(CHILD,Torso,true)
  1619. elseif CHILD:FindFirstChild("UpperTorso") then
  1620. R15Ragdoll(CHILD,true)
  1621. end
  1622. end
  1623. end))
  1624. end
  1625. end
  1626. for i=0, 1, 0.1 / Animation_Speed do
  1627. Swait()
  1628. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1629. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  1630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1631. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1632. 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)
  1633. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1634. end
  1635. ATTACK = false
  1636. Rooted = false
  1637. end
  1638.  
  1639. function ScrewThis()
  1640. ATTACK = true
  1641. Rooted = true
  1642. local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Magenta", "Part", VT(2, 0.4, 0.4)/2,false)
  1643. SCREW.CanCollide = true
  1644. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1645. CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
  1646. for i=0, 0.4, 0.1 / Animation_Speed do
  1647. Swait()
  1648. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1649. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  1650. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1651. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1652. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1654. end
  1655. SCREW.Transparency = 0
  1656. for i=0, 0.1, 0.1 / Animation_Speed do
  1657. Swait()
  1658. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1659. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1660. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1661. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1662. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1663. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1664. end
  1665. for i=0, 1, 0.1 / Animation_Speed do
  1666. Swait()
  1667. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1669. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1670. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1671. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1672. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1673. end
  1674. for i = 1, 3 do
  1675. for i=0, 0.3, 0.1 / Animation_Speed do
  1676. Swait()
  1677. WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1682. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1683. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1684. end
  1685. for i=0, 1, 0.1 / Animation_Speed do
  1686. Swait()
  1687. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1691. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1692. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1693. end
  1694. end
  1695. if MRANDOM(1, 5) == 1 then
  1696. DUST:Emit(25)
  1697. WELD:remove()
  1698. CreateSound(328460122, RightArm, 3, 1, false)
  1699. SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
  1700. Debris:AddItem(SCREW,6)
  1701. for i=0, 3, 0.1 / Animation_Speed do
  1702. Swait()
  1703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1709. end
  1710. for i = 1, 3 do
  1711. for i=0, 0.35, 0.1 / Animation_Speed do
  1712. Swait()
  1713. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1714. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  1715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1717. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1718. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1719. end
  1720. for i=0, 0.35, 0.1 / Animation_Speed do
  1721. Swait()
  1722. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1723. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1724. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1725. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1726. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1727. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1728. end
  1729. end
  1730. else
  1731. for i=0, 0.5, 0.1 / Animation_Speed do
  1732. Swait()
  1733. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1734. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1737. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1738. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1739. end
  1740. WELD:remove()
  1741. for i=0, 0.15, 0.1 / Animation_Speed do
  1742. Swait()
  1743. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1745. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1746. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1747. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1748. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1749. end
  1750. Debris:AddItem(SCREW,6)
  1751. end
  1752. ATTACK = false
  1753. Rooted = false
  1754. end
  1755.  
  1756. --//=================================\\
  1757. --|| ASSIGN THINGS TO KEYS
  1758. --\\=================================//
  1759.  
  1760. function MouseDown(Mouse)
  1761. if ATTACK == false then
  1762. end
  1763. end
  1764.  
  1765. function MouseUp(Mouse)
  1766. HOLD = false
  1767. end
  1768.  
  1769. function KeyDown(Key)
  1770. KEYHOLD = true
  1771. if Key == "z" and ATTACK == false then
  1772. Warp()
  1773. end
  1774.  
  1775. if Key == "b" and ATTACK == false then
  1776. Dash()
  1777. end
  1778.  
  1779. if Key == "c" and ATTACK == false then
  1780. LimbRip()
  1781. end
  1782.  
  1783. if Key == "v" and ATTACK == false then
  1784. Buzzsaw()
  1785. end
  1786.  
  1787. if Key == "e" and ATTACK == false then
  1788. ReeeEEEEEE()
  1789. end
  1790.  
  1791. if Key == "x" and ATTACK == false then
  1792. Needle()
  1793. end
  1794.  
  1795. if Key == "t" and ATTACK == false then
  1796. ScrewThis()
  1797. end
  1798. end
  1799.  
  1800. function KeyUp(Key)
  1801. KEYHOLD = false
  1802. end
  1803.  
  1804. Mouse.Button1Down:connect(function(NEWKEY)
  1805. MouseDown(NEWKEY)
  1806. end)
  1807. Mouse.Button1Up:connect(function(NEWKEY)
  1808. MouseUp(NEWKEY)
  1809. end)
  1810. Mouse.KeyDown:connect(function(NEWKEY)
  1811. KeyDown(NEWKEY)
  1812. end)
  1813. Mouse.KeyUp:connect(function(NEWKEY)
  1814. KeyUp(NEWKEY)
  1815. end)
  1816.  
  1817. --//=================================\\
  1818. --\\=================================//
  1819.  
  1820. function AntiTimeStop()
  1821. for _, c in pairs(Character:GetChildren()) do
  1822. if c:IsA("BasePart") then
  1823. c.Anchored = false
  1824. end
  1825. end
  1826. for _, c in pairs(Weapon:GetChildren()) do
  1827. if c:IsA("BasePart") then
  1828. c.Anchored = false
  1829. end
  1830. end
  1831. end
  1832.  
  1833. --//=================================\\
  1834. --|| WRAP THE WHOLE SCRIPT UP
  1835. --\\=================================//
  1836.  
  1837. Humanoid.Changed:connect(function(Jump)
  1838. if Jump == "Jump" and (Disable_Jump == true) then
  1839. Humanoid.Jump = false
  1840. end
  1841. end)
  1842.  
  1843. local sick = IT("Sound")
  1844.  
  1845. while true do
  1846. Swait()
  1847. script.Parent = WEAPONGUI
  1848. ANIMATE.Parent = nil
  1849. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1850. v:Stop();
  1851. end
  1852. SINE = SINE + CHANGE
  1853. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1854. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1855. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1856. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1857. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1858. 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)
  1859. 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)
  1860. 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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1861. 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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1862. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1863. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1864. 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)
  1865. 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)
  1866. 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)
  1867. end
  1868. if HITFLOOR == nil then
  1869. ANIM = "Midair"
  1870. if ATTACK == false then
  1871. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1872. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1873. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1874. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1875. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1876. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1877. end
  1878. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1879. ANIM = "Idle"
  1880. if ATTACK == false then
  1881. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1882. 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)
  1883. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1884. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1885. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1886. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1887. end
  1888. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1889. ANIM = "Walk"
  1890. if ATTACK == false then
  1891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  1894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  1895. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1896. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1897. end
  1898. end
  1899. sick.SoundId = "rbxassetid://1127044692"
  1900. sick.Looped = true
  1901. sick.Pitch = 1
  1902. sick.Volume = 2.5
  1903. sick.Playing = true
  1904. sick.Parent = Effects
  1905. AntiTimeStop()
  1906. if Rooted == false then
  1907. Disable_Jump = false
  1908. Humanoid.WalkSpeed = Speed
  1909. elseif Rooted == true then
  1910. Disable_Jump = true
  1911. Humanoid.WalkSpeed = 0
  1912. end
  1913. end
  1914.  
  1915. --//=================================\\
  1916. --\\=================================//
  1917.  
  1918. --//====================================================\\--
  1919. --|| END OF SCRIPT
  1920. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement