Advertisement
ghostteen14

Untitled

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