whyumean

astronaut 13

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