vallentganteng

nahid sanes

Apr 22nd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.68 KB | None | 0 0
  1. ---------------
  2. --nahid sanes :DDDDD--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by ozzak1003 and Cluttherfunkerxxx --
  8. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  9. --Discord: ozzak1003#3275
  10. --Discord: tw🅰k#1084
  11. --------------------------------
  12. hello good sir
  13. Don't leak pls
  14. Enjoy ;)
  15. --------------------------------
  16. ]])
  17. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  18. local Player,game,owner = owner,game
  19. local RealPlayer = Player
  20. do
  21. local rp = RealPlayer
  22. script.Parent = rp.Character
  23.  
  24. --RemoteEvent for communicating
  25. local Event = Instance.new("RemoteEvent")
  26. Event.Name = "UserInput_Event"
  27.  
  28. --Fake event to make stuff like Mouse.KeyDown work
  29. local function fakeEvent()
  30. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  31. t.connect = t.Connect
  32. return t
  33. end
  34.  
  35. --Creating fake input objects with fake variables
  36. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  37. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  38. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  39. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  40. end}
  41. --Merged 2 functions into one by checking amount of arguments
  42. CAS.UnbindAction = CAS.BindAction
  43.  
  44. --This function will trigger the events that have been :Connect()'ed
  45. local function te(self,ev,...)
  46. local t = m[ev]
  47. if t and t._fakeEvent then
  48. for _,f in pairs(t.Functions) do
  49. f(...)
  50. end
  51. end
  52. end
  53. m.TrigEvent = te
  54. UIS.TrigEvent = te
  55.  
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=rp then return end
  58. m.Target = io.Target
  59. m.Hit = io.Hit
  60. if not io.isMouse then
  61. local b = io.UserInputState == Enum.UserInputState.Begin
  62. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  63. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[
  77. local Player = game:GetService("Players").LocalPlayer
  78. local Event = script:WaitForChild("UserInput_Event")
  79.  
  80. local Mouse = Player:GetMouse()
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,a)
  83. if a then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local h,t
  91. --Give the server mouse data 30 times every second, but only if the values changed
  92. --If player is not moving their mouse, client won't fire events
  93. while wait(1/30) do
  94. if h~=Mouse.Hit or t~=Mouse.Target then
  95. h,t=Mouse.Hit,Mouse.Target
  96. Event:FireServer({isMouse=true,Target=t,Hit=h})
  97. end
  98. end]==],Player.Character)
  99.  
  100. ----Sandboxed game object that allows the usage of client-side methods and services
  101. --Real game object
  102. local _rg = game
  103.  
  104. --Metatable for fake service
  105. local fsmt = {
  106. __index = function(self,k)
  107. local s = rawget(self,"_RealService")
  108. if s then return s[k] end
  109. end,
  110. __newindex = function(self,k,v)
  111. local s = rawget(self,"_RealService")
  112. if s then s[k]=v end
  113. end,
  114. __call = function(self,...)
  115. local s = rawget(self,"_RealService")
  116. if s then return s(...) end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  121. return setmetatable(t,fsmt)
  122. end
  123.  
  124. --Fake game object
  125. local g = {
  126. GetService = function(self,s)
  127. return self[s]
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. }
  135. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  136. g.service = g.GetService
  137.  
  138. g.RunService = FakeService({
  139. RenderStepped = _rg:GetService("RunService").Heartbeat,
  140. BindToRenderStep = function(self,name,_,fun)
  141. self._btrs[name] = self.Heartbeat:Connect(fun)
  142. end,
  143. UnbindFromRenderStep = function(self,name)
  144. self._btrs[name]:Disconnect()
  145. end,
  146. },"RunService")
  147.  
  148. setmetatable(g,{
  149. __index=function(self,s)
  150. return _rg:GetService(s) or typeof(_rg[s])=="function"
  151. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  152. end,
  153. __newindex = fsmt.__newindex,
  154. __call = fsmt.__call
  155. })
  156. --Changing owner to fake player object to support owner:GetMouse()
  157. game,owner = g,g.Players.LocalPlayer
  158. end
  159.  
  160. Player = owner
  161. PlayerGui = Player.PlayerGui
  162. Cam = workspace.CurrentCamera
  163. Backpack = Player.Backpack
  164. Character = Player.Character
  165. Humanoid = Character.Humanoid
  166. Mouse = Player:GetMouse()
  167. RootPart = Character["HumanoidRootPart"]
  168. Torso = Character["Torso"]
  169. Head = Character["Head"]
  170. RightArm = Character["Right Arm"]
  171. LeftArm = Character["Left Arm"]
  172. RightLeg = Character["Right Leg"]
  173. LeftLeg = Character["Left Leg"]
  174. RootJoint = RootPart["RootJoint"]
  175. Neck = Torso["Neck"]
  176. RightShoulder = Torso["Right Shoulder"]
  177. LeftShoulder = Torso["Left Shoulder"]
  178. RightHip = Torso["Right Hip"]
  179. LeftHip = Torso["Left Hip"]
  180.  
  181. Character = Player.Character
  182. Humanoid = Character.Humanoid
  183. -------------------------------------------------------
  184.  
  185. local FavIDs = {
  186. 340106355, --Nefl Crystals
  187. 927529620, --Dimension
  188. 876981900, --Fantasy
  189. 398987889, --Ordinary Days
  190. 1117396305, --Oh wait, it's you.
  191. 885996042, --Action Winter Journey
  192. 919231299, --Sprawling Idiot Effigy
  193. 743466274, --Good Day Sunshine
  194. 727411183, --Knife Fight
  195. 1402748531, --The Earth Is Counting On You!
  196. 595230126 --Robot Language
  197. }
  198.  
  199.  
  200.  
  201. --The reality of my life isn't real but a Universe -makhail07
  202. wait(0.2)
  203. local plr = game:service'Players'.LocalPlayer
  204. print('Local User is '..plr.Name)
  205. print('SCRIPTNAME Loaded')
  206. print('SCRIPT DESCRIPTION')
  207. local char = plr.Character
  208. local hum = char.Humanoid
  209. local hed = char.Head
  210. local root = char.HumanoidRootPart
  211. local rootj = root.RootJoint
  212. local tors = char.Torso
  213. local ra = char["Right Arm"]
  214. local la = char["Left Arm"]
  215. local rl = char["Right Leg"]
  216. local ll = char["Left Leg"]
  217. local neck = tors["Neck"]
  218. local mouse = plr:GetMouse()
  219. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  220. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  221. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  222. local maincolor = BrickColor.new("Institutional white")
  223.  
  224. -------------------------------------------------------
  225. --Start Good Stuff--
  226. -------------------------------------------------------
  227. cam = game.Workspace.CurrentCamera
  228. CF = CFrame.new
  229. angles = CFrame.Angles
  230. attack = false
  231. Euler = CFrame.fromEulerAnglesXYZ
  232. Rad = math.rad
  233. IT = Instance.new
  234. BrickC = BrickColor.new
  235. Cos = math.cos
  236. Acos = math.acos
  237. Sin = math.sin
  238. Asin = math.asin
  239. Abs = math.abs
  240. Mrandom = math.random
  241. Floor = math.floor
  242. -------------------------------------------------------
  243. --End Good Stuff--
  244. -------------------------------------------------------
  245. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  246. RSH, LSH = nil, nil
  247. RW = Instance.new("Weld")
  248. LW = Instance.new("Weld")
  249. RH = tors["Right Hip"]
  250. LH = tors["Left Hip"]
  251. RSH = tors["Right Shoulder"]
  252. LSH = tors["Left Shoulder"]
  253. RSH.Parent = nil
  254. LSH.Parent = nil
  255. RW.Name = "RW"
  256. RW.Part0 = tors
  257. RW.C0 = CF(1.5, 0.5, 0)
  258. RW.C1 = CF(0, 0.5, 0)
  259. RW.Part1 = ra
  260. RW.Parent = tors
  261. LW.Name = "LW"
  262. LW.Part0 = tors
  263. LW.C0 = CF(-1.5, 0.5, 0)
  264. LW.C1 = CF(0, 0.5, 0)
  265. LW.Part1 = la
  266. LW.Parent = tors
  267. Effects = {}
  268. -------------------------------------------------------
  269. --Start HeartBeat--
  270. -------------------------------------------------------
  271. ArtificialHB = Instance.new("BindableEvent", script)
  272. ArtificialHB.Name = "Heartbeat"
  273. script:WaitForChild("Heartbeat")
  274.  
  275. frame = 1 / 60
  276. tf = 0
  277. allowframeloss = false
  278. tossremainder = false
  279.  
  280.  
  281. lastframe = tick()
  282. script.Heartbeat:Fire()
  283.  
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.Heartbeat:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.Heartbeat:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304. -------------------------------------------------------
  305. --End HeartBeat--
  306. -------------------------------------------------------
  307.  
  308. -------------------------------------------------------
  309. --Start Important Functions--
  310. -------------------------------------------------------
  311. function swait(num)
  312. if num == 0 or num == nil then
  313. game:service("RunService").Stepped:wait(0)
  314. else
  315. for i = 0, num do
  316. game:service("RunService").Stepped:wait(0)
  317. end
  318. end
  319. end
  320. function thread(f)
  321. coroutine.resume(coroutine.create(f))
  322. end
  323. function clerp(a, b, t)
  324. local qa = {
  325. QuaternionFromCFrame(a)
  326. }
  327. local qb = {
  328. QuaternionFromCFrame(b)
  329. }
  330. local ax, ay, az = a.x, a.y, a.z
  331. local bx, by, bz = b.x, b.y, b.z
  332. local _t = 1 - t
  333. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  334. end
  335. function QuaternionFromCFrame(cf)
  336. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  337. local trace = m00 + m11 + m22
  338. if trace > 0 then
  339. local s = math.sqrt(1 + trace)
  340. local recip = 0.5 / s
  341. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  342. else
  343. local i = 0
  344. if m00 < m11 then
  345. i = 1
  346. end
  347. if m22 > (i == 0 and m00 or m11) then
  348. i = 2
  349. end
  350. if i == 0 then
  351. local s = math.sqrt(m00 - m11 - m22 + 1)
  352. local recip = 0.5 / s
  353. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  354. elseif i == 1 then
  355. local s = math.sqrt(m11 - m22 - m00 + 1)
  356. local recip = 0.5 / s
  357. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  358. elseif i == 2 then
  359. local s = math.sqrt(m22 - m00 - m11 + 1)
  360. local recip = 0.5 / s
  361. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  362. end
  363. end
  364. end
  365. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  366. local xs, ys, zs = x + x, y + y, z + z
  367. local wx, wy, wz = w * xs, w * ys, w * zs
  368. local xx = x * xs
  369. local xy = x * ys
  370. local xz = x * zs
  371. local yy = y * ys
  372. local yz = y * zs
  373. local zz = z * zs
  374. 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))
  375. end
  376. function QuaternionSlerp(a, b, t)
  377. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  378. local startInterp, finishInterp
  379. if cosTheta >= 1.0E-4 then
  380. if 1 - cosTheta > 1.0E-4 then
  381. local theta = math.acos(cosTheta)
  382. local invSinTheta = 1 / Sin(theta)
  383. startInterp = Sin((1 - t) * theta) * invSinTheta
  384. finishInterp = Sin(t * theta) * invSinTheta
  385. else
  386. startInterp = 1 - t
  387. finishInterp = t
  388. end
  389. elseif 1 + cosTheta > 1.0E-4 then
  390. local theta = math.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. 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
  399. end
  400. function rayCast(Position, Direction, Range, Ignore)
  401. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  402. end
  403. local RbxUtility = LoadLibrary("RbxUtility")
  404. local Create = RbxUtility.Create
  405.  
  406. -------------------------------------------------------
  407. --Start Damage Function--
  408. -------------------------------------------------------
  409. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  410. if hit.Parent == nil then
  411. return
  412. end
  413. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  414. for _, v in pairs(hit.Parent:children()) do
  415. if v:IsA("Humanoid") then
  416. h = v
  417. end
  418. end
  419. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  420.  
  421. hit.Parent:FindFirstChild("Head"):BreakJoints()
  422. end
  423.  
  424. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  425. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  426. if hit.Parent.DebounceHit.Value == true then
  427. return
  428. end
  429. end
  430. if insta == true then
  431. hit.Parent:FindFirstChild("Head"):BreakJoints()
  432. end
  433. local c = Create("ObjectValue"){
  434. Name = "creator",
  435. Value = game:service("Players").LocalPlayer,
  436. Parent = h,
  437. }
  438. game:GetService("Debris"):AddItem(c, .5)
  439. if HitSound ~= nil and HitPitch ~= nil then
  440. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  441. end
  442. local Damage = math.random(minim, maxim)
  443. local blocked = false
  444. local block = hit.Parent:findFirstChild("Block")
  445. if block ~= nil then
  446. if block.className == "IntValue" then
  447. if block.Value > 0 then
  448. blocked = true
  449. block.Value = block.Value - 1
  450. print(block.Value)
  451. end
  452. end
  453. end
  454. if blocked == false then
  455. h.Health = h.Health - Damage
  456. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  457. else
  458. h.Health = h.Health - (Damage / 2)
  459. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  460. end
  461. if Type == "Knockdown" then
  462. local hum = hit.Parent.Humanoid
  463. hum.PlatformStand = true
  464. coroutine.resume(coroutine.create(function(HHumanoid)
  465. swait(1)
  466. HHumanoid.PlatformStand = false
  467. end), hum)
  468. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  469. local bodvol = Create("BodyVelocity"){
  470. velocity = angle * knockback,
  471. P = 5000,
  472. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  473. Parent = hit,
  474. }
  475. local rl = Create("BodyAngularVelocity"){
  476. P = 3000,
  477. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  478. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  479. Parent = hit,
  480. }
  481. game:GetService("Debris"):AddItem(bodvol, .5)
  482. game:GetService("Debris"):AddItem(rl, .5)
  483. elseif Type == "Normal" then
  484. local vp = Create("BodyVelocity"){
  485. P = 500,
  486. maxForce = Vector3.new(math.huge, 0, math.huge),
  487. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  488. }
  489. if knockback > 0 then
  490. vp.Parent = hit.Parent.Torso
  491. end
  492. game:GetService("Debris"):AddItem(vp, .5)
  493. elseif Type == "Up" then
  494. local bodyVelocity = Create("BodyVelocity"){
  495. velocity = Vector3.new(0, 20, 0),
  496. P = 5000,
  497. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  498. Parent = hit,
  499. }
  500. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  501. elseif Type == "DarkUp" then
  502. coroutine.resume(coroutine.create(function()
  503. for i = 0, 1, 0.1 do
  504. swait()
  505. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  506. end
  507. end))
  508. local bodyVelocity = Create("BodyVelocity"){
  509. velocity = Vector3.new(0, 20, 0),
  510. P = 5000,
  511. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  512. Parent = hit,
  513. }
  514. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  515. elseif Type == "Snare" then
  516. local bp = Create("BodyPosition"){
  517. P = 2000,
  518. D = 100,
  519. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  520. position = hit.Parent.Torso.Position,
  521. Parent = hit.Parent.Torso,
  522. }
  523. game:GetService("Debris"):AddItem(bp, 1)
  524. elseif Type == "Freeze" then
  525. local BodPos = Create("BodyPosition"){
  526. P = 50000,
  527. D = 1000,
  528. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  529. position = hit.Parent.Torso.Position,
  530. Parent = hit.Parent.Torso,
  531. }
  532. local BodGy = Create("BodyGyro") {
  533. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  534. P = 20e+003,
  535. Parent = hit.Parent.Torso,
  536. cframe = hit.Parent.Torso.CFrame,
  537. }
  538. hit.Parent.Torso.Anchored = true
  539. coroutine.resume(coroutine.create(function(Part)
  540. swait(1.5)
  541. Part.Anchored = false
  542. end), hit.Parent.Torso)
  543. game:GetService("Debris"):AddItem(BodPos, 3)
  544. game:GetService("Debris"):AddItem(BodGy, 3)
  545. end
  546. local debounce = Create("BoolValue"){
  547. Name = "DebounceHit",
  548. Parent = hit.Parent,
  549. Value = true,
  550. }
  551. game:GetService("Debris"):AddItem(debounce, Delay)
  552. c = Create("ObjectValue"){
  553. Name = "creator",
  554. Value = Player,
  555. Parent = h,
  556. }
  557. game:GetService("Debris"):AddItem(c, .5)
  558. end
  559. end
  560.  
  561.  
  562. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  563. if hit.Parent == nil then
  564. return
  565. end
  566. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  567. for _, v in pairs(hit.Parent:children()) do
  568. if v:IsA("Humanoid") then
  569. h = v
  570. end
  571. end
  572. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  573. hit.Parent:FindFirstChild("Head"):BreakJoints()
  574. end
  575.  
  576. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  577. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  578. if hit.Parent.DebounceHit.Value == true then
  579. return
  580. end
  581. end
  582. if insta == true then
  583. hit.Parent:FindFirstChild("Head"):BreakJoints()
  584. end
  585. local c = Create("ObjectValue"){
  586. Name = "creator",
  587. Value = game:service("Players").LocalPlayer,
  588. Parent = h,
  589. }
  590. game:GetService("Debris"):AddItem(c, .5)
  591. CreateSound("958257111", hit, 10, 1)
  592. local Damage = math.random(minim, maxim)
  593. hit.Parent:FindFirstChild("Head"):BreakJoints()
  594. local blocked = false
  595. local block = hit.Parent:findFirstChild("Block")
  596. if block ~= nil then
  597. if block.className == "IntValue" then
  598. if block.Value > 0 then
  599. blocked = true
  600. block.Value = block.Value - 1
  601. end
  602. end
  603. end
  604. if blocked == false then
  605. h.Health = h.Health - Damage
  606. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "rekt", 1.5, tors.BrickColor.Color)
  607. else
  608. h.Health = h.Health - (Damage / 2)
  609. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), "ez kill", 1.5, tors.BrickColor.Color)
  610. end
  611. if Type == "Knockdown" then
  612. local hum = hit.Parent.Humanoid
  613. hum.PlatformStand = true
  614. coroutine.resume(coroutine.create(function(HHumanoid)
  615. swait(1)
  616. HHumanoid.PlatformStand = false
  617. end), hum)
  618. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  619. local bodvol = Create("BodyVelocity"){
  620. velocity = angle * knockback,
  621. P = 5000,
  622. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  623. Parent = hit,
  624. }
  625. local rl = Create("BodyAngularVelocity"){
  626. P = 3000,
  627. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  628. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  629. Parent = hit,
  630. }
  631. game:GetService("Debris"):AddItem(bodvol, .5)
  632. game:GetService("Debris"):AddItem(rl, .5)
  633. elseif Type == "Normal" then
  634. local vp = Create("BodyVelocity"){
  635. P = 500,
  636. maxForce = Vector3.new(math.huge, 0, math.huge),
  637. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  638. }
  639. if knockback > 0 then
  640. vp.Parent = hit.Parent.Torso
  641. end
  642. game:GetService("Debris"):AddItem(vp, .5)
  643. elseif Type == "Up" then
  644. local bodyVelocity = Create("BodyVelocity"){
  645. velocity = Vector3.new(0, 20, 0),
  646. P = 5000,
  647. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  648. Parent = hit,
  649. }
  650. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  651. elseif Type == "DarkUp" then
  652. coroutine.resume(coroutine.create(function()
  653. for i = 0, 1, 0.1 do
  654. swait()
  655. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  656. end
  657. end))
  658. local bodyVelocity = Create("BodyVelocity"){
  659. velocity = Vector3.new(0, 20, 0),
  660. P = 5000,
  661. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  662. Parent = hit,
  663. }
  664. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  665. elseif Type == "Snare" then
  666. local bp = Create("BodyPosition"){
  667. P = 2000,
  668. D = 100,
  669. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  670. position = hit.Parent.Torso.Position,
  671. Parent = hit.Parent.Torso,
  672. }
  673. game:GetService("Debris"):AddItem(bp, 1)
  674. elseif Type == "Freeze" then
  675. local BodPos = Create("BodyPosition"){
  676. P = 50000,
  677. D = 1000,
  678. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  679. position = hit.Parent.Torso.Position,
  680. Parent = hit.Parent.Torso,
  681. }
  682. local BodGy = Create("BodyGyro") {
  683. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  684. P = 20e+003,
  685. Parent = hit.Parent.Torso,
  686. cframe = hit.Parent.Torso.CFrame,
  687. }
  688. hit.Parent.Torso.Anchored = true
  689. coroutine.resume(coroutine.create(function(Part)
  690. swait(1.5)
  691. Part.Anchored = false
  692. end), hit.Parent.Torso)
  693. game:GetService("Debris"):AddItem(BodPos, 3)
  694. game:GetService("Debris"):AddItem(BodGy, 3)
  695. end
  696. local debounce = Create("BoolValue"){
  697. Name = "DebounceHit",
  698. Parent = hit.Parent,
  699. Value = true,
  700. }
  701. game:GetService("Debris"):AddItem(debounce, Delay)
  702. c = Create("ObjectValue"){
  703. Name = "creator",
  704. Value = Player,
  705. Parent = h,
  706. }
  707. game:GetService("Debris"):AddItem(c, .5)
  708. end
  709. end
  710. -------------------------------------------------------
  711. --End Damage Function--
  712. -------------------------------------------------------
  713.  
  714. -------------------------------------------------------
  715. --Start Damage Function Customization--
  716. -------------------------------------------------------
  717. function ShowDamage(Pos, Text, Time, Color)
  718. local Rate = (1 / 30)
  719. local Pos = (Pos or Vector3.new(0, 0, 0))
  720. local Text = (Text or "")
  721. local Time = (Time or 2)
  722. local Color = (Color or Color3.new(1, 0, 1))
  723. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  724. EffectPart.Anchored = true
  725. local BillboardGui = Create("BillboardGui"){
  726. Size = UDim2.new(3, 0, 3, 0),
  727. Adornee = EffectPart,
  728. Parent = EffectPart,
  729. }
  730. local TextLabel = Create("TextLabel"){
  731. BackgroundTransparency = 1,
  732. Size = UDim2.new(1, 0, 1, 0),
  733. Text = Text,
  734. Font = "Bodoni",
  735. TextColor3 = Color,
  736. TextScaled = true,
  737. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  738. Parent = BillboardGui,
  739. }
  740. game.Debris:AddItem(EffectPart, (Time))
  741. EffectPart.Parent = game:GetService("Workspace")
  742. delay(0, function()
  743. local Frames = (Time / Rate)
  744. for Frame = 1, Frames do
  745. wait(Rate)
  746. local Percent = (Frame / Frames)
  747. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  748. TextLabel.TextTransparency = Percent
  749. end
  750. if EffectPart and EffectPart.Parent then
  751. EffectPart:Destroy()
  752. end
  753. end)
  754. end
  755. -------------------------------------------------------
  756. --End Damage Function Customization--
  757. -------------------------------------------------------
  758.  
  759. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  760. for _, c in pairs(workspace:children()) do
  761. local hum = c:findFirstChild("Humanoid")
  762. if hum ~= nil then
  763. local head = c:findFirstChild("Head")
  764. if head ~= nil then
  765. local targ = head.Position - Part.Position
  766. local mag = targ.magnitude
  767. if magni >= mag and c.Name ~= plr.Name then
  768. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  769. end
  770. end
  771. end
  772. end
  773. end
  774.  
  775.  
  776. CFuncs = {
  777. Part = {
  778. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  779. local Part = Create("Part")({
  780. Parent = Parent,
  781. Reflectance = Reflectance,
  782. Transparency = Transparency,
  783. CanCollide = false,
  784. Locked = true,
  785. BrickColor = BrickColor.new(tostring(BColor)),
  786. Name = Name,
  787. Size = Size,
  788. Material = Material
  789. })
  790. RemoveOutlines(Part)
  791. return Part
  792. end
  793. },
  794. Mesh = {
  795. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  796. local Msh = Create(Mesh)({
  797. Parent = Part,
  798. Offset = OffSet,
  799. Scale = Scale
  800. })
  801. if Mesh == "SpecialMesh" then
  802. Msh.MeshType = MeshType
  803. Msh.MeshId = MeshId
  804. end
  805. return Msh
  806. end
  807. },
  808. Mesh = {
  809. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  810. local Msh = Create(Mesh)({
  811. Parent = Part,
  812. Offset = OffSet,
  813. Scale = Scale
  814. })
  815. if Mesh == "SpecialMesh" then
  816. Msh.MeshType = MeshType
  817. Msh.MeshId = MeshId
  818. end
  819. return Msh
  820. end
  821. },
  822. Weld = {
  823. Create = function(Parent, Part0, Part1, C0, C1)
  824. local Weld = Create("Weld")({
  825. Parent = Parent,
  826. Part0 = Part0,
  827. Part1 = Part1,
  828. C0 = C0,
  829. C1 = C1
  830. })
  831. return Weld
  832. end
  833. },
  834. Sound = {
  835. Create = function(id, par, vol, pit)
  836. coroutine.resume(coroutine.create(function()
  837. local S = Create("Sound")({
  838. Volume = vol,
  839. Pitch = pit or 1,
  840. SoundId = id,
  841. Parent = par or workspace
  842. })
  843. wait()
  844. S:play()
  845. game:GetService("Debris"):AddItem(S, 6)
  846. end))
  847. end
  848. },
  849. ParticleEmitter = {
  850. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  851. local fp = Create("ParticleEmitter")({
  852. Parent = Parent,
  853. Color = ColorSequence.new(Color1, Color2),
  854. LightEmission = LightEmission,
  855. Size = Size,
  856. Texture = Texture,
  857. Transparency = Transparency,
  858. ZOffset = ZOffset,
  859. Acceleration = Accel,
  860. Drag = Drag,
  861. LockedToPart = LockedToPart,
  862. VelocityInheritance = VelocityInheritance,
  863. EmissionDirection = EmissionDirection,
  864. Enabled = Enabled,
  865. Lifetime = LifeTime,
  866. Rate = Rate,
  867. Rotation = Rotation,
  868. RotSpeed = RotSpeed,
  869. Speed = Speed,
  870. VelocitySpread = VelocitySpread
  871. })
  872. return fp
  873. end
  874. }
  875. }
  876. function RemoveOutlines(part)
  877. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  878. end
  879. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  880. local Part = Create("Part")({
  881. formFactor = FormFactor,
  882. Parent = Parent,
  883. Reflectance = Reflectance,
  884. Transparency = Transparency,
  885. CanCollide = false,
  886. Locked = true,
  887. BrickColor = BrickColor.new(tostring(BColor)),
  888. Name = Name,
  889. Size = Size,
  890. Material = Material
  891. })
  892. RemoveOutlines(Part)
  893. return Part
  894. end
  895. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  896. local Msh = Create(Mesh)({
  897. Parent = Part,
  898. Offset = OffSet,
  899. Scale = Scale
  900. })
  901. if Mesh == "SpecialMesh" then
  902. Msh.MeshType = MeshType
  903. Msh.MeshId = MeshId
  904. end
  905. return Msh
  906. end
  907. function CreateWeld(Parent, Part0, Part1, C0, C1)
  908. local Weld = Create("Weld")({
  909. Parent = Parent,
  910. Part0 = Part0,
  911. Part1 = Part1,
  912. C0 = C0,
  913. C1 = C1
  914. })
  915. return Weld
  916. end
  917.  
  918.  
  919. -------------------------------------------------------
  920. --Start Effect Function--
  921. -------------------------------------------------------
  922. EffectModel = Instance.new("Model", char)
  923. Effects = {
  924. Block = {
  925. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  926. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  927. prt.Anchored = true
  928. prt.CFrame = cframe
  929. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  930. game:GetService("Debris"):AddItem(prt, 10)
  931. if Type == 1 or Type == nil then
  932. table.insert(Effects, {
  933. prt,
  934. "Block1",
  935. delay,
  936. x3,
  937. y3,
  938. z3,
  939. msh
  940. })
  941. elseif Type == 2 then
  942. table.insert(Effects, {
  943. prt,
  944. "Block2",
  945. delay,
  946. x3,
  947. y3,
  948. z3,
  949. msh
  950. })
  951. else
  952. table.insert(Effects, {
  953. prt,
  954. "Block3",
  955. delay,
  956. x3,
  957. y3,
  958. z3,
  959. msh
  960. })
  961. end
  962. end
  963. },
  964. Sphere = {
  965. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  966. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  967. prt.Anchored = true
  968. prt.CFrame = cframe
  969. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  970. game:GetService("Debris"):AddItem(prt, 10)
  971. table.insert(Effects, {
  972. prt,
  973. "Cylinder",
  974. delay,
  975. x3,
  976. y3,
  977. z3,
  978. msh
  979. })
  980. end
  981. },
  982. Cylinder = {
  983. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  984. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  985. prt.Anchored = true
  986. prt.CFrame = cframe
  987. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  988. game:GetService("Debris"):AddItem(prt, 10)
  989. table.insert(Effects, {
  990. prt,
  991. "Cylinder",
  992. delay,
  993. x3,
  994. y3,
  995. z3,
  996. msh
  997. })
  998. end
  999. },
  1000. Wave = {
  1001. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1002. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1003. prt.Anchored = true
  1004. prt.CFrame = cframe
  1005. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1006. game:GetService("Debris"):AddItem(prt, 10)
  1007. table.insert(Effects, {
  1008. prt,
  1009. "Cylinder",
  1010. delay,
  1011. x3 / 60,
  1012. y3 / 60,
  1013. z3 / 60,
  1014. msh
  1015. })
  1016. end
  1017. },
  1018. Ring = {
  1019. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1020. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1021. prt.Anchored = true
  1022. prt.CFrame = cframe
  1023. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1024. game:GetService("Debris"):AddItem(prt, 10)
  1025. table.insert(Effects, {
  1026. prt,
  1027. "Cylinder",
  1028. delay,
  1029. x3,
  1030. y3,
  1031. z3,
  1032. msh
  1033. })
  1034. end
  1035. },
  1036. Break = {
  1037. Create = function(brickcolor, cframe, x1, y1, z1)
  1038. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1039. prt.Anchored = true
  1040. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1041. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1042. local num = math.random(10, 50) / 1000
  1043. game:GetService("Debris"):AddItem(prt, 10)
  1044. table.insert(Effects, {
  1045. prt,
  1046. "Shatter",
  1047. num,
  1048. prt.CFrame,
  1049. math.random() - math.random(),
  1050. 0,
  1051. math.random(50, 100) / 100
  1052. })
  1053. end
  1054. },
  1055. Spiral = {
  1056. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1057. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1058. prt.Anchored = true
  1059. prt.CFrame = cframe
  1060. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1061. game:GetService("Debris"):AddItem(prt, 10)
  1062. table.insert(Effects, {
  1063. prt,
  1064. "Cylinder",
  1065. delay,
  1066. x3,
  1067. y3,
  1068. z3,
  1069. msh
  1070. })
  1071. end
  1072. },
  1073. Push = {
  1074. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1075. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1076. prt.Anchored = true
  1077. prt.CFrame = cframe
  1078. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1079. game:GetService("Debris"):AddItem(prt, 10)
  1080. table.insert(Effects, {
  1081. prt,
  1082. "Cylinder",
  1083. delay,
  1084. x3,
  1085. y3,
  1086. z3,
  1087. msh
  1088. })
  1089. end
  1090. }
  1091. }
  1092. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1093. local fp = IT("Part")
  1094. fp.formFactor = formfactor
  1095. fp.Parent = parent
  1096. fp.Reflectance = reflectance
  1097. fp.Transparency = transparency
  1098. fp.CanCollide = false
  1099. fp.Locked = true
  1100. fp.BrickColor = brickcolor
  1101. fp.Name = name
  1102. fp.Size = size
  1103. fp.Position = tors.Position
  1104. RemoveOutlines(fp)
  1105. fp.Material = "SmoothPlastic"
  1106. fp:BreakJoints()
  1107. return fp
  1108. end
  1109.  
  1110. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1111. local mesh = IT(Mesh)
  1112. mesh.Parent = part
  1113. if Mesh == "SpecialMesh" then
  1114. mesh.MeshType = meshtype
  1115. if meshid ~= "nil" then
  1116. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1117. end
  1118. end
  1119. mesh.Offset = offset
  1120. mesh.Scale = scale
  1121. return mesh
  1122. end
  1123.  
  1124. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1125. local type = type
  1126. local rng = Instance.new("Part", char)
  1127. rng.Anchored = true
  1128. rng.BrickColor = color
  1129. rng.CanCollide = false
  1130. rng.FormFactor = 3
  1131. rng.Name = "Ring"
  1132. rng.Material = "Neon"
  1133. rng.Size = Vector3.new(1, 1, 1)
  1134. rng.Transparency = 0
  1135. rng.TopSurface = 0
  1136. rng.BottomSurface = 0
  1137. rng.CFrame = pos
  1138. local rngm = Instance.new("SpecialMesh", rng)
  1139. rngm.MeshType = MType
  1140. rngm.Scale = scale
  1141. local scaler2 = 1
  1142. if type == "Add" then
  1143. scaler2 = 1 * value
  1144. elseif type == "Divide" then
  1145. scaler2 = 1 / value
  1146. end
  1147. coroutine.resume(coroutine.create(function()
  1148. for i = 0, 10 / bonuspeed, 0.1 do
  1149. swait()
  1150. if type == "Add" then
  1151. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1152. elseif type == "Divide" then
  1153. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1154. end
  1155. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1156. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1157. end
  1158. rng:Destroy()
  1159. end))
  1160. end
  1161.  
  1162. function Eviscerate(dude)
  1163. if dude.Name ~= char then
  1164. local bgf = IT("BodyGyro", dude.Head)
  1165. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1166. local val = IT("BoolValue", dude)
  1167. val.Name = "IsHit"
  1168. local ds = coroutine.wrap(function()
  1169. dude:WaitForChild("Head"):BreakJoints()
  1170. wait(0.5)
  1171. target = nil
  1172. coroutine.resume(coroutine.create(function()
  1173. for i, v in pairs(dude:GetChildren()) do
  1174. if v:IsA("Accessory") then
  1175. v:Destroy()
  1176. end
  1177. if v:IsA("Humanoid") then
  1178. v:Destroy()
  1179. end
  1180. if v:IsA("CharacterMesh") then
  1181. v:Destroy()
  1182. end
  1183. if v:IsA("Model") then
  1184. v:Destroy()
  1185. end
  1186. if v:IsA("Part") or v:IsA("MeshPart") then
  1187. for x, o in pairs(v:GetChildren()) do
  1188. if o:IsA("Decal") then
  1189. o:Destroy()
  1190. end
  1191. end
  1192. coroutine.resume(coroutine.create(function()
  1193. v.Material = "Neon"
  1194. v.CanCollide = false
  1195. local PartEmmit1 = IT("ParticleEmitter", v)
  1196. PartEmmit1.LightEmission = 1
  1197. PartEmmit1.Texture = "rbxassetid://284205403"
  1198. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1199. PartEmmit1.Rate = 150
  1200. PartEmmit1.Lifetime = NumberRange.new(1)
  1201. PartEmmit1.Size = NumberSequence.new({
  1202. NumberSequenceKeypoint.new(0, 0.75, 0),
  1203. NumberSequenceKeypoint.new(1, 0, 0)
  1204. })
  1205. PartEmmit1.Transparency = NumberSequence.new({
  1206. NumberSequenceKeypoint.new(0, 0, 0),
  1207. NumberSequenceKeypoint.new(1, 1, 0)
  1208. })
  1209. PartEmmit1.Speed = NumberRange.new(0, 0)
  1210. PartEmmit1.VelocitySpread = 30000
  1211. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1212. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1213. local BodPoss = IT("BodyPosition", v)
  1214. BodPoss.P = 3000
  1215. BodPoss.D = 1000
  1216. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1217. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1218. v.Color = maincolor.Color
  1219. coroutine.resume(coroutine.create(function()
  1220. for i = 0, 49 do
  1221. swait(1)
  1222. v.Transparency = v.Transparency + 0.08
  1223. end
  1224. wait(0.5)
  1225. PartEmmit1.Enabled = false
  1226. wait(3)
  1227. v:Destroy()
  1228. dude:Destroy()
  1229. end))
  1230. end))
  1231. end
  1232. end
  1233. end))
  1234. end)
  1235. ds()
  1236. end
  1237. end
  1238.  
  1239. function FindNearestHead(Position, Distance, SinglePlayer)
  1240. if SinglePlayer then
  1241. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1242. end
  1243. local List = {}
  1244. for i, v in pairs(workspace:GetChildren()) do
  1245. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1246. table.insert(List, v)
  1247. end
  1248. end
  1249. return List
  1250. end
  1251.  
  1252. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1253. local type = type
  1254. local rng = Instance.new("Part", char)
  1255. rng.Anchored = true
  1256. rng.BrickColor = color
  1257. rng.CanCollide = false
  1258. rng.FormFactor = 3
  1259. rng.Name = "Ring"
  1260. rng.Material = "Neon"
  1261. rng.Size = Vector3.new(1, 1, 1)
  1262. rng.Transparency = 0
  1263. rng.TopSurface = 0
  1264. rng.BottomSurface = 0
  1265. rng.CFrame = pos
  1266. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1267. local rngm = Instance.new("SpecialMesh", rng)
  1268. rngm.MeshType = MType
  1269. rngm.Scale = Vector3.new(x1, y1, z1)
  1270. local scaler2 = 1
  1271. local speeder = FastSpeed
  1272. if type == "Add" then
  1273. scaler2 = 1 * value
  1274. elseif type == "Divide" then
  1275. scaler2 = 1 / value
  1276. end
  1277. coroutine.resume(coroutine.create(function()
  1278. for i = 0, 10 / bonuspeed, 0.1 do
  1279. swait()
  1280. if type == "Add" then
  1281. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1282. elseif type == "Divide" then
  1283. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1284. end
  1285. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1286. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1287. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1288. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1289. end
  1290. rng:Destroy()
  1291. end))
  1292. end
  1293.  
  1294. function SoulSteal(dude)
  1295. if dude.Name ~= char then
  1296. local bgf = IT("BodyGyro", dude.Head)
  1297. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1298. local val = IT("BoolValue", dude)
  1299. val.Name = "IsHit"
  1300. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1301. local soulst = coroutine.wrap(function()
  1302. local soul = Instance.new("Part",dude)
  1303. soul.Size = Vector3.new(1,1,1)
  1304. soul.CanCollide = false
  1305. soul.Anchored = false
  1306. soul.Position = torso.Position
  1307. soul.Transparency = 1
  1308. local PartEmmit1 = IT("ParticleEmitter", soul)
  1309. PartEmmit1.LightEmission = 1
  1310. PartEmmit1.Texture = "rbxassetid://569507414"
  1311. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1312. PartEmmit1.Rate = 250
  1313. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1314. PartEmmit1.Size = NumberSequence.new({
  1315. NumberSequenceKeypoint.new(0, 1, 0),
  1316. NumberSequenceKeypoint.new(1, 0, 0)
  1317. })
  1318. PartEmmit1.Transparency = NumberSequence.new({
  1319. NumberSequenceKeypoint.new(0, 0, 0),
  1320. NumberSequenceKeypoint.new(1, 1, 0)
  1321. })
  1322. PartEmmit1.Speed = NumberRange.new(0, 0)
  1323. PartEmmit1.VelocitySpread = 30000
  1324. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1325. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1326. local BodPoss = IT("BodyPosition", soul)
  1327. BodPoss.P = 3000
  1328. BodPoss.D = 1000
  1329. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1330. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1331. wait(1.6)
  1332. soul.Touched:connect(function(hit)
  1333. if hit.Parent == char then
  1334. soul:Destroy()
  1335. end
  1336. end)
  1337. wait(1.2)
  1338. while soul do
  1339. swait()
  1340. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1341. BodPoss.Position = tors.Position
  1342. end
  1343. end)
  1344. soulst()
  1345. end
  1346. end
  1347. function FaceMouse()
  1348. local Cam = workspace.CurrentCamera
  1349. return {
  1350. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1351. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1352. }
  1353. end
  1354.  
  1355. BTAUNT = Instance.new("Sound", tors)
  1356. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=391856224"
  1357. BTAUNT.Volume = 1
  1358. BTAUNT.Pitch = 1
  1359. BTAUNT.Looped = true
  1360. BTAUNT.TimePosition = 0.2
  1361.  
  1362. -------------------------------------------------------
  1363. --End Effect Function--
  1364. -------------------------------------------------------
  1365. function Cso(ID, PARENT, VOLUME, PITCH)
  1366. local NSound = nil
  1367. coroutine.resume(coroutine.create(function()
  1368. NSound = IT("Sound", PARENT)
  1369. NSound.Volume = VOLUME
  1370. NSound.Pitch = PITCH
  1371. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1372. swait()
  1373. NSound:play()
  1374. game:GetService("Debris"):AddItem(NSound, 50)
  1375. end))
  1376. return NSound
  1377. end
  1378. function CameraEnshaking(Length, Intensity)
  1379. coroutine.resume(coroutine.create(function()
  1380. local intensity = 1 * Intensity
  1381. local rotM = 0.01 * Intensity
  1382. for i = 0, Length, 0.1 do
  1383. swait()
  1384. intensity = intensity - 0.05 * Intensity / Length
  1385. rotM = rotM - 5.0E-4 * Intensity / Length
  1386. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1387. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1388. end
  1389. hum.CameraOffset = Vector3.new(0, 0, 0)
  1390. end))
  1391. end
  1392. -------------------------------------------------------
  1393. --End Important Functions--
  1394. -------------------------------------------------------
  1395.  
  1396.  
  1397. -------------------------------------------------------
  1398. --Start Customization--
  1399. -------------------------------------------------------
  1400. local Player_Size = 1
  1401. if Player_Size ~= 1 then
  1402. root.Size = root.Size * Player_Size
  1403. tors.Size = tors.Size * Player_Size
  1404. hed.Size = hed.Size * Player_Size
  1405. ra.Size = ra.Size * Player_Size
  1406. la.Size = la.Size * Player_Size
  1407. rl.Size = rl.Size * Player_Size
  1408. ll.Size = ll.Size * Player_Size
  1409. ----------------------------------------------------------------------------------
  1410. rootj.Parent = root
  1411. neck.Parent = tors
  1412. RW.Parent = tors
  1413. LW.Parent = tors
  1414. RH.Parent = tors
  1415. LH.Parent = tors
  1416. ----------------------------------------------------------------------------------
  1417. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1418. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1419. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1420. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1421. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1422. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1423. ----------------------------------------------------------------------------------
  1424. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1425. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1426. RH.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))
  1427. LH.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))
  1428. --hat.Parent = Character
  1429. end
  1430. ----------------------------------------------------------------------------------
  1431. ----------------------------------------------------------------------------------
  1432. local equipped = false
  1433. local idle = 0
  1434. local change = 1
  1435. local val = 0
  1436. local toim = 0
  1437. local idleanim = 0.4
  1438. local sine = 0
  1439. local Sit = 1
  1440. ----------------------------------------------------------------------------------
  1441. hum.WalkSpeed = 8
  1442. hum.JumpPower = 57
  1443. hum.Animator.Parent = nil
  1444. ----------------------------------------------------------------------------------
  1445. -------------------------------------------------------
  1446. --End Customization--
  1447. -------------------------------------------------------
  1448. wait(1)
  1449. player = game.Players.LocalPlayer
  1450. torso = player.Character:WaitForChild("Torso")
  1451. mouse = player:GetMouse()
  1452.  
  1453. mouse.KeyDown:connect(function(key)
  1454. if key == "q" then
  1455. Cso("1392276089", hed, 3.5, 1)
  1456. dist = (torso.Position - mouse.Hit.p).magnitude
  1457. if dist <= 10000 then
  1458. torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0)
  1459. end
  1460. end
  1461. end)
  1462. ----------------------------------------------------------------------------------
  1463. local AddInstance = function(Object, ...)
  1464. local Obj = Instance.new(Object)
  1465. for i,v in next,(...) do
  1466. Obj[i] = v
  1467. end
  1468. return Obj
  1469. end
  1470. ----------------------------------------------------
  1471. local Reaper = AddInstance("Part",{
  1472. Parent = hed,
  1473. CFrame = hed.CFrame,
  1474. formFactor = "Symmetric",
  1475. Size = Vector3.new(1, 1, 1),
  1476. CanCollide = false,
  1477. TopSurface = "Smooth",
  1478. BottomSurface = "Smooth",
  1479. Locked = true,
  1480. })
  1481. local Weld = AddInstance("Weld",{
  1482. Parent = Reaper,
  1483. Part0 = hed,
  1484. C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0),
  1485. Part1 = Reaper,
  1486. })
  1487. local Mesh = AddInstance("SpecialMesh",{
  1488. Parent = Reaper,
  1489. MeshId = "rbxassetid://83499032",
  1490. TextureId = "rbxassetid://184744284",
  1491. Scale = Vector3.new(1.1, 1.1, 1.1),
  1492. VertexColor = Vector3.new(0.3, 0.3, 0.3),
  1493. })
  1494. -------------------------------------------------------
  1495. Character.Head.face.Texture = "rbxassetid://400377503"
  1496. plr = game.Players.LocalPlayer
  1497. char = plr.Character
  1498. mouse = plr:GetMouse()
  1499. whitecolor = Color3.new(1,1,1)
  1500. epicmode = false
  1501. normal = true
  1502. for i,v in pairs(char:GetChildren()) do
  1503. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  1504. v:Destroy()
  1505. end
  1506. end
  1507. local shirt = Instance.new("Shirt",char)
  1508. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1182218263"
  1509. local pants = Instance.new("Pants",char)
  1510. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1829011479"
  1511. local bdycolors = char["Body Colors"]
  1512. bdycolors.HeadColor3 = whitecolor
  1513. bdycolors.LeftArmColor3 = whitecolor
  1514. bdycolors.LeftLegColor3 = whitecolor
  1515. bdycolors.RightArmColor3 = whitecolor
  1516. bdycolors.RightLegColor3 = whitecolor
  1517. bdycolors.TorsoColor3 = whitecolor
  1518. for i,v in pairs(char:GetChildren()) do
  1519. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1520. v:Destroy()
  1521. end
  1522. end
  1523.  
  1524. -------------------------------------------------------
  1525. --Start Attacks N Stuff--
  1526. -------------------------------------------------------
  1527. local naeeym2 = Instance.new("BillboardGui",char)
  1528. naeeym2.AlwaysOnTop = true
  1529. naeeym2.Size = UDim2.new(5,35,2,35)
  1530. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1531. naeeym2.Adornee = hed
  1532. naeeym2.Name = "Name"
  1533.  
  1534. local tecks2 = Instance.new("TextLabel",naeeym2)
  1535. tecks2.BackgroundTransparency = 1
  1536. tecks2.TextScaled = true
  1537. tecks2.BorderSizePixel = 0
  1538. tecks2.Text = "Bad tom!!!!"
  1539. tecks2.Font = "Garamond"
  1540. tecks2.TextSize = 30
  1541. tecks2.TextStrokeTransparency = 0
  1542. tecks2.TextColor3 = BrickColor.new('Really black').Color
  1543. tecks2.TextStrokeColor3 = BrickColor.new('Institutional white').Color
  1544. tecks2.Size = UDim2.new(1,0,0.5,0)
  1545. tecks2.Parent = naeeym2
  1546. textfag = tecks2
  1547. tecks2.Text = "..."
  1548. wait(0)
  1549. tecks2.Text = "..."
  1550. wait(0)
  1551. tecks2.Text = "Nahid Sanes"
  1552. BTAUNT:Play()
  1553. coroutine.resume(coroutine.create(function()
  1554. while textfag ~= nil do
  1555. swait()
  1556. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  1557. textfag.Rotation = math.random(-3,3)
  1558. end
  1559. end))
  1560. function chatfunc(text, color)
  1561. local chat = coroutine.wrap(function()
  1562. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1563. char:FindFirstChild("TalkingBillBoard"):destroy()
  1564. end
  1565. local naeeym2 = Instance.new("BillboardGui", char)
  1566. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1567. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  1568. naeeym2.Adornee = hed
  1569. naeeym2.Name = "TalkingBillBoard"
  1570. local tecks2 = Instance.new("TextLabel", naeeym2)
  1571. tecks2.BackgroundTransparency = 1
  1572. tecks2.BorderSizePixel = 0
  1573. tecks2.Text = ""
  1574. tecks2.Font = "SciFi"
  1575. tecks2.TextSize = 30
  1576. tecks2.TextStrokeTransparency = 0
  1577. tecks2.TextColor3 = color
  1578. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1579. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1580. local tecks3 = Instance.new("TextLabel", naeeym2)
  1581. tecks3.BackgroundTransparency = 1
  1582. tecks3.BorderSizePixel = 0
  1583. tecks3.Text = ""
  1584. tecks3.Font = "SciFi"
  1585. tecks3.TextSize = 30
  1586. tecks3.TextStrokeTransparency = 0
  1587. tecks3.TextColor3 = Color3.new(0, 0, 0)
  1588. tecks3.TextStrokeColor3 = color
  1589. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  1590. coroutine.resume(coroutine.create(function()
  1591. while true do
  1592. swait(1)
  1593. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1594. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1595. tecks2.Rotation = math.random(-5, 5)
  1596. tecks3.Rotation = math.random(-5, 5)
  1597. end
  1598. end))
  1599. for i = 1, string.len(text) do
  1600. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  1601. tecks2.Text = string.sub(text, 1, i)
  1602. tecks3.Text = string.sub(text, 1, i)
  1603. swait(1)
  1604. end
  1605. wait(1)
  1606. local randomrot = math.random(1, 2)
  1607. if randomrot == 1 then
  1608. for i = 1, 50 do
  1609. swait()
  1610. tecks2.Rotation = tecks2.Rotation - 0.75
  1611. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1612. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  1613. tecks3.Rotation = tecks2.Rotation + 0.75
  1614. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1615. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  1616. end
  1617. elseif randomrot == 2 then
  1618. for i = 1, 50 do
  1619. swait()
  1620. tecks2.Rotation = tecks2.Rotation + 0.75
  1621. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1622. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  1623. tecks3.Rotation = tecks2.Rotation - 0.75
  1624. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  1625. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  1626. end
  1627. end
  1628. naeeym2:Destroy()
  1629. end)
  1630. chat()
  1631. end
  1632. function test()
  1633. attack = true
  1634. for i = 0,4,0.1 do
  1635. swait()
  1636. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1637. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1638. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1639. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1640. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1641. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  1642. end
  1643. Cso("332223043", char, 10, 1)
  1644. hum.WalkSpeed = 6.5
  1645. local gasterblaster = Instance.new("Part",char.Torso)
  1646. gasterblaster.Size = Vector3.new(7, 16, 4)
  1647. gasterblaster.CanCollide = false
  1648. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  1649. gasterblastermesh.MeshId = "rbxassetid://431908407"
  1650. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  1651. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  1652. gasterblastertexture.Face = "Back"
  1653. gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
  1654. local weeld = Instance.new("Weld",gasterblaster)
  1655. weeld.Part0 = gasterblaster
  1656. weeld.Part1 = char.Torso
  1657. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  1658. char.Head.Anchored = true
  1659. wait(1)
  1660. local blast = Instance.new("Part",gasterblaster)
  1661. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  1662. blast.Transparency = 0.7
  1663. blast.Material = "Neon"
  1664. blast.Color = Color3.new(1,1,1)
  1665. blast.CanCollide = true
  1666. local blastweld = Instance.new("Weld",blast)
  1667. blastweld.Part0 = blast
  1668. blastweld.Part1 = gasterblaster
  1669. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1670. blast.Touched:connect(function(part)
  1671. end)
  1672. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  1673. if v:FindFirstChild("Head") then
  1674. Eviscerate(v)
  1675. end
  1676. end
  1677. coroutine.resume(coroutine.create(function()
  1678. for i = 0,2.8,0.1 do
  1679. swait()
  1680. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  1681. end
  1682. for i = 0,1.8,0.1 do
  1683. swait()
  1684. hum.CameraOffset = Vector3.new(0,0,0)
  1685. end
  1686. end))
  1687. wait(2)
  1688. char.Head.Anchored = false
  1689. blast:Destroy()
  1690. gasterblaster:Destroy()
  1691. mouse.KeyDown:connect(Blast)
  1692. attack = false
  1693. hum.WalkSpeed = 40
  1694. end
  1695. function boom()
  1696. attack = true
  1697. hum.WalkSpeed = 1.01
  1698. CameraEnshaking(2, 4)
  1699. local Blobby = Instance.new("Part", char)
  1700. Blobby.Name = "Blob"
  1701. Blobby.CanCollide = false
  1702. Blobby.BrickColor = BrickColor.new("Really black")
  1703. Blobby.Transparency = 0
  1704. Blobby.Material = "Plastic"
  1705. Blobby.Size = Vector3.new(1, 1, 2)
  1706. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1707. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1708.  
  1709. local Weld = Instance.new("Weld", Blobby)
  1710. Weld.Part0 = ra
  1711. Weld.Part1 = Blobby
  1712. Weld.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(180), Rad(0), Rad(180))
  1713. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  1714.  
  1715. local M2 = Instance.new("SpecialMesh")
  1716. M2.Parent = Blobby
  1717. M2.MeshId = "http://www.roblox.com/asset/?id=432256490"
  1718. M2.TextureId = "http://www.roblox.com/asset/?id=432256526"
  1719. M2.Scale = Vector3.new(.002, .002, .002)
  1720. for i = 0,4,0.1 do
  1721. swait()
  1722. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1723. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1724. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1725. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1726. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1727. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  1728. end
  1729. wait(1)
  1730. Cso("132237592", char, 10, 1)
  1731. wait(3)
  1732. Blobby:Remove()
  1733. hum.WalkSpeed = 16
  1734. attack = false
  1735. end
  1736. function MEMECLAP()
  1737. attack = true
  1738. for i = 0, 15, 0.1 do
  1739. swait()
  1740. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1741. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1742. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1743. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1744. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(65 - 4.5 * Sin(sine / 20))), 0.3)
  1745. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(Mrandom(-15, 15)), Rad(-65 + 4.5 * Sin(sine / 20))), 0.3)
  1746. end
  1747. CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
  1748. for i = 0, 7, 0.1 do
  1749. swait()
  1750. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1751. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1752. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1753. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1754. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 - 4.5 * Sin(sine / 20))), 0.3)
  1755. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 + 4.5 * Sin(sine / 20))), 0.3)
  1756. end
  1757. Magic(1, "Add", root.CFrame, Vector3.new(50, 100, 50), 4, BrickC("Really black"), "Sphere")
  1758. Magic(1, "Add", root.CFrame, Vector3.new(30, 60, 30), 4, BrickC("Really black"), "Sphere")
  1759. Magic(1, "Add", root.CFrame, Vector3.new(3, 600, 3), 4, BrickC("Really black"), "Sphere")
  1760. for i, v in pairs(FindNearestHead(tors.CFrame.p, 500000)) do
  1761. if v:FindFirstChild("Head") then
  1762. Eviscerate(v)
  1763. end
  1764. end
  1765. CFuncs["Sound"].Create("rbxassetid://138213851", char, 2,1.2)
  1766. CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,1.2)
  1767. CFuncs["Sound"].Create("rbxassetid://919941001", char, 3,1.05)
  1768. for i = 0, 7, 0.1 do
  1769. swait()
  1770. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1771. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1772. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1773. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1774. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(-45 - 4.5 * Sin(sine / 20))), 0.3)
  1775. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(85), Rad(Mrandom(-15, 15)), Rad(45 + 4.5 * Sin(sine / 20))), 0.3)
  1776. end
  1777. attack = false
  1778. end
  1779.  
  1780. MERKIO2 = Instance.new("Sound", tors) --why (again)
  1781. MERKIO2.SoundId = "http://www.roblox.com/asset/?id=400786493"
  1782. MERKIO2.Volume = 10
  1783. MERKIO2.Pitch = 1
  1784. MERKIO2.Looped = false
  1785. MERKIO2.TimePosition = 0
  1786.  
  1787. function Squating()
  1788. attack = true
  1789. Character.Head.face.Texture = "rbxassetid://400377503"
  1790. BTAUNT:Stop()
  1791. MERKIO2:Play()
  1792. repeat
  1793. for i = 0,0.7,0.2 do
  1794. swait()
  1795. MERKIO2.Parent = tors
  1796. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1797. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1798. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1799. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1800. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1801. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-5)), 0.1)
  1802. end
  1803. for i = 0,0.7,0.2 do
  1804. swait()
  1805. MERKIO2.Parent = tors
  1806. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1807. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1808. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1809. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1810. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1811. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-5)), 0.1)
  1812. end
  1813. until MERKIO2.Playing == false
  1814. MERKIO2:Stop()
  1815. BTAUNT:Play()
  1816. Character.Head.face.Texture = "rbxassetid://400377503"
  1817. attack = false
  1818. hum.WalkSpeed = 16
  1819. end
  1820.  
  1821. function Woaht()
  1822. attack = true
  1823. hum.WalkSpeed = 0
  1824. Cso("313553389", char, 10, 1)
  1825. Character.Head.face.Texture = "rbxassetid://60501076"
  1826. swait(2)
  1827. for i = 0,0.37,0.03 do
  1828. swait()
  1829. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1830. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1831. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1832. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1833. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  1834. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  1835. end
  1836. wait(0.5)
  1837. hum.WalkSpeed = 40
  1838. Character.Head.face.Texture = "rbxassetid://400377503"
  1839. attack = false
  1840. root.Anchored = false
  1841. end
  1842. function EndMySufferingV2()
  1843. chatfunc("Sanes dab.", BrickColor.new("Really black").Color)
  1844. attack = true
  1845. hum.WalkSpeed = 1.01
  1846. Cso("577475178", char, 10, 1)
  1847. for i = 0,18,0.1 do
  1848. swait()
  1849. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1850. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1851. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1852. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1853. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(10), math.rad(-110)), 0.1)
  1854. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-10), math.rad(-105)), 0.1)
  1855. end
  1856. attack = false
  1857. hum.WalkSpeed = 16
  1858. end
  1859. function bad_tom_is_here()
  1860. attack = true
  1861. for i = 0,0.7,0.2 do
  1862. swait()
  1863. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1864. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1865. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1866. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1867. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1868. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1869. end
  1870. wait(0.1)
  1871. function Decode(a,b,c,d,e,f,g,h)local i,j,k,l,m,n=tonumber,table.remove,table.foreach,Instance.new,"Parent",","function h(a,o,p)p={}a:gsub(string.format("([^%s]+)",o),function(q)p[#p+1]=q end)return p end;b=h(a,";")c,d=h(j(b,1),n)d=h(j(b,1),n)e=l"Model"f=e;k(b,function(r,q)if q=="n"or q=="p"then f=q=="n"and g or f[m]else r=h(q,"|")g=l(d[i(j(r,1))])if g:IsA"BasePart"then g.Anchored=true;g.Locked=true elseif g:IsA"Script"then s(g)end;k(r,function(s,t,u,a)u=t:find":"t,a=c[i(t:sub(1,u-1))],t:sub(u+1)function u(u)return unpack(h(u,n))end;s=#h(a,n)g[t]=(t=="Color"or t:sub(#t-5)=="Color3")and s==3 and Color3.new(u(a))or s==4 and UDim2.new(u(a))or s==3 and Vector3.new(u(a))or s==2 and Vector2.new(u(a))or s==12 and CFrame.new(u(a))or i(a)or a~="true"and a~="false"and a or a=="true"end)g[m]=f end end)return e end
  1872.  
  1873. local Model = Decode([==[Name,Color,Transparency,Position,Orientation,Size,Texture,Face;Part,Decal;1|1:Sign|2:0.585,0.475,0.467|3:1|4:1.545,22.26,71.011|5:0,-32.799,0|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:-66.29,22.26,-43.184|5:0,-129.929,0|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:110.26,22.26,154.726|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:-141.559,22.26,-167.174|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:129.89,22.26,-188.334|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:139.695,22.26,60.871|5:0,-128.69,0|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:91.415,22.26,-86.799|5:0,-24.549,0|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;1|1:Sign|2:0.585,0.475,0.467|3:1|4:-153.189,22.26,166.446|6:105.88,44.52,0.051;n;2|7:http://www.roblox.com/asset/?id=1073594263;2|7:http://www.roblox.com/asset/?id=628621513|8:Back;p;]==])
  1874.  
  1875. if script.Parent==workspace then
  1876. Model.Parent = script
  1877. else
  1878. Model.Parent = workspace
  1879. end
  1880. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  1881. sillsky.SkyboxBk = "rbxassetid://1073594263"
  1882. sillsky.SkyboxDn = "rbxassetid://1073594263"
  1883. sillsky.SkyboxFt = "rbxassetid://1073594263"
  1884. sillsky.SkyboxLf = "rbxassetid://1073594263"
  1885. sillsky.SkyboxRt = "rbxassetid://1073594263"
  1886. sillsky.SkyboxUp = "rbxassetid://1073594263"
  1887. sillsky.StarCount = 0
  1888. sillsky.SunAngularSize = 0
  1889. sillsky.MoonAngularSize = 0
  1890. sillsky.MoonTextureId = ""
  1891. sillsky.CelestialBodiesShown = false
  1892. wait(5)
  1893. Model:Remove()
  1894. sillsky:Remove()
  1895. attack = false
  1896. hum.WalkSpeed = 16
  1897. end
  1898. -------------------------------------------------------
  1899. --End Attacks N Stuff--
  1900. -------------------------------------------------------
  1901. mouse.KeyDown:connect(function(key)
  1902. if attack == false then
  1903. if key == "f" then
  1904. test()
  1905. elseif key == "t" then
  1906. boom()
  1907. elseif key == "h" then
  1908. MEMECLAP()
  1909. elseif key == "c" then
  1910. Squating()
  1911. elseif key == "z" then
  1912. Woaht()
  1913. elseif key == "x" then
  1914. EndMySufferingV2()
  1915. elseif key == "l" then
  1916. bad_tom_is_here()
  1917. end
  1918. end
  1919. end)
  1920.  
  1921.  
  1922.  
  1923.  
  1924. -------------------------------------------------------
  1925. --Start Animations--
  1926. -------------------------------------------------------
  1927. print("By Makhail07")
  1928. while true do
  1929. swait()
  1930. sine = sine + change
  1931. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1932. local velderp = root.Velocity.y
  1933. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1934. if equipped == true or equipped == false then
  1935. if attack == false then
  1936. idle = idle + 1
  1937. else
  1938. idle = 0
  1939. end
  1940. if 1 < root.Velocity.y and hitfloor == nil then
  1941. Anim = "Jump"
  1942. if attack == false then
  1943. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1944. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1945. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1946. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1947. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1948. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1949. end
  1950. elseif -1 > root.Velocity.y and hitfloor == nil then
  1951. Anim = "Fall"
  1952. if attack == false then
  1953. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1954. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1955. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1956. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1957. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1958. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1959. end
  1960. elseif torvel < 1 and hitfloor ~= nil then
  1961. Anim = "Idle"
  1962. change = 1
  1963. if attack == false then
  1964. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1965. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1966. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1967. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  1968. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1969. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  1970. end
  1971. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1972. Anim = "Walk"
  1973. change = 1
  1974. if attack == false then
  1975. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1976. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1977. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1978. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1979. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1980. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1981. end
  1982. elseif torvel >= 25 and hitfloor ~= nil then
  1983. Anim = "Sprint"
  1984. change = 1.35
  1985. if attack == false then
  1986. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  1987. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  1988. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1989. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1990. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1991. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1992. end
  1993. end
  1994. end
  1995. if 0 < #Effects then
  1996. for e = 1, #Effects do
  1997. if Effects[e] ~= nil then
  1998. local Thing = Effects[e]
  1999. if Thing ~= nil then
  2000. local Part = Thing[1]
  2001. local Mode = Thing[2]
  2002. local Delay = Thing[3]
  2003. local IncX = Thing[4]
  2004. local IncY = Thing[5]
  2005. local IncZ = Thing[6]
  2006. if 1 >= Thing[1].Transparency then
  2007. if Thing[2] == "Block1" then
  2008. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2009. local Mesh = Thing[1].Mesh
  2010. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2011. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2012. elseif Thing[2] == "Block2" then
  2013. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2014. local Mesh = Thing[7]
  2015. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2016. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2017. elseif Thing[2] == "Block3" then
  2018. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2019. local Mesh = Thing[7]
  2020. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2021. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2022. elseif Thing[2] == "Cylinder" then
  2023. local Mesh = Thing[1].Mesh
  2024. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2025. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2026. elseif Thing[2] == "Blood" then
  2027. local Mesh = Thing[7]
  2028. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2029. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2030. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2031. elseif Thing[2] == "Elec" then
  2032. local Mesh = Thing[1].Mesh
  2033. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2034. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2035. elseif Thing[2] == "Disappear" then
  2036. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2037. elseif Thing[2] == "Shatter" then
  2038. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2039. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2040. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2041. Thing[6] = Thing[6] + Thing[5]
  2042. end
  2043. else
  2044. Part.Parent = nil
  2045. table.remove(Effects, e)
  2046. end
  2047. end
  2048. end
  2049. end
  2050. end
  2051. end
  2052. -------------------------------------------------------
  2053. --End Animations And Script--
  2054. -------------------------------------------------------
Add Comment
Please, Sign In to add comment