Advertisement
BAconTUbe

H GOD NO

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