AxeuerAlt

Untitled

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