Advertisement
WagnerJunio07

Astronaut

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