Advertisement
Zach_rookie_editor3

WoRk In PrOgReSs

Nov 1st, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.35 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Gravity Pulse]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. -- Edited by Zach_rookie_editor3
  9.  
  10. -- Discord Zach129#3594
  11.  
  12.  
  13. -- Roblox - Powering your Credit card
  14.  
  15. -------------------------------------------------------
  16.  
  17. if game:GetService("RunService"):IsClient() then error("Use h/ Buster ") end
  18. warn(" Edited version of Mega Smasher 2 ")
  19. warn(" Work in progress ")
  20. warn(" it will be broken.. :( ")
  21. local Player,game,owner = owner,game
  22. local RealPlayer = Player
  23. do
  24. print("FE Compatibility code by Mokiros")
  25. local rp = RealPlayer
  26. script.Parent = rp.Character
  27.  
  28. --RemoteEvent for communicating
  29. local Event = Instance.new("RemoteEvent")
  30. Event.Name = "UserInput_Event"
  31.  
  32. --Fake event to make stuff like Mouse.KeyDown work
  33. local function fakeEvent()
  34. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  35. t.connect = t.Connect
  36. return t
  37. end
  38.  
  39. --Creating fake input objects with fake variables
  40. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  41. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  42. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  43. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  44. end}
  45. --Merged 2 functions into one by checking amount of arguments
  46. CAS.UnbindAction = CAS.BindAction
  47.  
  48. --This function will trigger the events that have been :Connect()'ed
  49. local function te(self,ev,...)
  50. local t = m[ev]
  51. if t and t._fakeEvent then
  52. for _,f in pairs(t.Functions) do
  53. f(...)
  54. end
  55. end
  56. end
  57. m.TrigEvent = te
  58. UIS.TrigEvent = te
  59.  
  60. Event.OnServerEvent:Connect(function(plr,io)
  61. if plr~=rp then return end
  62. m.Target = io.Target
  63. m.Hit = io.Hit
  64. if not io.isMouse then
  65. local b = io.UserInputState == Enum.UserInputState.Begin
  66. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  67. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  68. end
  69. for _,t in pairs(CAS.Actions) do
  70. for _,k in pairs(t.Keys) do
  71. if k==io.KeyCode then
  72. t.Function(t.Name,io.UserInputState,io)
  73. end
  74. end
  75. end
  76. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  77. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  78. end
  79. end)
  80. Event.Parent = NLS([==[
  81. local Player = game:GetService("Players").LocalPlayer
  82. local Event = script:WaitForChild("UserInput_Event")
  83.  
  84. local Mouse = Player:GetMouse()
  85. local UIS = game:GetService("UserInputService")
  86. local input = function(io,a)
  87. if a then return end
  88. --Since InputObject is a client-side instance, we create and pass table instead
  89. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  90. end
  91. UIS.InputBegan:Connect(input)
  92. UIS.InputEnded:Connect(input)
  93.  
  94. local h,t
  95. --Give the server mouse data 30 times every second, but only if the values changed
  96. --If player is not moving their mouse, client won't fire events
  97. while wait(1/30) do
  98. if h~=Mouse.Hit or t~=Mouse.Target then
  99. h,t=Mouse.Hit,Mouse.Target
  100. Event:FireServer({isMouse=true,Target=t,Hit=h})
  101. end
  102. end]==],Player.Character)
  103.  
  104. ----Sandboxed game object that allows the usage of client-side methods and services
  105. --Real game object
  106. local _rg = game
  107.  
  108. --Metatable for fake service
  109. local fsmt = {
  110. __index = function(self,k)
  111. local s = rawget(self,"_RealService")
  112. if s then return s[k] end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end,
  118. __call = function(self,...)
  119. local s = rawget(self,"_RealService")
  120. if s then return s(...) end
  121. end
  122. }
  123. local function FakeService(t,RealService)
  124. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  125. return setmetatable(t,fsmt)
  126. end
  127.  
  128. --Fake game object
  129. local g = {
  130. GetService = function(self,s)
  131. return self[s]
  132. end,
  133. Players = FakeService({
  134. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  135. },"Players"),
  136. UserInputService = FakeService(UIS,"UserInputService"),
  137. ContextActionService = FakeService(CAS,"ContextActionService"),
  138. }
  139. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  140. g.service = g.GetService
  141.  
  142. g.RunService = FakeService({
  143. RenderStepped = _rg:GetService("RunService").Heartbeat,
  144. BindToRenderStep = function(self,name,_,fun)
  145.  
  146. end,
  147. UnbindFromRenderStep = function(self,name)
  148. self._btrs[name]:Disconnect()
  149. end,
  150. },"RunService")
  151.  
  152. setmetatable(g,{
  153. __index=function(self,s)
  154. return _rg:GetService(s) or typeof(_rg[s])=="function"
  155. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  156. end,
  157. __newindex = fsmt.__newindex,
  158. __call = fsmt.__call
  159. })
  160. --Changing owner to fake player object to support owner:GetMouse()
  161. game,owner = g,g.Players.LocalPlayer
  162. end
  163.  
  164. local FavIDs = {
  165. 340106355, --Nefl Crystals
  166. 927529620, --Dimension
  167. 876981900, --Fantasy
  168. 398987889, --Ordinary Days
  169. 1117396305, --Oh wait, it's you.
  170. 885996042, --Action Winter Journey
  171. 919231299, --Sprawling Idiot Effigy
  172. 743466274, --Good Day Sunshine
  173. 727411183, --Knife Fight
  174. 1402748531, --The Earth Is Counting On You!
  175. 595230126 --Robot Language
  176. }
  177.  
  178.  
  179.  
  180. --The reality of my life isn't real but a Universe -makhail07
  181. wait()
  182. local plr = game:service'Players'.LocalPlayer
  183. print('Local User is '..plr.Name)
  184. print('Gravity Pulse Loaded')
  185. print('Controls Are E / R / T / Y you got it? '..plr.Name)
  186. print('Btw '..plr.Name)
  187. print('Key Y makes you run faster for around 30 seconds ')
  188. local char = plr.Character
  189. local hum = char.Humanoid
  190. local hed = char.Head
  191. local root = char.HumanoidRootPart
  192. local rootj = root.RootJoint
  193. local tors = char.Torso
  194. local ra = char["Right Arm"]
  195. local la = char["Left Arm"]
  196. local rl = char["Right Leg"]
  197. local ll = char["Left Leg"]
  198. local neck = tors["Neck"]
  199. local mouse = plr:GetMouse()
  200. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  201. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  202. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  203. local maincolor = BrickColor.new("Institutional white")
  204. ----------------------------------------------------------------
  205. ----------- Editing stuffs --------------------------
  206.  
  207. eye2 = Instance.new("Part", Character)
  208. eye2.Anchored = false
  209. eye2.Parent = hed
  210. eye2.TopSurface = 0
  211. eye2.BrickColor = BrickColor.new("Royal purple")
  212. eye2.Material = "Neon"
  213. eye2.BottomSurface = 0
  214. eye2m = Instance.new("SpecialMesh", eye2)
  215. eye2m.MeshId = "rbxassetid://31309506"
  216. eye2m.TextureId = "rbxassetid://31309468"
  217. eye2m.Scale = Vector3.new(1.03, 1.05, 1.03)
  218. ogsize = eye2m.Scale
  219. weld = Instance.new("Weld", Head)
  220. weld.Part0 = eye2
  221. weld.Part1 = hed
  222. weld.Name = "eye2Weld"
  223. weld.C1 = CFrame.new(0,.45,0.05)
  224. local shir = Instance.new("Shirt",Character)
  225. local pan = Instance.new("Pants",Character)
  226. shir.ShirtTemplate = "http://www.roblox.com/asset/?id=83326831"
  227. pan.PantsTemplate = "http://www.roblox.com/asset/?id=10045638"
  228.  
  229. local sur = Instance.new("BillboardGui", char.Head)
  230. sur.Name = "Billboard"
  231. sur.Adornee = char.Head
  232. sur.Size = UDim2.new(10, 0, 5, 0)
  233. sur.StudsOffset = Vector3.new(0, 5, 0)
  234. local text = Instance.new("TextLabel", sur)
  235. text.Text = "Shockwave"
  236. text.Size = UDim2.new(1, 0, 1, 0)
  237. text.TextScaled = true
  238. text.BackgroundTransparency = 1
  239. text.Font = Enum.Font.SourceSansLight
  240. text.TextColor3 = Color3.new(0, 1, 1)
  241. text.TextStrokeTransparency = 0
  242.  
  243.  
  244.  
  245. --------------------- End gay editing ---------------
  246.  
  247.  
  248.  
  249.  
  250.  
  251. -------------------------------------------------------
  252. --Start Good Stuff--
  253. -------------------------------------------------------
  254. cam = game.Workspace.CurrentCamera
  255. CF = CFrame.new
  256. angles = CFrame.Angles
  257. attack = false
  258. Euler = CFrame.fromEulerAnglesXYZ
  259. Rad = math.rad
  260. IT = Instance.new
  261. BrickC = BrickColor.new
  262. Cos = math.cos
  263. Acos = math.acos
  264. Sin = math.sin
  265. Asin = math.asin
  266. Abs = math.abs
  267. Mrandom = math.random
  268. Floor = math.floor
  269. -------------------------------------------------------
  270. --End Good Stuff--
  271. -------------------------------------------------------
  272. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  273. RSH, LSH = nil, nil
  274. RW = Instance.new("Weld")
  275. LW = Instance.new("Weld")
  276. RH = tors["Right Hip"]
  277. LH = tors["Left Hip"]
  278. RSH = tors["Right Shoulder"]
  279. LSH = tors["Left Shoulder"]
  280. RSH.Parent = nil
  281. LSH.Parent = nil
  282. RW.Name = "RW"
  283. RW.Part0 = tors
  284. RW.C0 = CF(1.5, 0.5, 0)
  285. RW.C1 = CF(0, 0.5, 0)
  286. RW.Part1 = ra
  287. RW.Parent = tors
  288. LW.Name = "LW"
  289. LW.Part0 = tors
  290. LW.C0 = CF(-1.5, 0.5, 0)
  291. LW.C1 = CF(0, 0.5, 0)
  292. LW.Part1 = la
  293. LW.Parent = tors
  294. Effects = {}
  295. -------------------------------------------------------
  296. --Start HeartBeat--
  297. -------------------------------------------------------
  298. ArtificialHB = Instance.new("BindableEvent", script)
  299. ArtificialHB.Name = "Heartbeat"
  300. script:WaitForChild("Heartbeat")
  301.  
  302. frame = 1 / 60
  303. tf = 0
  304. allowframeloss = false
  305. tossremainder = false
  306.  
  307.  
  308. lastframe = tick()
  309. script.Heartbeat:Fire()
  310.  
  311.  
  312. game:GetService("RunService").Heartbeat:connect(function(s, p)
  313. tf = tf + s
  314. if tf >= frame then
  315. if allowframeloss then
  316. script.Heartbeat:Fire()
  317. lastframe = tick()
  318. else
  319. for i = 1, math.floor(tf / frame) do
  320. script.Heartbeat:Fire()
  321. end
  322. lastframe = tick()
  323. end
  324. if tossremainder then
  325. tf = 0
  326. else
  327. tf = tf - frame * math.floor(tf / frame)
  328. end
  329. end
  330. end)
  331. -------------------------------------------------------
  332. --End HeartBeat--
  333. -------------------------------------------------------
  334.  
  335. -------------------------------------------------------
  336. --Start Important Functions--
  337. -------------------------------------------------------
  338. function swait(num)
  339. if num == 0 or num == nil then
  340. game:service("RunService").Stepped:wait(0)
  341. else
  342. for i = 0, num do
  343. game:service("RunService").Stepped:wait(0)
  344. end
  345. end
  346. end
  347. function thread(f)
  348. coroutine.resume(coroutine.create(f))
  349. end
  350. function clerp(a, b, t)
  351. local qa = {
  352. QuaternionFromCFrame(a)
  353. }
  354. local qb = {
  355. QuaternionFromCFrame(b)
  356. }
  357. local ax, ay, az = a.x, a.y, a.z
  358. local bx, by, bz = b.x, b.y, b.z
  359. local _t = 1 - t
  360. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  361. end
  362. function QuaternionFromCFrame(cf)
  363. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  364. local trace = m00 + m11 + m22
  365. if trace > 0 then
  366. local s = math.sqrt(1 + trace)
  367. local recip = 0.5 / s
  368. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  369. else
  370. local i = 0
  371. if m00 < m11 then
  372. i = 1
  373. end
  374. if m22 > (i == 0 and m00 or m11) then
  375. i = 2
  376. end
  377. if i == 0 then
  378. local s = math.sqrt(m00 - m11 - m22 + 1)
  379. local recip = 0.5 / s
  380. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  381. elseif i == 1 then
  382. local s = math.sqrt(m11 - m22 - m00 + 1)
  383. local recip = 0.5 / s
  384. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  385. elseif i == 2 then
  386. local s = math.sqrt(m22 - m00 - m11 + 1)
  387. local recip = 0.5 / s
  388. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  389. end
  390. end
  391. end
  392. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  393. local xs, ys, zs = x + x, y + y, z + z
  394. local wx, wy, wz = w * xs, w * ys, w * zs
  395. local xx = x * xs
  396. local xy = x * ys
  397. local xz = x * zs
  398. local yy = y * ys
  399. local yz = y * zs
  400. local zz = z * zs
  401. 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))
  402. end
  403. function QuaternionSlerp(a, b, t)
  404. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  405. local startInterp, finishInterp
  406. if cosTheta >= 1.0E-4 then
  407. if 1 - cosTheta > 1.0E-4 then
  408. local theta = math.acos(cosTheta)
  409. local invSinTheta = 1 / Sin(theta)
  410. startInterp = Sin((1 - t) * theta) * invSinTheta
  411. finishInterp = Sin(t * theta) * invSinTheta
  412. else
  413. startInterp = 1 - t
  414. finishInterp = t
  415. end
  416. elseif 1 + cosTheta > 1.0E-4 then
  417. local theta = math.acos(-cosTheta)
  418. local invSinTheta = 1 / Sin(theta)
  419. startInterp = Sin((t - 1) * theta) * invSinTheta
  420. finishInterp = Sin(t * theta) * invSinTheta
  421. else
  422. startInterp = t - 1
  423. finishInterp = t
  424. end
  425. 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
  426. end
  427. function rayCast(Position, Direction, Range, Ignore)
  428. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  429. end
  430. local RbxUtility = LoadLibrary("RbxUtility")
  431. local Create = RbxUtility.Create
  432.  
  433. -------------------------------------------------------
  434. --Start Damage Function--
  435. -------------------------------------------------------
  436. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  437. if hit.Parent == nil then
  438. return
  439. end
  440. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  441. for _, v in pairs(hit.Parent:children()) do
  442. if v:IsA("Humanoid") then
  443. h = v
  444. end
  445. end
  446. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  447.  
  448. hit.Parent:FindFirstChild("Head"):BreakJoints()
  449. end
  450.  
  451. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  452. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  453. if hit.Parent.DebounceHit.Value == true then
  454. return
  455. end
  456. end
  457. if insta == true then
  458. hit.Parent:FindFirstChild("Head"):BreakJoints()
  459. end
  460. local c = Create("ObjectValue"){
  461. Name = "creator",
  462. Value = game:service("Players").LocalPlayer,
  463. Parent = h,
  464. }
  465. game:GetService("Debris"):AddItem(c, .5)
  466. if HitSound ~= nil and HitPitch ~= nil then
  467. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  468. end
  469. local Damage = math.random(minim, maxim)
  470. local blocked = false
  471. local block = hit.Parent:findFirstChild("Block")
  472. if block ~= nil then
  473. if block.className == "IntValue" then
  474. if block.Value > 0 then
  475. blocked = true
  476. block.Value = block.Value - 1
  477. print(block.Value)
  478. end
  479. end
  480. end
  481. if blocked == false then
  482. h.Health = h.Health - Damage
  483. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  484. else
  485. h.Health = h.Health - (Damage / 2)
  486. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  487. end
  488. if Type == "Knockdown" then
  489. local hum = hit.Parent.Humanoid
  490. hum.PlatformStand = true
  491. coroutine.resume(coroutine.create(function(HHumanoid)
  492. swait(1)
  493. HHumanoid.PlatformStand = false
  494. end), hum)
  495. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  496. local bodvol = Create("BodyVelocity"){
  497. velocity = angle * knockback,
  498. P = 5000,
  499. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  500. Parent = hit,
  501. }
  502. local rl = Create("BodyAngularVelocity"){
  503. P = 3000,
  504. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  505. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  506. Parent = hit,
  507. }
  508. game:GetService("Debris"):AddItem(bodvol, .5)
  509. game:GetService("Debris"):AddItem(rl, .5)
  510. elseif Type == "Normal" then
  511. local vp = Create("BodyVelocity"){
  512. P = 500,
  513. maxForce = Vector3.new(math.huge, 0, math.huge),
  514. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  515. }
  516. if knockback > 0 then
  517. vp.Parent = hit.Parent.Torso
  518. end
  519. game:GetService("Debris"):AddItem(vp, .5)
  520. elseif Type == "Up" then
  521. local bodyVelocity = Create("BodyVelocity"){
  522. velocity = Vector3.new(0, 20, 0),
  523. P = 5000,
  524. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  525. Parent = hit,
  526. }
  527. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  528. elseif Type == "DarkUp" then
  529. coroutine.resume(coroutine.create(function()
  530. for i = 0, 1, 0.1 do
  531. swait()
  532. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  533. end
  534. end))
  535. local bodyVelocity = Create("BodyVelocity"){
  536. velocity = Vector3.new(0, 20, 0),
  537. P = 5000,
  538. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  539. Parent = hit,
  540. }
  541. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  542. elseif Type == "Snare" then
  543. local bp = Create("BodyPosition"){
  544. P = 2000,
  545. D = 100,
  546. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  547. position = hit.Parent.Torso.Position,
  548. Parent = hit.Parent.Torso,
  549. }
  550. game:GetService("Debris"):AddItem(bp, 1)
  551. elseif Type == "Freeze" then
  552. local BodPos = Create("BodyPosition"){
  553. P = 50000,
  554. D = 1000,
  555. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  556. position = hit.Parent.Torso.Position,
  557. Parent = hit.Parent.Torso,
  558. }
  559. local BodGy = Create("BodyGyro") {
  560. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  561. P = 20e+003,
  562. Parent = hit.Parent.Torso,
  563. cframe = hit.Parent.Torso.CFrame,
  564. }
  565. hit.Parent.Torso.Anchored = true
  566. coroutine.resume(coroutine.create(function(Part)
  567. swait(1.5)
  568. Part.Anchored = false
  569. end), hit.Parent.Torso)
  570. game:GetService("Debris"):AddItem(BodPos, 3)
  571. game:GetService("Debris"):AddItem(BodGy, 3)
  572. end
  573. local debounce = Create("BoolValue"){
  574. Name = "DebounceHit",
  575. Parent = hit.Parent,
  576. Value = true,
  577. }
  578. game:GetService("Debris"):AddItem(debounce, Delay)
  579. c = Create("ObjectValue"){
  580. Name = "creator",
  581. Value = Player,
  582. Parent = h,
  583. }
  584. game:GetService("Debris"):AddItem(c, .5)
  585. end
  586. end
  587. -------------------------------------------------------
  588. --End Damage Function--
  589. -------------------------------------------------------
  590.  
  591. -------------------------------------------------------
  592. --Start Damage Function Customization--
  593. -------------------------------------------------------
  594. function ShowDamage(Pos, Text, Time, Color)
  595. local Rate = (1 / 30)
  596. local Pos = (Pos or Vector3.new(0, 0, 0))
  597. local Text = (Text or "")
  598. local Time = (Time or 2)
  599. local Color = (Color or Color3.new(1, 0, 1))
  600. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  601. EffectPart.Anchored = true
  602. local BillboardGui = Create("BillboardGui"){
  603. Size = UDim2.new(3, 0, 3, 0),
  604. Adornee = EffectPart,
  605. Parent = EffectPart,
  606. }
  607. local TextLabel = Create("TextLabel"){
  608. BackgroundTransparency = 1,
  609. Size = UDim2.new(1, 0, 1, 0),
  610. Text = Text,
  611. Font = "Bodoni",
  612. TextColor3 = Color,
  613. TextScaled = true,
  614. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  615. Parent = BillboardGui,
  616. }
  617. game.Debris:AddItem(EffectPart, (Time))
  618. EffectPart.Parent = game:GetService("Workspace")
  619. delay(0, function()
  620. local Frames = (Time / Rate)
  621. for Frame = 1, Frames do
  622. wait(Rate)
  623. local Percent = (Frame / Frames)
  624. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  625. TextLabel.TextTransparency = Percent
  626. end
  627. if EffectPart and EffectPart.Parent then
  628. EffectPart:Destroy()
  629. end
  630. end)
  631. end
  632. -------------------------------------------------------
  633. --End Damage Function Customization--
  634. -------------------------------------------------------
  635.  
  636. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  637. for _, c in pairs(workspace:children()) do
  638. local hum = c:findFirstChild("Humanoid")
  639. if hum ~= nil then
  640. local head = c:findFirstChild("Head")
  641. if head ~= nil then
  642. local targ = head.Position - Part.Position
  643. local mag = targ.magnitude
  644. if magni >= mag and c.Name ~= plr.Name then
  645. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  646. end
  647. end
  648. end
  649. end
  650. end
  651.  
  652.  
  653. CFuncs = {
  654. Part = {
  655. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  656. local Part = Create("Part")({
  657. Parent = Parent,
  658. Reflectance = Reflectance,
  659. Transparency = Transparency,
  660. CanCollide = false,
  661. Locked = true,
  662. BrickColor = BrickColor.new(tostring(BColor)),
  663. Name = Name,
  664. Size = Size,
  665. Material = Material
  666. })
  667. RemoveOutlines(Part)
  668. return Part
  669. end
  670. },
  671. Mesh = {
  672. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  673. local Msh = Create(Mesh)({
  674. Parent = Part,
  675. Offset = OffSet,
  676. Scale = Scale
  677. })
  678. if Mesh == "SpecialMesh" then
  679. Msh.MeshType = MeshType
  680. Msh.MeshId = MeshId
  681. end
  682. return Msh
  683. end
  684. },
  685. Mesh = {
  686. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  687. local Msh = Create(Mesh)({
  688. Parent = Part,
  689. Offset = OffSet,
  690. Scale = Scale
  691. })
  692. if Mesh == "SpecialMesh" then
  693. Msh.MeshType = MeshType
  694. Msh.MeshId = MeshId
  695. end
  696. return Msh
  697. end
  698. },
  699. Weld = {
  700. Create = function(Parent, Part0, Part1, C0, C1)
  701. local Weld = Create("Weld")({
  702. Parent = Parent,
  703. Part0 = Part0,
  704. Part1 = Part1,
  705. C0 = C0,
  706. C1 = C1
  707. })
  708. return Weld
  709. end
  710. },
  711. Sound = {
  712. Create = function(id, par, vol, pit)
  713. coroutine.resume(coroutine.create(function()
  714. local S = Create("Sound")({
  715. Volume = vol,
  716. Pitch = pit or 1,
  717. SoundId = id,
  718. Parent = par or workspace
  719. })
  720. wait()
  721. S:play()
  722. game:GetService("Debris"):AddItem(S, 6)
  723. end))
  724. end
  725. },
  726. ParticleEmitter = {
  727. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  728. local fp = Create("ParticleEmitter")({
  729. Parent = Parent,
  730. Color = ColorSequence.new(Color1, Color2),
  731. LightEmission = LightEmission,
  732. Size = Size,
  733. Texture = Texture,
  734. Transparency = Transparency,
  735. ZOffset = ZOffset,
  736. Acceleration = Accel,
  737. Drag = Drag,
  738. LockedToPart = LockedToPart,
  739. VelocityInheritance = VelocityInheritance,
  740. EmissionDirection = EmissionDirection,
  741. Enabled = Enabled,
  742. Lifetime = LifeTime,
  743. Rate = Rate,
  744. Rotation = Rotation,
  745. RotSpeed = RotSpeed,
  746. Speed = Speed,
  747. VelocitySpread = VelocitySpread
  748. })
  749. return fp
  750. end
  751. }
  752. }
  753. function RemoveOutlines(part)
  754. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  755. end
  756. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  757. local Part = Create("Part")({
  758. formFactor = FormFactor,
  759. Parent = Parent,
  760. Reflectance = Reflectance,
  761. Transparency = Transparency,
  762. CanCollide = false,
  763. Locked = true,
  764. BrickColor = BrickColor.new(tostring(BColor)),
  765. Name = Name,
  766. Size = Size,
  767. Material = Material
  768. })
  769. RemoveOutlines(Part)
  770. return Part
  771. end
  772. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  773. local Msh = Create(Mesh)({
  774. Parent = Part,
  775. Offset = OffSet,
  776. Scale = Scale
  777. })
  778. if Mesh == "SpecialMesh" then
  779. Msh.MeshType = MeshType
  780. Msh.MeshId = MeshId
  781. end
  782. return Msh
  783. end
  784. function CreateWeld(Parent, Part0, Part1, C0, C1)
  785. local Weld = Create("Weld")({
  786. Parent = Parent,
  787. Part0 = Part0,
  788. Part1 = Part1,
  789. C0 = C0,
  790. C1 = C1
  791. })
  792. return Weld
  793. end
  794.  
  795.  
  796. -------------------------------------------------------
  797. --Start Effect Function--
  798. -------------------------------------------------------
  799. EffectModel = Instance.new("Model", char)
  800. Effects = {
  801. Block = {
  802. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  803. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  804. prt.Anchored = true
  805. prt.CFrame = cframe
  806. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  807. game:GetService("Debris"):AddItem(prt, 10)
  808. if Type == 1 or Type == nil then
  809. table.insert(Effects, {
  810. prt,
  811. "Block1",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. elseif Type == 2 then
  819. table.insert(Effects, {
  820. prt,
  821. "Block2",
  822. delay,
  823. x3,
  824. y3,
  825. z3,
  826. msh
  827. })
  828. else
  829. table.insert(Effects, {
  830. prt,
  831. "Block3",
  832. delay,
  833. x3,
  834. y3,
  835. z3,
  836. msh
  837. })
  838. end
  839. end
  840. },
  841. Sphere = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Cylinder",
  851. delay,
  852. x3,
  853. y3,
  854. z3,
  855. msh
  856. })
  857. end
  858. },
  859. Cylinder = {
  860. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  861. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  862. prt.Anchored = true
  863. prt.CFrame = cframe
  864. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  865. game:GetService("Debris"):AddItem(prt, 10)
  866. table.insert(Effects, {
  867. prt,
  868. "Cylinder",
  869. delay,
  870. x3,
  871. y3,
  872. z3,
  873. msh
  874. })
  875. end
  876. },
  877. Wave = {
  878. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  879. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  880. prt.Anchored = true
  881. prt.CFrame = cframe
  882. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  883. game:GetService("Debris"):AddItem(prt, 10)
  884. table.insert(Effects, {
  885. prt,
  886. "Cylinder",
  887. delay,
  888. x3 / 60,
  889. y3 / 60,
  890. z3 / 60,
  891. msh
  892. })
  893. end
  894. },
  895. Ring = {
  896. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  897. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  898. prt.Anchored = true
  899. prt.CFrame = cframe
  900. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  901. game:GetService("Debris"):AddItem(prt, 10)
  902. table.insert(Effects, {
  903. prt,
  904. "Cylinder",
  905. delay,
  906. x3,
  907. y3,
  908. z3,
  909. msh
  910. })
  911. end
  912. },
  913. Break = {
  914. Create = function(brickcolor, cframe, x1, y1, z1)
  915. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  916. prt.Anchored = true
  917. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  918. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  919. local num = math.random(10, 50) / 1000
  920. game:GetService("Debris"):AddItem(prt, 10)
  921. table.insert(Effects, {
  922. prt,
  923. "Shatter",
  924. num,
  925. prt.CFrame,
  926. math.random() - math.random(),
  927. 0,
  928. math.random(50, 100) / 100
  929. })
  930. end
  931. },
  932. Spiral = {
  933. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  934. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. table.insert(Effects, {
  940. prt,
  941. "Cylinder",
  942. delay,
  943. x3,
  944. y3,
  945. z3,
  946. msh
  947. })
  948. end
  949. },
  950. Push = {
  951. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  952. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  953. prt.Anchored = true
  954. prt.CFrame = cframe
  955. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  956. game:GetService("Debris"):AddItem(prt, 10)
  957. table.insert(Effects, {
  958. prt,
  959. "Cylinder",
  960. delay,
  961. x3,
  962. y3,
  963. z3,
  964. msh
  965. })
  966. end
  967. }
  968. }
  969. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  970. local fp = IT("Part")
  971. fp.formFactor = formfactor
  972. fp.Parent = parent
  973. fp.Reflectance = reflectance
  974. fp.Transparency = transparency
  975. fp.CanCollide = false
  976. fp.Locked = true
  977. fp.BrickColor = brickcolor
  978. fp.Name = name
  979. fp.Size = size
  980. fp.Position = tors.Position
  981. RemoveOutlines(fp)
  982. fp.Material = "SmoothPlastic"
  983. fp:BreakJoints()
  984. return fp
  985. end
  986.  
  987. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  988. local mesh = IT(Mesh)
  989. mesh.Parent = part
  990. if Mesh == "SpecialMesh" then
  991. mesh.MeshType = meshtype
  992. if meshid ~= "nil" then
  993. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  994. end
  995. end
  996. mesh.Offset = offset
  997. mesh.Scale = scale
  998. return mesh
  999. end
  1000.  
  1001. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1002. local type = type
  1003. local rng = Instance.new("Part", char)
  1004. rng.Anchored = true
  1005. rng.BrickColor = color
  1006. rng.CanCollide = false
  1007. rng.FormFactor = 3
  1008. rng.Name = "Ring"
  1009. rng.Material = "Neon"
  1010. rng.Size = Vector3.new(1, 1, 1)
  1011. rng.Transparency = 0
  1012. rng.TopSurface = 0
  1013. rng.BottomSurface = 0
  1014. rng.CFrame = pos
  1015. local rngm = Instance.new("SpecialMesh", rng)
  1016. rngm.MeshType = MType
  1017. rngm.Scale = scale
  1018. local scaler2 = 1
  1019. if type == "Add" then
  1020. scaler2 = 1 * value
  1021. elseif type == "Divide" then
  1022. scaler2 = 1 / value
  1023. end
  1024. coroutine.resume(coroutine.create(function()
  1025. for i = 0, 10 / bonuspeed, 0.1 do
  1026. swait()
  1027. if type == "Add" then
  1028. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1029. elseif type == "Divide" then
  1030. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1031. end
  1032. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1033. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1034. end
  1035. rng:Destroy()
  1036. end))
  1037. end
  1038.  
  1039. function Eviscerate(dude)
  1040. if dude.Name ~= char then
  1041. local bgf = IT("BodyGyro", dude.Head)
  1042. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1043. local val = IT("BoolValue", dude)
  1044. val.Name = "IsHit"
  1045. local ds = coroutine.wrap(function()
  1046. dude:WaitForChild("Head"):BreakJoints()
  1047. wait(0.5)
  1048. target = nil
  1049. coroutine.resume(coroutine.create(function()
  1050. for i, v in pairs(dude:GetChildren()) do
  1051. if v:IsA("Accessory") then
  1052. v:Destroy()
  1053. end
  1054. if v:IsA("Humanoid") then
  1055. v:Destroy()
  1056. end
  1057. if v:IsA("CharacterMesh") then
  1058. v:Destroy()
  1059. end
  1060. if v:IsA("Model") then
  1061. v:Destroy()
  1062. end
  1063. if v:IsA("Part") or v:IsA("MeshPart") then
  1064. for x, o in pairs(v:GetChildren()) do
  1065. if o:IsA("Decal") then
  1066. o:Destroy()
  1067. end
  1068. end
  1069. coroutine.resume(coroutine.create(function()
  1070. v.Material = "Neon"
  1071. v.CanCollide = false
  1072. local PartEmmit1 = IT("ParticleEmitter", v)
  1073. PartEmmit1.LightEmission = 1
  1074. PartEmmit1.Texture = "rbxassetid://284205403"
  1075. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1076. PartEmmit1.Rate = 150
  1077. PartEmmit1.Lifetime = NumberRange.new(1)
  1078. PartEmmit1.Size = NumberSequence.new({
  1079. NumberSequenceKeypoint.new(0, 0.75, 0),
  1080. NumberSequenceKeypoint.new(1, 0, 0)
  1081. })
  1082. PartEmmit1.Transparency = NumberSequence.new({
  1083. NumberSequenceKeypoint.new(0, 0, 0),
  1084. NumberSequenceKeypoint.new(1, 1, 0)
  1085. })
  1086. PartEmmit1.Speed = NumberRange.new(0, 0)
  1087. PartEmmit1.VelocitySpread = 30000
  1088. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1089. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1090. local BodPoss = IT("BodyPosition", v)
  1091. BodPoss.P = 3000
  1092. BodPoss.D = 1000
  1093. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1094. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1095. v.Color = maincolor.Color
  1096. coroutine.resume(coroutine.create(function()
  1097. for i = 0, 49 do
  1098. swait(1)
  1099. v.Transparency = v.Transparency + 0.08
  1100. end
  1101. wait(0.5)
  1102. PartEmmit1.Enabled = false
  1103. wait(3)
  1104. v:Destroy()
  1105. dude:Destroy()
  1106. end))
  1107. end))
  1108. end
  1109. end
  1110. end))
  1111. end)
  1112. ds()
  1113. end
  1114. end
  1115.  
  1116. function FindNearestHead(Position, Distance, SinglePlayer)
  1117. if SinglePlayer then
  1118. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1119. end
  1120. local List = {}
  1121. for i, v in pairs(workspace:GetChildren()) do
  1122. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1123. table.insert(List, v)
  1124. end
  1125. end
  1126. return List
  1127. end
  1128.  
  1129. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1130. local type = type
  1131. local rng = Instance.new("Part", char)
  1132. rng.Anchored = true
  1133. rng.BrickColor = color
  1134. rng.CanCollide = false
  1135. rng.FormFactor = 3
  1136. rng.Name = "Ring"
  1137. rng.Material = "Neon"
  1138. rng.Size = Vector3.new(1, 1, 1)
  1139. rng.Transparency = 0
  1140. rng.TopSurface = 0
  1141. rng.BottomSurface = 0
  1142. rng.CFrame = pos
  1143. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1144. local rngm = Instance.new("SpecialMesh", rng)
  1145. rngm.MeshType = MType
  1146. rngm.Scale = Vector3.new(x1, y1, z1)
  1147. local scaler2 = 1
  1148. local speeder = FastSpeed
  1149. if type == "Add" then
  1150. scaler2 = 1 * value
  1151. elseif type == "Divide" then
  1152. scaler2 = 1 / value
  1153. end
  1154. coroutine.resume(coroutine.create(function()
  1155. for i = 0, 10 / bonuspeed, 0.1 do
  1156. swait()
  1157. if type == "Add" then
  1158. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1159. elseif type == "Divide" then
  1160. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1161. end
  1162. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1163. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1164. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1165. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1166. end
  1167. rng:Destroy()
  1168. end))
  1169. end
  1170.  
  1171. function SoulSteal(dude)
  1172. if dude.Name ~= char then
  1173. local bgf = IT("BodyGyro", dude.Head)
  1174. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1175. local val = IT("BoolValue", dude)
  1176. val.Name = "IsHit"
  1177. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1178. local soulst = coroutine.wrap(function()
  1179. local soul = Instance.new("Part",dude)
  1180. soul.Size = Vector3.new(1,1,1)
  1181. soul.CanCollide = false
  1182. soul.Anchored = false
  1183. soul.Position = torso.Position
  1184. soul.Transparency = 1
  1185. local PartEmmit1 = IT("ParticleEmitter", soul)
  1186. PartEmmit1.LightEmission = 1
  1187. PartEmmit1.Texture = "rbxassetid://569507414"
  1188. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1189. PartEmmit1.Rate = 250
  1190. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1191. PartEmmit1.Size = NumberSequence.new({
  1192. NumberSequenceKeypoint.new(0, 1, 0),
  1193. NumberSequenceKeypoint.new(1, 0, 0)
  1194. })
  1195. PartEmmit1.Transparency = NumberSequence.new({
  1196. NumberSequenceKeypoint.new(0, 0, 0),
  1197. NumberSequenceKeypoint.new(1, 1, 0)
  1198. })
  1199. PartEmmit1.Speed = NumberRange.new(0, 0)
  1200. PartEmmit1.VelocitySpread = 30000
  1201. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1202. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1203. local BodPoss = IT("BodyPosition", soul)
  1204. BodPoss.P = 3000
  1205. BodPoss.D = 1000
  1206. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1207. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1208. wait(1.6)
  1209. soul.Touched:connect(function(hit)
  1210. if hit.Parent == char then
  1211. soul:Destroy()
  1212. end
  1213. end)
  1214. wait(1.2)
  1215. while soul do
  1216. swait()
  1217. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1218. BodPoss.Position = tors.Position
  1219. end
  1220. end)
  1221. soulst()
  1222. end
  1223. end
  1224. function FaceMouse()
  1225. local Cam = workspace.CurrentCamera
  1226. return {
  1227. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1228. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1229. }
  1230. end
  1231. -------------------------------------------------------
  1232. --End Effect Function--
  1233. -------------------------------------------------------
  1234. function Cso(ID, PARENT, VOLUME, PITCH)
  1235. local NSound = nil
  1236. coroutine.resume(coroutine.create(function()
  1237. NSound = IT("Sound", PARENT)
  1238. NSound.Volume = VOLUME
  1239. NSound.Pitch = PITCH
  1240. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1241. swait()
  1242. NSound:play()
  1243. game:GetService("Debris"):AddItem(NSound, 10)
  1244. end))
  1245. return NSound
  1246. end
  1247. function CameraEnshaking(Length, Intensity)
  1248. coroutine.resume(coroutine.create(function()
  1249. local intensity = 1 * Intensity
  1250. local rotM = 0.01 * Intensity
  1251. for i = 0, Length, 0.1 do
  1252. swait()
  1253. intensity = intensity - 0.05 * Intensity / Length
  1254. rotM = rotM - 5.0E-4 * Intensity / Length
  1255. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1256. 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)
  1257. end
  1258. hum.CameraOffset = Vector3.new(0, 0, 0)
  1259. end))
  1260. end
  1261. function chatfunc(text, color)
  1262. local chat = coroutine.wrap(function()
  1263. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1264. char:FindFirstChild("TalkingBillBoard"):destroy()
  1265. end
  1266. local naeeym2 = Instance.new("BillboardGui", char)
  1267. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1268. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1269. naeeym2.Adornee = hed
  1270. naeeym2.Name = "TalkingBillBoard"
  1271. local tecks2 = Instance.new("TextLabel", naeeym2)
  1272. tecks2.BackgroundTransparency = 1
  1273. tecks2.BorderSizePixel = 0
  1274. tecks2.Text = ""
  1275. tecks2.Font = "SciFi"
  1276. tecks2.TextSize = 30
  1277. tecks2.TextStrokeTransparency = 0
  1278. tecks2.TextColor3 = color
  1279. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1280. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1281. coroutine.resume(coroutine.create(function()
  1282. while true do
  1283. swait(1)
  1284. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1285. tecks2.Rotation = math.random(-5, 5)
  1286. end
  1287. end))
  1288. for i = 1, string.len(text) do
  1289. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1290. tecks2.Text = string.sub(text, 1, i)
  1291. swait(1)
  1292. end
  1293. wait(1)
  1294. naeeym2:Destroy()
  1295. end)
  1296. chat()
  1297. end
  1298. -------------------------------------------------------
  1299. --End Important Functions--
  1300. -------------------------------------------------------
  1301.  
  1302.  
  1303. -------------------------------------------------------
  1304. --Start Customization--
  1305. -------------------------------------------------------
  1306. local Player_Size = 1
  1307. if Player_Size ~= 1 then
  1308. root.Size = root.Size * Player_Size
  1309. tors.Size = tors.Size * Player_Size
  1310. hed.Size = hed.Size * Player_Size
  1311. ra.Size = ra.Size * Player_Size
  1312. la.Size = la.Size * Player_Size
  1313. rl.Size = rl.Size * Player_Size
  1314. ll.Size = ll.Size * Player_Size
  1315. ----------------------------------------------------------------------------------
  1316. rootj.Parent = root
  1317. neck.Parent = tors
  1318. RW.Parent = tors
  1319. LW.Parent = tors
  1320. RH.Parent = tors
  1321. LH.Parent = tors
  1322. ----------------------------------------------------------------------------------
  1323. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1324. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1325. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1326. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1327. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1328. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1329. ----------------------------------------------------------------------------------
  1330. 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))
  1331. 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))
  1332. 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))
  1333. 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))
  1334. --hat.Parent = Character
  1335. end
  1336. ----------------------------------------------------------------------------------
  1337. local SONG = 2516100492
  1338. local SONG2 = 2516100492
  1339. local Music = Instance.new("Sound",tors)
  1340. Music.Volume = 2.5
  1341. Music.Looped = true
  1342. Music.Pitch = 1 --Pitcher
  1343. ----------------------------------------------------------------------------------
  1344. local equipped = false
  1345. local idle = 0
  1346. local change = 1
  1347. local val = 0
  1348. local toim = 0
  1349. local idleanim = 0.4
  1350. local sine = 0
  1351. local Sit = 1
  1352. ----------------------------------------------------------------------------------
  1353. hum.WalkSpeed = 30
  1354. hum.JumpPower = 30
  1355. hum.Animator.Parent = nil
  1356. ----------------------------------------------------------------------------------
  1357. local Blobby = Instance.new("Part", char)
  1358. Blobby.Name = "Blob"
  1359. Blobby.CanCollide = false
  1360. Blobby.BrickColor = BrickColor.new("Really black")
  1361. Blobby.Transparency = 0
  1362. Blobby.Material = "Plastic"
  1363. Blobby.Size = Vector3.new(1, 1, 2)
  1364. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1365. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1366.  
  1367. local Weld = Instance.new("Weld", Blobby)
  1368. Weld.Part0 = ra
  1369. Weld.Part1 = Blobby
  1370. Weld.C1 = CFrame.new(0, -2, 1.1)
  1371. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1372.  
  1373. local M2 = Instance.new("SpecialMesh")
  1374. M2.Parent = Blobby
  1375. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1376. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1377. M2.Scale = Vector3.new(3, 3, 3)
  1378.  
  1379. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1380. naeeym2.AlwaysOnTop = true
  1381. naeeym2.Size = UDim2.new(5,35,2,15)
  1382. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1383. naeeym2.Adornee = hed
  1384. naeeym2.Name = "Name"
  1385. --naeeym2.PlayerToHideFrom = Player
  1386. local tecks2 = Instance.new("TextLabel",naeeym2)
  1387. tecks2.BackgroundTransparency = 1
  1388. tecks2.TextScaled = true
  1389. tecks2.BorderSizePixel = 0
  1390. tecks2.Text = "Fight Me"
  1391. tecks2.Font = Enum.Font.Bodoni
  1392. tecks2.TextSize = 30
  1393. tecks2.TextStrokeTransparency = 0
  1394. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1395. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1396. tecks2.Size = UDim2.new(1,0,0.5,0)
  1397. tecks2.Parent = naeeym2]]
  1398. -------------------------------------------------------
  1399. --End Customization--
  1400. -------------------------------------------------------
  1401.  
  1402.  
  1403. -------------------------------------------------------
  1404. --Start Attacks N Stuff--
  1405. -------------------------------------------------------
  1406. function Ban()
  1407. attack = true
  1408. for i = 0, 2.6, 0.1 do
  1409. swait()
  1410. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1411. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1412. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1413. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1414. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1415. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1416. end
  1417. Cso("138210320", tors, 10, 1)
  1418. CameraEnshaking(2, 15)
  1419. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1420. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1421. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1422. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1423. if v:FindFirstChild("Head") then
  1424. Eviscerate(v)
  1425. end
  1426. end
  1427. for i = 0, 3, 0.1 do
  1428. swait()
  1429. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1430. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1431. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1432. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1433. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1434. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1435. end
  1436. attack = false
  1437. end
  1438. function BigBan()
  1439. attack = true
  1440. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1441. for i = 0, 3.6, 0.1 do
  1442. swait()
  1443. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  1444. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1445. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1446. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1447. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  1448. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  1449. end
  1450. Cso("1378131503", tors, 10, 1)
  1451. wait(2)
  1452. Cso("306225095", tors, 10, 1)
  1453. CameraEnshaking(2, 15)
  1454. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1455. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1456. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1457. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  1458. if v:FindFirstChild("Head") then
  1459. Eviscerate(v)
  1460. end
  1461. end
  1462. for i = 0, 2.6, 0.1 do
  1463. swait()
  1464. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  1465. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1466. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1467. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1468. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  1469. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  1470. end
  1471. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1472. attack = false
  1473. end
  1474. function BANN()
  1475. attack = true
  1476. M2.Scale = Vector3.new(3, 3, 3)
  1477. for i = 0, 4.6, 0.1 do
  1478. swait()
  1479. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1480. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1481. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  1482. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  1483. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1484. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  1485. end
  1486. Cso("138084923", char, 10, 1)
  1487. CameraEnshaking(10, 35)
  1488. wait(0.5)
  1489. Cso("383953627", char, 10, 1)
  1490. wait(0.5)
  1491. Cso("576124533", char, 10, 1)
  1492. wait(0.1)
  1493. game.workspace.Gravity = 20
  1494. wait(0.1)
  1495. Effects.Wave.Create(BrickColor.new("Eggplant"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1496. Effects.Wave.Create(BrickColor.new("Eggplant"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1497. Effects.Wave.Create(BrickColor.new("Eggplant"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1498. Effects.Ring.Create(BrickColor.new("Eggplant"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  1499. Effects.Sphere.Create(BrickColor.new("Eggplant"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1500. Effects.Sphere.Create(BrickColor.new("Eggplant"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1501. Effects.Sphere.Create(BrickColor.new("Eggplant"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1502. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  1503. if v:FindFirstChild("Head") then
  1504. Eviscerate(v)
  1505. end
  1506. end
  1507. for i = 0, 3, 0.1 do
  1508. swait()
  1509. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1510. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1511. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1512. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1513. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1514. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1515. end
  1516. M2.Scale = Vector3.new(3, 3, 3)
  1517. attack = false
  1518. game.workspace.Gravity = 179
  1519. end
  1520. -------------------------------------------------------
  1521. --End Attacks N Stuff--
  1522. -------------------------------------------------------
  1523. mouse.KeyDown:connect(function(key)
  1524. if string.byte(key) == 48 then
  1525. Swing = 2
  1526. hum.WalkSpeed = 38.82
  1527. end
  1528. end)
  1529. mouse.KeyUp:connect(function(key)
  1530. if string.byte(key) == 48 then
  1531. Swing = 1
  1532. hum.WalkSpeed = 16
  1533. end
  1534. end)
  1535. mouse.KeyDown:connect(function(key)
  1536. if attack == false then
  1537. if key == 'e' then
  1538. BigBan()
  1539. elseif key == 'r' then
  1540. BANN()
  1541. elseif key == 't' then
  1542. Cso("431057042", hed, 10, 1)
  1543. elseif key == 'y' then
  1544. Cso("252754492", hed, 10, 1)
  1545. wait(0.1)
  1546. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1547. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1548. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1549. Effects.Ring.Create(BrickColor.new("White"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  1550. Effects.Sphere.Create(BrickColor.new("White"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1551. Effects.Sphere.Create(BrickColor.new("White"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1552. Effects.Sphere.Create(BrickColor.new("White"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1553. wait(0.1)
  1554. text.Text = "GRAVITY PULSE"
  1555. wait(0.1)
  1556. hum.WalkSpeed = 100
  1557. wait(0.1)
  1558. hum.JumpPower = 100
  1559. wait(0.1)
  1560. Music.SoundId = "rbxassetid://576124533"
  1561. wait(30)
  1562. text.Text = "Shockwave"
  1563. wait(0.1)
  1564. Music.SoundId = "rbxassetid://2516100492"
  1565. wait(0.1)
  1566. hum.WalkSpeed = 30
  1567. wait(0.1)
  1568. hum.JumpPower = 30
  1569. end
  1570. end
  1571. end)
  1572. mouse.Button1Down:connect(function(key)
  1573. if attack == false then
  1574. Ban()
  1575. end
  1576. end)
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584. -------------------------------------------------------
  1585. --Start Animations--
  1586. -------------------------------------------------------
  1587. while true do
  1588. swait()
  1589. sine = sine + change
  1590. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1591. local velderp = root.Velocity.y
  1592. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1593. if equipped == true or equipped == false then
  1594. if attack == false then
  1595. idle = idle + 1
  1596. else
  1597. idle = 0
  1598. end
  1599. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1600. if 1 < root.Velocity.y and hitfloor == nil then
  1601. Anim = "Jump"
  1602. if attack == false then
  1603. 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)
  1604. 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)
  1605. 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)
  1606. 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)
  1607. 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)
  1608. 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)
  1609. end
  1610. elseif -1 > root.Velocity.y and hitfloor == nil then
  1611. Anim = "Fall"
  1612. if attack == false then
  1613. 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)
  1614. 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)
  1615. 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)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. end
  1620. elseif torvel < 1 and hitfloor ~= nil then
  1621. Anim = "Idle"
  1622. change = 1
  1623. if attack == false then
  1624. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1625. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1626. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1627. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1628. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  1629. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1630. end
  1631. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1632. Anim = "Walk"
  1633. change = 1
  1634. if attack == false then
  1635. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1636. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1637. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1638. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1639. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  1640. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1641. end
  1642. elseif torvel >= 25 and hitfloor ~= nil then
  1643. Anim = "Sprint"
  1644. change = 1.35
  1645. if attack == false then
  1646. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1647. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1648. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * 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)
  1649. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * 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)
  1650. 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(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1651. 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(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1652. end
  1653. end
  1654. end
  1655. Music.SoundId = "rbxassetid://2516100492"
  1656. Music.Looped = true
  1657. Music.Pitch = 1
  1658. Music.Volume = 1.5
  1659. Music.Parent = tors
  1660. Music:Resume()
  1661. if 0 < #Effects then
  1662. for e = 1, #Effects do
  1663. if Effects[e] ~= nil then
  1664. local Thing = Effects[e]
  1665. if Thing ~= nil then
  1666. local Part = Thing[1]
  1667. local Mode = Thing[2]
  1668. local Delay = Thing[3]
  1669. local IncX = Thing[4]
  1670. local IncY = Thing[5]
  1671. local IncZ = Thing[6]
  1672. if 1 >= Thing[1].Transparency then
  1673. if Thing[2] == "Block1" then
  1674. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1675. local Mesh = Thing[1].Mesh
  1676. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1677. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1678. elseif Thing[2] == "Block2" then
  1679. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1680. local Mesh = Thing[7]
  1681. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1682. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1683. elseif Thing[2] == "Block3" then
  1684. 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)
  1685. local Mesh = Thing[7]
  1686. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1687. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1688. elseif Thing[2] == "Cylinder" then
  1689. local Mesh = Thing[1].Mesh
  1690. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1691. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1692. elseif Thing[2] == "Blood" then
  1693. local Mesh = Thing[7]
  1694. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1695. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1696. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1697. elseif Thing[2] == "Elec" then
  1698. local Mesh = Thing[1].Mesh
  1699. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1700. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1701. elseif Thing[2] == "Disappear" then
  1702. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1703. elseif Thing[2] == "Shatter" then
  1704. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1705. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1706. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1707. Thing[6] = Thing[6] + Thing[5]
  1708. end
  1709. else
  1710. Part.Parent = nil
  1711. table.remove(Effects, e)
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. -------------------------------------------------------
  1719. --End Animations And Script--
  1720. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement