Advertisement
DarkScriptZEditors

Silent Heaven

Dec 22nd, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 142.17 KB | None | 0 0
  1. --Join my discord server.----------------------------------------------------------------
  2. --Original by Shackluster.---------------------------------------------------------------
  3. --Enjoy the edit! :D.--------------------------------------------------------------------
  4. --Join here: https://discordapp.com/channels/506798328995119114/506798328995119116-------
  5. -----------------------------------------------------------------------------------------
  6. ------Update 20/12/2018!-----------------------------------------------------
  7. -----------------------------------------------------------------------------------------
  8. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  9. local Player,game,owner = owner,game
  10. local RealPlayer = Player
  11. do
  12. print("FE Compatibility code by Mokiros")
  13. local rp = RealPlayer
  14. script.Parent = rp.Character
  15.  
  16. --RemoteEvent for communicating
  17. local Event = Instance.new("RemoteEvent")
  18. Event.Name = "UserInput_Event"
  19.  
  20. --Fake event to make stuff like Mouse.KeyDown work
  21. local function fakeEvent()
  22. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  23. t.connect = t.Connect
  24. return t
  25. end
  26.  
  27. --Creating fake input objects with fake variables
  28. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  29. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  31. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  32. end}
  33. --Merged 2 functions into one by checking amount of arguments
  34. CAS.UnbindAction = CAS.BindAction
  35.  
  36. --This function will trigger the events that have been :Connect()'ed
  37. local function te(self,ev,...)
  38. local t = m[ev]
  39. if t and t._fakeEvent then
  40. for _,f in pairs(t.Functions) do
  41. f(...)
  42. end
  43. end
  44. end
  45. m.TrigEvent = te
  46. UIS.TrigEvent = te
  47.  
  48. Event.OnServerEvent:Connect(function(plr,io)
  49. if plr~=rp then return end
  50. m.Target = io.Target
  51. m.Hit = io.Hit
  52. if not io.isMouse then
  53. local b = io.UserInputState == Enum.UserInputState.Begin
  54. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  55. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  56. end
  57. for _,t in pairs(CAS.Actions) do
  58. for _,k in pairs(t.Keys) do
  59. if k==io.KeyCode then
  60. t.Function(t.Name,io.UserInputState,io)
  61. end
  62. end
  63. end
  64. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  65. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  66. end
  67. end)
  68. Event.Parent = NLS([==[
  69. local Player = game:GetService("Players").LocalPlayer
  70. local Event = script:WaitForChild("UserInput_Event")
  71.  
  72. local Mouse = Player:GetMouse()
  73. local UIS = game:GetService("UserInputService")
  74. local input = function(io,a)
  75. if a then return end
  76. --Since InputObject is a client-side instance, we create and pass table instead
  77. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  78. end
  79. UIS.InputBegan:Connect(input)
  80. UIS.InputEnded:Connect(input)
  81.  
  82. local h,t
  83. --Give the server mouse data 30 times every second, but only if the values changed
  84. --If player is not moving their mouse, client won't fire events
  85. while wait(1/30) do
  86. if h~=Mouse.Hit or t~=Mouse.Target then
  87. h,t=Mouse.Hit,Mouse.Target
  88. Event:FireServer({isMouse=true,Target=t,Hit=h})
  89. end
  90. end]==],Player.Character)
  91.  
  92. ----Sandboxed game object that allows the usage of client-side methods and services
  93. --Real game object
  94. local _rg = game
  95.  
  96. --Metatable for fake service
  97. local fsmt = {
  98. __index = function(self,k)
  99. local s = rawget(self,"_RealService")
  100. if s then return s[k] end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end,
  106. __call = function(self,...)
  107. local s = rawget(self,"_RealService")
  108. if s then return s(...) end
  109. end
  110. }
  111. local function FakeService(t,RealService)
  112. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  113. return setmetatable(t,fsmt)
  114. end
  115.  
  116. --Fake game object
  117. local g = {
  118. GetService = function(self,s)
  119. return self[s]
  120. end,
  121. Players = FakeService({
  122. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  123. },"Players"),
  124. UserInputService = FakeService(UIS,"UserInputService"),
  125. ContextActionService = FakeService(CAS,"ContextActionService"),
  126. }
  127. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  128. g.service = g.GetService
  129.  
  130. g.RunService = FakeService({
  131. RenderStepped = _rg:GetService("RunService").Heartbeat,
  132. BindToRenderStep = function(self,name,_,fun)
  133.  
  134. end,
  135. UnbindFromRenderStep = function(self,name)
  136. self._btrs[name]:Disconnect()
  137. end,
  138. },"RunService")
  139.  
  140. setmetatable(g,{
  141. __index=function(self,s)
  142. return _rg:GetService(s) or typeof(_rg[s])=="function"
  143. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  144. end,
  145. __newindex = fsmt.__newindex,
  146. __call = fsmt.__call
  147. })
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = g,g.Players.LocalPlayer
  150. end
  151.  
  152. script:ClearAllChildren()
  153. wait(0.2)
  154.  
  155. Player = game:GetService("Players").LocalPlayer
  156. chara = Player.Character
  157. PlayerGui = Player.PlayerGui
  158. Cam = workspace.CurrentCamera
  159. Backpack = Player.Backpack
  160. Character = Player.Character
  161. Humanoid = Character.Humanoid
  162. Mouse = Player:GetMouse()
  163. RootPart = Character["HumanoidRootPart"]
  164. Torso = Character["Torso"]
  165. Head = Character["Head"]
  166. RightArm = Character["Right Arm"]
  167. LeftArm = Character["Left Arm"]
  168. RightLeg = Character["Right Leg"]
  169. LeftLeg = Character["Left Leg"]
  170. RootJoint = RootPart["RootJoint"]
  171. Neck = Torso["Neck"]
  172. RightShoulder = Torso["Right Shoulder"]
  173. LeftShoulder = Torso["Left Shoulder"]
  174. RightHip = Torso["Right Hip"]
  175. LeftHip = Torso["Left Hip"]
  176. print ('User: '..Player.Name)
  177. print ('Enjoy this Edit ;D')
  178. local sick = Instance.new("Sound",Character)
  179. sick.Parent = Character
  180. sick:resume()
  181. sick.Volume = 10
  182. sick.Pitch = 0.75
  183. sick.Looped = true
  184. sick.SoundId = "rbxassetid://1073318933"
  185. sick.Name = ""
  186. -------------Name Tag Stuff.------------------------
  187. local naeeym = Instance.new("BillboardGui",chara)
  188. naeeym.Size = UDim2.new(0,100,0,40)
  189. naeeym.StudsOffset = Vector3.new(0,2,0)
  190. naeeym.Adornee = chara.Head
  191. local tecks = Instance.new("TextLabel",naeeym)
  192. tecks.BackgroundTransparency = 1
  193. tecks.BorderSizePixel = 0
  194. tecks.Text = "Silent Heaven"
  195. tecks.Font = "Fantasy"
  196. tecks.FontSize = "Size24"
  197. tecks.TextStrokeTransparency = 0
  198. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  199. tecks.TextColor3 = Color3.new(1,1,1)
  200. tecks.Size = UDim2.new(1,0,0.5,0)
  201. ----------------------------------------------------
  202.  
  203. IT = Instance.new
  204. CF = CFrame.new
  205. VT = Vector3.new
  206. RAD = math.rad
  207. C3 = Color3.new
  208. UD2 = UDim2.new
  209. BRICKC = BrickColor.new
  210. ANGLES = CFrame.Angles
  211. EULER = CFrame.fromEulerAnglesXYZ
  212. COS = math.cos
  213. ACOS = math.acos
  214. SIN = math.sin
  215. ASIN = math.asin
  216. ABS = math.abs
  217. MRANDOM = math.random
  218. FLOOR = math.floor
  219.  
  220. local Speed = 16
  221.  
  222. local sky = Instance.new('Sky', game:GetService'Lighting')
  223. sky.SkyboxBk = "rbxassetid://48020371"
  224. sky.SkyboxDn = "rbxassetid://48020144"
  225. sky.SkyboxFt = "rbxassetid://48020234"
  226. sky.SkyboxLf = "rbxassetid://48020211"
  227. sky.SkyboxRt = "rbxassetid://48020254"
  228. sky.SkyboxUp = "rbxassetid://48020383"
  229. sky.StarCount = 3000
  230. sky.SunAngularSize = 0
  231. sky.MoonAngularSize = 11
  232. sky.MoonTextureId = "rbxasset://sky/moon.jpg"
  233. sky.CelestialBodiesShown = false
  234.  
  235. Character["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  236. Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  237. Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  238. Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  239. Character["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  240. Character["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  241.  
  242. --//=================================\\
  243. --|| USEFUL VALUES
  244. --\\=================================//
  245.  
  246. Player_Size = 1
  247. Animation_Speed = 3
  248. local FORCERESET = false
  249. local Effects2 = {}
  250. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  251. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  252. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  253. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  254. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  255. local DAMAGEMULTIPLIER = 1
  256. local ANIM = "Idle"
  257. local ATTACK = false
  258. local EQUIPPED = false
  259. local HOLD = false
  260. local COMBO = 1
  261. local Rooted = false
  262. local SINE = 0
  263. local KEYHOLD = false
  264. local CHANGE = 2 / Animation_Speed
  265. local WALKINGANIM = false
  266. local VALUE1 = false
  267. local VALUE2 = false
  268. local ROBLOXIDLEANIMATION = IT("Animation")
  269. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  270. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  271. --ROBLOXIDLEANIMATION.Parent = Humanoid
  272. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  273. WEAPONGUI.Name = "BanishV3Gui"
  274. local Weapon = IT("Model")
  275. Weapon.Name = "Adds"
  276. local Effects = IT("Folder", Weapon)
  277. Effects.Name = "Effects"
  278. local ANIMATOR = Humanoid.Animator
  279. local ANIMATE = Character:FindFirstChild("Animate")
  280. local UNANCHOR = true
  281. local TOBANISH = {}
  282. script.Parent = PlayerGui
  283.  
  284. --//=================================\\
  285. --\\=================================//
  286.  
  287.  
  288. --//=================================\\
  289. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  290. --\\=================================//
  291.  
  292. ArtificialHB = Instance.new("BindableEvent", script)
  293. ArtificialHB.Name = "ArtificialHB"
  294.  
  295. script:WaitForChild("ArtificialHB")
  296.  
  297. frame = Frame_Speed
  298. tf = 0
  299. allowframeloss = false
  300. tossremainder = false
  301. lastframe = tick()
  302. script.ArtificialHB:Fire()
  303.  
  304. game:GetService("RunService").Heartbeat:connect(function(s, p)
  305. tf = tf + s
  306. if tf >= frame then
  307. if allowframeloss then
  308. script.ArtificialHB:Fire()
  309. lastframe = tick()
  310. else
  311. for i = 1, math.floor(tf / frame) do
  312. script.ArtificialHB:Fire()
  313. end
  314. lastframe = tick()
  315. end
  316. if tossremainder then
  317. tf = 0
  318. else
  319. tf = tf - frame * math.floor(tf / frame)
  320. end
  321. end
  322. end)
  323.  
  324. --//=================================\\
  325. --\\=================================//
  326.  
  327. --//=================================\\
  328. --|| SOME FUNCTIONS
  329. --\\=================================//
  330.  
  331. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  332. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  333. end
  334.  
  335. function PositiveAngle(NUMBER)
  336. if NUMBER >= 0 then
  337. NUMBER = 0
  338. end
  339. return NUMBER
  340. end
  341.  
  342. function NegativeAngle(NUMBER)
  343. if NUMBER <= 0 then
  344. NUMBER = 0
  345. end
  346. return NUMBER
  347. end
  348.  
  349. function Swait(NUMBER)
  350. if NUMBER == 0 or NUMBER == nil then
  351. ArtificialHB.Event:wait()
  352. else
  353. for i = 1, NUMBER do
  354. ArtificialHB.Event:wait()
  355. end
  356. end
  357. end
  358.  
  359. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  360. local NEWMESH = IT(MESH)
  361. if MESH == "SpecialMesh" then
  362. NEWMESH.MeshType = MESHTYPE
  363. if MESHID ~= "nil" and MESHID ~= "" then
  364. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  365. end
  366. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  367. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  368. end
  369. end
  370. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  371. NEWMESH.Scale = SCALE
  372. NEWMESH.Parent = PARENT
  373. return NEWMESH
  374. end
  375.  
  376. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  377. local NEWPART = IT("Part")
  378. NEWPART.formFactor = FORMFACTOR
  379. NEWPART.Reflectance = REFLECTANCE
  380. NEWPART.Transparency = TRANSPARENCY
  381. NEWPART.CanCollide = false
  382. NEWPART.Locked = true
  383. NEWPART.Anchored = true
  384. if ANCHOR == false then
  385. NEWPART.Anchored = false
  386. end
  387. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  388. NEWPART.Name = NAME
  389. NEWPART.Size = SIZE
  390. NEWPART.Position = Torso.Position
  391. NEWPART.Material = MATERIAL
  392. NEWPART:BreakJoints()
  393. NEWPART.Parent = PARENT
  394. return NEWPART
  395. end
  396.  
  397. local function weldBetween(a, b)
  398. local weldd = Instance.new("ManualWeld")
  399. weldd.Part0 = a
  400. weldd.Part1 = b
  401. weldd.C0 = CFrame.new()
  402. weldd.C1 = b.CFrame:inverse() * a.CFrame
  403. weldd.Parent = a
  404. return weldd
  405. end
  406.  
  407.  
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m11 > m00 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  434. end
  435. end
  436. end
  437.  
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449.  
  450. function QuaternionSlerp(a, b, t)
  451. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  452. local startInterp, finishInterp;
  453. if cosTheta >= 0.0001 then
  454. if (1 - cosTheta) > 0.0001 then
  455. local theta = ACOS(cosTheta)
  456. local invSinTheta = 1 / SIN(theta)
  457. startInterp = SIN((1 - t) * theta) * invSinTheta
  458. finishInterp = SIN(t * theta) * invSinTheta
  459. else
  460. startInterp = 1 - t
  461. finishInterp = t
  462. end
  463. else
  464. if (1 + cosTheta) > 0.0001 then
  465. local theta = ACOS(-cosTheta)
  466. local invSinTheta = 1 / SIN(theta)
  467. startInterp = SIN((t - 1) * theta) * invSinTheta
  468. finishInterp = SIN(t * theta) * invSinTheta
  469. else
  470. startInterp = t - 1
  471. finishInterp = t
  472. end
  473. end
  474. 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
  475. end
  476.  
  477. function Clerp(a, b, t)
  478. local qa = {QuaternionFromCFrame(a)}
  479. local qb = {QuaternionFromCFrame(b)}
  480. local ax, ay, az = a.x, a.y, a.z
  481. local bx, by, bz = b.x, b.y, b.z
  482. local _t = 1 - t
  483. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  484. end
  485.  
  486. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  487. local frame = IT("Frame")
  488. frame.BackgroundTransparency = TRANSPARENCY
  489. frame.BorderSizePixel = BORDERSIZEPIXEL
  490. frame.Position = POSITION
  491. frame.Size = SIZE
  492. frame.BackgroundColor3 = COLOR
  493. frame.BorderColor3 = BORDERCOLOR
  494. frame.Name = NAME
  495. frame.Parent = PARENT
  496. return frame
  497. end
  498.  
  499. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  500. local label = IT("TextLabel")
  501. label.BackgroundTransparency = 1
  502. label.Size = UD2(1, 0, 1, 0)
  503. label.Position = UD2(0, 0, 0, 0)
  504. label.TextColor3 = TEXTCOLOR
  505. label.TextStrokeTransparency = STROKETRANSPARENCY
  506. label.TextTransparency = TRANSPARENCY
  507. label.FontSize = TEXTFONTSIZE
  508. label.Font = TEXTFONT
  509. label.BorderSizePixel = BORDERSIZEPIXEL
  510. label.TextScaled = false
  511. label.Text = TEXT
  512. label.Name = NAME
  513. label.Parent = PARENT
  514. return label
  515. end
  516.  
  517. function NoOutlines(PART)
  518. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  519. end
  520.  
  521. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  522. local NEWWELD = IT(TYPE)
  523. NEWWELD.Part0 = PART0
  524. NEWWELD.Part1 = PART1
  525. NEWWELD.C0 = C0
  526. NEWWELD.C1 = C1
  527. NEWWELD.Parent = PARENT
  528. return NEWWELD
  529. end
  530. local S = IT("Sound")
  531. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  532. local NEWSOUND = nil
  533. coroutine.resume(coroutine.create(function()
  534. NEWSOUND = S:Clone()
  535. NEWSOUND.Parent = PARENT
  536. NEWSOUND.Volume = VOLUME
  537. NEWSOUND.Pitch = PITCH
  538. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  539. NEWSOUND:play()
  540. if DOESLOOP == true then
  541. NEWSOUND.Looped = true
  542. else
  543. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  544. NEWSOUND:remove()
  545. end
  546. end))
  547. return NEWSOUND
  548. end
  549.  
  550. function CFrameFromTopBack(at, top, back)
  551. local right = top:Cross(back)
  552. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  553. end
  554.  
  555. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  556. function WACKYEFFECT(Table)
  557. local TYPE = (Table.EffectType or "Sphere")
  558. local SIZE = (Table.Size or VT(1,1,1))
  559. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  560. local TRANSPARENCY = (Table.Transparency or 0)
  561. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  562. local CFRAME = (Table.CFrame or Torso.CFrame)
  563. local MOVEDIRECTION = (Table.MoveToPos or nil)
  564. local ROTATION1 = (Table.RotationX or 0)
  565. local ROTATION2 = (Table.RotationY or 0)
  566. local ROTATION3 = (Table.RotationZ or 0)
  567. local MATERIAL = (Table.Material or "Neon")
  568. local COLOR = (Table.Color or C3(1,1,1))
  569. local TIME = (Table.Time or 45)
  570. local SOUNDID = (Table.SoundID or nil)
  571. local SOUNDPITCH = (Table.SoundPitch or nil)
  572. local SOUNDVOLUME = (Table.SoundVolume or nil)
  573. coroutine.resume(coroutine.create(function()
  574. local PLAYSSOUND = false
  575. local SOUND = nil
  576. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  577. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  578. PLAYSSOUND = true
  579. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  580. end
  581. EFFECT.Color = COLOR
  582. local MSH = nil
  583. if TYPE == "Sphere" then
  584. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  585. elseif TYPE == "Block" then
  586. MSH = IT("BlockMesh",EFFECT)
  587. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  588. elseif TYPE == "Wave" then
  589. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  590. elseif TYPE == "Ring" then
  591. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  592. elseif TYPE == "Slash" then
  593. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  594. elseif TYPE == "Round Slash" then
  595. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  596. elseif TYPE == "Swirl" then
  597. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  598. elseif TYPE == "Skull" then
  599. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  600. elseif TYPE == "Crystal" then
  601. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  602. end
  603. if MSH ~= nil then
  604. local MOVESPEED = nil
  605. if MOVEDIRECTION ~= nil then
  606. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  607. end
  608. local GROWTH = SIZE - ENDSIZE
  609. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  610. if TYPE == "Block" then
  611. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  612. else
  613. EFFECT.CFrame = CFRAME
  614. end
  615. for LOOP = 1, TIME+1 do
  616. Swait()
  617. MSH.Scale = MSH.Scale - GROWTH/TIME
  618. if TYPE == "Wave" then
  619. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  620. end
  621. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  622. if TYPE == "Block" then
  623. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  624. else
  625. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  626. end
  627. if MOVEDIRECTION ~= nil then
  628. local ORI = EFFECT.Orientation
  629. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  630. EFFECT.Orientation = ORI
  631. end
  632. end
  633. if PLAYSSOUND == false then
  634. EFFECT:remove()
  635. else
  636. SOUND.Stopped:Connect(function()
  637. EFFECT:remove()
  638. end)
  639. end
  640. else
  641. if PLAYSSOUND == false then
  642. EFFECT:remove()
  643. else
  644. repeat Swait() until SOUND.Playing == false
  645. EFFECT:remove()
  646. end
  647. end
  648. end))
  649. end
  650.  
  651. function MakeForm(PART,TYPE)
  652. if TYPE == "Cyl" then
  653. local MSH = IT("CylinderMesh",PART)
  654. elseif TYPE == "Ball" then
  655. local MSH = IT("SpecialMesh",PART)
  656. MSH.MeshType = "Sphere"
  657. elseif TYPE == "Wedge" then
  658. local MSH = IT("SpecialMesh",PART)
  659. MSH.MeshType = "Wedge"
  660. end
  661. end
  662.  
  663. function SpawnTrail(FROM,TO,BIG)
  664. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(0,0,0))
  665. MakeForm(TRAIL,"Cyl")
  666. local DIST = (FROM - TO).Magnitude
  667. if BIG == true then
  668. TRAIL.Size = VT(4.5,DIST,4.5)
  669. else
  670. TRAIL.Size = VT(4.5,DIST,4.5)
  671. end
  672. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  673. coroutine.resume(coroutine.create(function()
  674. for i = 1, 5 do
  675. Swait()
  676. TRAIL.Transparency = TRAIL.Transparency + 0.1
  677. end
  678. TRAIL:remove()
  679. end))
  680. end
  681.  
  682. function SpawnTrail0(FROM,TO,BIG)
  683. local TRAIL0 = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(1,1,1))
  684. MakeForm(TRAIL0,"Cyl")
  685. local DIST = (FROM - TO).Magnitude
  686. if BIG == true then
  687. TRAIL0.Size = VT(0.75,DIST,0.75)
  688. else
  689. TRAIL0.Size = VT(0.65,DIST,0.65)
  690. end
  691. TRAIL0.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  692. coroutine.resume(coroutine.create(function()
  693. for i = 1, 5 do
  694. Swait()
  695. TRAIL0.Transparency = TRAIL0.Transparency + 0.1
  696. end
  697. TRAIL0:remove()
  698. end))
  699. end
  700.  
  701. Debris = game:GetService("Debris")
  702.  
  703. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  704. local DIRECTION = CF(StartPos,EndPos).lookVector
  705. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  706. end
  707.  
  708. function turnto(position)
  709. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  710. end
  711.  
  712. function swait(num)
  713. if num == 0 or num == nil then
  714. ArtificialHB.Event:wait()
  715. else
  716. for i = 0, num do
  717. ArtificialHB.Event:wait()
  718. end
  719. end
  720. end
  721.  
  722. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  723. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  724. local mesh = IT("SpecialMesh",wave)
  725. mesh.MeshType = "FileMesh"
  726. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  727. mesh.Scale = SIZE
  728. mesh.Offset = VT(0,0,0)
  729. wave.CFrame = CFRAME
  730. coroutine.resume(coroutine.create(function(PART)
  731. for i = 1, WAIT do
  732. Swait()
  733. mesh.Scale = mesh.Scale + GROW
  734. if DOESROT == true then
  735. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  736. end
  737. wave.Transparency = wave.Transparency + (0.5/WAIT)
  738. if wave.Transparency > 0.99 then
  739. wave:remove()
  740. end
  741. end
  742. end))
  743. end
  744.  
  745. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  746. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  747. local mesh = IT("SpecialMesh",wave)
  748. mesh.MeshType = "Sphere"
  749. mesh.Scale = SIZE
  750. mesh.Offset = VT(0,0,0)
  751. wave.CFrame = CFRAME
  752. coroutine.resume(coroutine.create(function(PART)
  753. for i = 1, WAIT do
  754. Swait()
  755. mesh.Scale = mesh.Scale + GROW
  756. wave.Transparency = wave.Transparency + (1/WAIT)
  757. if wave.Transparency > 0.99 then
  758. wave:remove()
  759. end
  760. end
  761. end))
  762. end
  763.  
  764. function chatfunc(text)
  765. local chat = coroutine.wrap(function()
  766. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  767. Character:FindFirstChild("TalkingBillBoard"):destroy()
  768. end
  769. local Bill = Instance.new("BillboardGui",Character)
  770. Bill.Size = UDim2.new(0,100,0,40)
  771. Bill.StudsOffset = Vector3.new(0,3,0)
  772. Bill.Adornee = Character.Head
  773. Bill.Name = "TalkingBillBoard"
  774. local Hehe = Instance.new("TextLabel",Bill)
  775. Hehe.BackgroundTransparency = 1
  776. Hehe.BorderSizePixel = 0
  777. Hehe.Text = ""
  778. Hehe.Font = "Fantasy"
  779. Hehe.TextSize = 40
  780. Hehe.TextStrokeTransparency = 0
  781. Hehe.Size = UDim2.new(1,0,0.5,0)
  782. coroutine.resume(coroutine.create(function()
  783. while Hehe ~= nil do
  784. swait()
  785. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  786. Hehe.Rotation = math.random(-5,5)
  787. Hehe.TextColor3 = Color3.new(17,17,17)
  788. Hehe.TextStrokeColor3 = Color3.new(17,17,17)
  789. end
  790. end))
  791. for i = 1,string.len(text),1 do
  792. swait()
  793. Hehe.Text = string.sub(text,1,i)
  794. end
  795. swait(90)--Re[math.random(1, 93)]
  796. for i = 0, 1, .025 do
  797. swait()
  798. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  799. Hehe.TextStrokeTransparency = i
  800. Hehe.TextTransparency = i
  801. end
  802. Bill:Destroy()
  803. end)
  804. chat()
  805. end
  806.  
  807. function onChatted(msg)
  808. chatfunc(msg)
  809. end
  810.  
  811. Player.Chatted:connect(onChatted)
  812.  
  813. function CheckTableForString(Table, String)
  814. for i, v in pairs(Table) do
  815. if string.find(string.lower(String), string.lower(v)) then
  816. return true
  817. end
  818. end
  819. return false
  820. end
  821.  
  822. function CheckIntangible(Hit)
  823. local ProjectileNames = {
  824. "Water",
  825. "Arrow",
  826. "Projectile",
  827. "Effect",
  828. "Rail",
  829. "Lightning",
  830. "Bullet"
  831. }
  832. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  833. return true
  834. end
  835. return false
  836. end
  837.  
  838. Debris = game:GetService("Debris")
  839. BaseLightning = IT("Part")
  840. BaseLightning.Anchored = true
  841. BaseLightning.CanCollide = false
  842. BaseLightning.Material = "Neon"
  843. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  844. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  845. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  846. if RayHit and CheckIntangible(RayHit) then
  847. if DelayIfHit then
  848. wait()
  849. end
  850. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  851. end
  852. return RayHit, RayPos, RayNormal
  853. end
  854. function Zap(Table)
  855. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  856. local Duration = Table.Duration or 2
  857. local FadeRate = Table.FadeRate or 0.05
  858. local Offset = Table.Offset or 2
  859. local Individualize = Table.Individualize or false
  860. local MaxRange = Table.MaxRange or 200
  861. local SegmentLength = Table.SegmentLength or 5
  862. local TimeToFade = Table.TimeToFade or 0.5
  863. local Ignore = Table.Ignore or {}
  864. local SIZE = Table.Size or 0.3
  865. if not (StartPos and TargetPos) or not Character then
  866. return
  867. end
  868. local LightningModel = IT("Folder", Effects)
  869. LightningModel.Name = "ZAPP"
  870. for i, v in pairs({Character, LightningModel}) do
  871. table.insert(Ignore, v)
  872. end
  873. local LastPos = StartPos
  874. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  875. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  876. local RayLength = (StartPos - RayPos).Magnitude
  877. local Struck = false
  878. local TotalSegments = math.ceil(RayLength / SegmentLength)
  879. Direction = CFrame.new(StartPos, RayPos).lookVector
  880. local LightningBolt = IT("Model", Effects)
  881. LightningBolt.Name = "Lightning"
  882. if not Individualize then
  883. table.insert(LightningBolts, LightningBolt)
  884. end
  885. LastBolt = LightningBolt
  886. Debris:AddItem(LightningBolt, Duration)
  887. LightningBolt.Parent = LightningModel
  888. for i = 1, TotalSegments do
  889. if not Struck then
  890. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  891. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  892. local SegmentVec = NewPos - LastPos
  893. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  894. local RayVec = LastPos - RayPos
  895. local LightningPart = BaseLightning:Clone()
  896. LightningPart.BrickColor = BrickColor.new(Color)
  897. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  898. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  899. table.insert(Effects2, {
  900. LightningPart,
  901. "Disappear",
  902. 0.025,
  903. 1,
  904. 1,
  905. 1,
  906. 2
  907. })
  908. local CylinderMesh = IT("CylinderMesh", LightningPart)
  909. local OrigCF = LightningPart.CFrame
  910. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  911. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  912. LightningPart.Parent = LightningBolt
  913. LastPos = NewPos
  914. end
  915. end
  916. return {
  917. RayHit = RayHit,
  918. RayPos = RayPos,
  919. RayNormal = RayNormal,
  920. LightningModel = LightningModel
  921. }
  922. end
  923.  
  924. --//=================================\\
  925. --|| WEAPON CREATION
  926. --\\=================================//
  927. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  928. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  929. PRT.Color = C3(1,1,1)
  930. for i = 1, 35 do
  931. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  932. FACE.Color = C3(0,0,0)
  933. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  934. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  935. end
  936. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  937. PRT.Color = C3(1,1,1)
  938. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  939. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  940. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  941. MakeForm(Eye,"Ball")
  942. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  943. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  944. MakeForm(Eye,"Ball")
  945. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  946. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  947. MakeForm(Eye,"Ball")
  948. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  949.  
  950. local BODY = {}
  951.  
  952. for _, c in pairs(Character:GetDescendants()) do
  953. if c:IsA("BasePart") and c.Name ~= "Handle" then
  954. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  955. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  956. end
  957. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  958. elseif c:IsA("JointInstance") then
  959. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  960. end
  961. end
  962.  
  963. for e = 1, #BODY do
  964. if BODY[e] ~= nil then
  965. local STUFF = BODY[e]
  966. local PART = STUFF[1]
  967. local PARENT = STUFF[2]
  968. local MATERIAL = STUFF[3]
  969. local COLOR = STUFF[4]
  970. local TRANSPARENCY = STUFF[5]
  971. if PART.ClassName == "Part" and PART ~= RootPart then
  972. PART.Material = MATERIAL
  973. PART.Color = COLOR
  974. PART.Transparency = TRANSPARENCY
  975. end
  976. PART.AncestryChanged:Connect(function()
  977. PART.Parent = PARENT
  978. end)
  979. end
  980. end
  981.  
  982. function refit()
  983. Character.Parent = workspace
  984. for e = 1, #BODY do
  985. if BODY[e] ~= nil then
  986. local STUFF = BODY[e]
  987. local PART = STUFF[1]
  988. local PARENT = STUFF[2]
  989. local MATERIAL = STUFF[3]
  990. local COLOR = STUFF[4]
  991. local TRANSPARENCY = STUFF[5]
  992. if PART.ClassName == "Part" and PART ~= RootPart then
  993. PART.Material = MATERIAL
  994. PART.Color = COLOR
  995. PART.Transparency = TRANSPARENCY
  996. end
  997. if PART.Parent ~= PARENT then
  998. Humanoid:remove()
  999. PART.Parent = PARENT
  1000. Humanoid = IT("Humanoid",Character)
  1001. end
  1002. end
  1003. end
  1004. end
  1005.  
  1006. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1007. if FLOOR ~= nil then
  1008. coroutine.resume(coroutine.create(function()
  1009. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1010. PART.CFrame = CF(POSITION)
  1011. for i = 1, 45 do
  1012. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1013. RingPiece.Material = FLOOR.Material
  1014. RingPiece.Color = FLOOR.Color
  1015. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1016. Debris:AddItem(RingPiece, SWAIT)
  1017. end
  1018. PART:remove()
  1019. end))
  1020. end
  1021. end
  1022. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1023. if FLOOR ~= nil then
  1024. for i = 1, AMOUNT do
  1025. do
  1026. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1027. DEBREE.Material = FLOOR.Material
  1028. DEBREE.Color = FLOOR.Color
  1029. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1030. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  1031. coroutine.resume(coroutine.create(function()
  1032. Swait(15)
  1033. DEBREE.Parent = workspace
  1034. DEBREE.CanCollide = true
  1035. Debris:AddItem(DEBREE, SWAIT)
  1036. end))
  1037. end
  1038. end
  1039. end
  1040. end
  1041.  
  1042. local Particle = IT("ParticleEmitter",nil)
  1043. Particle.Enabled = false
  1044. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1045. Particle.LightEmission = 0.88
  1046. Particle.Rate = 250
  1047. Particle.ZOffset = 0.2
  1048. Particle.Rotation = NumberRange.new(-180, 180)
  1049. Particle.RotSpeed = NumberRange.new(-180, 180)
  1050. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1051. Particle.Color = ColorSequence.new(C3(255,255,255),C3(255,255,255))
  1052.  
  1053. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1054. function ParticleEmitter(Table)
  1055. local PRTCL = Particle:Clone()
  1056. local Speed = Table.Speed or 5
  1057. local Drag = Table.Drag or 0
  1058. local Size1 = Table.Size1 or 1
  1059. local Size2 = Table.Size2 or 5
  1060. local Lifetime1 = Table.Lifetime1 or 1
  1061. local Lifetime2 = Table.Lifetime2 or 1.5
  1062. local Parent = Table.Parent or Torso
  1063. local Emit = Table.Emit or 100
  1064. local Offset = Table.Offset or 360
  1065. local Acel = Table.Acel or VT(0,0,0)
  1066. local Enabled = Table.Enabled or false
  1067. PRTCL.Parent = Parent
  1068. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1069. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1070. PRTCL.Speed = NumberRange.new(Speed)
  1071. PRTCL.VelocitySpread = Offset
  1072. PRTCL.Drag = Drag
  1073. PRTCL.Acceleration = Acel
  1074. if Enabled == false then
  1075. PRTCL:Emit(Emit)
  1076. Debris:AddItem(PRTCL,Lifetime2)
  1077. else
  1078. PRTCL.Enabled = true
  1079. end
  1080. return PRTCL
  1081. end
  1082.  
  1083. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1084. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1085. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1086. MakeForm(Part,"Wedge")
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1089. MakeForm(Part,"Wedge")
  1090. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1091. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1093. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1094. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1095. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1096. MakeForm(Part,"Cyl")
  1097. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1098. for i = 1, 8 do
  1099. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1100. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1101. end
  1102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1103. MakeForm(Part,"Cyl")
  1104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1106. MakeForm(Part,"Ball")
  1107. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1108. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1109. MakeForm(Part,"Wedge")
  1110. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1111. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1112. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1113. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1114. MakeForm(Part,"Cyl")
  1115. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1117. MakeForm(Part,"Cyl")
  1118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1119. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1120. MakeForm(Part,"Cyl")
  1121. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1122. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1123. MakeForm(Part,"Wedge")
  1124. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1125. local LASTPART = Handle
  1126. for i = 1, 10 do
  1127. if LASTPART == Handle then
  1128. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1129. LASTPART = Part
  1130. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1131. else
  1132. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1133. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1134. LASTPART = Part
  1135. end
  1136. end
  1137.  
  1138. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1139. MakeForm(Barrel,"Cyl")
  1140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1141. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1142. MakeForm(Part,"Cyl")
  1143. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1145. MakeForm(Part,"Wedge")
  1146. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1147. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1148. MakeForm(Hole,"Cyl")
  1149. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1151. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1152. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1153. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1154. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1155. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1156. coroutine.resume(coroutine.create(function()
  1157. while wait() do
  1158. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1159. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1160. end
  1161. end))
  1162.  
  1163. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.4, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0.1,0)})
  1164. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1165.  
  1166. for _, c in pairs(Weapon:GetDescendants()) do
  1167. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1168. c.Material = "Glass"
  1169. c.Color = C3(0,0,0)
  1170. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1171. c.Color = C3(1,1,1)
  1172. c.Material = "Neon"
  1173. end
  1174. end
  1175.  
  1176. Weapon.Parent = Character
  1177. for _, c in pairs(Weapon:GetChildren()) do
  1178. if c.ClassName == "Part" then
  1179. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1180. end
  1181. end
  1182.  
  1183. local SKILLTEXTCOLOR = C3(1,1,1)
  1184. local SKILLFONT = "Bodoni"
  1185. local SKILLTEXTSIZE = 5
  1186.  
  1187. Humanoid.Died:connect(function()
  1188. refit()
  1189. end)
  1190. Humanoid.Died:connect(function()
  1191. ATTACK = true
  1192. end)
  1193. Humanoid.Died:connect(function()
  1194. Humanoid.Parent = nil
  1195. chatfunc("I don't have any crimes to DIE!")
  1196. ApplyAoE(RootPart, 9999, 0, 0, 0, true)
  1197. Humanoid.Name = "DEAD!"
  1198. Humanoid.MaxHealth = "inf"
  1199. Humanoid.Health = "inf"
  1200. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really white",VT(10,10,10))
  1201. CreateSound("178452217", Effects, 10, 1)
  1202. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Institutional white",VT(500,500,500))
  1203. end)
  1204.  
  1205. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1206. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1207. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1208. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1209. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1210. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.03, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1211.  
  1212. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Bullet Of Judge", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1213. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Pure Heaven", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1214. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[F] HEAVEN'S MERCY", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1215. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Gates Of Justice", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1216. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[C] True Brightness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1217. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1218.  
  1219. workspace.ChildAdded:connect(function(instance)
  1220. for BANISH = 1, #TOBANISH do
  1221. if TOBANISH[BANISH] ~= nil then
  1222. if instance.Name == TOBANISH[BANISH] then
  1223. coroutine.resume(coroutine.create(function()
  1224. printbye(instance.Name)
  1225. instance:ClearAllChildren()
  1226. Debris:AddItem(instance,0.0005)
  1227. end))
  1228. end
  1229. end
  1230. end
  1231. end)
  1232.  
  1233. --//=================================\\
  1234. --|| DAMAGING
  1235. --\\=================================//
  1236.  
  1237. function Banish(Foe)
  1238. if Foe then
  1239. coroutine.resume(coroutine.create(function()
  1240. --if game.Players:FindFirstChild(Foe.Name) then
  1241. table.insert(TOBANISH,Foe.Name)
  1242. printbye(Foe.Name)
  1243. --end
  1244. Foe.Archivable = true
  1245. local CLONE = Foe:Clone()
  1246. Foe:Destroy()
  1247. CLONE.Parent = Effects
  1248. CLONE:BreakJoints()
  1249. local MATERIALS = {"Glass","Neon"}
  1250. for _, c in pairs(CLONE:GetDescendants()) do
  1251. if c:IsA("BasePart") then
  1252. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1253. CreateSound(340722848, c, 10, 1, false)
  1254. end
  1255. c.Anchored = true
  1256. c.Transparency = c.Transparency + 0.2
  1257. c.Material = MATERIALS[MRANDOM(1,2)]
  1258. c.Color = C3(1 ,1 ,1)
  1259. if c.ClassName == "MeshPart" then
  1260. c.TextureID = ""
  1261. end
  1262. if c:FindFirstChildOfClass("SpecialMesh") then
  1263. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1264. end
  1265. if c:FindFirstChildOfClass("Decal") then
  1266. c:FindFirstChildOfClass("Decal"):remove()
  1267. end
  1268. c.Name = "Banished"
  1269. c.CanCollide = false
  1270. else
  1271. c:remove()
  1272. end
  1273. end
  1274. local A = false
  1275. for i = 1, 35 do
  1276. if A == false then
  1277. A = true
  1278. elseif A == true then
  1279. A = false
  1280. end
  1281. for _, c in pairs(CLONE:GetDescendants()) do
  1282. if c:IsA("BasePart") then
  1283. c.Anchored = true
  1284. c.Material = MATERIALS[MRANDOM(1,2)]
  1285. c.Transparency = c.Transparency + 0.8/35
  1286. if A == false then
  1287. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1288. elseif A == true then
  1289. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1290. end
  1291. end
  1292. end
  1293. Swait()
  1294. end
  1295. CLONE:remove()
  1296. end))
  1297. end
  1298. end
  1299.  
  1300. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1301. local CHILDREN = workspace:GetDescendants()
  1302. for index, CHILD in pairs(CHILDREN) do
  1303. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1304. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1305. if HUM then
  1306. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1307. if TORSO then
  1308. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1309. if ISBANISH == true then
  1310. Banish(CHILD)
  1311. else
  1312. if ISBANISH == "Gravity" then
  1313. HUM.PlatformStand = true
  1314. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1315. local grav = Instance.new("BodyPosition",TORSO)
  1316. grav.D = 15
  1317. grav.P = 20000
  1318. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1319. grav.position = TORSO.Position
  1320. grav.Name = "V3BanishForce"..Player.Name
  1321. else
  1322. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1323. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1324. end
  1325. else
  1326. HUM.PlatformStand = false
  1327. end
  1328. end
  1329. elseif ISBANISH == "Gravity" then
  1330. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1331. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1332. HUM.PlatformStand = false
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340. --//=================================\\
  1341. --|| ATTACK FUNCTIONS AND STUFF
  1342. --\\=================================//
  1343. function Bullet_Of_Judge()
  1344. ATTACK = true
  1345. Rooted = false
  1346. for i=0, 0.5, 0.08 / Animation_Speed do
  1347. Swait()
  1348. turnto(Mouse.Hit.p)
  1349. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1350. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1352. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1353. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1354. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1355. end
  1356. repeat
  1357. for i=0, 0.5, 0.08 / Animation_Speed do
  1358. Swait()
  1359. turnto(Mouse.Hit.p)
  1360. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1364. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1365. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1366. end
  1367. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1368. SpawnTrail0(Hole.Position,POS)
  1369. if HIT ~= nil then
  1370. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1371. Banish(HIT.Parent)
  1372. end
  1373. end
  1374. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(4,4,4).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1375. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1486538358, SoundPitch = 0.95, SoundVolume = 8})
  1376. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
  1377. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
  1378. for i=0, 0.5, 0.08 / Animation_Speed do
  1379. Swait()
  1380. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1381. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1382. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1383. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1384. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1385. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1386. end
  1387. until KEYHOLD == false
  1388. ATTACK = false
  1389. Rooted = false
  1390. end
  1391. local ENERGYSOUND = 1417051162
  1392. local BEAMSOUND = 1417056781
  1393. local EXPLOSIONSOUND = 1417056081
  1394.  
  1395. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Dark indigo", "BraceletPart", VT(1.01,0.3,1.01),false)
  1396. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1397. for i = 1, 3 do
  1398. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Royal purple", "BraceletPart", VT(0.2,1.02,0.2),false)
  1399. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1400. MakeForm(Part,"Cyl")
  1401. end
  1402. function Charge(TIME,GYRO)
  1403. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1404. local G = nil
  1405. if GYRO == true then
  1406. G = IT("BodyGyro",RootPart)
  1407. G.D = 250
  1408. G.P = 200000
  1409. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1410. end
  1411. for i=0, TIME, 0.1 / Animation_Speed do
  1412. Swait()
  1413. if G then
  1414. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1415. end
  1416. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1417. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1418. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1419. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1420. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1421. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1422. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1423. end
  1424. SND:remove()
  1425. if G then
  1426. return G
  1427. end
  1428. end
  1429. function True_Brightness()
  1430. chatfunc("My True Power will Released!")
  1431. ATTACK = true
  1432. Rooted = true
  1433. Charge(2,false)
  1434. local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1435. local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
  1436. for i = 1, 60 do
  1437. Swait()
  1438. ApplyAoE(RootPart.Position,i*1.3,10,20,-200,true)
  1439. SND.Pitch = SND.Pitch - 1/60
  1440. SND2.Pitch = SND.Pitch
  1441. WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*2,10,i*2), Size2 = VT(i*2,10,i*2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1442. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,10,0), Size2 = VT(i*2,6,i*2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1443. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,6,0), Size2 = VT(i*1.6,10,i*1.6), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1448. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1449. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1450. end
  1451. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1452. SpawnTrail(Hole.Position,POS)
  1453. if HIT ~= nil then
  1454. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1455. Banish(HIT.Parent)
  1456. end
  1457. end
  1458. SND:remove()
  1459. SND2:remove()
  1460. ATTACK = false
  1461. Rooted = false
  1462. end
  1463. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1464. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1465. local mesh = IT("SpecialMesh",wave)
  1466. mesh.MeshType = "Sphere"
  1467. mesh.Scale = SIZE
  1468. mesh.Offset = VT(0,0,0)
  1469. wave.CFrame = CFRAME
  1470. coroutine.resume(coroutine.create(function(PART)
  1471. for i = 1, WAIT do
  1472. Swait()
  1473. mesh.Scale = mesh.Scale + GROW
  1474. wave.Transparency = wave.Transparency + (1/WAIT)
  1475. if wave.Transparency > 0.99 then
  1476. wave:remove()
  1477. end
  1478. end
  1479. end))
  1480. end
  1481. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1482. if FLOOR ~= nil then
  1483. coroutine.resume(coroutine.create(function()
  1484. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  1485. PART.CFrame = CF(POSITION)
  1486. for i = 1, 45 do
  1487. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  1488. RingPiece.Material = FLOOR.Material
  1489. RingPiece.Color = FLOOR.Color
  1490. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1491. Debris:AddItem(RingPiece,SWAIT)
  1492. end
  1493. PART:remove()
  1494. end))
  1495. end
  1496. end
  1497.  
  1498. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1499. if FLOOR ~= nil then
  1500. for i = 1, AMOUNT do
  1501. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  1502. DEBREE.Material = FLOOR.Material
  1503. DEBREE.Color = FLOOR.Color
  1504. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1505. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1506. coroutine.resume(coroutine.create(function()
  1507. Swait(15)
  1508. DEBREE.Parent = workspace
  1509. DEBREE.CanCollide = true
  1510. Debris:AddItem(DEBREE,SWAIT)
  1511. end))
  1512. end
  1513. end
  1514. end
  1515. function Pure_Heaven()
  1516. chatfunc("The Light of Heaven will make sense!")
  1517. ATTACK = true
  1518. Rooted = true
  1519. for i = 1, 15 do
  1520. Swait()
  1521. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1525. end
  1526. for i=0, 0.5, 0.1 / Animation_Speed do
  1527. Swait()
  1528. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1532. end
  1533. coroutine.resume(coroutine.create(function()
  1534. local POS = Mouse.Hit.p
  1535. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1536. MakeForm(RAY,"Cyl")
  1537. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1538. MakeForm(SPHERE,"Ball")
  1539. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Strike", VT(0,0,0))
  1540. MakeForm(SHIELD,"Ball")
  1541. SHIELD.CFrame = CF(POS)
  1542. RAY.CFrame = CF(POS)
  1543. SPHERE.CFrame = CF(POS)
  1544. CreateSound(440145570, SPHERE, 15, 0.5, false)
  1545. CreateSound(415700134, SPHERE, 15, 0.5, false)
  1546. for i = 1, 200 do
  1547. Swait()
  1548. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1549. RAY.Size = RAY.Size + VT(0.5,0,0.5)
  1550. SPHERE.Size = SPHERE.Size + VT(1.5,1.5,1.5)
  1551. SHIELD.Size = SPHERE.Size + VT(2.5,2.5,2.5)
  1552. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1553. end
  1554. for i = 1, 45 do
  1555. Swait()
  1556. RAY.Transparency = RAY.Transparency + 1/45
  1557. SPHERE.Transparency = RAY.Transparency
  1558. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1559. end
  1560. RAY:remove()
  1561. SHIELD:remove()
  1562. SPHERE:remove()
  1563. end))
  1564. for i=0, 1, 0.1 / Animation_Speed do
  1565. Swait()
  1566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1572. end
  1573. ATTACK = false
  1574. Rooted = false
  1575. end
  1576. function printbye(Name)
  1577. local MESSAGES = {"YOU NOT WORTH TO BE ON HEAVEN, ","God don't like Criminal, ","Go to hell Heaven is not a Place you want to go, ","YOU CAN GO TO HEAVEN BUT IT'S SILENT, "}
  1578. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1579. end
  1580. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1581. MakeForm(RightHole,"Cyl")
  1582. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1583. MakeForm(LeftHole,"Cyl")
  1584. function Gates_Of_Justice()
  1585. chatfunc("Be Darker...")
  1586. CreateSound(0, Torso, 10, 1, false)
  1587. ATTACK = true
  1588. Rooted = true
  1589. for i=0, 0.5, 0.1 / Animation_Speed do
  1590. Swait()
  1591. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1592. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1593. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1594. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1595. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1596. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1597. end
  1598. local DONE = false
  1599. local GATE = nil
  1600. local GATESPIN = true
  1601. coroutine.resume(coroutine.create(function()
  1602. repeat
  1603. Swait()
  1604. if GATE ~= nil then
  1605. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1606. end
  1607. until GATESPIN == false
  1608. end))
  1609. coroutine.resume(coroutine.create(function()
  1610. repeat
  1611. Swait()
  1612. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1613. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1614. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1615. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1616. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1617. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1618. until DONE == true
  1619. Swait(50)
  1620. for i = 1, 35 do
  1621. Swait(4)
  1622. local FIRED = false
  1623. local CHILDREN = workspace:GetDescendants()
  1624. for index, CHILD in pairs(CHILDREN) do
  1625. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1626. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1627. if HUM then
  1628. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1629. if TORSO then
  1630. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1631. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1632. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1633. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1634. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1635. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1636. Banish(CHILD)
  1637. FIRED = true
  1638. break
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end
  1644. if FIRED == false then
  1645. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1646. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1647. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1648. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1649. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1650. if HITBOD ~= nil then
  1651. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1652. Banish(HITBOD.Parent)
  1653. end
  1654. end
  1655. end
  1656. end
  1657. for i = 1, 35 do
  1658. Swait(4)
  1659. local FIRED = false
  1660. local CHILDREN = workspace:GetDescendants()
  1661. for index, CHILD in pairs(CHILDREN) do
  1662. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1663. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1664. if HUM then
  1665. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1666. if TORSO then
  1667. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1668. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1669. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1670. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1671. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1672. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1673. Banish(CHILD)
  1674. FIRED = true
  1675. break
  1676. end
  1677. end
  1678. end
  1679. end
  1680. end
  1681. if FIRED == false then
  1682. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1683. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1684. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1685. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1686. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1687. if HITBOD ~= nil then
  1688. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1689. Banish(HITBOD.Parent)
  1690. end
  1691. end
  1692. end
  1693. end
  1694. for i = 1, 35 do
  1695. Swait(4)
  1696. local FIRED = false
  1697. local CHILDREN = workspace:GetDescendants()
  1698. for index, CHILD in pairs(CHILDREN) do
  1699. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1700. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1701. if HUM then
  1702. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1703. if TORSO then
  1704. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1705. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1706. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1707. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1708. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1709. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1710. Banish(CHILD)
  1711. FIRED = true
  1712. break
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. if FIRED == false then
  1719. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1720. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1721. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1722. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1723. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1724. if HITBOD ~= nil then
  1725. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1726. Banish(HITBOD.Parent)
  1727. end
  1728. end
  1729. end
  1730. end
  1731. for i = 1, 35 do
  1732. Swait(4)
  1733. local FIRED = false
  1734. local CHILDREN = workspace:GetDescendants()
  1735. for index, CHILD in pairs(CHILDREN) do
  1736. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1737. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1738. if HUM then
  1739. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1740. if TORSO then
  1741. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1742. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1743. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1744. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1745. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1746. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1747. Banish(CHILD)
  1748. FIRED = true
  1749. break
  1750. end
  1751. end
  1752. end
  1753. end
  1754. end
  1755. if FIRED == false then
  1756. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1757. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1758. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1759. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1760. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1761. if HITBOD ~= nil then
  1762. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1763. Banish(HITBOD.Parent)
  1764. end
  1765. end
  1766. end
  1767. end
  1768. for i = 1, 35 do
  1769. Swait(4)
  1770. local FIRED = false
  1771. local CHILDREN = workspace:GetDescendants()
  1772. for index, CHILD in pairs(CHILDREN) do
  1773. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1774. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1775. if HUM then
  1776. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1777. if TORSO then
  1778. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1779. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1780. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1781. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1782. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1783. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1784. Banish(CHILD)
  1785. FIRED = true
  1786. break
  1787. end
  1788. end
  1789. end
  1790. end
  1791. end
  1792. if FIRED == false then
  1793. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1794. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1795. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1796. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1797. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1798. if HITBOD ~= nil then
  1799. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1800. Banish(HITBOD.Parent)
  1801. end
  1802. end
  1803. end
  1804. end
  1805. for i = 1, 35 do
  1806. Swait(4)
  1807. local FIRED = false
  1808. local CHILDREN = workspace:GetDescendants()
  1809. for index, CHILD in pairs(CHILDREN) do
  1810. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1811. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1812. if HUM then
  1813. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1814. if TORSO then
  1815. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1816. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1817. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1818. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1819. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1820. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1821. Banish(CHILD)
  1822. FIRED = true
  1823. break
  1824. end
  1825. end
  1826. end
  1827. end
  1828. end
  1829. if FIRED == false then
  1830. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1831. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1832. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1833. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1834. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1835. if HITBOD ~= nil then
  1836. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1837. Banish(HITBOD.Parent)
  1838. end
  1839. end
  1840. end
  1841. end
  1842. for i = 1, 35 do
  1843. Swait(4)
  1844. local FIRED = false
  1845. local CHILDREN = workspace:GetDescendants()
  1846. for index, CHILD in pairs(CHILDREN) do
  1847. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1848. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1849. if HUM then
  1850. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1851. if TORSO then
  1852. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1853. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1854. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1855. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1856. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1857. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1858. Banish(CHILD)
  1859. FIRED = true
  1860. break
  1861. end
  1862. end
  1863. end
  1864. end
  1865. end
  1866. if FIRED == false then
  1867. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1868. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1869. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1870. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1871. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1872. if HITBOD ~= nil then
  1873. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1874. Banish(HITBOD.Parent)
  1875. end
  1876. end
  1877. end
  1878. end
  1879. for i = 1, 35 do
  1880. Swait(4)
  1881. local FIRED = false
  1882. local CHILDREN = workspace:GetDescendants()
  1883. for index, CHILD in pairs(CHILDREN) do
  1884. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1885. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1886. if HUM then
  1887. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1888. if TORSO then
  1889. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1890. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1891. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1892. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1893. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1894. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1895. Banish(CHILD)
  1896. FIRED = true
  1897. break
  1898. end
  1899. end
  1900. end
  1901. end
  1902. end
  1903. if FIRED == false then
  1904. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1905. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1906. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1907. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1908. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1909. if HITBOD ~= nil then
  1910. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1911. Banish(HITBOD.Parent)
  1912. end
  1913. end
  1914. end
  1915. end
  1916. for i = 1, 35 do
  1917. Swait(4)
  1918. local FIRED = false
  1919. local CHILDREN = workspace:GetDescendants()
  1920. for index, CHILD in pairs(CHILDREN) do
  1921. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1922. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1923. if HUM then
  1924. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1925. if TORSO then
  1926. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1927. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1928. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1929. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1930. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1931. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1932. Banish(CHILD)
  1933. FIRED = true
  1934. break
  1935. end
  1936. end
  1937. end
  1938. end
  1939. end
  1940. if FIRED == false then
  1941. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1942. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1943. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1944. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1945. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1946. if HITBOD ~= nil then
  1947. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1948. Banish(HITBOD.Parent)
  1949. end
  1950. end
  1951. end
  1952. end
  1953. for i = 1, 35 do
  1954. Swait(4)
  1955. local FIRED = false
  1956. local CHILDREN = workspace:GetDescendants()
  1957. for index, CHILD in pairs(CHILDREN) do
  1958. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1959. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1960. if HUM then
  1961. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1962. if TORSO then
  1963. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1964. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1965. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1966. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1967. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1968. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1969. Banish(CHILD)
  1970. FIRED = true
  1971. break
  1972. end
  1973. end
  1974. end
  1975. end
  1976. end
  1977. if FIRED == false then
  1978. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1979. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  1980. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1981. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1982. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1983. if HITBOD ~= nil then
  1984. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1985. Banish(HITBOD.Parent)
  1986. end
  1987. end
  1988. end
  1989. end
  1990. for i = 1, 35 do
  1991. Swait(4)
  1992. local FIRED = false
  1993. local CHILDREN = workspace:GetDescendants()
  1994. for index, CHILD in pairs(CHILDREN) do
  1995. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1996. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1997. if HUM then
  1998. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1999. if TORSO then
  2000. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2001. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2002. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2003. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2004. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2005. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2006. Banish(CHILD)
  2007. FIRED = true
  2008. break
  2009. end
  2010. end
  2011. end
  2012. end
  2013. end
  2014. if FIRED == false then
  2015. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2016. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2017. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2018. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2019. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2020. if HITBOD ~= nil then
  2021. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2022. Banish(HITBOD.Parent)
  2023. end
  2024. end
  2025. end
  2026. end
  2027. for i = 1, 35 do
  2028. Swait(4)
  2029. local FIRED = false
  2030. local CHILDREN = workspace:GetDescendants()
  2031. for index, CHILD in pairs(CHILDREN) do
  2032. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2033. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2034. if HUM then
  2035. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2036. if TORSO then
  2037. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2038. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2039. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2040. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2041. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2042. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2043. Banish(CHILD)
  2044. FIRED = true
  2045. break
  2046. end
  2047. end
  2048. end
  2049. end
  2050. end
  2051. if FIRED == false then
  2052. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2053. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2054. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2055. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2056. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2057. if HITBOD ~= nil then
  2058. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2059. Banish(HITBOD.Parent)
  2060. end
  2061. end
  2062. end
  2063. end
  2064. for i = 1, 35 do
  2065. Swait(4)
  2066. local FIRED = false
  2067. local CHILDREN = workspace:GetDescendants()
  2068. for index, CHILD in pairs(CHILDREN) do
  2069. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2070. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2071. if HUM then
  2072. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2073. if TORSO then
  2074. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2075. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2076. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2077. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2078. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2079. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2080. Banish(CHILD)
  2081. FIRED = true
  2082. break
  2083. end
  2084. end
  2085. end
  2086. end
  2087. end
  2088. if FIRED == false then
  2089. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2090. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2091. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2092. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2093. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2094. if HITBOD ~= nil then
  2095. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2096. Banish(HITBOD.Parent)
  2097. end
  2098. end
  2099. end
  2100. end
  2101. for i = 1, 35 do
  2102. Swait(4)
  2103. local FIRED = false
  2104. local CHILDREN = workspace:GetDescendants()
  2105. for index, CHILD in pairs(CHILDREN) do
  2106. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2107. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2108. if HUM then
  2109. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2110. if TORSO then
  2111. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2112. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2113. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2114. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2115. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2116. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2117. Banish(CHILD)
  2118. FIRED = true
  2119. break
  2120. end
  2121. end
  2122. end
  2123. end
  2124. end
  2125. if FIRED == false then
  2126. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2127. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2128. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2129. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2130. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2131. if HITBOD ~= nil then
  2132. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2133. Banish(HITBOD.Parent)
  2134. end
  2135. end
  2136. end
  2137. end
  2138. for i = 1, 35 do
  2139. Swait(4)
  2140. local FIRED = false
  2141. local CHILDREN = workspace:GetDescendants()
  2142. for index, CHILD in pairs(CHILDREN) do
  2143. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2144. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2145. if HUM then
  2146. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2147. if TORSO then
  2148. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2149. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2150. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2151. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2152. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2153. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2154. Banish(CHILD)
  2155. FIRED = true
  2156. break
  2157. end
  2158. end
  2159. end
  2160. end
  2161. end
  2162. if FIRED == false then
  2163. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2164. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2165. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2166. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2167. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2168. if HITBOD ~= nil then
  2169. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2170. Banish(HITBOD.Parent)
  2171. end
  2172. end
  2173. end
  2174. end
  2175. for i = 1, 35 do
  2176. Swait(4)
  2177. local FIRED = false
  2178. local CHILDREN = workspace:GetDescendants()
  2179. for index, CHILD in pairs(CHILDREN) do
  2180. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2181. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2182. if HUM then
  2183. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2184. if TORSO then
  2185. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2186. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2187. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2188. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2189. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2190. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2191. Banish(CHILD)
  2192. FIRED = true
  2193. break
  2194. end
  2195. end
  2196. end
  2197. end
  2198. end
  2199. if FIRED == false then
  2200. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2201. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2202. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2203. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2204. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2205. if HITBOD ~= nil then
  2206. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2207. Banish(HITBOD.Parent)
  2208. end
  2209. end
  2210. end
  2211. end
  2212. for i = 1, 35 do
  2213. Swait(4)
  2214. local FIRED = false
  2215. local CHILDREN = workspace:GetDescendants()
  2216. for index, CHILD in pairs(CHILDREN) do
  2217. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2218. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2219. if HUM then
  2220. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2221. if TORSO then
  2222. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2223. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2224. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2225. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2226. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2227. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2228. Banish(CHILD)
  2229. FIRED = true
  2230. break
  2231. end
  2232. end
  2233. end
  2234. end
  2235. end
  2236. if FIRED == false then
  2237. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2238. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2239. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2240. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2241. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2242. if HITBOD ~= nil then
  2243. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2244. Banish(HITBOD.Parent)
  2245. end
  2246. end
  2247. end
  2248. end
  2249. for i = 1, 35 do
  2250. Swait(4)
  2251. local FIRED = false
  2252. local CHILDREN = workspace:GetDescendants()
  2253. for index, CHILD in pairs(CHILDREN) do
  2254. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2255. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2256. if HUM then
  2257. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2258. if TORSO then
  2259. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2260. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2261. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2262. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2263. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2264. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2265. Banish(CHILD)
  2266. FIRED = true
  2267. break
  2268. end
  2269. end
  2270. end
  2271. end
  2272. end
  2273. if FIRED == false then
  2274. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2275. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2276. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2277. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2278. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2279. if HITBOD ~= nil then
  2280. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2281. Banish(HITBOD.Parent)
  2282. end
  2283. end
  2284. end
  2285. end
  2286. for i = 1, 35 do
  2287. Swait(4)
  2288. local FIRED = false
  2289. local CHILDREN = workspace:GetDescendants()
  2290. for index, CHILD in pairs(CHILDREN) do
  2291. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2292. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2293. if HUM then
  2294. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2295. if TORSO then
  2296. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2297. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2298. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2299. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2300. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2301. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2302. Banish(CHILD)
  2303. FIRED = true
  2304. break
  2305. end
  2306. end
  2307. end
  2308. end
  2309. end
  2310. if FIRED == false then
  2311. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2312. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2313. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2314. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2315. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2316. if HITBOD ~= nil then
  2317. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2318. Banish(HITBOD.Parent)
  2319. end
  2320. end
  2321. end
  2322. end
  2323. for i = 1, 35 do
  2324. Swait(4)
  2325. local FIRED = false
  2326. local CHILDREN = workspace:GetDescendants()
  2327. for index, CHILD in pairs(CHILDREN) do
  2328. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2329. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2330. if HUM then
  2331. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2332. if TORSO then
  2333. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2334. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2335. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2336. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2337. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2338. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2339. Banish(CHILD)
  2340. FIRED = true
  2341. break
  2342. end
  2343. end
  2344. end
  2345. end
  2346. end
  2347. if FIRED == false then
  2348. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2349. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2350. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2351. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2352. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2353. if HITBOD ~= nil then
  2354. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2355. Banish(HITBOD.Parent)
  2356. end
  2357. end
  2358. end
  2359. end
  2360. for i = 1, 35 do
  2361. Swait(4)
  2362. local FIRED = false
  2363. local CHILDREN = workspace:GetDescendants()
  2364. for index, CHILD in pairs(CHILDREN) do
  2365. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2366. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2367. if HUM then
  2368. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2369. if TORSO then
  2370. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2371. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2372. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2373. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2374. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2375. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2376. Banish(CHILD)
  2377. FIRED = true
  2378. break
  2379. end
  2380. end
  2381. end
  2382. end
  2383. end
  2384. if FIRED == false then
  2385. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2386. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2387. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2388. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2389. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2390. if HITBOD ~= nil then
  2391. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2392. Banish(HITBOD.Parent)
  2393. end
  2394. end
  2395. end
  2396. end
  2397. for i = 1, 35 do
  2398. Swait(4)
  2399. local FIRED = false
  2400. local CHILDREN = workspace:GetDescendants()
  2401. for index, CHILD in pairs(CHILDREN) do
  2402. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2403. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2404. if HUM then
  2405. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2406. if TORSO then
  2407. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2408. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2409. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2410. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2411. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2412. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2413. Banish(CHILD)
  2414. FIRED = true
  2415. break
  2416. end
  2417. end
  2418. end
  2419. end
  2420. end
  2421. if FIRED == false then
  2422. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2423. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2424. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2425. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2426. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2427. if HITBOD ~= nil then
  2428. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2429. Banish(HITBOD.Parent)
  2430. end
  2431. end
  2432. end
  2433. end
  2434. for i = 1, 35 do
  2435. Swait(4)
  2436. local FIRED = false
  2437. local CHILDREN = workspace:GetDescendants()
  2438. for index, CHILD in pairs(CHILDREN) do
  2439. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2440. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2441. if HUM then
  2442. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2443. if TORSO then
  2444. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2445. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2446. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2447. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2448. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2449. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2450. Banish(CHILD)
  2451. FIRED = true
  2452. break
  2453. end
  2454. end
  2455. end
  2456. end
  2457. end
  2458. if FIRED == false then
  2459. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2460. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2461. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2462. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2463. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2464. if HITBOD ~= nil then
  2465. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2466. Banish(HITBOD.Parent)
  2467. end
  2468. end
  2469. end
  2470. end
  2471. for i = 1, 35 do
  2472. Swait(4)
  2473. local FIRED = false
  2474. local CHILDREN = workspace:GetDescendants()
  2475. for index, CHILD in pairs(CHILDREN) do
  2476. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2477. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2478. if HUM then
  2479. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2480. if TORSO then
  2481. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2482. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2483. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2484. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2485. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2486. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2487. Banish(CHILD)
  2488. FIRED = true
  2489. break
  2490. end
  2491. end
  2492. end
  2493. end
  2494. end
  2495. if FIRED == false then
  2496. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2497. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
  2498. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2499. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2500. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2501. if HITBOD ~= nil then
  2502. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2503. Banish(HITBOD.Parent)
  2504. end
  2505. end
  2506. end
  2507. end
  2508. for i = 1, 45 do
  2509. Swait()
  2510. GATE.Size = GATE.Size - VT(10,0,10)
  2511. end
  2512. GATESPIN = false
  2513. GATE:remove()
  2514. end))
  2515. Swait(15)
  2516. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2517. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  2518. local DECAL = IT("Decal",GATE)
  2519. DECAL.Texture = "http://www.roblox.com/asset/?id=62270888"
  2520. DECAL.Face = "Top"
  2521. GATE.CFrame = CF(HITPOS)
  2522. CreateSound(0, GATE, 7, 1.3, false)
  2523. for i = 1, 45 do
  2524. Swait()
  2525. GATE.Size = GATE.Size + VT(10,0,10)
  2526. end
  2527. CreateSound(213603013, RightHole, 7, 1, false)
  2528. CreateSound(213603013, LeftHole, 7, 1, false)
  2529. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2530. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2531. ATTACK = false
  2532. Rooted = false
  2533. DONE = true
  2534. end
  2535.  
  2536. function Taunt()
  2537. ATTACK = true
  2538. Rooted = true
  2539. CreateSound("907333406", Head, 10, 0.9)
  2540. for i = 1, 3 do
  2541. for i = 0, 0.7, 0.1 / Animation_Speed do
  2542. Swait()
  2543. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  2546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
  2547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2549. end
  2550. for i = 0, 0.7, 0.1 / Animation_Speed do
  2551. Swait()
  2552. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2553. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2554. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  2555. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
  2556. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2557. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2558. end
  2559. end
  2560. ATTACK = false
  2561. Rooted = false
  2562. end
  2563.  
  2564. --//=================================\\
  2565. --|| ASSIGN THINGS TO KEYS
  2566. --\\=================================//
  2567.  
  2568. function MouseDown(Mouse)
  2569. if ATTACK == false then
  2570. end
  2571. end
  2572.  
  2573. function MouseUp(Mouse)
  2574. HOLD = false
  2575. end
  2576.  
  2577. function KeyDown(Key)
  2578. KEYHOLD = true
  2579. if Key == "e" and ATTACK == false then
  2580. Bullet_Of_Judge()
  2581. end
  2582.  
  2583. if Key == "f" and ATTACK == false then
  2584. chatfunc("If you decided to be a Good Person then go to Afterlife...")
  2585. TOBANISH = {}
  2586. end
  2587.  
  2588. if Key == "c" and ATTACK == false then
  2589. True_Brightness()
  2590. end
  2591.  
  2592. if Key == "t" and ATTACK == false then
  2593. Taunt()
  2594. end
  2595.  
  2596. if Key == "q" and ATTACK == false then
  2597. for i=0, 0.5, 0.072 / Animation_Speed do
  2598. Swait()
  2599. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2601. end
  2602. local pos = RootPart.Position
  2603. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,5,0),pos)
  2604. end
  2605.  
  2606. if Key == "x" and ATTACK == false then
  2607. Pure_Heaven()
  2608. end
  2609.  
  2610. if Key == "v" and ATTACK == false then
  2611. Gates_Of_Justice()
  2612. end
  2613. end
  2614.  
  2615. function KeyUp(Key)
  2616. KEYHOLD = false
  2617. end
  2618.  
  2619. Mouse.Button1Down:connect(function(NEWKEY)
  2620. MouseDown(NEWKEY)
  2621. end)
  2622. Mouse.Button1Up:connect(function(NEWKEY)
  2623. MouseUp(NEWKEY)
  2624. end)
  2625. Mouse.KeyDown:connect(function(NEWKEY)
  2626. KeyDown(NEWKEY)
  2627. end)
  2628. Mouse.KeyUp:connect(function(NEWKEY)
  2629. KeyUp(NEWKEY)
  2630. end)
  2631.  
  2632. --//=================================\\
  2633. --\\=================================//
  2634.  
  2635.  
  2636. function unanchor()
  2637. if UNANCHOR == true then
  2638. g = Character:GetChildren()
  2639. for i = 1, #g do
  2640. if g[i].ClassName == "Part" then
  2641. g[i].Anchored = false
  2642. end
  2643. end
  2644. end
  2645. end
  2646.  
  2647.  
  2648. --//=================================\\
  2649. --|| WRAP THE WHOLE SCRIPT UP
  2650. --\\=================================//
  2651.  
  2652. Humanoid.Changed:connect(function(Jump)
  2653. if Jump == "Jump" and (Disable_Jump == true) then
  2654. Humanoid.Jump = false
  2655. end
  2656. end)
  2657.  
  2658. sick.AncestryChanged:Connect(function()
  2659. sick.Parent = Character
  2660. end)
  2661.  
  2662. while true do
  2663. Swait()
  2664. script.Parent = WEAPONGUI
  2665. ANIMATE.Parent = nil
  2666. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2667. v:Stop();
  2668. end
  2669. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2670. Humanoid = IT("Humanoid",Character)
  2671. end
  2672. SINE = SINE + CHANGE
  2673. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2674. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2675. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2676. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2677. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2678. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2679. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2680. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2681. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2682. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2683. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2684. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2685. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2686. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2687. end
  2688. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2689. ANIM = "Jump"
  2690. if ATTACK == false then
  2691. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2692. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2693. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2694. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2695. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2696. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2697. end
  2698. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2699. ANIM = "Fall"
  2700. if ATTACK == false then
  2701. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2705. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  2706. LeftHip.C0 = Clerp(LeftHip.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)), 0.15 / Animation_Speed)
  2707. end
  2708. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2709. ANIM = "Idle"
  2710. if ATTACK == false then
  2711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2715. RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2717. end
  2718. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2719. ANIM = "Walk"
  2720. if ATTACK == false then
  2721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  2722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  2723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2725. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2727. end
  2728. end
  2729. unanchor()
  2730. Humanoid.MaxHealth = "inf"
  2731. Humanoid.Health = "inf"
  2732. if Rooted == false then
  2733. Disable_Jump = false
  2734. Humanoid.WalkSpeed = Speed
  2735. elseif Rooted == true then
  2736. Disable_Jump = true
  2737. Humanoid.WalkSpeed = 0
  2738. end
  2739. refit()
  2740. if Head:FindFirstChild("face") then
  2741. Head.face.Texture = "rbxassetid://0"
  2742. end
  2743. for _, c in pairs(Torso:GetChildren()) do
  2744. if c:IsA("JointInstance") or c.ClassName == "Sound" then
  2745. else
  2746. c:remove()
  2747. end
  2748. end
  2749. end
  2750.  
  2751. --//=================================\\
  2752. --\\=================================//
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758. --//====================================================\\--
  2759. --|| END OF SCRIPT
  2760. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement