Advertisement
AOM-GU-PRO

OMGV.2

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