duplicat

Untitled

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