Advertisement
Cute_Sylveon

Killbot

Aug 5th, 2018
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.71 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,game,owner = owner,game
  7. local RealPlayer = Player
  8. do
  9. print("FE Compatibility code by Mokiros")
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130. self._btrs[name] = self.Heartbeat:Connect(fun)
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148.  
  149. CV="Maroon"
  150. Player = owner
  151. Character = Player.Character
  152. local txt = Instance.new("BillboardGui", Character)
  153. txt.Adornee = Character .Head
  154. txt.Name = "_status"
  155. txt.Size = UDim2.new(2, 0, 1.2, 0)
  156. txt.StudsOffset = Vector3.new(-9, 8, 0)
  157. local text = Instance.new("TextLabel", txt)
  158. text.Size = UDim2.new(10, 0, 7, 0)
  159. text.FontSize = "Size10"
  160. text.TextScaled = true
  161. text.TextTransparency = 0
  162. text.BackgroundTransparency = 1
  163. text.TextTransparency = 0
  164. text.TextStrokeTransparency = 0
  165. text.Font = "Fantasy"
  166. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  167.  
  168. v=Instance.new("Part")
  169. v.Name = "ColorBrick"
  170. v.Parent=Player.Character
  171. v.FormFactor="Symmetric"
  172. v.Anchored=true
  173. v.CanCollide=false
  174. v.BottomSurface="Smooth"
  175. v.TopSurface="Smooth"
  176. v.Size=Vector3.new(10,5,3)
  177. v.Transparency=1
  178. v.CFrame=Character.Torso.CFrame
  179. v.BrickColor=BrickColor.new(CV)
  180. v.Transparency=1
  181. text.TextColor3 = Color3.new(1,0,0)
  182. v.Shape="Block"
  183. text.Text = "Maniac"
  184.  
  185. -- Get the fuck away from this thing >:C
  186.  
  187. wait(0.2)
  188.  
  189. mouse = game.Players.LocalPlayer:GetMouse()
  190. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  191. if v.ClassName == "Accessory" then
  192. v:Remove()
  193. end
  194. end
  195.  
  196. Player = owner
  197. PlayerGui = Player.PlayerGui
  198. Cam = workspace.CurrentCamera
  199. Backpack = Player.Backpack
  200. Character = Player.Character
  201. Humanoid = Character.Humanoid
  202. RootPart = Character["HumanoidRootPart"]
  203. Torso = Character["Torso"]
  204. Head = Character["Head"]
  205. RightArm = Character["Right Arm"]
  206. LeftArm = Character["Left Arm"]
  207. RightLeg = Character["Right Leg"]
  208. LeftLeg = Character["Left Leg"]
  209. RootJoint = RootPart["RootJoint"]
  210. Neck = Torso["Neck"]
  211. RightShoulder = Torso["Right Shoulder"]
  212. LeftShoulder = Torso["Left Shoulder"]
  213. RightHip = Torso["Right Hip"]
  214. LeftHip = Torso["Left Hip"]
  215.  
  216. IT = Instance.new
  217. CF = CFrame.new
  218. VT = Vector3.new
  219. RAD = math.rad
  220. C3 = Color3.new
  221. UD2 = UDim2.new
  222. BRICKC = BrickColor.new
  223. ANGLES = CFrame.Angles
  224. EULER = CFrame.fromEulerAnglesXYZ
  225. COS = math.cos
  226. ACOS = math.acos
  227. SIN = math.sin
  228. ASIN = math.asin
  229. ABS = math.abs
  230. MRANDOM = math.random
  231. FLOOR = math.floor
  232.  
  233. --//=================================\\
  234. --|| USEFUL VALUES
  235. --\\=================================//
  236.  
  237. Animation_Speed = 3
  238. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  239. local Speed = 16
  240. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  241. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  242. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  243. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  244. local DAMAGEMULTIPLIER = 1
  245. local ANIM = "Idle"
  246. local ATTACK = false
  247. local EQUIPPED = false
  248. local HOLD = false
  249. local COMBO = 1
  250. local Rooted = false
  251. local SINE = 0
  252. local KEYHOLD = false
  253. local CHANGE = 2 / Animation_Speed
  254. local WALKINGANIM = false
  255. local VALUE1 = false
  256. local VALUE2 = false
  257. local ROBLOXIDLEANIMATION = IT("Animation")
  258. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  259. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  260. --ROBLOXIDLEANIMATION.Parent = Humanoid
  261. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  262. WEAPONGUI.Name = "Weapon GUI"
  263. local Weapon = IT("Model")
  264. Weapon.Name = "Adds"
  265. local Effects = IT("Folder", Weapon)
  266. Effects.Name = "Effects"
  267. local ANIMATOR = Humanoid.Animator
  268. local ANIMATE = Character.Animate
  269. local UNANCHOR = true
  270.  
  271. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  272. WEAPONGUI.Name = "BanishV3Gui"
  273. local Weapon = IT("Model")
  274. Weapon.Name = "Adds"
  275. local Effects = IT("Folder", Weapon)
  276. Effects.Name = "Effects"
  277. local ANIMATOR = Humanoid.Animator
  278. local ANIMATE = Character:FindFirstChild("Animate")
  279. local UNANCHOR = true
  280. local TOBANISH = {}
  281.  
  282. --//=================================\\
  283. --\\=================================//
  284.  
  285.  
  286. --//=================================\\
  287. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  288. --\\=================================//
  289.  
  290. ArtificialHB = Instance.new("BindableEvent", script)
  291. ArtificialHB.Name = "ArtificialHB"
  292.  
  293. script:WaitForChild("ArtificialHB")
  294.  
  295. frame = Frame_Speed
  296. tf = 0
  297. allowframeloss = false
  298. tossremainder = false
  299. lastframe = tick()
  300. script.ArtificialHB:Fire()
  301.  
  302. game:GetService("RunService").Heartbeat:connect(function(s, p)
  303. tf = tf + s
  304. if tf >= frame then
  305. if allowframeloss then
  306. script.ArtificialHB:Fire()
  307. lastframe = tick()
  308. else
  309. for i = 1, math.floor(tf / frame) do
  310. script.ArtificialHB:Fire()
  311. end
  312. lastframe = tick()
  313. end
  314. if tossremainder then
  315. tf = 0
  316. else
  317. tf = tf - frame * math.floor(tf / frame)
  318. end
  319. end
  320. end)
  321.  
  322.  
  323. Player = game:GetService("Players").LocalPlayer
  324. PlayerGui = Player.PlayerGui
  325. Cam = workspace.CurrentCamera
  326. Backpack = Player.Backpack
  327. Character = Player.Character
  328. Humanoid = Character.Humanoid
  329. Mouse = Player:GetMouse()
  330. RootPart = Character["HumanoidRootPart"]
  331. Torso = Character["Torso"]
  332. Head = Character["Head"]
  333. RightArm = Character["Right Arm"]
  334. LeftArm = Character["Left Arm"]
  335. RightLeg = Character["Right Leg"]
  336. LeftLeg = Character["Left Leg"]
  337. RootJoint = RootPart["RootJoint"]
  338. Neck = Torso["Neck"]
  339. RightShoulder = Torso["Right Shoulder"]
  340. LeftShoulder = Torso["Left Shoulder"]
  341. RightHip = Torso["Right Hip"]
  342. LeftHip = Torso["Left Hip"]
  343.  
  344. IT = Instance.new
  345. CF = CFrame.new
  346. VT = Vector3.new
  347. RAD = math.rad
  348. C3 = Color3.new
  349. UD2 = UDim2.new
  350. BRICKC = BrickColor.new
  351. ANGLES = CFrame.Angles
  352. EULER = CFrame.fromEulerAnglesXYZ
  353. COS = math.cos
  354. ACOS = math.acos
  355. SIN = math.sin
  356. ASIN = math.asin
  357. ABS = math.abs
  358. MRANDOM = math.random
  359. FLOOR = math.floor
  360.  
  361.  
  362. --//=================================\\
  363. --\\=================================//
  364.  
  365. --//=================================\\
  366. --|| SOME FUNCTIONS
  367. --\\=================================//
  368.  
  369. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  370. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  371. end
  372.  
  373. function PositiveAngle(NUMBER)
  374. if NUMBER >= 0 then
  375. NUMBER = 0
  376. end
  377. return NUMBER
  378. end
  379.  
  380. function NegativeAngle(NUMBER)
  381. if NUMBER <= 0 then
  382. NUMBER = 0
  383. end
  384. return NUMBER
  385. end
  386.  
  387. function Swait(NUMBER)
  388. if NUMBER == 0 or NUMBER == nil then
  389. ArtificialHB.Event:wait()
  390. else
  391. for i = 1, NUMBER do
  392. ArtificialHB.Event:wait()
  393. end
  394. end
  395. end
  396.  
  397. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  398. local NEWMESH = IT(MESH)
  399. if MESH == "SpecialMesh" then
  400. NEWMESH.MeshType = MESHTYPE
  401. if MESHID ~= "nil" and MESHID ~= "" then
  402. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  403. end
  404. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  405. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  406. end
  407. end
  408. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  409. NEWMESH.Scale = SCALE
  410. NEWMESH.Parent = PARENT
  411. return NEWMESH
  412. end
  413.  
  414. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  415. local NEWPART = IT("Part")
  416. NEWPART.formFactor = FORMFACTOR
  417. NEWPART.Reflectance = REFLECTANCE
  418. NEWPART.Transparency = TRANSPARENCY
  419. NEWPART.CanCollide = false
  420. NEWPART.Locked = true
  421. NEWPART.Anchored = true
  422. if ANCHOR == false then
  423. NEWPART.Anchored = false
  424. end
  425. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  426. NEWPART.Name = NAME
  427. NEWPART.Size = SIZE
  428. NEWPART.Position = Torso.Position
  429. NEWPART.Material = MATERIAL
  430. NEWPART:BreakJoints()
  431. NEWPART.Parent = PARENT
  432. return NEWPART
  433. end
  434.  
  435. local function weldBetween(a, b)
  436. local weldd = Instance.new("ManualWeld")
  437. weldd.Part0 = a
  438. weldd.Part1 = b
  439. weldd.C0 = CFrame.new()
  440. weldd.C1 = b.CFrame:inverse() * a.CFrame
  441. weldd.Parent = a
  442. return weldd
  443. end
  444.  
  445.  
  446. function QuaternionFromCFrame(cf)
  447. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  448. local trace = m00 + m11 + m22
  449. if trace > 0 then
  450. local s = math.sqrt(1 + trace)
  451. local recip = 0.5 / s
  452. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  453. else
  454. local i = 0
  455. if m11 > m00 then
  456. i = 1
  457. end
  458. if m22 > (i == 0 and m00 or m11) then
  459. i = 2
  460. end
  461. if i == 0 then
  462. local s = math.sqrt(m00 - m11 - m22 + 1)
  463. local recip = 0.5 / s
  464. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  465. elseif i == 1 then
  466. local s = math.sqrt(m11 - m22 - m00 + 1)
  467. local recip = 0.5 / s
  468. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  469. elseif i == 2 then
  470. local s = math.sqrt(m22 - m00 - m11 + 1)
  471. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  472. end
  473. end
  474. end
  475.  
  476. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  477. local xs, ys, zs = x + x, y + y, z + z
  478. local wx, wy, wz = w * xs, w * ys, w * zs
  479. local xx = x * xs
  480. local xy = x * ys
  481. local xz = x * zs
  482. local yy = y * ys
  483. local yz = y * zs
  484. local zz = z * zs
  485. 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))
  486. end
  487.  
  488. function QuaternionSlerp(a, b, t)
  489. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  490. local startInterp, finishInterp;
  491. if cosTheta >= 0.0001 then
  492. if (1 - cosTheta) > 0.0001 then
  493. local theta = ACOS(cosTheta)
  494. local invSinTheta = 1 / SIN(theta)
  495. startInterp = SIN((1 - t) * theta) * invSinTheta
  496. finishInterp = SIN(t * theta) * invSinTheta
  497. else
  498. startInterp = 1 - t
  499. finishInterp = t
  500. end
  501. else
  502. if (1 + cosTheta) > 0.0001 then
  503. local theta = ACOS(-cosTheta)
  504. local invSinTheta = 1 / SIN(theta)
  505. startInterp = SIN((t - 1) * theta) * invSinTheta
  506. finishInterp = SIN(t * theta) * invSinTheta
  507. else
  508. startInterp = t - 1
  509. finishInterp = t
  510. end
  511. end
  512. 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
  513. end
  514.  
  515. function Clerp(a, b, t)
  516. local qa = {QuaternionFromCFrame(a)}
  517. local qb = {QuaternionFromCFrame(b)}
  518. local ax, ay, az = a.x, a.y, a.z
  519. local bx, by, bz = b.x, b.y, b.z
  520. local _t = 1 - t
  521. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  522. end
  523.  
  524. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  525. local frame = IT("Frame")
  526. frame.BackgroundTransparency = TRANSPARENCY
  527. frame.BorderSizePixel = BORDERSIZEPIXEL
  528. frame.Position = POSITION
  529. frame.Size = SIZE
  530. frame.BackgroundColor3 = COLOR
  531. frame.BorderColor3 = BORDERCOLOR
  532. frame.Name = NAME
  533. frame.Parent = PARENT
  534. return frame
  535. end
  536.  
  537. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  538. local label = IT("TextLabel")
  539. label.BackgroundTransparency = 1
  540. label.Size = UD2(1, 0, 1, 0)
  541. label.Position = UD2(0, 0, 0, 0)
  542. label.TextColor3 = TEXTCOLOR
  543. label.TextStrokeTransparency = STROKETRANSPARENCY
  544. label.TextTransparency = TRANSPARENCY
  545. label.FontSize = TEXTFONTSIZE
  546. label.Font = TEXTFONT
  547. label.BorderSizePixel = BORDERSIZEPIXEL
  548. label.TextScaled = false
  549. label.Text = TEXT
  550. label.Name = NAME
  551. label.Parent = PARENT
  552. return label
  553. end
  554.  
  555. function NoOutlines(PART)
  556. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  557. end
  558.  
  559. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  560. local NEWWELD = IT(TYPE)
  561. NEWWELD.Part0 = PART0
  562. NEWWELD.Part1 = PART1
  563. NEWWELD.C0 = C0
  564. NEWWELD.C1 = C1
  565. NEWWELD.Parent = PARENT
  566. return NEWWELD
  567. end
  568.  
  569. local S = IT("Sound")
  570. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  571. local NEWSOUND = nil
  572. coroutine.resume(coroutine.create(function()
  573. NEWSOUND = S:Clone()
  574. NEWSOUND.Parent = PARENT
  575. NEWSOUND.Volume = VOLUME
  576. NEWSOUND.Pitch = PITCH
  577. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  578. NEWSOUND:play()
  579. if DOESLOOP == true then
  580. NEWSOUND.Looped = true
  581. else
  582. repeat wait(1) until NEWSOUND.Playing == false
  583. NEWSOUND:remove()
  584. end
  585. end))
  586. return NEWSOUND
  587. end
  588.  
  589. function CFrameFromTopBack(at, top, back)
  590. local right = top:Cross(back)
  591. 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)
  592. end
  593.  
  594. --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})
  595. function WACKYEFFECT(Table)
  596. local TYPE = (Table.EffectType or "Sphere")
  597. local SIZE = (Table.Size or VT(1,1,1))
  598. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  599. local TRANSPARENCY = (Table.Transparency or 0)
  600. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  601. local CFRAME = (Table.CFrame or Torso.CFrame)
  602. local MOVEDIRECTION = (Table.MoveToPos or nil)
  603. local ROTATION1 = (Table.RotationX or 0)
  604. local ROTATION2 = (Table.RotationY or 0)
  605. local ROTATION3 = (Table.RotationZ or 0)
  606. local MATERIAL = (Table.Material or "Neon")
  607. local COLOR = (Table.Color or C3(1,1,1))
  608. local TIME = (Table.Time or 45)
  609. local SOUNDID = (Table.SoundID or nil)
  610. local SOUNDPITCH = (Table.SoundPitch or nil)
  611. local SOUNDVOLUME = (Table.SoundVolume or nil)
  612. coroutine.resume(coroutine.create(function()
  613. local PLAYSSOUND = false
  614. local SOUND = nil
  615. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  616. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  617. PLAYSSOUND = true
  618. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  619. end
  620. EFFECT.Color = COLOR
  621. local MSH = nil
  622. if TYPE == "Sphere" then
  623. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  624. elseif TYPE == "Block" then
  625. MSH = IT("BlockMesh",EFFECT)
  626. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  627. elseif TYPE == "Wave" then
  628. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  629. elseif TYPE == "Ring" then
  630. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  631. elseif TYPE == "Slash" then
  632. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  633. elseif TYPE == "Round Slash" then
  634. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  635. elseif TYPE == "Swirl" then
  636. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  637. elseif TYPE == "Skull" then
  638. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  639. elseif TYPE == "Crystal" then
  640. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  641. end
  642. if MSH ~= nil then
  643. local MOVESPEED = nil
  644. if MOVEDIRECTION ~= nil then
  645. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  646. end
  647. local GROWTH = SIZE - ENDSIZE
  648. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  649. if TYPE == "Block" then
  650. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  651. else
  652. EFFECT.CFrame = CFRAME
  653. end
  654. for LOOP = 1, TIME+1 do
  655. Swait()
  656. MSH.Scale = MSH.Scale - GROWTH/TIME
  657. if TYPE == "Wave" then
  658. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  659. end
  660. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  661. if TYPE == "Block" then
  662. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  663. else
  664. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  665. end
  666. if MOVEDIRECTION ~= nil then
  667. local ORI = EFFECT.Orientation
  668. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  669. EFFECT.Orientation = ORI
  670. end
  671. end
  672. if PLAYSSOUND == false then
  673. EFFECT:remove()
  674. else
  675. repeat Swait() until SOUND.Playing == false
  676. EFFECT:remove()
  677. end
  678. else
  679. if PLAYSSOUND == false then
  680. EFFECT:remove()
  681. else
  682. repeat Swait() until SOUND.Playing == false
  683. EFFECT:remove()
  684. end
  685. end
  686. end))
  687. end
  688.  
  689. function MakeForm(PART,TYPE)
  690. if TYPE == "Cyl" then
  691. local MSH = IT("CylinderMesh",PART)
  692. elseif TYPE == "Ball" then
  693. local MSH = IT("SpecialMesh",PART)
  694. MSH.MeshType = "Sphere"
  695. elseif TYPE == "Wedge" then
  696. local MSH = IT("SpecialMesh",PART)
  697. MSH.MeshType = "Wedge"
  698. end
  699. end
  700.  
  701. Debris = game:GetService("Debris")
  702.  
  703. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  704. local DIRECTION = CF(StartPos,EndPos).lookVector
  705. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  706. end
  707.  
  708. function CharacterFade(COLOR,TIMER)
  709. coroutine.resume(coroutine.create(function()
  710. local FADE = IT("Model",Effects)
  711. for _, c in pairs(Character:GetChildren()) do
  712. if c.ClassName == "Part" and c ~= RootPart then
  713. local FADER = c:Clone()
  714. FADER.Color = COLOR
  715. FADER.CFrame = c.CFrame
  716. FADER.Parent = FADE
  717. FADER.Anchored = true
  718. FADER.Transparency = 0.25
  719. FADER:BreakJoints()
  720. FADER.Material = "Glass"
  721. FADER:ClearAllChildren()
  722. if FADER.Name == "Head" then
  723. FADER.Size = VT(1,1,1)
  724. end
  725. end
  726. end
  727. local TRANS = 0.75/TIMER
  728. for i = 1, TIMER do
  729. Swait()
  730. for _, c in pairs(FADE:GetChildren()) do
  731. if c.ClassName == "Part" then
  732. c.Transparency = c.Transparency + TRANS
  733. end
  734. end
  735. end
  736. FADE:remove()
  737. end))
  738. end
  739.  
  740. local PE=Instance.new("ParticleEmitter")
  741. PE.LightEmission=0.3
  742. PE.Size=NumberSequence.new(0)
  743. PE.Transparency=NumberSequence.new(0,1)
  744. PE.Rotation=NumberRange.new(0,360)
  745. PE.LockedToPart = false
  746. PE.Speed = NumberRange.new(0,0,0)
  747. PE.ZOffset = 0.3
  748. PE.Rate = 999
  749. PE.VelocitySpread = 25
  750. PE.Name = "Particles"
  751.  
  752. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  753. local particle = nil
  754. coroutine.resume(coroutine.create(function(PART)
  755. particle = PE:Clone()
  756. Swait()
  757. particle.Rate = 999
  758. particle.Parent = art
  759. particle.Acceleration = accel
  760. if type == "Fire" then
  761. local EyeSizes={
  762. NumberSequenceKeypoint.new(0,size,size/2),
  763. NumberSequenceKeypoint.new(1,size/4,size/8)
  764. }
  765. particle.Size = NumberSequence.new(EyeSizes)
  766. elseif type == "Smoke" then
  767. local EyeSizes={
  768. NumberSequenceKeypoint.new(0,size/5,0),
  769. NumberSequenceKeypoint.new(1,size*2,0.5)
  770. }
  771. particle.Size = NumberSequence.new(EyeSizes)
  772. elseif type == "Solid" then
  773. local EyeSizes={
  774. NumberSequenceKeypoint.new(0,size,0),
  775. NumberSequenceKeypoint.new(1,size,0)
  776. }
  777. particle.Size = NumberSequence.new(EyeSizes)
  778. end
  779. particle.Lifetime=NumberRange.new(lifetime)
  780. particle.Drag = drag
  781. if locked == true then
  782. particle.LockedToPart = true
  783. end
  784. particle.Speed = NumberRange.new(speed*0.8,speed)
  785. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  786. particle.Enabled = isenabledbydefault
  787. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  788. end))
  789. return particle
  790. end
  791.  
  792. Player = game:GetService("Players").LocalPlayer
  793. PlayerGui = Player.PlayerGui
  794. Cam = workspace.CurrentCamera
  795. Backpack = Player.Backpack
  796. Character = Player.Character
  797. Humanoid = Character.Humanoid
  798. Mouse = Player:GetMouse()
  799. RootPart = Character["HumanoidRootPart"]
  800. Torso = Character["Torso"]
  801. Head = Character["Head"]
  802. RightArm = Character["Right Arm"]
  803. LeftArm = Character["Left Arm"]
  804. RightLeg = Character["Right Leg"]
  805. LeftLeg = Character["Left Leg"]
  806. RootJoint = RootPart["RootJoint"]
  807. Neck = Torso["Neck"]
  808. RightShoulder = Torso["Right Shoulder"]
  809. LeftShoulder = Torso["Left Shoulder"]
  810. RightHip = Torso["Right Hip"]
  811. LeftHip = Torso["Left Hip"]
  812.  
  813.  
  814. IT = Instance.new
  815. CF = CFrame.new
  816. VT = Vector3.new
  817. RAD = math.rad
  818. C3 = Color3.new
  819. UD2 = UDim2.new
  820. BRICKC = BrickColor.new
  821. ANGLES = CFrame.Angles
  822. EULER = CFrame.fromEulerAnglesXYZ
  823. COS = math.cos
  824. ACOS = math.acos
  825. SIN = math.sin
  826. ASIN = math.asin
  827. ABS = math.abs
  828. MRANDOM = math.random
  829. FLOOR = math.floor
  830.  
  831. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  832. local NEWMESH = IT(MESH)
  833. if MESH == "SpecialMesh" then
  834. NEWMESH.MeshType = MESHTYPE
  835. if MESHID ~= "nil" and MESHID ~= "" then
  836. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  837. end
  838. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  839. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  840. end
  841. end
  842. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  843. NEWMESH.Scale = SCALE
  844. NEWMESH.Parent = PARENT
  845. return NEWMESH
  846. end
  847.  
  848. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  849. local NEWPART = IT("Part")
  850. NEWPART.formFactor = FORMFACTOR
  851. NEWPART.Reflectance = REFLECTANCE
  852. NEWPART.Transparency = TRANSPARENCY
  853. NEWPART.CanCollide = false
  854. NEWPART.Locked = true
  855. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  856. NEWPART.Name = NAME
  857. NEWPART.Size = SIZE
  858. NEWPART.Position = Torso.Position
  859. NEWPART.Material = MATERIAL
  860. NEWPART:BreakJoints()
  861. NEWPART.Parent = PARENT
  862. return NEWPART
  863. end
  864.  
  865. Class_Name = "Glasses"
  866. Weapon_Name = "Add-ons"
  867.  
  868. Custom_Colors = {
  869. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  870. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  871.  
  872. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  873. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  874. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  875. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  876. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  877.  
  878. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  879. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  880. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  881. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  882. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  883. }
  884.  
  885.  
  886. local function weldBetween(a, b)
  887. local weldd = Instance.new("ManualWeld")
  888. weldd.Part0 = a
  889. weldd.Part1 = b
  890. weldd.C0 = CFrame.new()
  891. weldd.C1 = b.CFrame:inverse() * a.CFrame
  892. weldd.Parent = a
  893. return weldd
  894. end
  895.  
  896. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  897. local acs = Instance.new("Part")
  898. acs.CanCollide = false
  899. acs.Anchored = false
  900. acs.Size = Vector3.new(0,0,0)
  901. acs.CFrame = attachmentpart.CFrame
  902. acs.Parent = Character
  903. acs.BrickColor = color
  904. local meshs = Instance.new("SpecialMesh")
  905. meshs.MeshId = mesh
  906. meshs.TextureId = texture
  907. meshs.Parent = acs
  908. meshs.Scale = scale
  909. meshs.Offset = offset
  910. weldBetween(attachmentpart,acs)
  911. end
  912.  
  913. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  914. if TYPE == "Gem" then
  915. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  916. acs.Anchored = false
  917. acs.CanCollide = false
  918. acs.CFrame = PART.CFrame
  919. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  920. weldBetween(PART,acs)
  921. elseif TYPE == "Skull" then
  922. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  923. acs.Anchored = false
  924. acs.CanCollide = false
  925. acs.CFrame = PART.CFrame
  926. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  927. weldBetween(PART,acs)
  928. elseif TYPE == "Eye" then
  929. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  930. acs.Anchored = false
  931. acs.CanCollide = false
  932. acs.CFrame = PART.CFrame
  933. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  934. weldBetween(PART,acs)
  935. end
  936. end
  937.  
  938. createaccessory(Head,"http://www.roblox.com/asset/?id=121910245","http://www.roblox.com/asset/?id=121947422",VT(0.7,0.6,0.7),VT(0,0.1,-0.05),BrickColor.new("Pearl"))
  939.  
  940. --//=================================\\
  941. --|| RAGDOLL STUFF
  942. --\\=================================//
  943.  
  944. function recurse(root,callback,i)
  945. i= i or 0
  946. for _,v in pairs(root:GetChildren()) do
  947. i = i + 1
  948. callback(i,v)
  949.  
  950. if #v:GetChildren() > 0 then
  951. i = recurse(v,callback,i)
  952. end
  953. end
  954.  
  955. return i
  956. end
  957.  
  958. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  959. attachmentName = attachmentName.."RigAttachment"
  960. local constraint = Instance.new(className.."Constraint")
  961. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  962. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  963. constraint.Name = "RagdollConstraint"..part1.Name
  964.  
  965. for _,propertyData in next,properties or {} do
  966. constraint[propertyData[1]] = propertyData[2]
  967. end
  968.  
  969. constraint.Parent = character
  970. end
  971.  
  972. function getAttachment0(character, attachmentName)
  973. for _,child in next,character:GetChildren() do
  974. local attachment = child:FindFirstChild(attachmentName)
  975. if attachment then
  976. return attachment
  977. end
  978. end
  979. end
  980.  
  981. function ArtificialHitbox(Part)
  982. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  983. HITBOX.CanCollide = true
  984. HITBOX.CFrame = Part.CFrame
  985. weldBetween(Part,HITBOX)
  986. end
  987.  
  988. function R15Ragdoll(character,KeepArms)
  989. character:BreakJoints()
  990. coroutine.resume(coroutine.create(function()
  991. recurse(character, function(_,v)
  992. if v:IsA("Attachment") then
  993. v.Axis = Vector3.new(0, 1, 0)
  994. v.SecondaryAxis = Vector3.new(0, 0, 1)
  995. v.Rotation = Vector3.new(0, 0, 0)
  996. end
  997. end)
  998. for _,child in next,character:GetChildren() do
  999. if child:IsA("Accoutrement") then
  1000. for _,part in next,child:GetChildren() do
  1001. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1002. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1003. local attachment0 = getAttachment0(character,attachment1.Name)
  1004. if attachment0 and attachment1 then
  1005. local constraint = Instance.new("HingeConstraint")
  1006. constraint.Attachment0 = attachment0
  1007. constraint.Attachment1 = attachment1
  1008. constraint.LimitsEnabled = true
  1009. constraint.UpperAngle = 0
  1010. constraint.LowerAngle = 0
  1011. constraint.Parent = character
  1012. end
  1013. ArtificialHitbox(part)
  1014. elseif part.Name == "HumanoidRootPart" then
  1015. part:remove()
  1016. end
  1017. end
  1018. end
  1019. end
  1020.  
  1021. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1022. {"LimitsEnabled",true};
  1023. {"UpperAngle",5};
  1024. })
  1025. if character:FindFirstChild("Head") then
  1026. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1027. {"LimitsEnabled",true};
  1028. {"UpperAngle",15};
  1029. })
  1030. end
  1031.  
  1032. local handProperties = {
  1033. {"LimitsEnabled", true};
  1034. {"UpperAngle",0};
  1035. {"LowerAngle",0};
  1036. }
  1037. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1038. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1039.  
  1040. local shinProperties = {
  1041. {"LimitsEnabled", true};
  1042. {"UpperAngle", 0};
  1043. {"LowerAngle", -75};
  1044. }
  1045. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1046. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1047.  
  1048. local footProperties = {
  1049. {"LimitsEnabled", true};
  1050. {"UpperAngle", 15};
  1051. {"LowerAngle", -45};
  1052. }
  1053. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1054. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1055. if KeepArms == true then
  1056. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1057. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1058. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1059. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1060. end
  1061. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1062. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1063. Debris:AddItem(character,5)
  1064. end))
  1065. end
  1066.  
  1067. function Ragdoll(Character2,CharTorso,KeepArms)
  1068. coroutine.resume(coroutine.create(function()
  1069. Character2:BreakJoints()
  1070. local hum = Character2:findFirstChild("Humanoid")
  1071. hum:remove()
  1072. local function Scan(ch)
  1073. local e
  1074. for e = 1,#ch do
  1075. Scan(ch[e]:GetChildren())
  1076. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1077. ch[e]:remove()
  1078. end
  1079. end
  1080. end
  1081. local NEWHUM = IT("Humanoid")
  1082. NEWHUM.Name = "Corpse"
  1083. NEWHUM.Health = 0
  1084. NEWHUM.MaxHealth = 0
  1085. NEWHUM.PlatformStand = true
  1086. NEWHUM.Parent = Character2
  1087. NEWHUM.DisplayDistanceType = "None"
  1088.  
  1089. local ch = Character2:GetChildren()
  1090. local i
  1091. for i = 1,#ch do
  1092. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1093. ch[i]:remove()
  1094. end
  1095. end
  1096.  
  1097. local Torso2 = Character2.Torso
  1098. local movevector = Vector3.new()
  1099.  
  1100. if Torso2 then
  1101. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1102. local Head = Character2:FindFirstChild("Head")
  1103. if Head then
  1104. local Neck = Instance.new("Weld")
  1105. Neck.Name = "Neck"
  1106. Neck.Part0 = Torso2
  1107. Neck.Part1 = Head
  1108. Neck.C0 = CFrame.new(0, 1.5, 0)
  1109. Neck.C1 = CFrame.new()
  1110. Neck.Parent = Torso2
  1111.  
  1112. end
  1113. local Limb = Character2:FindFirstChild("Right Arm")
  1114. if Limb and KeepArms == true then
  1115.  
  1116. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1117. local Joint = Instance.new("Glue")
  1118. Joint.Name = "RightShoulder"
  1119. Joint.Part0 = Torso2
  1120. Joint.Part1 = Limb
  1121. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1122. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1123. Joint.Parent = Torso2
  1124.  
  1125. local B = Instance.new("Part")
  1126. B.TopSurface = 0
  1127. B.BottomSurface = 0
  1128. B.formFactor = "Symmetric"
  1129. B.Size = Vector3.new(1, 1, 1)
  1130. B.Transparency = 1
  1131. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1132. B.Parent = Character2
  1133. local W = Instance.new("Weld")
  1134. W.Part0 = Limb
  1135. W.Part1 = B
  1136. W.C0 = CFrame.new(0, -0.5, 0)
  1137. W.Parent = Limb
  1138.  
  1139. end
  1140. local Limb = Character2:FindFirstChild("Left Arm")
  1141. if Limb and KeepArms == true then
  1142.  
  1143. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1144. local Joint = Instance.new("Glue")
  1145. Joint.Name = "LeftShoulder"
  1146. Joint.Part0 = Torso2
  1147. Joint.Part1 = Limb
  1148. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1149. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1150. Joint.Parent = Torso2
  1151.  
  1152. local B = Instance.new("Part")
  1153. B.TopSurface = 0
  1154. B.BottomSurface = 0
  1155. B.formFactor = "Symmetric"
  1156. B.Size = Vector3.new(1, 1, 1)
  1157. B.Transparency = 1
  1158. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1159. B.Parent = Character2
  1160. local W = Instance.new("Weld")
  1161. W.Part0 = Limb
  1162. W.Part1 = B
  1163. W.C0 = CFrame.new(0, -0.5, 0)
  1164. W.Parent = Limb
  1165.  
  1166. end
  1167. local Limb = Character2:FindFirstChild("Right Leg")
  1168. if Limb then
  1169.  
  1170. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1171. local Joint = Instance.new("Glue")
  1172. Joint.Name = "RightHip"
  1173. Joint.Part0 = Torso2
  1174. Joint.Part1 = Limb
  1175. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1176. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1177. Joint.Parent = Torso2
  1178.  
  1179. local B = Instance.new("Part")
  1180. B.TopSurface = 0
  1181. B.BottomSurface = 0
  1182. B.formFactor = "Symmetric"
  1183. B.Size = Vector3.new(1, 1, 1)
  1184. B.Transparency = 1
  1185. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1186. B.Parent = Character2
  1187. local W = Instance.new("Weld")
  1188. W.Part0 = Limb
  1189. W.Part1 = B
  1190. W.C0 = CFrame.new(0, -0.5, 0)
  1191. W.Parent = Limb
  1192.  
  1193. end
  1194. local Limb = Character2:FindFirstChild("Left Leg")
  1195. if Limb then
  1196.  
  1197. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1198. local Joint = Instance.new("Glue")
  1199. Joint.Name = "LeftHip"
  1200. Joint.Part0 = Torso2
  1201. Joint.Part1 = Limb
  1202. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1203. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1204. Joint.Parent = Torso2
  1205.  
  1206. local B = Instance.new("Part")
  1207. B.TopSurface = 0
  1208. B.BottomSurface = 0
  1209. B.formFactor = "Symmetric"
  1210. B.Size = Vector3.new(1, 1, 1)
  1211. B.Transparency = 1
  1212. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1213. B.Parent = Character2
  1214. local W = Instance.new("Weld")
  1215. W.Part0 = Limb
  1216. W.Part1 = B
  1217. W.C0 = CFrame.new(0, -0.5, 0)
  1218. W.Parent = Limb
  1219.  
  1220. end
  1221. --[
  1222. local Bar = Instance.new("Part")
  1223. Bar.TopSurface = 0
  1224. Bar.BottomSurface = 0
  1225. Bar.formFactor = "Symmetric"
  1226. Bar.Size = Vector3.new(1, 1, 1)
  1227. Bar.Transparency = 1
  1228. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1229. Bar.Parent = Character2
  1230. local Weld = Instance.new("Weld")
  1231. Weld.Part0 = Torso2
  1232. Weld.Part1 = Bar
  1233. Weld.C0 = CFrame.new(0, 0.5, 0)
  1234. Weld.Parent = Torso2
  1235. --]]
  1236. end
  1237. Character2.Parent = workspace
  1238. Debris:AddItem(Character2,5)
  1239.  
  1240. return Character2,Torso2
  1241. end))
  1242. end
  1243.  
  1244. local S = IT("Sound")
  1245. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1246. local NEWSOUND = nil
  1247. coroutine.resume(coroutine.create(function()
  1248. NEWSOUND = S:Clone()
  1249. NEWSOUND.Parent = PARENT
  1250. NEWSOUND.Volume = VOLUME
  1251. NEWSOUND.Pitch = PITCH
  1252. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1253. NEWSOUND:play()
  1254. if DOESLOOP == true then
  1255. NEWSOUND.Looped = true
  1256. else
  1257. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1258. NEWSOUND:remove()
  1259. end
  1260. end))
  1261. return NEWSOUND
  1262. end
  1263.  
  1264. function CFrameFromTopBack(at, top, back)
  1265. local right = top:Cross(back)
  1266. 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)
  1267. end
  1268.  
  1269. --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})
  1270. function WACKYEFFECT(Table)
  1271. local TYPE = (Table.EffectType or "Sphere")
  1272. local SIZE = (Table.Size or VT(1,1,1))
  1273. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1274. local TRANSPARENCY = (Table.Transparency or 0)
  1275. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1276. local CFRAME = (Table.CFrame or Torso.CFrame)
  1277. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1278. local ROTATION1 = (Table.RotationX or 0)
  1279. local ROTATION2 = (Table.RotationY or 0)
  1280. local ROTATION3 = (Table.RotationZ or 0)
  1281. local MATERIAL = (Table.Material or "Neon")
  1282. local COLOR = (Table.Color or C3(1,1,1))
  1283. local TIME = (Table.Time or 45)
  1284. local SOUNDID = (Table.SoundID or nil)
  1285. local SOUNDPITCH = (Table.SoundPitch or nil)
  1286. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1287. coroutine.resume(coroutine.create(function()
  1288. local PLAYSSOUND = false
  1289. local SOUND = nil
  1290. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1291. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1292. PLAYSSOUND = true
  1293. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1294. end
  1295. EFFECT.Color = COLOR
  1296. local MSH = nil
  1297. if TYPE == "Sphere" then
  1298. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1299. elseif TYPE == "Block" then
  1300. MSH = IT("BlockMesh",EFFECT)
  1301. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1302. elseif TYPE == "Wave" then
  1303. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1304. elseif TYPE == "Ring" then
  1305. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1306. elseif TYPE == "Slash" then
  1307. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1308. elseif TYPE == "Round Slash" then
  1309. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1310. elseif TYPE == "Swirl" then
  1311. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1312. elseif TYPE == "Skull" then
  1313. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1314. elseif TYPE == "Crystal" then
  1315. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1316. end
  1317. if MSH ~= nil then
  1318. local MOVESPEED = nil
  1319. if MOVEDIRECTION ~= nil then
  1320. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1321. end
  1322. local GROWTH = SIZE - ENDSIZE
  1323. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1324. if TYPE == "Block" then
  1325. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1326. else
  1327. EFFECT.CFrame = CFRAME
  1328. end
  1329. for LOOP = 1, TIME+1 do
  1330. Swait()
  1331. MSH.Scale = MSH.Scale - GROWTH/TIME
  1332. if TYPE == "Wave" then
  1333. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1334. end
  1335. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1336. if TYPE == "Block" then
  1337. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1338. else
  1339. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1340. end
  1341. if MOVEDIRECTION ~= nil then
  1342. local ORI = EFFECT.Orientation
  1343. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1344. EFFECT.Orientation = ORI
  1345. end
  1346. end
  1347. if PLAYSSOUND == false then
  1348. EFFECT:remove()
  1349. else
  1350. SOUND.Stopped:Connect(function()
  1351. EFFECT:remove()
  1352. end)
  1353. end
  1354. else
  1355. if PLAYSSOUND == false then
  1356. EFFECT:remove()
  1357. else
  1358. repeat Swait() until SOUND.Playing == false
  1359. EFFECT:remove()
  1360. end
  1361. end
  1362. end))
  1363. end
  1364.  
  1365. function MakeForm(PART,TYPE)
  1366. if TYPE == "Cyl" then
  1367. local MSH = IT("CylinderMesh",PART)
  1368. elseif TYPE == "Ball" then
  1369. local MSH = IT("SpecialMesh",PART)
  1370. MSH.MeshType = "Sphere"
  1371. elseif TYPE == "Wedge" then
  1372. local MSH = IT("SpecialMesh",PART)
  1373. MSH.MeshType = "Wedge"
  1374. end
  1375. end
  1376.  
  1377. function SpawnTrail(FROM,TO,BIG)
  1378. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1379. MakeForm(TRAIL,"Cyl")
  1380. local DIST = (FROM - TO).Magnitude
  1381. if BIG == true then
  1382. TRAIL.Size = VT(0.5,DIST,0.5)
  1383. else
  1384. TRAIL.Size = VT(0.25,DIST,0.25)
  1385. end
  1386. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1387. coroutine.resume(coroutine.create(function()
  1388. for i = 1, 5 do
  1389. Swait()
  1390. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1391. end
  1392. TRAIL:remove()
  1393. end))
  1394. end
  1395.  
  1396.  
  1397. --//=================================\\
  1398. --|| WEAPON CREATION
  1399. --\\=================================//
  1400.  
  1401. function turnto(position)
  1402. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1403. end
  1404. Player = game:GetService("Players").LocalPlayer
  1405. PlayerGui = Player.PlayerGui
  1406. Cam = workspace.CurrentCamera
  1407. Backpack = Player.Backpack
  1408. Character = Player.Character
  1409. Mouse = Player:GetMouse()
  1410. RootPart = Character["HumanoidRootPart"]
  1411. Torso = Character["Torso"]
  1412. Head = Character["Head"]
  1413. RightArm = Character["Right Arm"]
  1414. LeftArm = Character["Left Arm"]
  1415. RightLeg = Character["Right Leg"]
  1416. LeftLeg = Character["Left Leg"]
  1417. RootJoint = RootPart["RootJoint"]
  1418. Neck = Torso["Neck"]
  1419. RightShoulder = Torso["Right Shoulder"]
  1420. LeftShoulder = Torso["Left Shoulder"]
  1421. RightHip = Torso["Right Hip"]
  1422. LeftHip = Torso["Left Hip"]
  1423.  
  1424. IT = Instance.new
  1425. CF = CFrame.new
  1426. VT = Vector3.new
  1427. RAD = math.rad
  1428. C3 = Color3.new
  1429. UD2 = UDim2.new
  1430. BRICKC = BrickColor.new
  1431. ANGLES = CFrame.Angles
  1432. EULER = CFrame.fromEulerAnglesXYZ
  1433. COS = math.cos
  1434. ACOS = math.acos
  1435. SIN = math.sin
  1436. ASIN = math.asin
  1437. ABS = math.abs
  1438. MRANDOM = math.random
  1439. FLOOR = math.floor
  1440.  
  1441. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  1442. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1443. MakeForm(Part,"Wedge")
  1444.  
  1445. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  1446. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1447. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1448. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1449. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1450. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1451. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  1452. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1453. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false)
  1454. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1455.  
  1456. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  1457. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1458. MakeForm(Part,"Wedge")
  1459.  
  1460. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  1461. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1462. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1463. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1464. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1465. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1466. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  1467. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1468.  
  1469.  
  1470. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  1471. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1472. MakeForm(Part,"Wedge")
  1473.  
  1474. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  1475. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1476. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1477. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1478. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1479. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1480. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  1481. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1482. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  1483. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1484.  
  1485. Player = game:GetService("Players").LocalPlayer
  1486. PlayerGui = Player.PlayerGui
  1487. Cam = workspace.CurrentCamera
  1488. Backpack = Player.Backpack
  1489. Character = Player.Character
  1490. Humanoid = Character.Humanoid
  1491. Mouse = Player:GetMouse()
  1492. RootPart = Character["HumanoidRootPart"]
  1493. Torso = Character["Torso"]
  1494. Head = Character["Head"]
  1495. RightArm = Character["Right Arm"]
  1496. LeftArm = Character["Left Arm"]
  1497. RightLeg = Character["Right Leg"]
  1498. LeftLeg = Character["Left Leg"]
  1499. RootJoint = RootPart["RootJoint"]
  1500. Neck = Torso["Neck"]
  1501. RightShoulder = Torso["Right Shoulder"]
  1502. LeftShoulder = Torso["Left Shoulder"]
  1503. RightHip = Torso["Right Hip"]
  1504. LeftHip = Torso["Left Hip"]
  1505.  
  1506. IT = Instance.new
  1507. CF = CFrame.new
  1508. VT = Vector3.new
  1509. RAD = math.rad
  1510. C3 = Color3.new
  1511. UD2 = UDim2.new
  1512. BRICKC = BrickColor.new
  1513. ANGLES = CFrame.Angles
  1514. EULER = CFrame.fromEulerAnglesXYZ
  1515. COS = math.cos
  1516. ACOS = math.acos
  1517. SIN = math.sin
  1518. ASIN = math.asin
  1519. ABS = math.abs
  1520. MRANDOM = math.random
  1521. FLOOR = math.floor
  1522.  
  1523.  
  1524. local Particle = IT("ParticleEmitter",nil)
  1525. Particle.Enabled = false
  1526. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1527. Particle.LightEmission = 0.5
  1528. Particle.Rate = 150
  1529. Particle.ZOffset = 0.2
  1530. Particle.Rotation = NumberRange.new(-180, 180)
  1531. Particle.RotSpeed = NumberRange.new(-180, 180)
  1532. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1533. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1534.  
  1535. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1536. function ParticleEmitter(Table)
  1537. local PRTCL = Particle:Clone()
  1538. local Speed = Table.Speed or 5
  1539. local Drag = Table.Drag or 0
  1540. local Size1 = Table.Size1 or 1
  1541. local Size2 = Table.Size2 or 5
  1542. local Lifetime1 = Table.Lifetime1 or 1
  1543. local Lifetime2 = Table.Lifetime2 or 1.5
  1544. local Parent = Table.Parent or Torso
  1545. local Emit = Table.Emit or 100
  1546. local Offset = Table.Offset or 360
  1547. local Acel = Table.Acel or VT(0,0,0)
  1548. local Enabled = Table.Enabled or false
  1549. PRTCL.Parent = Parent
  1550. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1551. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1552. PRTCL.Speed = NumberRange.new(Speed)
  1553. PRTCL.VelocitySpread = Offset
  1554. PRTCL.Drag = Drag
  1555. PRTCL.Acceleration = Acel
  1556. if Enabled == false then
  1557. PRTCL:Emit(Emit)
  1558. Debris:AddItem(PRTCL,Lifetime2)
  1559. else
  1560. PRTCL.Enabled = true
  1561. end
  1562. return PRTCL
  1563. end
  1564. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1565. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1566. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1567. MakeForm(Part,"Wedge")
  1568. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1569. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1570. MakeForm(Part,"Wedge")
  1571. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1573. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1574. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1575. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1576. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1577. MakeForm(Part,"Cyl")
  1578. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1579. for i = 1, 8 do
  1580. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1581. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1582. end
  1583. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1584. MakeForm(Part,"Cyl")
  1585. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1586. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1587. MakeForm(Part,"Ball")
  1588. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1589. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1590. MakeForm(Part,"Wedge")
  1591. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1592. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1593. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1595. MakeForm(Part,"Cyl")
  1596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1597. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1598. MakeForm(Part,"Cyl")
  1599. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1600. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1601. MakeForm(Part,"Cyl")
  1602. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1603. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1604. MakeForm(Part,"Wedge")
  1605. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1606. local LASTPART = Handle
  1607. for i = 1, 10 do
  1608. if LASTPART == Handle then
  1609. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1610. LASTPART = Part
  1611. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1612. else
  1613. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1614. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1615. LASTPART = Part
  1616. end
  1617. end
  1618.  
  1619. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1620. MakeForm(Barrel,"Cyl")
  1621. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1622. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1623. MakeForm(Part,"Cyl")
  1624. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1625. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1626. MakeForm(Part,"Wedge")
  1627. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1628. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1629. MakeForm(Hole,"Cyl")
  1630. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1631. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1632. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1633. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1634. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1635. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1636. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1637. coroutine.resume(coroutine.create(function()
  1638. while wait() do
  1639. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1640. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1641. end
  1642. end))
  1643.  
  1644. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1645. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1646.  
  1647. for _, c in pairs(Weapon:GetDescendants()) do
  1648. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1649. c.Material = "Glass"
  1650. c.Color = C3(0,0,0)
  1651. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1652. c.Color = C3(1,0,0)
  1653. c.Material = "Neon"
  1654. end
  1655. end
  1656.  
  1657. Weapon.Parent = Character
  1658. for _, c in pairs(Weapon:GetChildren()) do
  1659. if c.ClassName == "Part" then
  1660. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1661. end
  1662. end
  1663.  
  1664. local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
  1665. DUST.ZOffset = 1
  1666. RightArm.Transparency = 1
  1667. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
  1668. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1669. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
  1670. MakeForm(Sphere,"Ball")
  1671. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1672. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  1673. MakeForm(LaserPart,"Ball")
  1674. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1675. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
  1676. MakeForm(Bump,"Ball")
  1677. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1678. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  1679. MakeForm(BottomLaser,"Cyl")
  1680. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1681. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1682. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1683. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1684. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  1685. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1686. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  1687. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1688. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  1689. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1690. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  1691. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  1692. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  1693. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  1694. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  1695. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1696. MakeForm(Part,"Cyl")
  1697. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1698. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1699. MakeForm(Part,"Cyl")
  1700. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1701. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  1702. MakeForm(Sphere,"Ball")
  1703. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1704.  
  1705. for _, c in pairs(Weapon:GetChildren()) do
  1706. if c.ClassName == "Part" then
  1707. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1708. end
  1709. end
  1710.  
  1711. local SKILLTEXTCOLOR = C3(1,0,0)
  1712. local SKILLFONT = "SciFi"
  1713. local SKILLTEXTSIZE = 5
  1714.  
  1715. Weapon.Parent = Character
  1716.  
  1717. Humanoid.Died:connect(function()
  1718. ATTACK = true
  1719. end)
  1720.  
  1721. 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")
  1722. 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")
  1723. 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")
  1724. 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")
  1725. 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")
  1726. 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")
  1727. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1728. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.75, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1729.  
  1730. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1731. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1732. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1733. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1734. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1735. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1736. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[G]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.05, "Text 7")
  1737. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "Edited by Adam222334II", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 8")
  1738.  
  1739. -- Chat function and unbanish texts
  1740. function swait(num)
  1741. if num == 0 or num == nil then
  1742. ArtificialHB.Event:wait()
  1743. else
  1744. for i = 0, num do
  1745. ArtificialHB.Event:wait()
  1746. end
  1747. end
  1748. end
  1749.  
  1750. function chatfunc(text)
  1751. local chat = coroutine.wrap(function()
  1752. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1753. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1754. end
  1755. local Bill = Instance.new("BillboardGui",Character)
  1756. Bill.Size = UDim2.new(0,100,0,40)
  1757. Bill.StudsOffset = Vector3.new(0,2.3,0)
  1758. Bill.Adornee = Character.Head
  1759. Bill.Name = "TalkingBillBoard"
  1760. local Hehe = Instance.new("TextLabel",Bill)
  1761. Hehe.BackgroundTransparency = 1
  1762. Hehe.BorderSizePixel = 0
  1763. Hehe.Text = ""
  1764. Hehe.Font = "Fantasy"
  1765. Hehe.TextSize = 30
  1766. Hehe.TextStrokeTransparency = 0
  1767. Hehe.Size = UDim2.new(1,0,0.5,0)
  1768. coroutine.resume(coroutine.create(function()
  1769. while Hehe ~= nil do
  1770. swait()
  1771. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1772. Hehe.Rotation = math.random(-5,5)
  1773. Hehe.TextColor3 = Color3.new(1,0,0)
  1774. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1775. end
  1776. end))
  1777. for i = 1,string.len(text),1 do
  1778. swait()
  1779. Hehe.Text = string.sub(text,1,i)
  1780. end
  1781. swait(90)--Re[math.random(1, 93)]
  1782. for i = 0, 1, .025 do
  1783. swait()
  1784. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1785. Hehe.TextStrokeTransparency = i
  1786. Hehe.TextTransparency = i
  1787. end
  1788. Bill:Destroy()
  1789. end)
  1790. chat()
  1791. end
  1792.  
  1793. function onChatted(msg)
  1794. chatfunc(msg)
  1795. end
  1796.  
  1797. Player.Chatted:connect(onChatted)
  1798.  
  1799. UnBanishTaunts = {"My mercy is only once...", "Be free and never come back...", "Your death is not yet to be desired...", "Freedom is yours...", "Your death shall be forgiven..."}
  1800.  
  1801.  
  1802. --//=================================\\
  1803. --|| ATTACK FUNCTIONS AND STUFF
  1804. --\\=================================//
  1805.  
  1806. function printbye(Name)
  1807. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1808. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1809. end
  1810.  
  1811. workspace.ChildAdded:connect(function(instance)
  1812. for BANISH = 1, #TOBANISH do
  1813. if TOBANISH[BANISH] ~= nil then
  1814. if instance.Name == TOBANISH[BANISH] then
  1815. coroutine.resume(coroutine.create(function()
  1816. printbye(instance.Name)
  1817. instance:ClearAllChildren()
  1818. Debris:AddItem(instance,0.0005)
  1819. end))
  1820. end
  1821. end
  1822. end
  1823. end)
  1824.  
  1825. function Banish(Foe)
  1826. if Foe then
  1827. coroutine.resume(coroutine.create(function()
  1828. --if game.Players:FindFirstChild(Foe.Name) then
  1829. table.insert(TOBANISH,Foe.Name)
  1830. printbye(Foe.Name)
  1831. --end
  1832. Foe.Archivable = true
  1833. local CLONE = Foe:Clone()
  1834. Foe:Destroy()
  1835. CLONE.Parent = Effects
  1836. CLONE:BreakJoints()
  1837. local MATERIALS = {"Glass","Neon"}
  1838. for _, c in pairs(CLONE:GetDescendants()) do
  1839. if c:IsA("BasePart") then
  1840. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1841. CreateSound(340722848, c, 10, 1, false)
  1842. end
  1843. c.Anchored = true
  1844. c.Transparency = c.Transparency + 0.2
  1845. c.Material = MATERIALS[MRANDOM(1,2)]
  1846. c.Color = C3(1,0,0)
  1847. if c.ClassName == "MeshPart" then
  1848. c.TextureID = ""
  1849. end
  1850. if c:FindFirstChildOfClass("SpecialMesh") then
  1851. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1852. end
  1853. if c:FindFirstChildOfClass("Decal") then
  1854. c:FindFirstChildOfClass("Decal"):remove()
  1855. end
  1856. c.Name = "Banished"
  1857. c.CanCollide = false
  1858. else
  1859. c:remove()
  1860. end
  1861. end
  1862. local A = false
  1863. for i = 1, 35 do
  1864. if A == false then
  1865. A = true
  1866. elseif A == true then
  1867. A = false
  1868. end
  1869. for _, c in pairs(CLONE:GetDescendants()) do
  1870. if c:IsA("BasePart") then
  1871. c.Anchored = true
  1872. c.Material = MATERIALS[MRANDOM(1,2)]
  1873. c.Transparency = c.Transparency + 0.8/35
  1874. if A == false then
  1875. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1876. elseif A == true then
  1877. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1878. end
  1879. end
  1880. end
  1881. Swait()
  1882. end
  1883. CLONE:remove()
  1884. end))
  1885. end
  1886. end
  1887.  
  1888. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1889. local CHILDREN = workspace:GetDescendants()
  1890. for index, CHILD in pairs(CHILDREN) do
  1891. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1892. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1893. if HUM then
  1894. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1895. if TORSO then
  1896. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1897. if ISBANISH == true then
  1898. Banish(CHILD)
  1899. else
  1900. if ISBANISH == "Gravity" then
  1901. HUM.PlatformStand = true
  1902. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1903. local grav = Instance.new("BodyPosition",TORSO)
  1904. grav.D = 15
  1905. grav.P = 20000
  1906. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1907. grav.position = TORSO.Position
  1908. grav.Name = "V3BanishForce"..Player.Name
  1909. else
  1910. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1911. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1912. end
  1913. else
  1914. HUM.PlatformStand = false
  1915. end
  1916. end
  1917. elseif ISBANISH == "Gravity" then
  1918. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1919. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1920. HUM.PlatformStand = false
  1921. end
  1922. end
  1923. end
  1924. end
  1925. end
  1926. end
  1927. end
  1928.  
  1929. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1930. local DIRECTION = CF(StartPos,EndPos).lookVector
  1931. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1932. end
  1933.  
  1934. function turnto(position)
  1935. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1936. end
  1937.  
  1938. function Banisher_Bullet()
  1939. ATTACK = true
  1940. Rooted = false
  1941. for i=0, 0.4, 0.1 / Animation_Speed do
  1942. Swait()
  1943. turnto(Mouse.Hit.p)
  1944. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1946. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1948. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1949. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1950. end
  1951. repeat
  1952. for i=0, 0.2, 0.1 / Animation_Speed do
  1953. Swait()
  1954. turnto(Mouse.Hit.p)
  1955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.65, 0) * ANGLES(RAD(90), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1959. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1960. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1961. end
  1962. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1963. SpawnTrail(Hole.Position,POS)
  1964. if HIT ~= nil then
  1965. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1966. Banish(HIT.Parent)
  1967. end
  1968. end
  1969. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1970. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1971. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1972. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1973. for i=0, 0.3, 0.1 / Animation_Speed do
  1974. Swait()
  1975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.65, 0) * ANGLES(RAD(90), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1981. end
  1982. until KEYHOLD == false
  1983. ATTACK = false
  1984. Rooted = false
  1985. end
  1986.  
  1987. function Warp()
  1988. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1989. if HITFLOOR then
  1990. CharacterFade(C3(0.5,0,0),50)
  1991. HITPOS = HITPOS + VT(0,3.5,0)
  1992. local POS = RootPart.Position
  1993. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1994. CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
  1995. end
  1996. end
  1997.  
  1998. function Dash()
  1999. ATTACK = true
  2000. Rooted = true
  2001. local SOUND = CreateSound(1165167610, Torso, 1, 1, true)
  2002. local LOOP = 0
  2003. repeat
  2004. LOOP = LOOP + 1
  2005. Swait()
  2006. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)
  2007. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
  2008. if HITFLOOR then
  2009. CharacterFade(C3(0.5,0,0),35)
  2010. HITPOS = HITPOS + VT(0,3.5,0)
  2011. local POS = RootPart.Position
  2012. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  2013. RootPart.Velocity = VT(0,0,0)
  2014. RootPart.RotVelocity = VT(0,0,0)
  2015. end
  2016. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
  2017. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2020. 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)
  2021. 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)
  2022. until KEYHOLD == false
  2023. coroutine.resume(coroutine.create(function()
  2024. for i = 1, 20 do
  2025. Swait()
  2026. SOUND.Volume = SOUND.Volume - 1/20
  2027. end
  2028. SOUND:remove()
  2029. end))
  2030. if LOOP > 50 then
  2031. CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false)
  2032. for i = 1, 100 do
  2033. Swait()
  2034. RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
  2035. 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})
  2036. 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})
  2037. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2038. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2039. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2040. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2041. 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)
  2042. 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)
  2043. end
  2044. end
  2045. ATTACK = false
  2046. Rooted = false
  2047. end
  2048.  
  2049. function LimbRip()
  2050. ATTACK = true
  2051. Rooted = false
  2052. local TARGET = nil
  2053. local ROOT = nil
  2054. local HUMAN = nil
  2055. local DIST = 4
  2056. Speed = 12
  2057. for i=0, 1, 0.1 / Animation_Speed do
  2058. Swait()
  2059. local CHILDREN = workspace:GetDescendants()
  2060. for index, CHILD in pairs(CHILDREN) do
  2061. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2062. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2063. if HUM then
  2064. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2065. if TORSO and HUM.Health > 0 then
  2066. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  2067. DIST = (TORSO.Position - RightArm.Position).Magnitude
  2068. ROOT = TORSO
  2069. HUMAN = HUM
  2070. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2071. end
  2072. end
  2073. end
  2074. end
  2075. end
  2076. if ROOT then
  2077. break
  2078. end
  2079. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2080. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2081. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2082. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2083. 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)
  2084. 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)
  2085. end
  2086. Speed = 16
  2087. if ROOT then
  2088. CreateSound(305685800,Torso,5,1.3,false)
  2089. Rooted = true
  2090. local GORED = false
  2091. coroutine.resume(coroutine.create(function()
  2092. repeat
  2093. Swait()
  2094. ROOT.Anchored = true
  2095. until GORED == true
  2096. ROOT.Anchored = false
  2097. end))
  2098. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
  2099. if TARGET.Name == "Torso" then
  2100. local RARM = TARGET.Parent:FindFirstChild("Right Arm")
  2101. local LARM = TARGET.Parent:FindFirstChild("Left Arm")
  2102. if RARM and LARM then
  2103. for i=0, 1, 0.1 / Animation_Speed do
  2104. Swait()
  2105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2109. 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)
  2110. 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)
  2111. end
  2112. for _, c in pairs(TARGET.Parent:GetDescendants()) do
  2113. if c:IsA("JointInstance") then
  2114. if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
  2115. c:remove()
  2116. end
  2117. end
  2118. end
  2119. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2120. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2121. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2122. for i=0, 1, 0.1 / Animation_Speed do
  2123. Swait()
  2124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2128. 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)
  2129. 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)
  2130. end
  2131. for i=0, 1, 0.1 / Animation_Speed do
  2132. Swait()
  2133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  2134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2137. 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)
  2138. 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)
  2139. end
  2140. for i=0, 0.1, 0.1 / Animation_Speed do
  2141. Swait()
  2142. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2143. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2144. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2145. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2146. 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)
  2147. 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)
  2148. end
  2149. GORED = true
  2150. Ragdoll(TARGET.Parent,Torso)
  2151. if ROOT.Name ~= "Torso" then
  2152. ROOT:remove()
  2153. end
  2154. local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2155. local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2156. local bv = Instance.new("BodyVelocity",TARGET)
  2157. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2158. bv.velocity = TARGET.CFrame.lookVector*75
  2159. Debris:AddItem(bv,0.05)
  2160. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  2161. for i=0, 0.5, 0.1 / Animation_Speed do
  2162. Swait()
  2163. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2164. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2165. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2166. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2167. 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)
  2168. 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)
  2169. end
  2170. for i=0, 1, 0.1 / Animation_Speed do
  2171. Swait()
  2172. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  2175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  2176. 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)
  2177. 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)
  2178. end
  2179. local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  2180. HITBOX.CFrame = RARM.CFrame
  2181. HITBOX.CanCollide = true
  2182. weldBetween(RARM,HITBOX)
  2183. local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  2184. HITBOX.CFrame = LARM.CFrame
  2185. HITBOX.CanCollide = true
  2186. weldBetween(LARM,HITBOX)
  2187. RGRAB:remove()
  2188. LGRAB:remove()
  2189. for i=0, 0.4, 0.1 / Animation_Speed do
  2190. Swait()
  2191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2195. 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)
  2196. 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)
  2197. end
  2198. end
  2199. elseif TARGET.Name == "UpperTorso" then
  2200. if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
  2201. for i=0, 0.3, 0.1 / Animation_Speed do
  2202. Swait()
  2203. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2204. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2205. 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)
  2206. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2207. 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)
  2208. 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)
  2209. end
  2210. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  2211. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2212. local BLADE = true
  2213. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
  2214. coroutine.resume(coroutine.create(function()
  2215. repeat
  2216. Swait()
  2217. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  2218. until BLADE == false
  2219. SAWBLADE:remove()
  2220. end))
  2221. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  2222. for i=0, 1, 0.1 / Animation_Speed do
  2223. Swait()
  2224. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2226. 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)
  2227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2228. 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)
  2229. 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)
  2230. end
  2231. for i=0, 3, 0.1 / Animation_Speed do
  2232. Swait()
  2233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2235. 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)
  2236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2237. 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)
  2238. 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)
  2239. end
  2240. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2241. TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
  2242. for i=0, 1, 0.1 / Animation_Speed do
  2243. Swait()
  2244. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2246. 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)
  2247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2248. 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)
  2249. 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)
  2250. end
  2251. for i=0, 3, 0.1 / Animation_Speed do
  2252. Swait()
  2253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  2255. 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)
  2256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2257. 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)
  2258. 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)
  2259. end
  2260. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  2261. TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
  2262. BLADE = false
  2263. for i=0, 0.5, 0.1 / Animation_Speed do
  2264. Swait()
  2265. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  2266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2267. 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)
  2268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2269. 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)
  2270. 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)
  2271. end
  2272. for i=0, 0.1, 0.1 / Animation_Speed do
  2273. Swait()
  2274. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2275. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2276. 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)
  2277. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2278. 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)
  2279. 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)
  2280. end
  2281. GORED = true
  2282. TARGET.Parent:BreakJoints()
  2283. R15Ragdoll(TARGET.Parent)
  2284. if ROOT.Name ~= "Torso" then
  2285. ROOT:remove()
  2286. end
  2287. local bv = Instance.new("BodyVelocity",TARGET)
  2288. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2289. bv.velocity = TARGET.CFrame.lookVector*75
  2290. Debris:AddItem(bv,0.05)
  2291. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  2292. for i=0, 0.3, 0.1 / Animation_Speed do
  2293. Swait()
  2294. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  2295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  2296. 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)
  2297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2298. 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)
  2299. 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)
  2300. end
  2301. end
  2302. end
  2303. end
  2304. ATTACK = false
  2305. Rooted = false
  2306. end
  2307.  
  2308. function Buzzsaw()
  2309. ATTACK = true
  2310. Rooted = false
  2311. local ARMSPEED = 0.1
  2312. local TARGET = nil
  2313. local ROOT = nil
  2314. local HUMAN = nil
  2315. local DIST = 4
  2316. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  2317. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  2318. local BLADE = true
  2319. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  2320. coroutine.resume(coroutine.create(function()
  2321. repeat
  2322. Swait()
  2323. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  2324. until BLADE == false
  2325. SAWBLADE:remove()
  2326. end))
  2327. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  2328. for i=0, 1, 0.1 / Animation_Speed do
  2329. Swait()
  2330. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2331. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2332. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2333. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2334. 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)
  2335. 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)
  2336. end
  2337. for i=0, 2, 0.1 / Animation_Speed do
  2338. Swait()
  2339. local CHILDREN = workspace:GetDescendants()
  2340. for index, CHILD in pairs(CHILDREN) do
  2341. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2342. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2343. if HUM then
  2344. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2345. if TORSO and HUM.Health > 0 then
  2346. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  2347. DIST = (TORSO.Position - RightArm.Position).Magnitude
  2348. ROOT = TORSO
  2349. HUMAN = HUM
  2350. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2351. end
  2352. end
  2353. end
  2354. end
  2355. end
  2356. if ROOT then
  2357. break
  2358. end
  2359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2361. 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)
  2362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2363. 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)
  2364. 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)
  2365. end
  2366. if ROOT then
  2367. ARMSPEED = 0.03
  2368. Rooted = true
  2369. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  2370. repeat
  2371. HUMAN.Health = HUMAN.Health - 0.5
  2372. Swait()
  2373. ROOT.Anchored = true
  2374. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2375. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2376. 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)
  2377. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2378. 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)
  2379. 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)
  2380. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  2381. ROOT.Anchored = false
  2382. if HUMAN.Health == 0 then
  2383. if ROOT.Name ~= "Torso" then
  2384. ROOT:remove()
  2385. end
  2386. if TARGET.Name == "Torso" then
  2387. Ragdoll(HUMAN.Parent,Torso,true)
  2388. elseif TARGET.Name == "UpperTorso" then
  2389. R15Ragdoll(HUMAN.Parent,true)
  2390. end
  2391. end
  2392. end
  2393. BLADE = false
  2394. ATTACK = false
  2395. Rooted = false
  2396. end
  2397.  
  2398. function ReeeEEEEEE()
  2399. ATTACK = true
  2400. Rooted = false
  2401. Speed = 12
  2402. local FX = CreateSound(198165368, Head, 4, 0.5, false)
  2403. repeat
  2404. Swait()
  2405. FX.Parent = Head
  2406. local CHILDREN = workspace:GetDescendants()
  2407. for index, CHILD in pairs(CHILDREN) do
  2408. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2409. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2410. if HUM then
  2411. local TORSO = CHILD:FindFirstChild("Head")
  2412. if TORSO then
  2413. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  2414. 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})
  2415. TORSO:remove()
  2416. if CHILD:FindFirstChild("Torso") then
  2417. Ragdoll(CHILD,Torso,true)
  2418. elseif CHILD:FindFirstChild("UpperTorso") then
  2419. R15Ragdoll(CHILD,true)
  2420. end
  2421. end
  2422. end
  2423. end
  2424. end
  2425. end
  2426. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2427. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2428. 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)
  2429. 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)
  2430. 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)
  2431. 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)
  2432. until FX.Playing == false
  2433. Speed = 16
  2434. ATTACK = false
  2435. Rooted = false
  2436. end
  2437.  
  2438. function Needle()
  2439. ATTACK = true
  2440. Rooted = true
  2441. local GYRO = IT("BodyGyro",RootPart)
  2442. GYRO.D = 2
  2443. GYRO.P = 2000
  2444. GYRO.MaxTorque = VT(0,4000000,0)
  2445. local NEEDGYRO = true
  2446. coroutine.resume(coroutine.create(function()
  2447. repeat
  2448. Swait()
  2449. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2450. until NEEDGYRO == false
  2451. GYRO:Remove()
  2452. end))
  2453. for i=0, 0.3, 0.1 / Animation_Speed do
  2454. Swait()
  2455. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2459. 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)
  2460. 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)
  2461. end
  2462. for i=0, 1, 0.1 / Animation_Speed do
  2463. Swait()
  2464. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2465. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  2466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2468. 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)
  2469. 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)
  2470. end
  2471. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  2472. 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})
  2473. NEEDGYRO = false
  2474. if HIT then
  2475. local NEEDLE = IT("Model",Effects)
  2476. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  2477. MakeForm(BASE,"Cyl")
  2478. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  2479. weldBetween(BASE,HIT)
  2480. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  2481. MakeForm(FLUID,"Cyl")
  2482. FLUID.CFrame = BASE.CFrame
  2483. weldBetween(BASE,FLUID)
  2484. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  2485. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  2486. weldBetween(BASE,PART)
  2487. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  2488. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  2489. weldBetween(BASE,PART)
  2490. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  2491. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  2492. weldBetween(BASE,PART)
  2493. Debris:AddItem(NEEDLE,7)
  2494. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  2495. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  2496. coroutine.resume(coroutine.create(function()
  2497. for i = 1, 500 do
  2498. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  2499. if HUMAN.Health == 0 then
  2500. break
  2501. end
  2502. Swait(2)
  2503. end
  2504. if HUMAN.Health == 0 then
  2505. local CHILD = HUMAN.Parent
  2506. if CHILD:FindFirstChild("Torso") then
  2507. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  2508. Ragdoll(CHILD,Torso,true)
  2509. elseif CHILD:FindFirstChild("UpperTorso") then
  2510. R15Ragdoll(CHILD,true)
  2511. end
  2512. end
  2513. end))
  2514. end
  2515. end
  2516. for i=0, 1, 0.1 / Animation_Speed do
  2517. Swait()
  2518. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2519. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  2520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2522. 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)
  2523. 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)
  2524. end
  2525. ATTACK = false
  2526. Rooted = false
  2527. end
  2528.  
  2529. --//=================================\\
  2530. --|| ASSIGN THINGS TO KEYS
  2531. --\\=================================//
  2532.  
  2533. function MouseDown(Mouse)
  2534. if ATTACK == false then
  2535. Banisher_Bullet()
  2536. end
  2537. end
  2538.  
  2539. function MouseUp(Mouse)
  2540. HOLD = false
  2541. end
  2542.  
  2543. function KeyDown(Key)
  2544. KEYHOLD = true
  2545. if Key == "z" and ATTACK == false then
  2546. Warp()
  2547. end
  2548.  
  2549. if Key == "b" and ATTACK == false then
  2550. Dash()
  2551. end
  2552.  
  2553. if Key == "c" and ATTACK == false then
  2554. LimbRip()
  2555. end
  2556.  
  2557. if Key == "g" and ATTACK == false then
  2558. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  2559. TOBANISH = {}
  2560. end
  2561.  
  2562. if Key == "v" and ATTACK == false then
  2563. Buzzsaw()
  2564. end
  2565.  
  2566. if Key == "e" and ATTACK == false then
  2567. ReeeEEEEEE()
  2568. end
  2569.  
  2570. if Key == "x" and ATTACK == false then
  2571. Needle()
  2572. end
  2573. end
  2574.  
  2575. function KeyUp(Key)
  2576. KEYHOLD = false
  2577. end
  2578.  
  2579. Mouse.Button1Down:connect(function(NEWKEY)
  2580. MouseDown(NEWKEY)
  2581. end)
  2582. Mouse.Button1Up:connect(function(NEWKEY)
  2583. MouseUp(NEWKEY)
  2584. end)
  2585. Mouse.KeyDown:connect(function(NEWKEY)
  2586. KeyDown(NEWKEY)
  2587. end)
  2588. Mouse.KeyUp:connect(function(NEWKEY)
  2589. KeyUp(NEWKEY)
  2590. end)
  2591.  
  2592. --//=================================\\
  2593. --\\=================================//
  2594.  
  2595. function AntiTimeStop()
  2596. for _, c in pairs(Character:GetChildren()) do
  2597. if c:IsA("BasePart") then
  2598. c.Anchored = false
  2599. end
  2600. end
  2601. for _, c in pairs(Weapon:GetChildren()) do
  2602. if c:IsA("BasePart") then
  2603. c.Anchored = false
  2604. end
  2605. end
  2606. end
  2607.  
  2608. --//=================================\\
  2609. --|| WRAP THE WHOLE SCRIPT UP
  2610. --\\=================================//
  2611.  
  2612. Humanoid.Changed:connect(function(Jump)
  2613. if Jump == "Jump" and (Disable_Jump == true) then
  2614. Humanoid.Jump = false
  2615. end
  2616. end)
  2617.  
  2618. local sick = IT("Sound")
  2619.  
  2620. while true do
  2621. Swait()
  2622. script.Parent = WEAPONGUI
  2623. ANIMATE.Parent = nil
  2624. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2625. v:Stop();
  2626. end
  2627. SINE = SINE + CHANGE
  2628. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2629. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2630. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2631. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2632. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2633. 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)
  2634. 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)
  2635. 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)
  2636. 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)
  2637. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2638. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2639. 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)
  2640. 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)
  2641. 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)
  2642. end
  2643. if HITFLOOR == nil then
  2644. ANIM = "Midair"
  2645. if ATTACK == false then
  2646. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2647. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2648. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2650. 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)
  2651. 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)
  2652. end
  2653. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2654. ANIM = "Idle"
  2655. if ATTACK == false then
  2656. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2657. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2658. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2659. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(70), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2660. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2661. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2662. end
  2663. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2664. ANIM = "Walk"
  2665. if ATTACK == false then
  2666. 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)
  2667. 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)
  2668. 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)
  2669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.1, 0) * ANGLES(RAD(-15 - 2 * COS(SINE/12)), RAD(0), RAD(-10 + 1 * COS(SINE / 12))) * ANGLES(RAD(150), RAD(5), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2670. 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)
  2671. 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)
  2672. end
  2673. end
  2674. Humanoid.MaxHealth = 10e10
  2675. Humanoid.Health = 10e10
  2676. sick.SoundId = "rbxassetid://1696854181"
  2677. sick.Looped = true
  2678. sick.Pitch = 1
  2679. sick.Volume = 2
  2680. sick.Playing = true
  2681. sick.Parent = Effects
  2682. AntiTimeStop()
  2683. if Rooted == false then
  2684. Disable_Jump = false
  2685. Humanoid.WalkSpeed = Speed
  2686. elseif Rooted == true then
  2687. Disable_Jump = true
  2688. Humanoid.WalkSpeed = 0
  2689. end
  2690. Humanoid.Name = "Killbot"
  2691. end
  2692.  
  2693. --//=================================\\
  2694. --\\=================================//
  2695.  
  2696. --//====================================================\\--
  2697. --|| END OF SCRIPT
  2698. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement