Advertisement
samuelrichter66

13

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