Advertisement
AOM-GU-PRO

dead

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