Hugo1234cool

Untitled

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