Advertisement
Sheckles

m

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