Hugo1234cool

astronaut

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