Advertisement
EdgyHedgehog

13 FE

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