Advertisement
omg12

Killbot

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