Advertisement
Createok

Untitled

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