AOM-GU-PRO

Anime

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