Advertisement
AOM-GU-PRO

Aom Cat Black

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