Advertisement
StarzoZero

Roblox Aeiou Script FE v2

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