Advertisement
memberhero

13 Script FE

Sep 18th, 2018
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy.Name ~= InternalData.RealOwner.Name then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. else
  25. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  26. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  27. for _,Action in pairs(ContextActionService.Actions) do
  28. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  29. end
  30. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  31. end
  32. end)
  33. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  34. Event.Parent = NLS([[
  35. local Player = owner;
  36. local Event = script:WaitForChild("UserInput");
  37. local UserInputService = game:GetService("UserInputService");
  38. local Mouse = Player:GetMouse();
  39. local Input = function(Input,gameProcessedEvent)
  40. if gameProcessedEvent then return end
  41. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  42. end
  43. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  44. local Hit,Target
  45. while wait(1/60) do
  46. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  47. Hit = Mouse.Hit;Target = Mouse.Target;
  48. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  49. end
  50. end
  51. ]],InternalData.RealOwner.Character)
  52. end
  53. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  54. __index = function (self,Index)
  55. if Index:lower() == 'new' then
  56. return function (Type, Parent)
  57. local Real = InternalData.RealInstance.new(Type,Parent)
  58. if not Type then return end
  59. if Type == "BillboardGui" then
  60. return setmetatable({},{
  61. __index = function (self,Index)
  62. return Real[Index]
  63. end;
  64. __newindex = function (self,Index,Value)
  65. if Index:lower() == "playertohidefrom" then
  66. if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
  67. else
  68. Real[Index] = Value
  69. end
  70. end;
  71. __tostring = function(self) return tostring(Real) end;
  72. })
  73. end
  74. return Real
  75. end
  76. end
  77. return InternalData.RealInstance[Index]
  78. end;
  79. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  80. });
  81. InternalData.RealGame = game;game = setmetatable({},{
  82. __index = function (self,Index)
  83. local Sandbox = function (Thing)
  84. if Thing:IsA("Player") then
  85. local RealPlayer = Thing
  86. return setmetatable({},{
  87. __index = function (self,Index)
  88. local Type = type(RealPlayer[Index])
  89. if Type == "function" then
  90. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  91. return function (self)return InternalData["Mouse"] end
  92. end
  93. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  94. elseif Index == "FakePlayer" then
  95. return true
  96. end
  97. return RealPlayer[Index]
  98. end;
  99. __tostring = function(self) return tostring(RealPlayer) end
  100. })
  101. end
  102. end
  103. if InternalData.RealGame[Index] then
  104. local Type = type(InternalData.RealGame[Index])
  105. if Type == "function" then
  106. if Index:lower() == "getservice" or Index:lower() == "service" then
  107. return function (self,Service)
  108. local FakeServices = {
  109. ["players"] = function()
  110. return setmetatable({},{
  111. __index = function (self2,Index2)
  112. local RealService = InternalData.RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...)end
  116. else
  117. if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
  118. return RealService[Index2]
  119. end
  120. end;
  121. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  122. })
  123. end;
  124. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  125. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  126. ["runservice"] = function()
  127. return setmetatable({},{
  128. __index = function(self2,Index2)
  129. local RealService = InternalData.RealGame:GetService(Service)
  130. local Type2 = type(Index2)
  131. if Type2 == "function" then
  132. return function (self,...) return RealService[Index2](RealService,...) end
  133. else
  134. local RunServices = {
  135. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  136. ["renderstepped"] = function() return RealService["Stepped"] end
  137. }
  138. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  139. return RealService[Index2]
  140. end
  141. end;
  142. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  143. })
  144. end
  145. }
  146. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  147. return InternalData.RealGame:GetService(Service)
  148. end
  149. end
  150. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  151. else
  152. if game:GetService(Index) then return game:GetService(Index) end
  153. return InternalData.RealGame[Index]
  154. end
  155. end
  156. return nil
  157. end;
  158. __tostring = function(self) return tostring(InternalData.game) end
  159. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  160.  
  161. --//Paste script below this line.
  162. wait(0.2)
  163. function sandbox(var,func)
  164. local env = getfenv(func)
  165. local newenv = setmetatable({},{
  166. __index = function(self,k)
  167. if k=="script" then
  168. return var
  169. else
  170. return env[k]
  171. end
  172. end,
  173. })
  174. setfenv(func,newenv)
  175. return func
  176. end
  177. cors = {}
  178. mas = Instance.new("Model",game:GetService("Lighting"))
  179. Sky0 = Instance.new("Sky")
  180. Sky0.Parent = mas
  181. Sky0.CelestialBodiesShown = false
  182. Sky0.SkyboxBk = "rbxassetid://218955819"
  183. Sky0.SkyboxDn = "rbxassetid://218953419"
  184. Sky0.SkyboxFt = "rbxassetid://218954524"
  185. Sky0.SkyboxLf = "rbxassetid://218958493"
  186. Sky0.SkyboxRt = "rbxassetid://218957134"
  187. Sky0.SkyboxUp = "rbxassetid://218950090"
  188. for i,v in pairs(mas:GetChildren()) do
  189. v.Parent = game:GetService("Lighting")
  190. pcall(function() v:MakeJoints() end)
  191. end
  192. mas:Destroy()
  193. for i,v in pairs(cors) do
  194. spawn(function()
  195. pcall(v)
  196. end)
  197. end
  198.  
  199. --lollllll
  200.  
  201. wait(0.2)
  202.  
  203. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  204.  
  205. Player = game:GetService("Players").LocalPlayer
  206. PlayerGui = Player.PlayerGui
  207. Cam = workspace.CurrentCamera
  208. Backpack = Player.Backpack
  209. Character = Player.Character
  210. Humanoid = Character.Humanoid
  211. Mouse = Player:GetMouse()
  212. RootPart = Character["HumanoidRootPart"]
  213. Torso = Character["Torso"]
  214. Head = Character["Head"]
  215. RightArm = Character["Right Arm"]
  216. LeftArm = Character["Left Arm"]
  217. RightLeg = Character["Right Leg"]
  218. LeftLeg = Character["Left Leg"]
  219. RootJoint = RootPart["RootJoint"]
  220. Neck = Torso["Neck"]
  221. RightShoulder = Torso["Right Shoulder"]
  222. LeftShoulder = Torso["Left Shoulder"]
  223. RightHip = Torso["Right Hip"]
  224. LeftHip = Torso["Left Hip"]
  225. plr = game.Players.LocalPlayer
  226. char = plr.Character
  227. for i,v in pairs(char:GetChildren()) do
  228. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  229. v:Destroy()
  230. end
  231. end
  232.  
  233. IT = Instance.new
  234. CF = CFrame.new
  235. VT = Vector3.new
  236. RAD = math.rad
  237. C3 = Color3.new
  238. UD2 = UDim2.new
  239. BRICKC = BrickColor.new
  240. ANGLES = CFrame.Angles
  241. EULER = CFrame.fromEulerAnglesXYZ
  242. COS = math.cos
  243. ACOS = math.acos
  244. SIN = math.sin
  245. ASIN = math.asin
  246. ABS = math.abs
  247. MRANDOM = math.random
  248. FLOOR = math.floor
  249. local LAUGHS = {834001699,834001752,834001828}
  250. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  251. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  252. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  253. local PaintBody = 'Black'
  254. local runService = S.RunService
  255. local sine = 0;
  256. local change = 1;
  257. local GlitchTime = 0;
  258.  
  259. --//=================================\\
  260. --|| USEFUL VALUES
  261. --\\=================================//
  262.  
  263. Animation_Speed = 3
  264. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  265. local Speed = 20
  266. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  267. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  268. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  269. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  270. local DAMAGEMULTIPLIER = 1
  271. local ANIM = "Idle"
  272. local ATTACK = false
  273. local EQUIPPED = false
  274. local HOLD = false
  275. local COMBO = 1
  276. local Rooted = false
  277. local SINE = 0
  278. local KEYHOLD = false
  279. local CHANGE = 2 / Animation_Speed
  280. local WALKINGANIM = false
  281. local VALUE1 = false
  282. local VALUE2 = false
  283. local ROBLOXIDLEANIMATION = IT("Animation")
  284. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  285. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  286. --ROBLOXIDLEANIMATION.Parent = Humanoid
  287. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  288. WEAPONGUI.Name = "PIXELGUI"
  289. local Effects = IT("Folder", Character)
  290. Effects.Name = "Effects"
  291. local ANIMATOR = Humanoid.Animator
  292. local ANIMATE = Character.Animate
  293. local UNANCHOR = true
  294. local SONG = 383837680
  295. local DEAD = false
  296. local WALKINGANIM = false
  297. local WALK = 0
  298. Player_Size = 1 --Size of the player.
  299. PlayerSize = 1 --Size of the player.
  300. Animation_Speed = 3
  301. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  302.  
  303. local Speed = 16
  304. local Effects2 = {}
  305. local KILLINSTINCT = 0
  306. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  307. WEAPONGUI.Name = "Weapon GUI"
  308. local Weapon = IT("Model")
  309. Weapon.Name = "Adds"
  310. local Effects = IT("Folder", Weapon)
  311. Effects.Name = "Effects"
  312.  
  313. local plr = S.Players.LocalPlayer
  314. local char = plr.Character
  315. local hum = char:FindFirstChildOfClass'Humanoid'
  316. local rarm = char["Right Arm"]
  317. local larm= char["Left Arm"]
  318. local rleg= char["Right Leg"]
  319. local lleg = char["Left Leg"]
  320. local root = char:FindFirstChild'HumanoidRootPart'
  321. local torso = char.Torso
  322. local head = char.Head
  323.  
  324. --//=================================\\
  325. --\\=================================//
  326.  
  327.  
  328. --//=================================\\
  329. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  330. --\\=================================//
  331.  
  332. ArtificialHB = Instance.new("BindableEvent", script)
  333. ArtificialHB.Name = "ArtificialHB"
  334.  
  335. script:WaitForChild("ArtificialHB")
  336.  
  337. frame = Frame_Speed
  338. tf = 0
  339. allowframeloss = false
  340. tossremainder = false
  341. lastframe = tick()
  342. script.ArtificialHB:Fire()
  343.  
  344. game:GetService("RunService").Heartbeat:connect(function(s, p)
  345. tf = tf + s
  346. if tf >= frame then
  347. if allowframeloss then
  348. script.ArtificialHB:Fire()
  349. lastframe = tick()
  350. else
  351. for i = 1, math.floor(tf / frame) do
  352. script.ArtificialHB:Fire()
  353. end
  354. lastframe = tick()
  355. end
  356. if tossremainder then
  357. tf = 0
  358. else
  359. tf = tf - frame * math.floor(tf / frame)
  360. end
  361. end
  362. end)
  363.  
  364. --//=================================\\
  365. --\\=================================//
  366.  
  367. --//=================================\\
  368. --|| SOME FUNCTIONS
  369. --\\=================================//
  370.  
  371. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  372. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  373. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  374. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  375. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  376. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  377.  
  378. local Effects,Sounds = {},{};
  379.  
  380. -- Sounds
  381. Sounds['Astronaut13'] = {Id=247896174,Loop=true,Pitch=1,Volume=10}
  382.  
  383. function ClearChildrenWithClass(where,class,recursive)
  384. local children = (recursive and where:GetDescendants() or where:GetChildren())
  385. for _,v in next, children do
  386. if(v:IsA(class))then
  387. v:destroy()
  388. end
  389. end
  390. end
  391. local NewInstance = function(instance,parent,properties)
  392. local inst = Instance.new(instance,parent)
  393. if(properties)then
  394. for i,v in next, properties do
  395. pcall(function() inst[i] = v end)
  396. end
  397. end
  398. return inst;
  399. end
  400.  
  401.  
  402. ArtificialHB = NewInstance("BindableEvent", script,{
  403. Parent = script,
  404. Name = "Heartbeat",
  405. })
  406.  
  407. script:WaitForChild("Heartbeat")
  408.  
  409. frame = 1 / 60
  410. tf = 0
  411. allowframeloss = false
  412. tossremainder = false
  413. lastframe = tick()
  414. script.Heartbeat:Fire()
  415.  
  416. game:GetService("RunService").Heartbeat:connect(function(s, p)
  417. tf = tf + s
  418. if tf >= frame then
  419. if allowframeloss then
  420. script.Heartbeat:Fire()
  421. lastframe = tick()
  422. else
  423. for i = 1, math.floor(tf / frame) do
  424. script.Heartbeat:Fire()
  425. end
  426. lastframe = tick()
  427. end
  428. if tossremainder then
  429. tf = 0
  430. else
  431. tf = tf - frame * math.floor(tf / frame)
  432. end
  433. end
  434. end)
  435.  
  436. local sndFromData = function(data,parent)
  437. assert(typeof(data) == 'table',"sndFromData's first argument must be a table!")
  438. local snd = NewInstance("Sound",parent or char,{SoundId = "rbxassetid://"..data.Id,Looped=data.Loop or false,Pitch = data.Pitch or 1,Volume = data.Volume or 1})
  439. if(not snd.Looped)then
  440. snd.Ended:connect(function()
  441. snd:Stop()
  442. snd:destroy()
  443. end)
  444. end
  445. return snd;
  446. end
  447.  
  448. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  449. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  450. end
  451.  
  452. function PositiveAngle(NUMBER)
  453. if NUMBER >= 0 then
  454. NUMBER = 0
  455. end
  456. return NUMBER
  457. end
  458.  
  459. function NegativeAngle(NUMBER)
  460. if NUMBER <= 0 then
  461. NUMBER = 0
  462. end
  463. return NUMBER
  464. end
  465.  
  466. function Swait(NUMBER)
  467. if NUMBER == 0 or NUMBER == nil then
  468. ArtificialHB.Event:wait()
  469. else
  470. for i = 1, NUMBER do
  471. ArtificialHB.Event:wait()
  472. end
  473. end
  474. end
  475.  
  476. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  477. local NEWMESH = IT(MESH)
  478. if MESH == "SpecialMesh" then
  479. NEWMESH.MeshType = MESHTYPE
  480. if MESHID ~= "nil" and MESHID ~= "" then
  481. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  482. end
  483. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  484. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  485. end
  486. end
  487. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  488. NEWMESH.Scale = SCALE
  489. NEWMESH.Parent = PARENT
  490. return NEWMESH
  491. end
  492.  
  493. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  494. local NEWPART = IT("Part")
  495. NEWPART.formFactor = FORMFACTOR
  496. NEWPART.Reflectance = REFLECTANCE
  497. NEWPART.Transparency = TRANSPARENCY
  498. NEWPART.CanCollide = false
  499. NEWPART.Locked = true
  500. NEWPART.Anchored = true
  501. if ANCHOR == false then
  502. NEWPART.Anchored = false
  503. end
  504. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  505. NEWPART.Name = NAME
  506. NEWPART.Size = SIZE
  507. NEWPART.Position = Torso.Position
  508. NEWPART.Material = MATERIAL
  509. NEWPART:BreakJoints()
  510. NEWPART.Parent = PARENT
  511. return NEWPART
  512. end
  513.  
  514. local function weldBetween(a, b)
  515. local weldd = Instance.new("ManualWeld")
  516. weldd.Part0 = a
  517. weldd.Part1 = b
  518. weldd.C0 = CFrame.new()
  519. weldd.C1 = b.CFrame:inverse() * a.CFrame
  520. weldd.Parent = a
  521. return weldd
  522. end
  523.  
  524.  
  525. function QuaternionFromCFrame(cf)
  526. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  527. local trace = m00 + m11 + m22
  528. if trace > 0 then
  529. local s = math.sqrt(1 + trace)
  530. local recip = 0.5 / s
  531. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  532. else
  533. local i = 0
  534. if m11 > m00 then
  535. i = 1
  536. end
  537. if m22 > (i == 0 and m00 or m11) then
  538. i = 2
  539. end
  540. if i == 0 then
  541. local s = math.sqrt(m00 - m11 - m22 + 1)
  542. local recip = 0.5 / s
  543. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  544. elseif i == 1 then
  545. local s = math.sqrt(m11 - m22 - m00 + 1)
  546. local recip = 0.5 / s
  547. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  548. elseif i == 2 then
  549. local s = math.sqrt(m22 - m00 - m11 + 1)
  550. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  551. end
  552. end
  553. end
  554.  
  555. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  556. local xs, ys, zs = x + x, y + y, z + z
  557. local wx, wy, wz = w * xs, w * ys, w * zs
  558. local xx = x * xs
  559. local xy = x * ys
  560. local xz = x * zs
  561. local yy = y * ys
  562. local yz = y * zs
  563. local zz = z * zs
  564. 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))
  565. end
  566.  
  567. function QuaternionSlerp(a, b, t)
  568. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  569. local startInterp, finishInterp;
  570. if cosTheta >= 0.0001 then
  571. if (1 - cosTheta) > 0.0001 then
  572. local theta = ACOS(cosTheta)
  573. local invSinTheta = 1 / SIN(theta)
  574. startInterp = SIN((1 - t) * theta) * invSinTheta
  575. finishInterp = SIN(t * theta) * invSinTheta
  576. else
  577. startInterp = 1 - t
  578. finishInterp = t
  579. end
  580. else
  581. if (1 + cosTheta) > 0.0001 then
  582. local theta = ACOS(-cosTheta)
  583. local invSinTheta = 1 / SIN(theta)
  584. startInterp = SIN((t - 1) * theta) * invSinTheta
  585. finishInterp = SIN(t * theta) * invSinTheta
  586. else
  587. startInterp = t - 1
  588. finishInterp = t
  589. end
  590. end
  591. 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
  592. end
  593. function look(to)
  594. RootJoint.CFrame = CFrame.new(RootJoint.CFrame.p,Vector3.new(to.x,RootJoint.CFrame.y,to.z))
  595. end
  596. function Clerp(a, b, t)
  597. local qa = {QuaternionFromCFrame(a)}
  598. local qb = {QuaternionFromCFrame(b)}
  599. local ax, ay, az = a.x, a.y, a.z
  600. local bx, by, bz = b.x, b.y, b.z
  601. local _t = 1 - t
  602. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  603. end
  604.  
  605. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  606. local frame = IT("Frame")
  607. frame.BackgroundTransparency = TRANSPARENCY
  608. frame.BorderSizePixel = BORDERSIZEPIXEL
  609. frame.Position = POSITION
  610. frame.Size = SIZE
  611. frame.BackgroundColor3 = COLOR
  612. frame.BorderColor3 = BORDERCOLOR
  613. frame.Name = NAME
  614. frame.Parent = PARENT
  615. return frame
  616. end
  617.  
  618. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  619. local label = IT("TextLabel")
  620. label.BackgroundTransparency = 1
  621. label.Size = UD2(1, 0, 1, 0)
  622. label.Position = UD2(0, 0, 0, 0)
  623. label.TextColor3 = TEXTCOLOR
  624. label.TextStrokeTransparency = STROKETRANSPARENCY
  625. label.TextTransparency = TRANSPARENCY
  626. label.FontSize = TEXTFONTSIZE
  627. label.Font = TEXTFONT
  628. label.BorderSizePixel = BORDERSIZEPIXEL
  629. label.TextScaled = false
  630. label.Text = TEXT
  631. label.Name = NAME
  632. label.Parent = PARENT
  633. return label
  634. end
  635.  
  636. function NoOutlines(PART)
  637. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  638. end
  639.  
  640. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  641. local NEWWELD = IT(TYPE)
  642. NEWWELD.Part0 = PART0
  643. NEWWELD.Part1 = PART1
  644. NEWWELD.C0 = C0
  645. NEWWELD.C1 = C1
  646. NEWWELD.Parent = PARENT
  647. return NEWWELD
  648. end
  649.  
  650. local S = IT("Sound")
  651. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  652. local NEWSOUND = nil
  653. coroutine.resume(coroutine.create(function()
  654. NEWSOUND = S:Clone()
  655. NEWSOUND.Parent = PARENT
  656. NEWSOUND.Volume = VOLUME
  657. NEWSOUND.Pitch = PITCH
  658. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  659. NEWSOUND:play()
  660. if DOESLOOP == true then
  661. NEWSOUND.Looped = true
  662. else
  663. repeat wait(1) until NEWSOUND.Playing == false
  664. NEWSOUND:remove()
  665. end
  666. end))
  667. return NEWSOUND
  668. end
  669.  
  670. function CFrameFromTopBack(at, top, back)
  671. local right = top:Cross(back)
  672. 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)
  673. end
  674.  
  675. --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})
  676. function WACKYEFFECT(Table)
  677. local TYPE = (Table.EffectType or "Sphere")
  678. local SIZE = (Table.Size or VT(1,1,1))
  679. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  680. local TRANSPARENCY = (Table.Transparency or 0)
  681. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  682. local CFRAME = (Table.CFrame or Torso.CFrame)
  683. local MOVEDIRECTION = (Table.MoveToPos or nil)
  684. local ROTATION1 = (Table.RotationX or 0)
  685. local ROTATION2 = (Table.RotationY or 0)
  686. local ROTATION3 = (Table.RotationZ or 0)
  687. local MATERIAL = (Table.Material or "Neon")
  688. local COLOR = (Table.Color or C3(1,1,1))
  689. local TIME = (Table.Time or 45)
  690. local SOUNDID = (Table.SoundID or nil)
  691. local SOUNDPITCH = (Table.SoundPitch or nil)
  692. local SOUNDVOLUME = (Table.SoundVolume or nil)
  693. coroutine.resume(coroutine.create(function()
  694. local PLAYSSOUND = false
  695. local SOUND = nil
  696. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  697. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  698. PLAYSSOUND = true
  699. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  700. end
  701. EFFECT.Color = COLOR
  702. local MSH = nil
  703. if TYPE == "Sphere" then
  704. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  705. elseif TYPE == "Block" or TYPE == "Box" then
  706. MSH = IT("BlockMesh",EFFECT)
  707. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  708. elseif TYPE == "Wave" then
  709. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  710. elseif TYPE == "Ring" then
  711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  712. elseif TYPE == "Slash" then
  713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  714. elseif TYPE == "Round Slash" then
  715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  716. elseif TYPE == "Swirl" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  718. elseif TYPE == "Skull" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  720. elseif TYPE == "Crystal" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  722. end
  723. if MSH ~= nil then
  724. local MOVESPEED = nil
  725. if MOVEDIRECTION ~= nil then
  726. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  727. end
  728. local GROWTH = SIZE - ENDSIZE
  729. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  730. if TYPE == "Block" then
  731. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  732. else
  733. EFFECT.CFrame = CFRAME
  734. end
  735. for LOOP = 1, TIME+1 do
  736. Swait()
  737. MSH.Scale = MSH.Scale - GROWTH/TIME
  738. if TYPE == "Wave" then
  739. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  740. end
  741. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  742. if TYPE == "Block" then
  743. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  744. else
  745. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  746. end
  747. if MOVEDIRECTION ~= nil then
  748. local ORI = EFFECT.Orientation
  749. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  750. EFFECT.Orientation = ORI
  751. end
  752. end
  753. if PLAYSSOUND == false then
  754. EFFECT:remove()
  755. else
  756. repeat Swait() until SOUND.Playing == false
  757. EFFECT:remove()
  758. end
  759. else
  760. if PLAYSSOUND == false then
  761. EFFECT:remove()
  762. else
  763. repeat Swait() until SOUND.Playing == false
  764. EFFECT:remove()
  765. end
  766. end
  767. end))
  768. end
  769.  
  770. function MakeForm(PART,TYPE)
  771. if TYPE == "Cyl" then
  772. local MSH = IT("CylinderMesh",PART)
  773. elseif TYPE == "Ball" then
  774. local MSH = IT("SpecialMesh",PART)
  775. MSH.MeshType = "Sphere"
  776. elseif TYPE == "Wedge" then
  777. local MSH = IT("SpecialMesh",PART)
  778. MSH.MeshType = "Wedge"
  779. end
  780. end
  781.  
  782. Debris = game:GetService("Debris")
  783.  
  784. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  785. local DIRECTION = CF(StartPos,EndPos).lookVector
  786. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  787. end
  788.  
  789. function turnto(position)
  790. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  791. end
  792. Humanoid.Died:connect(function()
  793. Humanoid.Parent = nil
  794. Humanoid.MaxHealth = "inf"
  795. Humanoid.Health = "inf"
  796. refit()
  797. Humanoid.Parent = Character
  798. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,10,0.8)
  799. for i = 1, 5 do
  800. end
  801. killnearest(Torso.Position, 25, 180)
  802. end)
  803. function killnearest(position, range, maxstrength)
  804. for i, v in ipairs(workspace:GetChildren()) do
  805. local body = v:GetChildren()
  806. for part = 1, #body do
  807. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  808. if v.ClassName == "Model" then
  809. v:BreakJoints()
  810. end
  811. local bv = Instance.new("BodyVelocity")
  812. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  813. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  814. bv.Parent = body[part]
  815. Debris:AddItem(bv, 0.2)
  816. end
  817. end
  818. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  819. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  820. end
  821. end
  822. end
  823. local asd = Instance.new("ParticleEmitter")
  824. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  825. asd.LightEmission = .1
  826. asd.Size = NumberSequence.new(0.2)
  827. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  828. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  829. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  830. asd.Transparency = bbb
  831. asd.Size = aaa
  832. asd.ZOffset = .9
  833. asd.Acceleration = Vector3.new(0, -5, 0)
  834. asd.LockedToPart = false
  835. asd.EmissionDirection = "Back"
  836. asd.Lifetime = NumberRange.new(1, 2)
  837. asd.Rotation = NumberRange.new(-100, 100)
  838. asd.RotSpeed = NumberRange.new(-100, 100)
  839. asd.Speed = NumberRange.new(2)
  840. asd.Enabled = false
  841. asd.VelocitySpread = 10000
  842.  
  843. function getbloody(victim,amount)
  844. local prtcl = asd:Clone()
  845. prtcl.Parent = victim
  846. prtcl:Emit(amount)
  847. end
  848.  
  849. local TORSOVELOCITY = 0
  850. function Ragdoll(Character2,CharTorso)
  851. local svch = Character2
  852. local hum = Character2:findFirstChild("Humanoid")
  853. local q = Character2:GetChildren()
  854. local CLONE = IT("Model",Effects)
  855. local DummyHead = nil
  856. for i = 1,#q do
  857. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  858. q[i].Parent = CLONE
  859. if q[i].Name == "Head" then
  860. DummyHead = CLONE.Head:Clone()
  861. q[i]:ClearAllChildren()
  862. q[i].Transparency = 1
  863. end
  864. else
  865. if q[i].ClassName ~= "Humanoid" then
  866. q[i]:remove()
  867. end
  868. end
  869. end
  870. local chrclone = CLONE
  871.  
  872. for _, c in pairs(Character2:GetChildren()) do
  873. if c.ClassName == "Accessory" then
  874. c:remove()
  875. end
  876. end
  877.  
  878. local ch = chrclone:GetChildren()
  879. local i
  880. for i = 1,#ch do
  881. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  882. ch[i]:remove()
  883. end
  884. end
  885. local function Scan(ch)
  886. local e
  887. for e = 1,#ch do
  888. Scan(ch[e]:GetChildren())
  889. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  890. ch[e]:remove()
  891. end
  892. end
  893. end
  894. Scan(chrclone:GetChildren())
  895.  
  896. local ch = Character2:GetChildren()
  897. local i
  898. for i = 1,#ch do
  899. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  900. ch[i]:remove()
  901. end
  902. end
  903.  
  904. local ch = Character2:GetChildren()
  905. local i
  906. for i = 1,#ch do
  907. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  908. ch[i]:remove()
  909. end
  910. end
  911. Character2 = chrclone
  912. local Torso2 = Character2.Torso
  913. local movevector = Vector3.new()
  914.  
  915. if Torso2 then
  916. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  917. local Head = Character2:FindFirstChild("Head")
  918. if Head then
  919. local Neck = Instance.new("Weld")
  920. Neck.Name = "Neck"
  921. Neck.Part0 = Torso2
  922. Neck.Part1 = Head
  923. Neck.C0 = CFrame.new(0, 1.5, 0)
  924. Neck.C1 = CFrame.new()
  925. Neck.Parent = Torso2
  926. Head:ClearAllChildren()
  927. Head.Transparency = 1
  928.  
  929. end
  930. local Limb = Character2:FindFirstChild("Right Arm")
  931. if Limb then
  932.  
  933. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  934. local Joint = Instance.new("Glue")
  935. Joint.Name = "RightShoulder"
  936. Joint.Part0 = Torso2
  937. Joint.Part1 = Limb
  938. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  939. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  940. Joint.Parent = Torso2
  941.  
  942. local B = Instance.new("Part")
  943. B.TopSurface = 0
  944. B.BottomSurface = 0
  945. B.formFactor = "Symmetric"
  946. B.Size = Vector3.new(1, 1, 1)
  947. B.Transparency = 1
  948. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  949. B.Parent = Character2
  950. local W = Instance.new("Weld")
  951. W.Part0 = Limb
  952. W.Part1 = B
  953. W.C0 = CFrame.new(0, -0.5, 0)
  954. W.Parent = Limb
  955.  
  956. end
  957. local Limb = Character2:FindFirstChild("Left Arm")
  958. if Limb then
  959.  
  960. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  961. local Joint = Instance.new("Glue")
  962. Joint.Name = "LeftShoulder"
  963. Joint.Part0 = Torso2
  964. Joint.Part1 = Limb
  965. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  966. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  967. Joint.Parent = Torso2
  968.  
  969. local B = Instance.new("Part")
  970. B.TopSurface = 0
  971. B.BottomSurface = 0
  972. B.formFactor = "Symmetric"
  973. B.Size = Vector3.new(1, 1, 1)
  974. B.Transparency = 1
  975. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  976. B.Parent = Character2
  977. local W = Instance.new("Weld")
  978. W.Part0 = Limb
  979. W.Part1 = B
  980. W.C0 = CFrame.new(0, -0.5, 0)
  981. W.Parent = Limb
  982.  
  983. end
  984. local Limb = Character2:FindFirstChild("Right Leg")
  985. if Limb then
  986.  
  987. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  988. local Joint = Instance.new("Glue")
  989. Joint.Name = "RightHip"
  990. Joint.Part0 = Torso2
  991. Joint.Part1 = Limb
  992. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  993. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  994. Joint.Parent = Torso2
  995.  
  996. local B = Instance.new("Part")
  997. B.TopSurface = 0
  998. B.BottomSurface = 0
  999. B.formFactor = "Symmetric"
  1000. B.Size = Vector3.new(1, 1, 1)
  1001. B.Transparency = 1
  1002. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1003. B.Parent = Character2
  1004. local W = Instance.new("Weld")
  1005. W.Part0 = Limb
  1006. W.Part1 = B
  1007. W.C0 = CFrame.new(0, -0.5, 0)
  1008. W.Parent = Limb
  1009.  
  1010. end
  1011. local Limb = Character2:FindFirstChild("Left Leg")
  1012. if Limb then
  1013.  
  1014. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1015. local Joint = Instance.new("Glue")
  1016. Joint.Name = "LeftHip"
  1017. Joint.Part0 = Torso2
  1018. Joint.Part1 = Limb
  1019. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1020. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1021. Joint.Parent = Torso2
  1022.  
  1023. local B = Instance.new("Part")
  1024. B.TopSurface = 0
  1025. B.BottomSurface = 0
  1026. B.formFactor = "Symmetric"
  1027. B.Size = Vector3.new(1, 1, 1)
  1028. B.Transparency = 1
  1029. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1030. B.Parent = Character2
  1031. local W = Instance.new("Weld")
  1032. W.Part0 = Limb
  1033. W.Part1 = B
  1034. W.C0 = CFrame.new(0, -0.5, 0)
  1035. W.Parent = Limb
  1036.  
  1037. end
  1038. --[
  1039. local Bar = Instance.new("Part")
  1040. Bar.TopSurface = 0
  1041. Bar.BottomSurface = 0
  1042. Bar.formFactor = "Symmetric"
  1043. Bar.Size = Vector3.new(1, 1, 1)
  1044. Bar.Transparency = 1
  1045. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1046. Bar.Parent = Character2
  1047. local Weld = Instance.new("Weld")
  1048. Weld.Part0 = Torso2
  1049. Weld.Part1 = Bar
  1050. Weld.C0 = CFrame.new(0, 0.5, 0)
  1051. Weld.Parent = Torso2
  1052. --]]
  1053. end
  1054. Character2.Parent = Weapon
  1055. if movevector ~= Vector3.new() then
  1056. for i = 1,10 do
  1057. Torso2.Velocity = movevector * 30
  1058. end
  1059. end
  1060. DummyHead.Name = "FakeHead"
  1061. DummyHead.Parent = CLONE
  1062. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  1063. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  1064. MakeForm(BLOOD,"Cyl")
  1065. weldBetween(DummyHead,BLOOD)
  1066. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  1067. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  1068. MakeForm(BLOOD,"Cyl")
  1069. weldBetween(Torso2,BLOOD)
  1070. Character2.Name = "Corpse"
  1071. local hum2 = svch:findFirstChild("Humanoid")
  1072.  
  1073. return Character2,Torso2,DummyHead
  1074. end
  1075.  
  1076. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  1077. local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  1078. if HITFLOOR ~= nil then
  1079. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1080. if HITFLOOR.Name == "BloodPuddle" then
  1081. local DIST = (Position - HITFLOOR.Position).Magnitude
  1082. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  1083. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  1084. end
  1085. else
  1086. if HITFLOOR.Anchored == true then
  1087. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
  1088. BLOOD.CFrame = CF(HITPOS)
  1089. MakeForm(BLOOD,"Cyl")
  1090. coroutine.resume(coroutine.create(function()
  1091. Swait(75)
  1092. while true do
  1093. Swait()
  1094. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  1095. if BLOOD.Size.Z < 0.051 then
  1096. BLOOD:remove()
  1097. break
  1098. end
  1099. end
  1100. end))
  1101. end
  1102. end
  1103. end
  1104. end
  1105. end
  1106.  
  1107. function SprayBlood(POSITION,DIRECTION,BloodSize)
  1108. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  1109. BLOOD.CFrame = CF(POSITION)
  1110. MakeForm(BLOOD,"Ball")
  1111. local bv = Instance.new("BodyVelocity",BLOOD)
  1112. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1113. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
  1114. bv.Name = "MOVE"
  1115. Debris:AddItem(bv,0.05)
  1116. coroutine.resume(coroutine.create(function()
  1117. local HASTOUCHEDGROUND = false
  1118. local HIT = BLOOD.Touched:Connect(function(hit)
  1119. if hit.Anchored == true then
  1120. HASTOUCHEDGROUND = true
  1121. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  1122. end
  1123. end)
  1124. for i = 1, 50 do
  1125. Swait()
  1126. if HASTOUCHEDGROUND == true then
  1127. break
  1128. end
  1129. BLOOD.Size = BLOOD.Size * 0.9
  1130. end
  1131. BLOOD:remove()
  1132. end))
  1133. end
  1134.  
  1135. function Kill(Target)
  1136. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  1137. Target:BreakJoints()
  1138. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  1139. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  1140. getbloody(DummyHead,45)
  1141. if TORS2 ~= nil then
  1142. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  1143. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  1144. local HUM = IT("Humanoid")
  1145. HUM.MaxHealth = 0
  1146. HUM.Health = 0
  1147. HUM.Name = "CorpseHumanoid"
  1148. HUM.PlatformStand = true
  1149. HUM.Parent = CLONE
  1150. KILLINSTINCT = KILLINSTINCT + 20
  1151. TORS2.CFrame = CFRAME
  1152. coroutine.resume(coroutine.create(function()
  1153. for i = 1, 450 do
  1154. wait()
  1155. SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
  1156. SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
  1157. --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
  1158. --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
  1159. end
  1160. CLONE:Remove()
  1161. end))
  1162. end
  1163. end
  1164. end
  1165.  
  1166. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1, 1, 1),false)
  1167. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "121944778", "144012208", VT(1,1,1), VT(0, 0, 0))
  1168. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1169.  
  1170. local DECAL = IT("Decal",HandlePart)
  1171. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  1172.  
  1173. for _, c in pairs(Weapon:GetChildren()) do
  1174. if c.ClassName == "Part" then
  1175. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1176. end
  1177. end
  1178.  
  1179. local A = IT("Attachment",HandlePart)
  1180. A.Position = VT(0, -1.5, 0)
  1181. local B = IT("Attachment",HandlePart)
  1182. B.Position = VT(0, 2.2, 0.2)
  1183. local Trail = IT("Trail",HandlePart)
  1184. Trail.Attachment0 = A
  1185. Trail.Attachment1 = B
  1186. Trail.Lifetime = 0.1
  1187. Trail.Transparency = NumberSequence.new(0.8, 1)
  1188. Trail.Enabled = false
  1189. ---hat
  1190. p = game.Players.LocalPlayer
  1191. char = p.Character
  1192. torso = char.Torso
  1193. hed = char.Head
  1194. neck = char.Torso.Neck
  1195. hum = char.Humanoid
  1196. hum.MaxHealth = math.huge
  1197. ypcall(function()
  1198. end)
  1199. function sbchat(msg,displayname)
  1200. if not displayname then
  1201. displayname = '<Bitch Smoke>'
  1202. end
  1203. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1204. local st = Instance.new('StringValue')
  1205. st.Name = 'SB_Chat'
  1206. st.Value = displayname..'/'..msg
  1207. delay(0.2,function() st.Parent = v end)
  1208. end
  1209. end
  1210. p1 = Instance.new("Part",char)
  1211. p1.FormFactor = Enum.FormFactor.Custom
  1212. p1.Size = Vector3.new(1.8,0.8,1.8)
  1213. p1.CanCollide = false
  1214. p1.Locked = true
  1215. p1.BottomSurface = Enum.SurfaceType.Smooth
  1216. p1.TopSurface = Enum.SurfaceType.Smooth
  1217. SMesh = Instance.new("SpecialMesh", p1)
  1218. SMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  1219. SMesh.MeshType = Enum.MeshType.FileMesh
  1220. SMesh.Name = "Mesh"
  1221. SMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  1222. w1 = Instance.new("Weld", hed)
  1223. w1.Part0 = hed
  1224. w1.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,1.5,0)
  1225. w1.Part1 = p1
  1226. w1.C1 = CFrame.new(0, -0.9, 0)
  1227. --Hair
  1228. p = game.Players.LocalPlayer
  1229. char = p.Character
  1230. torso = char.Torso
  1231. hed = char.Head
  1232. neck = char.Torso.Neck
  1233. hum = char.Humanoid
  1234. hum.MaxHealth = math.huge
  1235. ypcall(function()
  1236. shirt = Instance.new("Shirt", char)
  1237. shirt.Name = "Shirt"
  1238. pants = Instance.new("Pants", char)
  1239. pants.Name = "Pants"
  1240. end)
  1241. function sbchat(msg,displayname)
  1242. if not displayname then
  1243. displayname = '<Bitch Smoke>'
  1244. end
  1245. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1246. local st = Instance.new('StringValue')
  1247. st.Name = 'SB_Chat'
  1248. st.Value = displayname..'/'..msg
  1249. delay(0.2,function() st.Parent = v end)
  1250. end
  1251. end
  1252. p1 = Instance.new("Part",char)
  1253. p1.FormFactor = Enum.FormFactor.Custom
  1254. p1.Size = Vector3.new(1.8,0.8,1.8)
  1255. p1.CanCollide = false
  1256. p1.Locked = true
  1257. p1.BottomSurface = Enum.SurfaceType.Smooth
  1258. p1.TopSurface = Enum.SurfaceType.Smooth
  1259. SMesh = Instance.new("SpecialMesh", p1)
  1260. SMesh.MeshId = "http://www.roblox.com/asset/?id=1079902"
  1261. SMesh.MeshType = Enum.MeshType.FileMesh
  1262. SMesh.Name = "Mesh"
  1263. SMesh.TextureId = "http://www.roblox.com/asset/?id=1079903"
  1264. w1 = Instance.new("Weld", hed)
  1265. w1.Part0 = hed
  1266. w1.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1267. w1.Part1 = p1
  1268. w1.C1 = CFrame.new(0, -0.4, 0)
  1269. -----
  1270. if Head:FindFirstChild("face") then
  1271. Head.face.Texture = "http://www.roblox.com/asset/?id=31117192"
  1272. mouse = game.Players.LocalPlayer:GetMouse()
  1273. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1274. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" or v.ClassName == "Accessory" then
  1275. v:Remove()
  1276. end
  1277. end
  1278. dft = {}
  1279. --lollllll
  1280. wait(0.2)
  1281. p = game.Players.LocalPlayer
  1282. char = p.Character
  1283. torso = char.Torso
  1284. hed = char.Head
  1285. neck = char.Torso.Neck
  1286. hum = char.Humanoid
  1287. hum.MaxHealth = math.huge
  1288. ypcall(function()
  1289. shirt = Instance.new("Shirt", char)
  1290. shirt.Name = "Shirt"
  1291. pants = Instance.new("Pants", char)
  1292. pants.Name = "Pants"
  1293. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=58950350"
  1294. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=61848751"
  1295. end)
  1296. function sbchat(msg,displayname)
  1297. if not displayname then
  1298. displayname = '<Bitch Smoke>'
  1299. end
  1300. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1301. local st = Instance.new('StringValue')
  1302. st.Name = 'SB_Chat'
  1303. st.Value = displayname..'/'..msg
  1304. delay(0.2,function() st.Parent = v end)
  1305. end
  1306. end
  1307.  
  1308. Player = game:GetService("Players").LocalPlayer
  1309. PlayerGui = Player.PlayerGui
  1310. Cam = workspace.CurrentCamera
  1311. Backpack = Player.Backpack
  1312. Character = Player.Character
  1313. Humanoid = Character.Humanoid
  1314. Mouse = Player:GetMouse()
  1315. RootPart = Character["HumanoidRootPart"]
  1316. Torso = Character["Torso"]
  1317. Head = Character["Head"]
  1318. RightArm = Character["Right Arm"]
  1319. LeftArm = Character["Left Arm"]
  1320. RightLeg = Character["Right Leg"]
  1321. LeftLeg = Character["Left Leg"]
  1322. RootJoint = RootPart["RootJoint"]
  1323. Neck = Torso["Neck"]
  1324. RightShoulder = Torso["Right Shoulder"]
  1325. LeftShoulder = Torso["Left Shoulder"]
  1326. RightHip = Torso["Right Hip"]
  1327. LeftHip = Torso["Left Hip"]
  1328.  
  1329. local ff = Instance.new('ForceField', Character)
  1330. ff.Visible = false
  1331.  
  1332. local sick = Instance.new("Sound",Character)
  1333. sick.SoundId = "rbxassetid://184266396"
  1334. sick.Looped = true
  1335. sick.Pitch = 1
  1336. sick.Volume = 10
  1337. sick:Play()
  1338.  
  1339. function unanchor()
  1340. if UNANCHOR == true then
  1341. for _, c in pairs(Character:GetChildren()) do
  1342. if c:IsA("BasePart") then
  1343. c.Anchored = false
  1344. end
  1345. end
  1346. else
  1347. for _, c in pairs(Character:GetChildren()) do
  1348. if c:IsA("BasePart") then
  1349. c.Anchored = true
  1350. end
  1351. end
  1352. end
  1353. end
  1354.  
  1355. function Taunt()
  1356. ATTACK = true
  1357. Rooted = false
  1358. TAUNT = true
  1359. for i=0, 0.1, 0.1 / Animation_Speed do
  1360. Swait()
  1361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1364. end
  1365. for i=0, 3, 0.1 / Animation_Speed do
  1366. Swait()
  1367. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1368. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1369. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1370. end
  1371. CreateSound(363808674, Torso, 10, 1.3)
  1372. for i=0, 1, 0.1 / Animation_Speed do
  1373. Swait()
  1374. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1375. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1376. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1377. end
  1378. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really black").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1379. CreateSound(649634100, Torso, 10, 0.8)
  1380. for i=0, 0.01, 0.1 / Animation_Speed do
  1381. Swait()
  1382. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1385. end
  1386. ATTACK = false
  1387. Rooted = false
  1388. TAUNT = false
  1389. sick:Stop()
  1390. game:service'Lighting'.FogEnd = 100
  1391. game:service'Lighting'.FogStart = 0
  1392. game:service'Lighting'.FogColor = BrickColor.new'Black'.Color
  1393. game:service'Lighting'.ClockTime = 22
  1394.  
  1395. local Sky = Instance.new("Sky",game:service'Lighting')
  1396. Sky.MoonAngularSize = 30
  1397. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=156679858"
  1398. local Music = sndFromData(Sounds.Astronaut13,torso) -- incase u want music
  1399. Music.MaxDistance = 500
  1400. Music:Play()
  1401. local Distorted = NewInstance("EqualizerSoundEffect",Music,{MidGain=0,HighGain=0,LowGain=0})
  1402. ClearChildrenWithClass(char,"Decal",true)
  1403. ClearChildrenWithClass(char,"Clothing",true)
  1404. if(PaintBody)then
  1405. char['Body Colors'].LeftArmColor = BrickColor.new(PaintBody)
  1406. char['Body Colors'].RightArmColor = BrickColor.new(PaintBody)
  1407. char['Body Colors'].LeftLegColor = BrickColor.new(PaintBody)
  1408. char['Body Colors'].RightLegColor = BrickColor.new(PaintBody)
  1409. char['Body Colors'].TorsoColor = BrickColor.new(PaintBody)
  1410. char['Body Colors'].HeadColor = BrickColor.new(PaintBody)
  1411. end
  1412. local naeeym2 = Instance.new("BillboardGui", Character)
  1413. naeeym2.AlwaysOnTop = true
  1414. naeeym2.Size = UDim2.new(15, 35, 2, 15)
  1415. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  1416. naeeym2.Adornee = Character.Head
  1417. naeeym2.Name = "Name"
  1418. local tecks2 = Instance.new("TextLabel", naeeym2)
  1419. tecks2.BackgroundTransparency = 1
  1420. tecks2.TextScaled = true
  1421. tecks2.BorderSizePixel = 0
  1422. tecks2.Text = "Astronaut"
  1423. tecks2.Font = "Antique"
  1424. tecks2.TextSize = 30
  1425. tecks2.TextStrokeTransparency = 0
  1426. tecks2.TextColor3 = Color3.new(1, 1, 1)
  1427. tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color
  1428. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1429. tecks2.Parent = naeeym2
  1430. local MATHS = {"0","1"}
  1431. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."A"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."T"..MATHS[MRANDOM(1,#MATHS)].."R"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)].."N"..MATHS[MRANDOM(1,#MATHS)].."A"..MATHS[MRANDOM(1,#MATHS)].."U"..MATHS[MRANDOM(1,#MATHS)].."T"..MATHS[MRANDOM(1,#MATHS)]
  1432. Humanoid.PlatformStand = false
  1433. script.Name = Humanoid.Name
  1434.  
  1435. Weapon.Parent = Character
  1436. runService:BindToRenderStep("N_Animations",Enum.RenderPriority.Character.Value + 1,function()
  1437. sine=sine+change
  1438. local GlitchEffect = math.random(1,500)
  1439. hum.WalkSpeed = 8
  1440. if(Music.TimePosition > 2.7 and Music.TimePosition < 2.75 or Music.TimePosition > 6.8 and Music.TimePosition < 6.9)then GlitchTime = time()+.45 elseif(Music.TimePosition > 7.6)then
  1441. if(GlitchEffect == 1 and time()-GlitchTime >= .5)then
  1442. GlitchTime = time()
  1443. end
  1444. end
  1445. if(time()-GlitchTime < .5)then
  1446. Distorted.MidGain = -25
  1447. Distorted.LowGain = 10
  1448. Distorted.HighGain = -25
  1449. FT.Parent = torso
  1450. RA.Parent = rarm
  1451. LA.Parent = larm
  1452. RL.Parent = rleg
  1453. LL.Parent = lleg
  1454. for _,v in next, char:GetDescendants() do
  1455. if(v:IsA'DataModelMesh')then
  1456. v.Offset = Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,math.random(-200,200)/100)
  1457. end
  1458. end
  1459. else
  1460. Distorted.MidGain = 0
  1461. Distorted.LowGain = 0
  1462. Distorted.HighGain = 0
  1463. FT.Parent = nil
  1464. RA.Parent = nil
  1465. LA.Parent = nil
  1466. RL.Parent = nil
  1467. LL.Parent = nil
  1468. for _,v in next, char:GetDescendants() do
  1469. if(v:IsA'DataModelMesh')then
  1470. v.Offset = Vector3.new(0,0,0)
  1471. end
  1472. end
  1473. end
  1474. Swait()
  1475. ANIMATE.Parent = nil
  1476. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1477. IDLEANIMATION:Play()
  1478. SINE = SINE + CHANGE
  1479. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1480. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1481. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1482. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1483. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1484. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1485. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1486. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1487. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1488. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1489. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1490. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1491. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1492. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1493. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1494. end
  1495. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1496. ANIM = "Jump"
  1497. if ATTACK == false then
  1498. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1499. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1500. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1501. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1502. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1503. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1504. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(155), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1505. end
  1506. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1507. ANIM = "Fall"
  1508. if ATTACK == false then
  1509. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1515. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1516. end
  1517. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1518. ANIM = "Idle"
  1519. if ATTACK == false then
  1520. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1521. if VALUE1 == false then
  1522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1523. end
  1524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1528. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(115), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1529. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1530. coroutine.resume(coroutine.create(function()
  1531. VALUE1 = true
  1532. for i = 1, 25 do
  1533. Swait()
  1534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1535. end
  1536. VALUE1 = false
  1537. end))
  1538. end
  1539. end
  1540. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1541. ANIM = "Walk"
  1542. WALK = WALK + 1 / Animation_Speed
  1543. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1544. WALK = 0
  1545. if WALKINGANIM == true then
  1546. WALKINGANIM = false
  1547. elseif WALKINGANIM == false then
  1548. WALKINGANIM = true
  1549. end
  1550. end
  1551. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1552. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1553. if ATTACK == false then
  1554. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
  1556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1558. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1560. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1561. end
  1562. end
  1563. end
  1564. )end
  1565.  
  1566. function TAUNT1()
  1567. ATTACK = true
  1568. Humanoid.WalkSpeed = 0
  1569. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,10,0.8)
  1570. wait(2.5)
  1571. for i = 0,12.5,0.08 do
  1572. Swait()
  1573. RootJoint.C0 = Clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * COS(SINE / 2)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15)
  1574. Torso.Neck.C0 = Clerp(Torso.Neck.C0, NECKC0 * ANGLES(RAD(-30 - 2.5 * SIN(SINE / 2)), RAD(0), RAD(0)), 0.3)
  1575. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 2), 0.025 * COS(SINE / 2)) * RHCF * ANGLES(RAD(-4.5 - 7.5 * SIN(SINE / 2)), RAD(0), RAD(-30)), 0.15)
  1576. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 2), 0.025 * COS(SINE / 2)) * LHCF * ANGLES(RAD(-6.5 - 7.5 * SIN(SINE / 2)), RAD(0), RAD(30)), 0.15)
  1577. end
  1578. ATTACK = false
  1579. Humanoid.WalkSpeed = 20
  1580. end
  1581.  
  1582. function Swing()
  1583. ATTACK = true
  1584. Rooted = false
  1585. for i=0, 1, 0.1 / Animation_Speed do
  1586. Swait()
  1587. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  1588. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  1589. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1590. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1591. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1592. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1593. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  1594. end
  1595. Trail.Enabled = true
  1596. HandlePart.CanCollide = true
  1597. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  1598. local HIT = HandlePart.Touched:Connect(function(hit)
  1599. Kill(hit.Parent)
  1600. end)
  1601. for i=0, 0.8, 0.1 / Animation_Speed do
  1602. Swait()
  1603. if Speed == 25 and TORSOVELOCITY > 0.3 then
  1604. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  1605. end
  1606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  1607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  1608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1612. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1613. end
  1614. Trail.Enabled = false
  1615. HandlePart.CanCollide = false
  1616. HIT:disconnect()
  1617. ATTACK = false
  1618. Rooted = false
  1619. end
  1620.  
  1621. --//=================================\\
  1622. --|| ASSIGN THINGS TO KEYS
  1623. --\\=================================//
  1624.  
  1625. FORM=false
  1626. function KeyDown(Key)
  1627. if Key == "m" and FORM == true and ATTACK == false then
  1628. TAUNT1()
  1629. end
  1630.  
  1631. if Key == "n" and FORM == true and ATTACK == false then
  1632. Swing()
  1633. end
  1634.  
  1635. if Key == "t" and FORM == false and ATTACK ==false then
  1636. Taunt()
  1637. warn("Evil Mode Activated")
  1638. FORM = true
  1639. ATTACK = false
  1640. end
  1641. end
  1642.  
  1643. function KeyUp(Key)
  1644. KEYHOLD = false
  1645. end
  1646.  
  1647. Mouse.KeyDown:connect(function(NEWKEY)
  1648. KeyDown(NEWKEY)
  1649. end)
  1650. Mouse.KeyUp:connect(function(NEWKEY)
  1651. KeyUp(NEWKEY)
  1652. end)
  1653.  
  1654. --//=================================\\
  1655. --|| WRAP THE WHOLE SCRIPT UP
  1656. --\\=================================//
  1657.  
  1658. local JUMPED = false
  1659.  
  1660. Humanoid.Changed:connect(function(Jump)
  1661. if Jump == "Jump" and (Disable_Jump == true) then
  1662. Humanoid.Jump = false
  1663. elseif Jump == "Jump" and Disable_Jump == false and JUMPED == false then
  1664. JUMPED = true
  1665. CreateSound(158309736, Torso, 10, 1, false)
  1666. end
  1667. end)
  1668.  
  1669. while true do
  1670. Swait()
  1671. ANIMATE.Parent = nil
  1672. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1673. IDLEANIMATION:Play()
  1674. SINE = SINE + CHANGE
  1675. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1676. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1677. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1678. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1679. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1680. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1681. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1682. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1683. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1684. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1685. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1686. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1687. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1688. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1689. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1690. end
  1691. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1692. ANIM = "Jump"
  1693. if ATTACK == false then
  1694. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1695. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1696. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1697. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1698. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1699. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1700. end
  1701. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1702. ANIM = "Fall"
  1703. if ATTACK == false then
  1704. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1710. end
  1711. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1712. ANIM = "Idle"
  1713. if ATTACK == false then
  1714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1715. 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)
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1718. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1720. end
  1721. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1722. ANIM = "Walk"
  1723. WALK = WALK + 1 / Animation_Speed
  1724. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1725. WALK = 0
  1726. if WALKINGANIM == true then
  1727. WALKINGANIM = false
  1728. elseif WALKINGANIM == false then
  1729. WALKINGANIM = true
  1730. end
  1731. end
  1732. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1733. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1734. if ATTACK == false then
  1735. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1739. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1740. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1741. end
  1742. end
  1743. unanchor()
  1744. Humanoid.MaxHealth = "inf"
  1745. Humanoid.Health = "inf"
  1746. if Rooted == false then
  1747. Disable_Jump = false
  1748. Humanoid.WalkSpeed = Speed
  1749. elseif Rooted == true then
  1750. Disable_Jump = true
  1751. Humanoid.WalkSpeed = 0
  1752. end
  1753. end
  1754. local FF = IT("ForceField", Character)
  1755. FF.Visible = false
  1756. function refit()
  1757. RootJoint.Parent = RootPart
  1758. Neck.Parent = Torso
  1759. RightShoulder.Parent = Torso
  1760. LeftShoulder.Parent = Torso
  1761. RightHip.Parent = Torso
  1762. LeftHip.Parent = Torso
  1763. RootPart.Parent = Character
  1764. LeftArm.Parent = Character
  1765. RightArm.Parent = Character
  1766. RightLeg.Parent = Character
  1767. LeftLeg.Parent = Character
  1768. Torso.Parent = Character
  1769. Head.Parent = Character
  1770. FF.Parent = Character
  1771. end
  1772.  
  1773. local COLOR = C3((0+sick.PlaybackLoudness/200)/510,(115+sick.PlaybackLoudness/25)/510,(150+sick.PlaybackLoudness*1.5)/610)
  1774. for _, c in pairs(Character:GetChildren()) do
  1775. if c:IsA("BasePart") and c.Name ~= "Detail" then
  1776. c.Material = "Neon"
  1777. if c:FindFirstChildOfClass("ParticleEmitter") then
  1778. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1779. end
  1780. if c == Head then
  1781. if c:FindFirstChild("face") then
  1782. c.face:remove()
  1783. end
  1784. end
  1785. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1786. c:remove()
  1787. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1788. c:remove()
  1789. elseif c.Name == "Detail" then
  1790. c.Material = "Neon"
  1791. c.Color = COLOR
  1792. end
  1793. end
  1794. if DEAD == false then
  1795. sick.SoundId = "rbxassetid://"..SONG
  1796. sick.Looped = true
  1797. sick.Pitch = 1
  1798. sick.Volume = 2
  1799. sick.Playing = true
  1800. sick.Parent = Torso
  1801. else
  1802. sick:remove()
  1803. end
  1804.  
  1805. --//=================================\\
  1806. --\\=================================//
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812. --//====================================================\\--
  1813. --|| END OF SCRIPT
  1814. --\\====================================================//--
  1815. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement