Advertisement
SansTheHackerYT

FE 13

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