Advertisement
XSleepyDemonX_17

xdddddxd

Sep 29th, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 292.27 KB | None | 0 0
  1. --Join my discord server.----------------------------------------------------------------
  2. --Original by Shackluster.---------------------------------------------------------------
  3. --Enjoy the edit! :D.--------------------------------------------------------------------
  4. -----------------------------------------------------------------------------------------
  5. ------Update 27/12/2018!-----------------------------------------------------
  6. -----------------------------------------------------------------------------------------
  7. -- This script has convert to FE by who i don't know?
  8.  
  9. -----------------------------------------------------
  10. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  11. local Player,game,owner = owner,game
  12. local RealPlayer = Player
  13. do
  14. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  15. local rp = RealPlayer
  16. script.Parent = rp.Character
  17.  
  18. --RemoteEvent for communicating
  19. local Event = Instance.new("RemoteEvent")
  20. Event.Name = "UserInput_Event"
  21.  
  22. --Fake event to make stuff like Mouse.KeyDown work
  23. local function fakeEvent()
  24. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  25. t.connect = t.Connect
  26. return t
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  31. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  32. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  33. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  34. end}
  35. --Merged 2 functions into one by checking amount of arguments
  36. CAS.UnbindAction = CAS.BindAction
  37.  
  38. --This function will trigger the events that have been :Connect()'ed
  39. local function te(self,ev,...)
  40. local t = m[ev]
  41. if t and t._fakeEvent then
  42. for _,f in pairs(t.Functions) do
  43. f(...)
  44. end
  45. end
  46. end
  47. m.TrigEvent = te
  48. UIS.TrigEvent = te
  49.  
  50. Event.OnServerEvent:Connect(function(plr,io)
  51. if plr~=rp then return end
  52. m.Target = io.Target
  53. m.Hit = io.Hit
  54. if not io.isMouse then
  55. local b = io.UserInputState == Enum.UserInputState.Begin
  56. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  57. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  58. end
  59. for _,t in pairs(CAS.Actions) do
  60. for _,k in pairs(t.Keys) do
  61. if k==io.KeyCode then
  62. t.Function(t.Name,io.UserInputState,io)
  63. end
  64. end
  65. end
  66. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  67. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  68. end
  69. end)
  70. Event.Parent = NLS([==[
  71. local Player = game:GetService("Players").LocalPlayer
  72. local Event = script:WaitForChild("UserInput_Event")
  73.  
  74. local Mouse = Player:GetMouse()
  75. local UIS = game:GetService("UserInputService")
  76. local input = function(io,a)
  77. if a then return end
  78. --Since InputObject is a client-side instance, we create and pass table instead
  79. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  80. end
  81. UIS.InputBegan:Connect(input)
  82. UIS.InputEnded:Connect(input)
  83.  
  84. local h,t
  85. --Give the server mouse data 30 times every second, but only if the values changed
  86. --If player is not moving their mouse, client won't fire events
  87. while wait(1/30) do
  88. if h~=Mouse.Hit or t~=Mouse.Target then
  89. h,t=Mouse.Hit,Mouse.Target
  90. Event:FireServer({isMouse=true,Target=t,Hit=h})
  91. end
  92. end]==],Player.Character)
  93.  
  94. ----Sandboxed game object that allows the usage of client-side methods and services
  95. --Real game object
  96. local _rg = game
  97.  
  98. --Metatable for fake service
  99. local fsmt = {
  100. __index = function(self,k)
  101. local s = rawget(self,"_RealService")
  102. if s then return s[k] end
  103. end,
  104. __newindex = function(self,k,v)
  105. local s = rawget(self,"_RealService")
  106. if s then s[k]=v end
  107. end,
  108. __call = function(self,...)
  109. local s = rawget(self,"_RealService")
  110. if s then return s(...) end
  111. end
  112. }
  113. local function FakeService(t,RealService)
  114. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  115. return setmetatable(t,fsmt)
  116. end
  117.  
  118. --Fake game object
  119. local g = {
  120. GetService = function(self,s)
  121. return self[s]
  122. end,
  123. Players = FakeService({
  124. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  125. },"Players"),
  126. UserInputService = FakeService(UIS,"UserInputService"),
  127. ContextActionService = FakeService(CAS,"ContextActionService"),
  128. }
  129. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  130. g.service = g.GetService
  131.  
  132. g.RunService = FakeService({
  133. RenderStepped = _rg:GetService("RunService").Heartbeat,
  134. BindToRenderStep = function(self,name,_,fun)
  135.  
  136. end,
  137. UnbindFromRenderStep = function(self,name)
  138. self._btrs[name]:Disconnect()
  139. end,
  140. },"RunService")
  141.  
  142. setmetatable(g,{
  143. __index=function(self,s)
  144. return _rg:GetService(s) or typeof(_rg[s])=="function"
  145. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  146. end,
  147. __newindex = fsmt.__newindex,
  148. __call = fsmt.__call
  149. })
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = g,g.Players.LocalPlayer
  152. end
  153.  
  154. script:ClearAllChildren()
  155. wait(0.2)
  156.  
  157. Player = game:GetService("Players").LocalPlayer
  158. PlayerGui = Player.PlayerGui
  159. Cam = workspace.CurrentCamera
  160. Backpack = Player.Backpack
  161. Character = Player.Character
  162. Humanoid = Character.Humanoid
  163. Mouse = Player:GetMouse()
  164. RootPart = Character["HumanoidRootPart"]
  165. Torso = Character["Torso"]
  166. Head = Character["Head"]
  167. RightArm = Character["Right Arm"]
  168. LeftArm = Character["Left Arm"]
  169. RightLeg = Character["Right Leg"]
  170. LeftLeg = Character["Left Leg"]
  171. RootJoint = RootPart["RootJoint"]
  172. Neck = Torso["Neck"]
  173. RightShoulder = Torso["Right Shoulder"]
  174. LeftShoulder = Torso["Left Shoulder"]
  175. RightHip = Torso["Right Hip"]
  176. LeftHip = Torso["Left Hip"]
  177. print('User: '..Player.Name)
  178. print('Enjoy this Edit ;D')
  179. local sick = Instance.new("Sound",Character)
  180. sick.Parent = Character
  181. sick:resume()
  182. sick.Volume = 5
  183. sick.Pitch = 0.75
  184. sick.Looped = true
  185. sick.SoundId = "rbxassetid://861171230"
  186. sick.Name = ""
  187. -------------Name Tag Stuff.------------------------
  188. local naeeym = Instance.new("BillboardGui",Character)
  189. naeeym.Size = UDim2.new(0,100,0,40)
  190. naeeym.StudsOffset = Vector3.new(0,2,0)
  191. naeeym.Adornee = Character.Head
  192. local tecks = Instance.new("TextLabel",naeeym)
  193. tecks.BackgroundTransparency = 1
  194. tecks.BorderSizePixel = 0
  195. tecks.Text = "Silencer"
  196. tecks.Font = "Fantasy"
  197. tecks.FontSize = "Size24"
  198. tecks.TextStrokeTransparency = 0
  199. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  200. tecks.TextColor3 = Color3.new(1,1,1)
  201. tecks.Size = UDim2.new(1,0,0.5,0)
  202. ----------------------------------------------------
  203.  
  204. IT = Instance.new
  205. CF = CFrame.new
  206. VT = Vector3.new
  207. RAD = math.rad
  208. C3 = Color3.new
  209. UD2 = UDim2.new
  210. BRICKC = BrickColor.new
  211. ANGLES = CFrame.Angles
  212. EULER = CFrame.fromEulerAnglesXYZ
  213. COS = math.cos
  214. ACOS = math.acos
  215. SIN = math.sin
  216. ASIN = math.asin
  217. ABS = math.abs
  218. MRANDOM = math.random
  219. FLOOR = math.floor
  220.  
  221. local sky = Instance.new('Sky', game:GetService'Lighting')
  222. sky.SkyboxBk = "rbxassetid://48020371"
  223. sky.SkyboxDn = "rbxassetid://48020144"
  224. sky.SkyboxFt = "rbxassetid://48020234"
  225. sky.SkyboxLf = "rbxassetid://48020211"
  226. sky.SkyboxRt = "rbxassetid://48020254"
  227. sky.SkyboxUp = "rbxassetid://48020383"
  228. sky.StarCount = 3000
  229. sky.SunAngularSize = 0
  230. sky.MoonAngularSize = 11
  231. sky.MoonTextureId = "rbxasset://sky/moon.jpg"
  232. sky.CelestialBodiesShown = false
  233.  
  234. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  235.  
  236. --//=================================\\
  237. --|| USEFUL VALUES
  238. --\\=================================//
  239.  
  240. Player_Size = 1
  241. Animation_Speed = 3
  242. local FORCERESET = false
  243. local Effects2 = {}
  244. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  245. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  246. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  247. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  248. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  249. local DAMAGEMULTIPLIER = 1
  250. local SIZE = 1
  251. local ANIM = "Idle"
  252. local ATTACK = false
  253. local EQUIPPED = false
  254. local HOLD = false
  255. local COMBO = 1
  256. local Rooted = false
  257. local SINE = 0
  258. local KEYHOLD = false
  259. local CHANGE = 2 / Animation_Speed
  260. local WALKINGANIM = false
  261. local VALUE1 = false
  262. local VALUE2 = false
  263. local ROBLOXIDLEANIMATION = IT("Animation")
  264. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  265. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  266. --ROBLOXIDLEANIMATION.Parent = Humanoid
  267. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  268. WEAPONGUI.Name = "BanishV3Gui"
  269. local Weapon = IT("Model")
  270. Weapon.Name = "Adds"
  271. local Effects = IT("Folder", Weapon)
  272. Effects.Name = "Effects"
  273. local ANIMATOR = Humanoid.Animator
  274. local ANIMATE = Character:FindFirstChild("Animate")
  275. local UNANCHOR = true
  276. local TOBANISH = {}
  277. local ROAR = {528589078,528589175,528589274,528589382}
  278. script.Parent = PlayerGui
  279.  
  280. --//=================================\\
  281. --\\=================================//
  282.  
  283. local Speed = 18
  284.  
  285. --//=================================\\
  286. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  287. --\\=================================//
  288.  
  289. ArtificialHB = Instance.new("BindableEvent", script)
  290. ArtificialHB.Name = "ArtificialHB"
  291.  
  292. script:WaitForChild("ArtificialHB")
  293.  
  294. frame = Frame_Speed
  295. tf = 0
  296. allowframeloss = false
  297. tossremainder = false
  298. lastframe = tick()
  299. script.ArtificialHB:Fire()
  300.  
  301. game:GetService("RunService").Heartbeat:connect(function(s, p)
  302. tf = tf + s
  303. if tf >= frame then
  304. if allowframeloss then
  305. script.ArtificialHB:Fire()
  306. lastframe = tick()
  307. else
  308. for i = 1, math.floor(tf / frame) do
  309. script.ArtificialHB:Fire()
  310. end
  311. lastframe = tick()
  312. end
  313. if tossremainder then
  314. tf = 0
  315. else
  316. tf = tf - frame * math.floor(tf / frame)
  317. end
  318. end
  319. end)
  320.  
  321. --//=================================\\
  322. --\\=================================//
  323.  
  324. --//=================================\\
  325. --|| SOME FUNCTIONS
  326. --\\=================================//
  327.  
  328. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  329. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  330. end
  331.  
  332. function PositiveAngle(NUMBER)
  333. if NUMBER >= 0 then
  334. NUMBER = 0
  335. end
  336. return NUMBER
  337. end
  338.  
  339. function NegativeAngle(NUMBER)
  340. if NUMBER <= 0 then
  341. NUMBER = 0
  342. end
  343. return NUMBER
  344. end
  345.  
  346. function Swait(NUMBER)
  347. if NUMBER == 0 or NUMBER == nil then
  348. ArtificialHB.Event:wait()
  349. else
  350. for i = 1, NUMBER do
  351. ArtificialHB.Event:wait()
  352. end
  353. end
  354. end
  355.  
  356. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  357. local NEWMESH = IT(MESH)
  358. if MESH == "SpecialMesh" then
  359. NEWMESH.MeshType = MESHTYPE
  360. if MESHID ~= "nil" and MESHID ~= "" then
  361. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  362. end
  363. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  364. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  365. end
  366. end
  367. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  368. NEWMESH.Scale = SCALE
  369. NEWMESH.Parent = PARENT
  370. return NEWMESH
  371. end
  372.  
  373. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  374. local NEWPART = IT("Part")
  375. NEWPART.formFactor = FORMFACTOR
  376. NEWPART.Reflectance = REFLECTANCE
  377. NEWPART.Transparency = TRANSPARENCY
  378. NEWPART.CanCollide = false
  379. NEWPART.Locked = true
  380. NEWPART.Anchored = true
  381. if ANCHOR == false then
  382. NEWPART.Anchored = false
  383. end
  384. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  385. NEWPART.Name = NAME
  386. NEWPART.Size = SIZE
  387. NEWPART.Position = Torso.Position
  388. NEWPART.Material = MATERIAL
  389. NEWPART:BreakJoints()
  390. NEWPART.Parent = PARENT
  391. return NEWPART
  392. end
  393.  
  394. local function weldBetween(a, b)
  395. local weldd = Instance.new("ManualWeld")
  396. weldd.Part0 = a
  397. weldd.Part1 = b
  398. weldd.C0 = CFrame.new()
  399. weldd.C1 = b.CFrame:inverse() * a.CFrame
  400. weldd.Parent = a
  401. return weldd
  402. end
  403.  
  404.  
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5 / s
  411. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  412. else
  413. local i = 0
  414. if m11 > m00 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00 - m11 - m22 + 1)
  422. local recip = 0.5 / s
  423. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11 - m22 - m00 + 1)
  426. local recip = 0.5 / s
  427. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22 - m00 - m11 + 1)
  430. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  431. end
  432. end
  433. end
  434.  
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w * xs, w * ys, w * zs
  438. local xx = x * xs
  439. local xy = x * ys
  440. local xz = x * zs
  441. local yy = y * ys
  442. local yz = y * zs
  443. local zz = z * zs
  444. 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))
  445. end
  446.  
  447. function QuaternionSlerp(a, b, t)
  448. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  449. local startInterp, finishInterp;
  450. if cosTheta >= 0.0001 then
  451. if (1 - cosTheta) > 0.0001 then
  452. local theta = ACOS(cosTheta)
  453. local invSinTheta = 1 / SIN(theta)
  454. startInterp = SIN((1 - t) * theta) * invSinTheta
  455. finishInterp = SIN(t * theta) * invSinTheta
  456. else
  457. startInterp = 1 - t
  458. finishInterp = t
  459. end
  460. else
  461. if (1 + cosTheta) > 0.0001 then
  462. local theta = ACOS(-cosTheta)
  463. local invSinTheta = 1 / SIN(theta)
  464. startInterp = SIN((t - 1) * theta) * invSinTheta
  465. finishInterp = SIN(t * theta) * invSinTheta
  466. else
  467. startInterp = t - 1
  468. finishInterp = t
  469. end
  470. end
  471. 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
  472. end
  473.  
  474. function Clerp(a, b, t)
  475. local qa = {QuaternionFromCFrame(a)}
  476. local qb = {QuaternionFromCFrame(b)}
  477. local ax, ay, az = a.x, a.y, a.z
  478. local bx, by, bz = b.x, b.y, b.z
  479. local _t = 1 - t
  480. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  481. end
  482.  
  483. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  484. local frame = IT("Frame")
  485. frame.BackgroundTransparency = TRANSPARENCY
  486. frame.BorderSizePixel = BORDERSIZEPIXEL
  487. frame.Position = POSITION
  488. frame.Size = SIZE
  489. frame.BackgroundColor3 = COLOR
  490. frame.BorderColor3 = BORDERCOLOR
  491. frame.Name = NAME
  492. frame.Parent = PARENT
  493. return frame
  494. end
  495.  
  496. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  497. local label = IT("TextLabel")
  498. label.BackgroundTransparency = 1
  499. label.Size = UD2(1, 0, 1, 0)
  500. label.Position = UD2(0, 0, 0, 0)
  501. label.TextColor3 = TEXTCOLOR
  502. label.TextStrokeTransparency = STROKETRANSPARENCY
  503. label.TextTransparency = TRANSPARENCY
  504. label.FontSize = TEXTFONTSIZE
  505. label.Font = TEXTFONT
  506. label.BorderSizePixel = BORDERSIZEPIXEL
  507. label.TextScaled = false
  508. label.Text = TEXT
  509. label.Name = NAME
  510. label.Parent = PARENT
  511. return label
  512. end
  513.  
  514. function NoOutlines(PART)
  515. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  516. end
  517.  
  518. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  519. local NEWWELD = IT(TYPE)
  520. NEWWELD.Part0 = PART0
  521. NEWWELD.Part1 = PART1
  522. NEWWELD.C0 = C0
  523. NEWWELD.C1 = C1
  524. NEWWELD.Parent = PARENT
  525. return NEWWELD
  526. end
  527. local S = IT("Sound")
  528. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  529. local NEWSOUND = nil
  530. coroutine.resume(coroutine.create(function()
  531. NEWSOUND = S:Clone()
  532. NEWSOUND.Parent = PARENT
  533. NEWSOUND.Volume = VOLUME
  534. NEWSOUND.Pitch = PITCH
  535. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  536. NEWSOUND:play()
  537. if DOESLOOP == true then
  538. NEWSOUND.Looped = true
  539. else
  540. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  541. NEWSOUND:remove()
  542. end
  543. end))
  544. return NEWSOUND
  545. end
  546.  
  547. function CFrameFromTopBack(at, top, back)
  548. local right = top:Cross(back)
  549. 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)
  550. end
  551.  
  552. --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})
  553. function WACKYEFFECT(Table)
  554. local TYPE = (Table.EffectType or "Sphere")
  555. local SIZE = (Table.Size or VT(1,1,1))
  556. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  557. local TRANSPARENCY = (Table.Transparency or 0)
  558. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  559. local CFRAME = (Table.CFrame or Torso.CFrame)
  560. local MOVEDIRECTION = (Table.MoveToPos or nil)
  561. local ROTATION1 = (Table.RotationX or 0)
  562. local ROTATION2 = (Table.RotationY or 0)
  563. local ROTATION3 = (Table.RotationZ or 0)
  564. local MATERIAL = (Table.Material or "Neon")
  565. local COLOR = (Table.Color or C3(1,1,1))
  566. local TIME = (Table.Time or 45)
  567. local SOUNDID = (Table.SoundID or nil)
  568. local SOUNDPITCH = (Table.SoundPitch or nil)
  569. local SOUNDVOLUME = (Table.SoundVolume or nil)
  570. coroutine.resume(coroutine.create(function()
  571. local PLAYSSOUND = false
  572. local SOUND = nil
  573. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  574. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  575. PLAYSSOUND = true
  576. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  577. end
  578. EFFECT.Color = COLOR
  579. local MSH = nil
  580. if TYPE == "Sphere" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  582. elseif TYPE == "Block" then
  583. MSH = IT("BlockMesh",EFFECT)
  584. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  585. elseif TYPE == "Wave" then
  586. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  587. elseif TYPE == "Ring" then
  588. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  589. elseif TYPE == "Slash" then
  590. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  591. elseif TYPE == "Round Slash" then
  592. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  593. elseif TYPE == "Swirl" then
  594. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  595. elseif TYPE == "Skull" then
  596. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  597. elseif TYPE == "Crystal" then
  598. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  599. end
  600. if MSH ~= nil then
  601. local MOVESPEED = nil
  602. if MOVEDIRECTION ~= nil then
  603. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  604. end
  605. local GROWTH = SIZE - ENDSIZE
  606. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  607. if TYPE == "Block" then
  608. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  609. else
  610. EFFECT.CFrame = CFRAME
  611. end
  612. for LOOP = 1, TIME+1 do
  613. Swait()
  614. MSH.Scale = MSH.Scale - GROWTH/TIME
  615. if TYPE == "Wave" then
  616. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  617. end
  618. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  619. if TYPE == "Block" then
  620. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  621. else
  622. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  623. end
  624. if MOVEDIRECTION ~= nil then
  625. local ORI = EFFECT.Orientation
  626. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  627. EFFECT.Orientation = ORI
  628. end
  629. end
  630. if PLAYSSOUND == false then
  631. EFFECT:remove()
  632. else
  633. SOUND.Stopped:Connect(function()
  634. EFFECT:remove()
  635. end)
  636. end
  637. else
  638. if PLAYSSOUND == false then
  639. EFFECT:remove()
  640. else
  641. repeat Swait() until SOUND.Playing == false
  642. EFFECT:remove()
  643. end
  644. end
  645. end))
  646. end
  647.  
  648. function MakeForm(PART,TYPE)
  649. if TYPE == "Cyl" then
  650. local MSH = IT("CylinderMesh",PART)
  651. elseif TYPE == "Ball" then
  652. local MSH = IT("SpecialMesh",PART)
  653. MSH.MeshType = "Sphere"
  654. elseif TYPE == "Wedge" then
  655. local MSH = IT("SpecialMesh",PART)
  656. MSH.MeshType = "Wedge"
  657. end
  658. end
  659.  
  660. function SpawnTrail(FROM,TO,BIG)
  661. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Trail", VT(0,0,0))
  662. MakeForm(TRAIL,"Cyl")
  663. local DIST = (FROM - TO).Magnitude
  664. if BIG == true then
  665. TRAIL.Size = VT(4.5,DIST,4.5)
  666. else
  667. TRAIL.Size = VT(4.5,DIST,4.5)
  668. end
  669. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  670. coroutine.resume(coroutine.create(function()
  671. for i = 1, 5 do
  672. Swait()
  673. TRAIL.Transparency = TRAIL.Transparency + 0.1
  674. end
  675. TRAIL:remove()
  676. end))
  677. end
  678.  
  679. function SpawnTrail0(FROM,TO,BIG)
  680. local TRAIL0 = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Trail", VT(1,1,1))
  681. MakeForm(TRAIL0,"Cyl")
  682. local DIST = (FROM - TO).Magnitude
  683. if BIG == true then
  684. TRAIL0.Size = VT(0.75,DIST,0.75)
  685. else
  686. TRAIL0.Size = VT(0.65,DIST,0.65)
  687. end
  688. TRAIL0.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  689. coroutine.resume(coroutine.create(function()
  690. for i = 1, 5 do
  691. Swait()
  692. TRAIL0.Transparency = TRAIL0.Transparency + 0.1
  693. end
  694. TRAIL0:remove()
  695. end))
  696. end
  697.  
  698. Debris = game:GetService("Debris")
  699.  
  700. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  701. local DIRECTION = CF(StartPos,EndPos).lookVector
  702. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  703. end
  704.  
  705. function turnto(position)
  706. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  707. end
  708.  
  709. function swait(num)
  710. if num == 0 or num == nil then
  711. ArtificialHB.Event:wait()
  712. else
  713. for i = 0, num do
  714. ArtificialHB.Event:wait()
  715. end
  716. end
  717. end
  718.  
  719. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  720. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  721. local mesh = IT("SpecialMesh",wave)
  722. mesh.MeshType = "FileMesh"
  723. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  724. mesh.Scale = SIZE
  725. mesh.Offset = VT(0,0,0)
  726. wave.CFrame = CFRAME
  727. coroutine.resume(coroutine.create(function(PART)
  728. for i = 1, WAIT do
  729. Swait()
  730. mesh.Scale = mesh.Scale + GROW
  731. if DOESROT == true then
  732. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  733. end
  734. wave.Transparency = wave.Transparency + (0.5/WAIT)
  735. if wave.Transparency > 0.99 then
  736. wave:remove()
  737. end
  738. end
  739. end))
  740. end
  741.  
  742. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  743. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  744. local mesh = IT("SpecialMesh",wave)
  745. mesh.MeshType = "Sphere"
  746. mesh.Scale = SIZE
  747. mesh.Offset = VT(0,0,0)
  748. wave.CFrame = CFRAME
  749. coroutine.resume(coroutine.create(function(PART)
  750. for i = 1, WAIT do
  751. Swait()
  752. mesh.Scale = mesh.Scale + GROW
  753. wave.Transparency = wave.Transparency + (1/WAIT)
  754. if wave.Transparency > 0.99 then
  755. wave:remove()
  756. end
  757. end
  758. end))
  759. end
  760.  
  761. function chatfunc(text)
  762. local chat = coroutine.wrap(function()
  763. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  764. Character:FindFirstChild("TalkingBillBoard"):destroy()
  765. end
  766. local Bill = Instance.new("BillboardGui",Character)
  767. Bill.Size = UDim2.new(0,100,0,40)
  768. Bill.StudsOffset = Vector3.new(0,3,0)
  769. Bill.Adornee = Character.Head
  770. Bill.Name = "TalkingBillBoard"
  771. local Hehe = Instance.new("TextLabel",Bill)
  772. Hehe.BackgroundTransparency = 1
  773. Hehe.BorderSizePixel = 0
  774. Hehe.Text = ""
  775. Hehe.Font = "Fantasy"
  776. Hehe.TextSize = 40
  777. Hehe.TextStrokeTransparency = 0
  778. Hehe.Size = UDim2.new(1,0,0.5,0)
  779. coroutine.resume(coroutine.create(function()
  780. while Hehe ~= nil do
  781. swait()
  782. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  783. Hehe.Rotation = math.random(-5,5)
  784. Hehe.TextColor3 = Color3.new(17,17,17)
  785. Hehe.TextStrokeColor3 = Color3.new(17,17,17)
  786. end
  787. end))
  788. for i = 1,string.len(text),1 do
  789. swait()
  790. Hehe.Text = string.sub(text,1,i)
  791. end
  792. swait(90)--Re[math.random(1, 93)]
  793. for i = 0, 1, .025 do
  794. swait()
  795. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  796. Hehe.TextStrokeTransparency = i
  797. Hehe.TextTransparency = i
  798. end
  799. Bill:Destroy()
  800. end)
  801. chat()
  802. end
  803.  
  804. function CheckTableForString(Table, String)
  805. for i, v in pairs(Table) do
  806. if string.find(string.lower(String), string.lower(v)) then
  807. return true
  808. end
  809. end
  810. return false
  811. end
  812.  
  813. function CheckIntangible(Hit)
  814. local ProjectileNames = {
  815. "Water",
  816. "Arrow",
  817. "Projectile",
  818. "Effect",
  819. "Rail",
  820. "Lightning",
  821. "Bullet"
  822. }
  823. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  824. return true
  825. end
  826. return false
  827. end
  828.  
  829. --//=================================\\
  830. --|| WEAPON CREATION
  831. --\\=================================//
  832.  
  833. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Scarf", VT(1,1,1),false)
  834. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  835. PRT.Color = C3(0,0,0)
  836. for i = 1, 35 do
  837. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  838. FACE.Color = C3(0,0,0)
  839. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  840. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  841. end
  842. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Scarf", VT(1,1,1),false)
  843. PRT.Color = C3(0,0,0)
  844. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  845. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  846. local EyePiece1 = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "EyePiece1", VT(0.6,0.1,1)/2,false)
  847. MakeForm(EyePiece1,"Ball")
  848. CreateWeldOrSnapOrMotor("Weld", EyePiece1, Head, EyePiece1, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  849. local EyePiece2 = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "EyePiece2", VT(0.1,1,1)/2,false)
  850. MakeForm(EyePiece2,"Ball")
  851. CreateWeldOrSnapOrMotor("Weld", EyePiece2, Head, EyePiece2, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  852. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  853. PRT.Color = C3(0,0,0)
  854. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,0), CF(0, 0, 0))
  855. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "Eggplant", VT(1,1,1)*1.05, VT(0,0,0))
  856. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "", "Scarf", VT(1,1,1),false)
  857. PRT.Color = C3(0,0,0)
  858. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  859. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  860. for i = 1, 16 do
  861. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Eggplant", "FaceGradient", VT(1.01,0.65,1.01),false)
  862. FACE.Color = C3(57,255,20)
  863. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  864. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  865. end
  866.  
  867. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  868. if FLOOR ~= nil then
  869. coroutine.resume(coroutine.create(function()
  870. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  871. PART.CFrame = CF(POSITION)
  872. for i = 1, 45 do
  873. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  874. RingPiece.Material = FLOOR.Material
  875. RingPiece.Color = FLOOR.Color
  876. 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)))
  877. Debris:AddItem(RingPiece, SWAIT)
  878. end
  879. PART:remove()
  880. end))
  881. end
  882. end
  883. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  884. if FLOOR ~= nil then
  885. for i = 1, AMOUNT do
  886. do
  887. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  888. DEBREE.Material = FLOOR.Material
  889. DEBREE.Color = FLOOR.Color
  890. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  891. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  892. coroutine.resume(coroutine.create(function()
  893. Swait(15)
  894. DEBREE.Parent = workspace
  895. DEBREE.CanCollide = true
  896. Debris:AddItem(DEBREE, SWAIT)
  897. end))
  898. end
  899. end
  900. end
  901. end
  902.  
  903. local Particle = IT("ParticleEmitter",nil)
  904. Particle.Enabled = false
  905. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  906. Particle.LightEmission = 0.88
  907. Particle.Rate = 250
  908. Particle.ZOffset = 0.2
  909. Particle.Rotation = NumberRange.new(-180, 180)
  910. Particle.RotSpeed = NumberRange.new(-180, 180)
  911. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  912. Particle.Color = ColorSequence.new(C3(255,255,255),C3(255,255,255))
  913.  
  914. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  915. function ParticleEmitter(Table)
  916. local PRTCL = Particle:Clone()
  917. local Speed = Table.Speed or 5
  918. local Drag = Table.Drag or 0
  919. local Size1 = Table.Size1 or 1
  920. local Size2 = Table.Size2 or 5
  921. local Lifetime1 = Table.Lifetime1 or 1
  922. local Lifetime2 = Table.Lifetime2 or 1.5
  923. local Parent = Table.Parent or Torso
  924. local Emit = Table.Emit or 100
  925. local Offset = Table.Offset or 360
  926. local Acel = Table.Acel or VT(0,0,0)
  927. local Enabled = Table.Enabled or false
  928. PRTCL.Parent = Parent
  929. PRTCL.Size = NumberSequence.new(Size1,Size2)
  930. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  931. PRTCL.Speed = NumberRange.new(Speed)
  932. PRTCL.VelocitySpread = Offset
  933. PRTCL.Drag = Drag
  934. PRTCL.Acceleration = Acel
  935. if Enabled == false then
  936. PRTCL:Emit(Emit)
  937. Debris:AddItem(PRTCL,Lifetime2)
  938. else
  939. PRTCL.Enabled = true
  940. end
  941. return PRTCL
  942. end
  943.  
  944. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  945. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  946. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  947. MakeForm(Part,"Wedge")
  948. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  949. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  950. MakeForm(Part,"Wedge")
  951. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  955. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  956. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  957. MakeForm(Part,"Cyl")
  958. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  959. for i = 1, 8 do
  960. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  961. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  962. end
  963. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  964. MakeForm(Part,"Cyl")
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  966. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  967. MakeForm(Part,"Ball")
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  969. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  970. MakeForm(Part,"Wedge")
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  972. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  973. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  974. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  975. MakeForm(Part,"Cyl")
  976. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * 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.5,0.1,0.5),false)
  978. MakeForm(Part,"Cyl")
  979. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  980. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  981. MakeForm(Part,"Cyl")
  982. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  983. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  984. MakeForm(Part,"Wedge")
  985. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  986. local LASTPART = Handle
  987. for i = 1, 10 do
  988. if LASTPART == Handle then
  989. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  990. LASTPART = Part
  991. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  992. else
  993. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  994. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  995. LASTPART = Part
  996. end
  997. end
  998.  
  999. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1000. MakeForm(Barrel,"Cyl")
  1001. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1002. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1003. MakeForm(Part,"Cyl")
  1004. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1005. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1006. MakeForm(Part,"Wedge")
  1007. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1008. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1009. MakeForm(Hole,"Cyl")
  1010. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1011. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1012. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1013. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1014. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1015. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1016. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1017. coroutine.resume(coroutine.create(function()
  1018. while wait() do
  1019. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1020. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1021. end
  1022. end))
  1023.  
  1024. 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)})
  1025. --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)})
  1026.  
  1027. for _, c in pairs(Weapon:GetDescendants()) do
  1028. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1029. c.Material = "Glass"
  1030. c.Color = C3(0,0,0)
  1031. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1032. c.Color = C3(1,1,1)
  1033. c.Material = "Neon"
  1034. end
  1035. end
  1036.  
  1037. Weapon.Parent = Character
  1038. for _, c in pairs(Weapon:GetChildren()) do
  1039. if c.ClassName == "Part" then
  1040. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1041. end
  1042. end
  1043.  
  1044. local SKILLTEXTCOLOR = C3(1,1,1)
  1045. local SKILLFONT = "Bodoni"
  1046. local SKILLTEXTSIZE = 5
  1047.  
  1048. Humanoid.Died:connect(function()
  1049. ATTACK = true
  1050. end)
  1051. Humanoid.Died:connect(function()
  1052. Humanoid.Parent = nil
  1053. chatfunc("I don't have any crimes to DIE!")
  1054. ApplyAoE(RootPart, 955, 9999, 9999, 9999, true)
  1055. Humanoid.Name = "DEAD!"
  1056. Humanoid.MaxHealth = 16e+16
  1057. Humanoid.Health = 16e+16
  1058. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Eggplant",VT(10,10,10))
  1059. CreateSound("178452217", Effects, 10, 1)
  1060. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Eggplant",VT(500,500,500))
  1061. end)
  1062.  
  1063. 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")
  1064. 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")
  1065. 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")
  1066. 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")
  1067. 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")
  1068. 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")
  1069.  
  1070. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "Z - Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1071. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "X - Pure Heaven", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1072. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "F - Heaven's Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1073. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "V - Gates Of Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1074. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "C - ROAR", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1075. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Q - Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1076.  
  1077. workspace.ChildAdded:connect(function(instance)
  1078. for BANISH = 1, #TOBANISH do
  1079. if TOBANISH[BANISH] ~= nil then
  1080. if instance.Name == TOBANISH[BANISH] then
  1081. coroutine.resume(coroutine.create(function()
  1082. printbye(instance.Name)
  1083. instance:ClearAllChildren()
  1084. Debris:AddItem(instance,0.0005)
  1085. end))
  1086. end
  1087. end
  1088. end
  1089. end)
  1090.  
  1091. --//=================================\\
  1092. --|| DAMAGING
  1093. --\\=================================//
  1094.  
  1095. function Banish(Foe)
  1096. if Foe then
  1097. coroutine.resume(coroutine.create(function()
  1098. --if game.Players:FindFirstChild(Foe.Name) then
  1099. table.insert(TOBANISH,Foe.Name)
  1100. printbye(Foe.Name)
  1101. --end
  1102. Foe.Archivable = true
  1103. local CLONE = Foe:Clone()
  1104. Foe:Destroy()
  1105. CLONE.Parent = Effects
  1106. CLONE:BreakJoints()
  1107. local MATERIALS = {"Glass","Neon"}
  1108. for _, c in pairs(CLONE:GetDescendants()) do
  1109. if c:IsA("BasePart") then
  1110. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1111. CreateSound(340722848, c, 10, 1, false)
  1112. end
  1113. c.Anchored = true
  1114. c.Transparency = c.Transparency + 0.2
  1115. c.Material = MATERIALS[MRANDOM(1,2)]
  1116. c.Color = C3(1 ,1 ,1)
  1117. if c.ClassName == "MeshPart" then
  1118. c.TextureID = ""
  1119. end
  1120. if c:FindFirstChildOfClass("SpecialMesh") then
  1121. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1122. end
  1123. if c:FindFirstChildOfClass("Decal") then
  1124. c:FindFirstChildOfClass("Decal"):remove()
  1125. end
  1126. c.Name = "Banished"
  1127. c.CanCollide = false
  1128. else
  1129. c:remove()
  1130. end
  1131. end
  1132. local A = false
  1133. for i = 1, 35 do
  1134. if A == false then
  1135. A = true
  1136. elseif A == true then
  1137. A = false
  1138. end
  1139. for _, c in pairs(CLONE:GetDescendants()) do
  1140. if c:IsA("BasePart") then
  1141. c.Anchored = true
  1142. c.Material = MATERIALS[MRANDOM(1,2)]
  1143. c.Transparency = c.Transparency + 0.8/35
  1144. if A == false then
  1145. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1146. elseif A == true then
  1147. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1148. end
  1149. end
  1150. end
  1151. Swait()
  1152. end
  1153. CLONE:remove()
  1154. end))
  1155. end
  1156. end
  1157.  
  1158. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1159. local CHILDREN = workspace:GetDescendants()
  1160. for index, CHILD in pairs(CHILDREN) do
  1161. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1162. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1163. if HUM then
  1164. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1165. if TORSO then
  1166. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1167. if ISBANISH == true then
  1168. Banish(CHILD)
  1169. else
  1170. if ISBANISH == "Gravity" then
  1171. HUM.PlatformStand = true
  1172. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1173. local grav = Instance.new("BodyPosition",TORSO)
  1174. grav.D = 15
  1175. grav.P = 20000
  1176. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1177. grav.position = TORSO.Position
  1178. grav.Name = "V3BanishForce"..Player.Name
  1179. else
  1180. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1181. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1182. end
  1183. else
  1184. HUM.PlatformStand = false
  1185. end
  1186. end
  1187. elseif ISBANISH == "Gravity" then
  1188. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1189. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1190. HUM.PlatformStand = false
  1191. end
  1192. end
  1193. end
  1194. end
  1195. end
  1196. end
  1197. end
  1198. function recurse(root,callback,i)
  1199. i= i or 0
  1200. for _,v in pairs(root:GetChildren()) do
  1201. i = i + 1
  1202. callback(i,v)
  1203.  
  1204. if #v:GetChildren() > 0 then
  1205. i = recurse(v,callback,i)
  1206. end
  1207. end
  1208.  
  1209. return i
  1210. end
  1211. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  1212. attachmentName = attachmentName.."RigAttachment"
  1213. local constraint = Instance.new(className.."Constraint")
  1214. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  1215. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  1216. constraint.Name = "RagdollConstraint"..part1.Name
  1217.  
  1218. for _,propertyData in next,properties or {} do
  1219. constraint[propertyData[1]] = propertyData[2]
  1220. end
  1221.  
  1222. constraint.Parent = character
  1223. end
  1224. function getAttachment0(character, attachmentName)
  1225. for _,child in next,character:GetChildren() do
  1226. local attachment = child:FindFirstChild(attachmentName)
  1227. if attachment then
  1228. return attachment
  1229. end
  1230. end
  1231. end
  1232.  
  1233. function ArtificialHitbox(Part)
  1234. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  1235. HITBOX.CanCollide = true
  1236. HITBOX.CFrame = Part.CFrame
  1237. weldBetween(Part,HITBOX)
  1238. end
  1239. function R15Ragdoll(character,KeepArms)
  1240. character:BreakJoints()
  1241. coroutine.resume(coroutine.create(function()
  1242. recurse(character, function(_,v)
  1243. if v:IsA("Attachment") then
  1244. v.Axis = Vector3.new(0, 1, 0)
  1245. v.SecondaryAxis = Vector3.new(0, 0, 1)
  1246. v.Rotation = Vector3.new(0, 0, 0)
  1247. end
  1248. end)
  1249. for _,child in next,character:GetChildren() do
  1250. if child:IsA("Accoutrement") then
  1251. for _,part in next,child:GetChildren() do
  1252. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1253. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1254. local attachment0 = getAttachment0(character,attachment1.Name)
  1255. if attachment0 and attachment1 then
  1256. local constraint = Instance.new("HingeConstraint")
  1257. constraint.Attachment0 = attachment0
  1258. constraint.Attachment1 = attachment1
  1259. constraint.LimitsEnabled = true
  1260. constraint.UpperAngle = 0
  1261. constraint.LowerAngle = 0
  1262. constraint.Parent = character
  1263. end
  1264. ArtificialHitbox(part)
  1265. elseif part.Name == "HumanoidRootPart" then
  1266. part:remove()
  1267. end
  1268. end
  1269. end
  1270. end
  1271.  
  1272. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1273. {"LimitsEnabled",true};
  1274. {"UpperAngle",5};
  1275. })
  1276. if character:FindFirstChild("Head") then
  1277. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1278. {"LimitsEnabled",true};
  1279. {"UpperAngle",15};
  1280. })
  1281. end
  1282.  
  1283. local handProperties = {
  1284. {"LimitsEnabled", true};
  1285. {"UpperAngle",0};
  1286. {"LowerAngle",0};
  1287. }
  1288. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1289. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1290.  
  1291. local shinProperties = {
  1292. {"LimitsEnabled", true};
  1293. {"UpperAngle", 0};
  1294. {"LowerAngle", -75};
  1295. }
  1296. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1297. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1298.  
  1299. local footProperties = {
  1300. {"LimitsEnabled", true};
  1301. {"UpperAngle", 15};
  1302. {"LowerAngle", -45};
  1303. }
  1304. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1305. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1306. if KeepArms == true then
  1307. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1308. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1309. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1310. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1311. end
  1312. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1313. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1314. Debris:AddItem(character,5)
  1315. end))
  1316. end
  1317.  
  1318. function Ragdoll(Character2,CharTorso,KeepArms)
  1319. coroutine.resume(coroutine.create(function()
  1320. Character2:BreakJoints()
  1321. local hum = Character2:findFirstChild("Humanoid")
  1322. hum:remove()
  1323. local function Scan(ch)
  1324. local e
  1325. for e = 1,#ch do
  1326. Scan(ch[e]:GetChildren())
  1327. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1328. ch[e]:remove()
  1329. end
  1330. end
  1331. end
  1332. local NEWHUM = IT("Humanoid")
  1333. NEWHUM.Name = "Corpse"
  1334. NEWHUM.Health = 0
  1335. NEWHUM.MaxHealth = 0
  1336. NEWHUM.PlatformStand = true
  1337. NEWHUM.Parent = Character2
  1338. NEWHUM.DisplayDistanceType = "None"
  1339.  
  1340. local ch = Character2:GetChildren()
  1341. local i
  1342. for i = 1,#ch do
  1343. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1344. ch[i]:remove()
  1345. end
  1346. end
  1347.  
  1348. local Torso2 = Character2.Torso
  1349. local movevector = Vector3.new()
  1350.  
  1351. if Torso2 then
  1352. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1353. local Head = Character2:FindFirstChild("Head")
  1354. if Head then
  1355. local Neck = Instance.new("Weld")
  1356. Neck.Name = "Neck"
  1357. Neck.Part0 = Torso2
  1358. Neck.Part1 = Head
  1359. Neck.C0 = CFrame.new(0, 1.5, 0)
  1360. Neck.C1 = CFrame.new()
  1361. Neck.Parent = Torso2
  1362.  
  1363. end
  1364. local Limb = Character2:FindFirstChild("Right Arm")
  1365. if Limb and KeepArms == true then
  1366.  
  1367. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1368. local Joint = Instance.new("Glue")
  1369. Joint.Name = "RightShoulder"
  1370. Joint.Part0 = Torso2
  1371. Joint.Part1 = Limb
  1372. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1373. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1374. Joint.Parent = Torso2
  1375.  
  1376. local B = Instance.new("Part")
  1377. B.TopSurface = 0
  1378. B.BottomSurface = 0
  1379. B.formFactor = "Symmetric"
  1380. B.Size = Vector3.new(1, 1, 1)
  1381. B.Transparency = 1
  1382. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1383. B.Parent = Character2
  1384. local W = Instance.new("Weld")
  1385. W.Part0 = Limb
  1386. W.Part1 = B
  1387. W.C0 = CFrame.new(0, -0.5, 0)
  1388. W.Parent = Limb
  1389.  
  1390. end
  1391. local Limb = Character2:FindFirstChild("Left Arm")
  1392. if Limb and KeepArms == true then
  1393.  
  1394. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1395. local Joint = Instance.new("Glue")
  1396. Joint.Name = "LeftShoulder"
  1397. Joint.Part0 = Torso2
  1398. Joint.Part1 = Limb
  1399. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1400. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1401. Joint.Parent = Torso2
  1402.  
  1403. local B = Instance.new("Part")
  1404. B.TopSurface = 0
  1405. B.BottomSurface = 0
  1406. B.formFactor = "Symmetric"
  1407. B.Size = Vector3.new(1, 1, 1)
  1408. B.Transparency = 1
  1409. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1410. B.Parent = Character2
  1411. local W = Instance.new("Weld")
  1412. W.Part0 = Limb
  1413. W.Part1 = B
  1414. W.C0 = CFrame.new(0, -0.5, 0)
  1415. W.Parent = Limb
  1416.  
  1417. end
  1418. local Limb = Character2:FindFirstChild("Right Leg")
  1419. if Limb then
  1420.  
  1421. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1422. local Joint = Instance.new("Glue")
  1423. Joint.Name = "RightHip"
  1424. Joint.Part0 = Torso2
  1425. Joint.Part1 = Limb
  1426. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1427. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1428. Joint.Parent = Torso2
  1429.  
  1430. local B = Instance.new("Part")
  1431. B.TopSurface = 0
  1432. B.BottomSurface = 0
  1433. B.formFactor = "Symmetric"
  1434. B.Size = Vector3.new(1, 1, 1)
  1435. B.Transparency = 1
  1436. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1437. B.Parent = Character2
  1438. local W = Instance.new("Weld")
  1439. W.Part0 = Limb
  1440. W.Part1 = B
  1441. W.C0 = CFrame.new(0, -0.5, 0)
  1442. W.Parent = Limb
  1443.  
  1444. end
  1445. local Limb = Character2:FindFirstChild("Left Leg")
  1446. if Limb then
  1447.  
  1448. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1449. local Joint = Instance.new("Glue")
  1450. Joint.Name = "LeftHip"
  1451. Joint.Part0 = Torso2
  1452. Joint.Part1 = Limb
  1453. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1454. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1455. Joint.Parent = Torso2
  1456.  
  1457. local B = Instance.new("Part")
  1458. B.TopSurface = 0
  1459. B.BottomSurface = 0
  1460. B.formFactor = "Symmetric"
  1461. B.Size = Vector3.new(1, 1, 1)
  1462. B.Transparency = 1
  1463. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1464. B.Parent = Character2
  1465. local W = Instance.new("Weld")
  1466. W.Part0 = Limb
  1467. W.Part1 = B
  1468. W.C0 = CFrame.new(0, -0.5, 0)
  1469. W.Parent = Limb
  1470.  
  1471. end
  1472. --[
  1473. local Bar = Instance.new("Part")
  1474. Bar.TopSurface = 0
  1475. Bar.BottomSurface = 0
  1476. Bar.formFactor = "Symmetric"
  1477. Bar.Size = Vector3.new(1, 1, 1)
  1478. Bar.Transparency = 1
  1479. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1480. Bar.Parent = Character2
  1481. local Weld = Instance.new("Weld")
  1482. Weld.Part0 = Torso2
  1483. Weld.Part1 = Bar
  1484. Weld.C0 = CFrame.new(0, 0.5, 0)
  1485. Weld.Parent = Torso2
  1486. --]]
  1487. end
  1488. Character2.Parent = workspace
  1489. Debris:AddItem(Character2,5)
  1490.  
  1491. return Character2,Torso2
  1492. end))
  1493. end
  1494.  
  1495. --//=================================\\
  1496. --|| ATTACK FUNCTIONS AND STUFF
  1497. --\\=================================//
  1498. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1499. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1500. local mesh = IT("SpecialMesh",wave)
  1501. mesh.MeshType = "Sphere"
  1502. mesh.Scale = SIZE
  1503. mesh.Offset = VT(0,0,0)
  1504. wave.CFrame = CFRAME
  1505. coroutine.resume(coroutine.create(function(PART)
  1506. for i = 1, WAIT do
  1507. Swait()
  1508. mesh.Scale = mesh.Scale + GROW
  1509. wave.Transparency = wave.Transparency + (1/WAIT)
  1510. if wave.Transparency > 0.99 then
  1511. wave:remove()
  1512. end
  1513. end
  1514. end))
  1515. end
  1516. function Roar()
  1517. ATTACK = true
  1518. Rooted = true
  1519. local VIOLENCE = 1
  1520. FORCEIDLE = true
  1521. FORCEIDLE = false
  1522. if VIOLENCE <= 10 then
  1523. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(2,2,2))
  1524. for i=0, 1, 0.1 / Animation_Speed do
  1525. Swait()
  1526. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1527. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. 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)
  1532. end
  1533. local TAUNT = CreateSound(ROAR[MRANDOM(1,#ROAR)], Head, 100, 1, false)
  1534. repeat Swait() until TAUNT.TimeLength > 0
  1535. repeat
  1536. Swait()
  1537. ApplyAoE(Head.Position,15,0,0,200,false)
  1538. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1539. 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})
  1540. 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})
  1541. 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})
  1542. TAUNT.Parent = Head
  1543. Swait()
  1544. TAUNT.Parent = Head
  1545. local CHILDREN = workspace:GetDescendants()
  1546. for index, CHILD in pairs(CHILDREN) do
  1547. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1548. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1549. if HUM then
  1550. local TORSO = CHILD:FindFirstChild("Head")
  1551. if TORSO then
  1552. if (TORSO.Position - Head.Position).Magnitude <= 999 then
  1553. 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})
  1554. TORSO:remove()
  1555. if CHILD:FindFirstChild("Torso") then
  1556. Ragdoll(CHILD,Torso,true)
  1557. elseif CHILD:FindFirstChild("UpperTorso") then
  1558. R15Ragdoll(CHILD,true)
  1559. end
  1560. end
  1561. end
  1562. end
  1563. end
  1564. end
  1565. 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)
  1566. 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)
  1567. 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)
  1568. 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)
  1569. 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)
  1570. 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)
  1571. until TAUNT.TimePosition > TAUNT.TimeLength - 2
  1572. end
  1573. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  1574. ATTACK = false
  1575. Rooted = false
  1576. end
  1577. function Shot()
  1578. ATTACK = true
  1579. Rooted = false
  1580. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  1581. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  1582. for i=0, 0.5, 0.22 / Animation_Speed do
  1583. Swait()
  1584. turnto(Mouse.Hit.p)
  1585. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1586. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1587. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1588. 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)
  1589. 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)
  1590. end
  1591. repeat
  1592. for i=0, 0.5, 0.22 / Animation_Speed do
  1593. Swait()
  1594. turnto(Mouse.Hit.p)
  1595. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1596. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1597. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1598. 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)
  1599. 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)
  1600. end
  1601. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1602. SpawnTrail0(Hole.Position,POS)
  1603. if HIT ~= nil then
  1604. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1605. Banish(HIT.Parent)
  1606. end
  1607. end
  1608. 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})
  1609. 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})
  1610. 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})
  1611. 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})
  1612. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1613. 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})
  1614. 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})
  1615. for i=0, 0.5, 0.22 / Animation_Speed do
  1616. Swait()
  1617. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1618. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1619. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1620. 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)
  1621. 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)
  1622. end
  1623. MagicSphere(VT(0,0,0),15,Head.CFrame,"Eggplant",VT(5,5,5))
  1624. until KEYHOLD == false
  1625. ATTACK = false
  1626. Rooted = false
  1627. end
  1628. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1629. if FLOOR ~= nil then
  1630. coroutine.resume(coroutine.create(function()
  1631. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  1632. PART.CFrame = CF(POSITION)
  1633. for i = 1, 45 do
  1634. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  1635. RingPiece.Material = FLOOR.Material
  1636. RingPiece.Color = FLOOR.Color
  1637. 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)))
  1638. Debris:AddItem(RingPiece,SWAIT)
  1639. end
  1640. PART:remove()
  1641. end))
  1642. end
  1643. end
  1644.  
  1645. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1646. if FLOOR ~= nil then
  1647. for i = 1, AMOUNT do
  1648. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  1649. DEBREE.Material = FLOOR.Material
  1650. DEBREE.Color = FLOOR.Color
  1651. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1652. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1653. coroutine.resume(coroutine.create(function()
  1654. Swait(15)
  1655. DEBREE.Parent = workspace
  1656. DEBREE.CanCollide = true
  1657. Debris:AddItem(DEBREE,SWAIT)
  1658. end))
  1659. end
  1660. end
  1661. end
  1662. function Pure_Heaven()
  1663. chatfunc("The Light of Heaven will make sense!")
  1664. ATTACK = true
  1665. Rooted = true
  1666. for i = 1, 15 do
  1667. Swait()
  1668. 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)
  1669. 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)
  1670. 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)
  1671. 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)
  1672. end
  1673. for i=0, 0.5, 0.1 / Animation_Speed do
  1674. Swait()
  1675. 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)
  1676. 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)
  1677. 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)
  1678. 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)
  1679. end
  1680. coroutine.resume(coroutine.create(function()
  1681. local POS = Mouse.Hit.p
  1682. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1683. MakeForm(RAY,"Cyl")
  1684. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1685. MakeForm(SPHERE,"Ball")
  1686. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Strike", VT(0,0,0))
  1687. MakeForm(SHIELD,"Ball")
  1688. SHIELD.CFrame = CF(POS)
  1689. RAY.CFrame = CF(POS)
  1690. SPHERE.CFrame = CF(POS)
  1691. CreateSound(440145570, SPHERE, 15, 0.5, false)
  1692. CreateSound(415700134, SPHERE, 15, 0.5, false)
  1693. for i = 1, 200 do
  1694. Swait()
  1695. 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})
  1696. RAY.Size = RAY.Size + VT(0.5,0,0.5)
  1697. SPHERE.Size = SPHERE.Size + VT(1.5,1.5,1.5)
  1698. SHIELD.Size = SPHERE.Size + VT(2.5,2.5,2.5)
  1699. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1700. end
  1701. for i = 1, 45 do
  1702. Swait()
  1703. RAY.Transparency = RAY.Transparency + 1/45
  1704. SPHERE.Transparency = RAY.Transparency
  1705. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1706. end
  1707. RAY:remove()
  1708. SHIELD:remove()
  1709. SPHERE:remove()
  1710. end))
  1711. for i=0, 1, 0.1 / Animation_Speed do
  1712. Swait()
  1713. 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)
  1714. 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)
  1715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1717. 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)
  1718. 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)
  1719. end
  1720. ATTACK = false
  1721. Rooted = false
  1722. end
  1723. function printbye(Name)
  1724. local MESSAGES = {"GET REKT LMAO, ","God don't like Criminals mate, ","Go to hell Heaven is not a Place you want to go, ","YOU CAN GO TO HEAVEN BUT IT'S A SLEEPING HELL LOL, "}
  1725. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1726. end
  1727. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1728. MakeForm(RightHole,"Cyl")
  1729. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1730. MakeForm(LeftHole,"Cyl")
  1731. function Gates_Of_Darkness()
  1732. chatfunc("Be Darker...")
  1733. CreateSound(0, Torso, 10, 1, false)
  1734. ATTACK = true
  1735. Rooted = true
  1736. for i=0, 0.5, 0.1 / Animation_Speed do
  1737. Swait()
  1738. 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)
  1739. 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)
  1740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1742. 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)
  1743. 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)
  1744. end
  1745. local DONE = false
  1746. local GATE = nil
  1747. local GATESPIN = true
  1748. coroutine.resume(coroutine.create(function()
  1749. repeat
  1750. Swait()
  1751. if GATE ~= nil then
  1752. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1753. end
  1754. until GATESPIN == false
  1755. end))
  1756. coroutine.resume(coroutine.create(function()
  1757. repeat
  1758. Swait()
  1759. 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)
  1760. 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)
  1761. 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)
  1762. 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)
  1763. 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)
  1764. 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)
  1765. until DONE == true
  1766. Swait(50)
  1767. for i = 1, 35 do
  1768. Swait(4)
  1769. local FIRED = false
  1770. local CHILDREN = workspace:GetDescendants()
  1771. for index, CHILD in pairs(CHILDREN) do
  1772. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1773. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1774. if HUM then
  1775. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1776. if TORSO then
  1777. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1778. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1779. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1780. 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})
  1781. 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})
  1782. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1783. Banish(CHILD)
  1784. FIRED = true
  1785. break
  1786. end
  1787. end
  1788. end
  1789. end
  1790. end
  1791. if FIRED == false then
  1792. 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)))
  1793. 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})
  1794. 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})
  1795. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1796. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1797. if HITBOD ~= nil then
  1798. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1799. Banish(HITBOD.Parent)
  1800. end
  1801. end
  1802. end
  1803. end
  1804. for i = 1, 35 do
  1805. Swait(4)
  1806. local FIRED = false
  1807. local CHILDREN = workspace:GetDescendants()
  1808. for index, CHILD in pairs(CHILDREN) do
  1809. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1810. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1811. if HUM then
  1812. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1813. if TORSO then
  1814. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1815. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1816. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1817. 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})
  1818. 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})
  1819. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1820. Banish(CHILD)
  1821. FIRED = true
  1822. break
  1823. end
  1824. end
  1825. end
  1826. end
  1827. end
  1828. if FIRED == false then
  1829. 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)))
  1830. 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})
  1831. 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})
  1832. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1833. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1834. if HITBOD ~= nil then
  1835. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1836. Banish(HITBOD.Parent)
  1837. end
  1838. end
  1839. end
  1840. end
  1841. for i = 1, 35 do
  1842. Swait(4)
  1843. local FIRED = false
  1844. local CHILDREN = workspace:GetDescendants()
  1845. for index, CHILD in pairs(CHILDREN) do
  1846. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1847. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1848. if HUM then
  1849. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1850. if TORSO then
  1851. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1852. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1853. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1854. 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})
  1855. 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})
  1856. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1857. Banish(CHILD)
  1858. FIRED = true
  1859. break
  1860. end
  1861. end
  1862. end
  1863. end
  1864. end
  1865. if FIRED == false then
  1866. 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)))
  1867. 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})
  1868. 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})
  1869. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1870. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1871. if HITBOD ~= nil then
  1872. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1873. Banish(HITBOD.Parent)
  1874. end
  1875. end
  1876. end
  1877. end
  1878. for i = 1, 35 do
  1879. Swait(4)
  1880. local FIRED = false
  1881. local CHILDREN = workspace:GetDescendants()
  1882. for index, CHILD in pairs(CHILDREN) do
  1883. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1884. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1885. if HUM then
  1886. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1887. if TORSO then
  1888. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1889. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1890. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1891. 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})
  1892. 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})
  1893. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1894. Banish(CHILD)
  1895. FIRED = true
  1896. break
  1897. end
  1898. end
  1899. end
  1900. end
  1901. end
  1902. if FIRED == false then
  1903. 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)))
  1904. 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})
  1905. 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})
  1906. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1907. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1908. if HITBOD ~= nil then
  1909. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1910. Banish(HITBOD.Parent)
  1911. end
  1912. end
  1913. end
  1914. end
  1915. for i = 1, 35 do
  1916. Swait(4)
  1917. local FIRED = false
  1918. local CHILDREN = workspace:GetDescendants()
  1919. for index, CHILD in pairs(CHILDREN) do
  1920. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1921. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1922. if HUM then
  1923. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1924. if TORSO then
  1925. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1926. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1927. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1928. 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})
  1929. 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})
  1930. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1931. Banish(CHILD)
  1932. FIRED = true
  1933. break
  1934. end
  1935. end
  1936. end
  1937. end
  1938. end
  1939. if FIRED == false then
  1940. 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)))
  1941. 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})
  1942. 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})
  1943. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1944. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1945. if HITBOD ~= nil then
  1946. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1947. Banish(HITBOD.Parent)
  1948. end
  1949. end
  1950. end
  1951. end
  1952. for i = 1, 35 do
  1953. Swait(4)
  1954. local FIRED = false
  1955. local CHILDREN = workspace:GetDescendants()
  1956. for index, CHILD in pairs(CHILDREN) do
  1957. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1958. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1959. if HUM then
  1960. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1961. if TORSO then
  1962. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1963. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1964. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1965. 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})
  1966. 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})
  1967. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1968. Banish(CHILD)
  1969. FIRED = true
  1970. break
  1971. end
  1972. end
  1973. end
  1974. end
  1975. end
  1976. if FIRED == false then
  1977. 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)))
  1978. 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})
  1979. 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})
  1980. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1981. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1982. if HITBOD ~= nil then
  1983. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1984. Banish(HITBOD.Parent)
  1985. end
  1986. end
  1987. end
  1988. end
  1989. for i = 1, 35 do
  1990. Swait(4)
  1991. local FIRED = false
  1992. local CHILDREN = workspace:GetDescendants()
  1993. for index, CHILD in pairs(CHILDREN) do
  1994. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1995. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1996. if HUM then
  1997. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1998. if TORSO then
  1999. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2000. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2001. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2002. 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})
  2003. 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})
  2004. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2005. Banish(CHILD)
  2006. FIRED = true
  2007. break
  2008. end
  2009. end
  2010. end
  2011. end
  2012. end
  2013. if FIRED == false then
  2014. 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)))
  2015. 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})
  2016. 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})
  2017. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2018. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2019. if HITBOD ~= nil then
  2020. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2021. Banish(HITBOD.Parent)
  2022. end
  2023. end
  2024. end
  2025. end
  2026. for i = 1, 35 do
  2027. Swait(4)
  2028. local FIRED = false
  2029. local CHILDREN = workspace:GetDescendants()
  2030. for index, CHILD in pairs(CHILDREN) do
  2031. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2032. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2033. if HUM then
  2034. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2035. if TORSO then
  2036. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2037. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2038. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2039. 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})
  2040. 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})
  2041. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2042. Banish(CHILD)
  2043. FIRED = true
  2044. break
  2045. end
  2046. end
  2047. end
  2048. end
  2049. end
  2050. if FIRED == false then
  2051. 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)))
  2052. 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})
  2053. 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})
  2054. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2055. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2056. if HITBOD ~= nil then
  2057. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2058. Banish(HITBOD.Parent)
  2059. end
  2060. end
  2061. end
  2062. end
  2063. for i = 1, 35 do
  2064. Swait(4)
  2065. local FIRED = false
  2066. local CHILDREN = workspace:GetDescendants()
  2067. for index, CHILD in pairs(CHILDREN) do
  2068. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2069. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2070. if HUM then
  2071. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2072. if TORSO then
  2073. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2074. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2075. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2076. 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})
  2077. 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})
  2078. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2079. Banish(CHILD)
  2080. FIRED = true
  2081. break
  2082. end
  2083. end
  2084. end
  2085. end
  2086. end
  2087. if FIRED == false then
  2088. 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)))
  2089. 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})
  2090. 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})
  2091. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2092. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2093. if HITBOD ~= nil then
  2094. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2095. Banish(HITBOD.Parent)
  2096. end
  2097. end
  2098. end
  2099. end
  2100. for i = 1, 35 do
  2101. Swait(4)
  2102. local FIRED = false
  2103. local CHILDREN = workspace:GetDescendants()
  2104. for index, CHILD in pairs(CHILDREN) do
  2105. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2106. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2107. if HUM then
  2108. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2109. if TORSO then
  2110. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2111. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2112. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2113. 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})
  2114. 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})
  2115. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2116. Banish(CHILD)
  2117. FIRED = true
  2118. break
  2119. end
  2120. end
  2121. end
  2122. end
  2123. end
  2124. if FIRED == false then
  2125. 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)))
  2126. 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})
  2127. 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})
  2128. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2129. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2130. if HITBOD ~= nil then
  2131. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2132. Banish(HITBOD.Parent)
  2133. end
  2134. end
  2135. end
  2136. end
  2137. for i = 1, 35 do
  2138. Swait(4)
  2139. local FIRED = false
  2140. local CHILDREN = workspace:GetDescendants()
  2141. for index, CHILD in pairs(CHILDREN) do
  2142. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2143. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2144. if HUM then
  2145. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2146. if TORSO then
  2147. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2148. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2149. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2150. 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})
  2151. 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})
  2152. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2153. Banish(CHILD)
  2154. FIRED = true
  2155. break
  2156. end
  2157. end
  2158. end
  2159. end
  2160. end
  2161. if FIRED == false then
  2162. 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)))
  2163. 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})
  2164. 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})
  2165. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2166. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2167. if HITBOD ~= nil then
  2168. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2169. Banish(HITBOD.Parent)
  2170. end
  2171. end
  2172. end
  2173. end
  2174. for i = 1, 35 do
  2175. Swait(4)
  2176. local FIRED = false
  2177. local CHILDREN = workspace:GetDescendants()
  2178. for index, CHILD in pairs(CHILDREN) do
  2179. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2180. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2181. if HUM then
  2182. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2183. if TORSO then
  2184. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2185. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2186. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2187. 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})
  2188. 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})
  2189. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2190. Banish(CHILD)
  2191. FIRED = true
  2192. break
  2193. end
  2194. end
  2195. end
  2196. end
  2197. end
  2198. if FIRED == false then
  2199. 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)))
  2200. 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})
  2201. 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})
  2202. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2203. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2204. if HITBOD ~= nil then
  2205. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2206. Banish(HITBOD.Parent)
  2207. end
  2208. end
  2209. end
  2210. end
  2211. for i = 1, 35 do
  2212. Swait(4)
  2213. local FIRED = false
  2214. local CHILDREN = workspace:GetDescendants()
  2215. for index, CHILD in pairs(CHILDREN) do
  2216. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2217. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2218. if HUM then
  2219. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2220. if TORSO then
  2221. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2222. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2223. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2224. 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})
  2225. 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})
  2226. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2227. Banish(CHILD)
  2228. FIRED = true
  2229. break
  2230. end
  2231. end
  2232. end
  2233. end
  2234. end
  2235. if FIRED == false then
  2236. 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)))
  2237. 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})
  2238. 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})
  2239. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2240. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2241. if HITBOD ~= nil then
  2242. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2243. Banish(HITBOD.Parent)
  2244. end
  2245. end
  2246. end
  2247. end
  2248. for i = 1, 35 do
  2249. Swait(4)
  2250. local FIRED = false
  2251. local CHILDREN = workspace:GetDescendants()
  2252. for index, CHILD in pairs(CHILDREN) do
  2253. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2254. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2255. if HUM then
  2256. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2257. if TORSO then
  2258. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2259. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2260. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2261. 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})
  2262. 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})
  2263. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2264. Banish(CHILD)
  2265. FIRED = true
  2266. break
  2267. end
  2268. end
  2269. end
  2270. end
  2271. end
  2272. if FIRED == false then
  2273. 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)))
  2274. 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})
  2275. 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})
  2276. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2277. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2278. if HITBOD ~= nil then
  2279. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2280. Banish(HITBOD.Parent)
  2281. end
  2282. end
  2283. end
  2284. end
  2285. for i = 1, 35 do
  2286. Swait(4)
  2287. local FIRED = false
  2288. local CHILDREN = workspace:GetDescendants()
  2289. for index, CHILD in pairs(CHILDREN) do
  2290. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2291. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2292. if HUM then
  2293. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2294. if TORSO then
  2295. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2296. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2297. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2298. 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})
  2299. 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})
  2300. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2301. Banish(CHILD)
  2302. FIRED = true
  2303. break
  2304. end
  2305. end
  2306. end
  2307. end
  2308. end
  2309. if FIRED == false then
  2310. 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)))
  2311. 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})
  2312. 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})
  2313. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2314. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2315. if HITBOD ~= nil then
  2316. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2317. Banish(HITBOD.Parent)
  2318. end
  2319. end
  2320. end
  2321. end
  2322. for i = 1, 35 do
  2323. Swait(4)
  2324. local FIRED = false
  2325. local CHILDREN = workspace:GetDescendants()
  2326. for index, CHILD in pairs(CHILDREN) do
  2327. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2328. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2329. if HUM then
  2330. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2331. if TORSO then
  2332. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2333. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2334. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2335. 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})
  2336. 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})
  2337. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2338. Banish(CHILD)
  2339. FIRED = true
  2340. break
  2341. end
  2342. end
  2343. end
  2344. end
  2345. end
  2346. if FIRED == false then
  2347. 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)))
  2348. 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})
  2349. 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})
  2350. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2351. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2352. if HITBOD ~= nil then
  2353. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2354. Banish(HITBOD.Parent)
  2355. end
  2356. end
  2357. end
  2358. end
  2359. for i = 1, 35 do
  2360. Swait(4)
  2361. local FIRED = false
  2362. local CHILDREN = workspace:GetDescendants()
  2363. for index, CHILD in pairs(CHILDREN) do
  2364. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2365. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2366. if HUM then
  2367. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2368. if TORSO then
  2369. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2370. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2371. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2372. 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})
  2373. 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})
  2374. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2375. Banish(CHILD)
  2376. FIRED = true
  2377. break
  2378. end
  2379. end
  2380. end
  2381. end
  2382. end
  2383. if FIRED == false then
  2384. 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)))
  2385. 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})
  2386. 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})
  2387. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2388. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2389. if HITBOD ~= nil then
  2390. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2391. Banish(HITBOD.Parent)
  2392. end
  2393. end
  2394. end
  2395. end
  2396. for i = 1, 35 do
  2397. Swait(4)
  2398. local FIRED = false
  2399. local CHILDREN = workspace:GetDescendants()
  2400. for index, CHILD in pairs(CHILDREN) do
  2401. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2402. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2403. if HUM then
  2404. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2405. if TORSO then
  2406. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2407. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2408. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2409. 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})
  2410. 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})
  2411. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2412. Banish(CHILD)
  2413. FIRED = true
  2414. break
  2415. end
  2416. end
  2417. end
  2418. end
  2419. end
  2420. if FIRED == false then
  2421. 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)))
  2422. 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})
  2423. 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})
  2424. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2425. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2426. if HITBOD ~= nil then
  2427. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2428. Banish(HITBOD.Parent)
  2429. end
  2430. end
  2431. end
  2432. end
  2433. for i = 1, 35 do
  2434. Swait(4)
  2435. local FIRED = false
  2436. local CHILDREN = workspace:GetDescendants()
  2437. for index, CHILD in pairs(CHILDREN) do
  2438. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2439. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2440. if HUM then
  2441. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2442. if TORSO then
  2443. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2444. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2445. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2446. 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})
  2447. 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})
  2448. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2449. Banish(CHILD)
  2450. FIRED = true
  2451. break
  2452. end
  2453. end
  2454. end
  2455. end
  2456. end
  2457. if FIRED == false then
  2458. 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)))
  2459. 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})
  2460. 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})
  2461. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2462. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2463. if HITBOD ~= nil then
  2464. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2465. Banish(HITBOD.Parent)
  2466. end
  2467. end
  2468. end
  2469. end
  2470. for i = 1, 35 do
  2471. Swait(4)
  2472. local FIRED = false
  2473. local CHILDREN = workspace:GetDescendants()
  2474. for index, CHILD in pairs(CHILDREN) do
  2475. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2476. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2477. if HUM then
  2478. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2479. if TORSO then
  2480. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2481. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2482. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2483. 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})
  2484. 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})
  2485. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2486. Banish(CHILD)
  2487. FIRED = true
  2488. break
  2489. end
  2490. end
  2491. end
  2492. end
  2493. end
  2494. if FIRED == false then
  2495. 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)))
  2496. 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})
  2497. 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})
  2498. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2499. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2500. if HITBOD ~= nil then
  2501. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2502. Banish(HITBOD.Parent)
  2503. end
  2504. end
  2505. end
  2506. end
  2507. for i = 1, 35 do
  2508. Swait(4)
  2509. local FIRED = false
  2510. local CHILDREN = workspace:GetDescendants()
  2511. for index, CHILD in pairs(CHILDREN) do
  2512. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2513. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2514. if HUM then
  2515. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2516. if TORSO then
  2517. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2518. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2519. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2520. 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})
  2521. 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})
  2522. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2523. Banish(CHILD)
  2524. FIRED = true
  2525. break
  2526. end
  2527. end
  2528. end
  2529. end
  2530. end
  2531. if FIRED == false then
  2532. 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)))
  2533. 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})
  2534. 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})
  2535. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2536. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2537. if HITBOD ~= nil then
  2538. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2539. Banish(HITBOD.Parent)
  2540. end
  2541. end
  2542. end
  2543. end
  2544. for i = 1, 35 do
  2545. Swait(4)
  2546. local FIRED = false
  2547. local CHILDREN = workspace:GetDescendants()
  2548. for index, CHILD in pairs(CHILDREN) do
  2549. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2550. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2551. if HUM then
  2552. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2553. if TORSO then
  2554. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2555. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2556. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2557. 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})
  2558. 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})
  2559. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2560. Banish(CHILD)
  2561. FIRED = true
  2562. break
  2563. end
  2564. end
  2565. end
  2566. end
  2567. end
  2568. if FIRED == false then
  2569. 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)))
  2570. 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})
  2571. 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})
  2572. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2573. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2574. if HITBOD ~= nil then
  2575. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2576. Banish(HITBOD.Parent)
  2577. end
  2578. end
  2579. end
  2580. end
  2581. for i = 1, 35 do
  2582. Swait(4)
  2583. local FIRED = false
  2584. local CHILDREN = workspace:GetDescendants()
  2585. for index, CHILD in pairs(CHILDREN) do
  2586. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2587. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2588. if HUM then
  2589. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2590. if TORSO then
  2591. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2592. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2593. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2594. 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})
  2595. 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})
  2596. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2597. Banish(CHILD)
  2598. FIRED = true
  2599. break
  2600. end
  2601. end
  2602. end
  2603. end
  2604. end
  2605. if FIRED == false then
  2606. 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)))
  2607. 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})
  2608. 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})
  2609. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2610. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2611. if HITBOD ~= nil then
  2612. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2613. Banish(HITBOD.Parent)
  2614. end
  2615. end
  2616. end
  2617. end
  2618. for i = 1, 35 do
  2619. Swait(4)
  2620. local FIRED = false
  2621. local CHILDREN = workspace:GetDescendants()
  2622. for index, CHILD in pairs(CHILDREN) do
  2623. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2624. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2625. if HUM then
  2626. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2627. if TORSO then
  2628. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2629. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2630. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2631. 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})
  2632. 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})
  2633. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2634. Banish(CHILD)
  2635. FIRED = true
  2636. break
  2637. end
  2638. end
  2639. end
  2640. end
  2641. end
  2642. if FIRED == false then
  2643. 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)))
  2644. 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})
  2645. 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})
  2646. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2647. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2648. if HITBOD ~= nil then
  2649. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2650. Banish(HITBOD.Parent)
  2651. end
  2652. end
  2653. end
  2654. end
  2655. for i = 1, 45 do
  2656. Swait()
  2657. GATE.Size = GATE.Size - VT(10,0,10)
  2658. end
  2659. GATESPIN = false
  2660. GATE:remove()
  2661. end))
  2662. Swait(15)
  2663. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2664. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  2665. local DECAL = IT("Decal",GATE)
  2666. DECAL.Texture = "http://www.roblox.com/asset/?id=62270888"
  2667. DECAL.Face = "Top"
  2668. GATE.CFrame = CF(HITPOS)
  2669. CreateSound(0, GATE, 7, 1.3, false)
  2670. for i = 1, 45 do
  2671. Swait()
  2672. GATE.Size = GATE.Size + VT(10,0,10)
  2673. end
  2674. CreateSound(213603013, RightHole, 7, 1, false)
  2675. CreateSound(213603013, LeftHole, 7, 1, false)
  2676. 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})
  2677. 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})
  2678. ATTACK = false
  2679. Rooted = false
  2680. DONE = true
  2681. end
  2682. function Taunt()
  2683. ATTACK = true
  2684. Rooted = true
  2685. CreateSound("907333406", Head, 10, 0.9)
  2686. sick:Stop()
  2687. Weapon.Parent = nil
  2688. for i = 1, 3 do
  2689. for i = 0, 0.7, 0.14 / Animation_Speed do
  2690. Swait()
  2691. 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)
  2692. 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)
  2693. 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)
  2694. 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)
  2695. 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)
  2696. 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)
  2697. end
  2698. for i = 0, 0.7, 0.14 / Animation_Speed do
  2699. Swait()
  2700. 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)
  2701. 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)
  2702. 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)
  2703. 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)
  2704. 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)
  2705. 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)
  2706. end
  2707. end
  2708. sick:Play()
  2709. Weapon.Parent = Character
  2710. ATTACK = false
  2711. Rooted = false
  2712. end
  2713.  
  2714. --//=================================\\
  2715. --|| ASSIGN THINGS TO KEYS
  2716. --\\=================================//
  2717.  
  2718. function MouseDown(Mouse)
  2719. if ATTACK == false then
  2720. end
  2721. end
  2722.  
  2723. function MouseUp(Mouse)
  2724. HOLD = false
  2725. end
  2726.  
  2727. function KeyDown(Key)
  2728. KEYHOLD = true
  2729. if Key == "z" and ATTACK == false then
  2730. Shot()
  2731. end
  2732.  
  2733. if Key == "f" and ATTACK == false then
  2734. chatfunc("If you decided to be a Good Person then go to Afterlife...")
  2735. TOBANISH = {}
  2736. end
  2737.  
  2738. if Key == "t" and ATTACK == false then
  2739. Taunt()
  2740. end
  2741.  
  2742. if Key == "c" and ATTACK == false then
  2743. Roar()
  2744. end
  2745.  
  2746. if Key == "q" and ATTACK == false then
  2747. for i=0, 0.5, 0.08 / Animation_Speed do
  2748. Swait()
  2749. 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)
  2750. 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)
  2751. end
  2752. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  2753. local pos = RootPart.Position
  2754. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,5,0),pos)
  2755. end
  2756.  
  2757. if Key == "x" and ATTACK == false then
  2758. Pure_Heaven()
  2759. end
  2760.  
  2761. if Key == "v" and ATTACK == false then
  2762. Gates_Of_Darkness()
  2763. end
  2764. end
  2765.  
  2766. function KeyUp(Key)
  2767. KEYHOLD = false
  2768. end
  2769.  
  2770. Mouse.Button1Down:connect(function(NEWKEY)
  2771. MouseDown(NEWKEY)
  2772. end)
  2773. Mouse.Button1Up:connect(function(NEWKEY)
  2774. MouseUp(NEWKEY)
  2775. end)
  2776. Mouse.KeyDown:connect(function(NEWKEY)
  2777. KeyDown(NEWKEY)
  2778. end)
  2779. Mouse.KeyUp:connect(function(NEWKEY)
  2780. KeyUp(NEWKEY)
  2781. end)
  2782.  
  2783. --//=================================\\
  2784. --\\=================================//
  2785.  
  2786.  
  2787. function unanchor()
  2788. if UNANCHOR == true then
  2789. g = Character:GetChildren()
  2790. for i = 1, #g do
  2791. if g[i].ClassName == "Part" then
  2792. g[i].Anchored = false
  2793. end
  2794. end
  2795. end
  2796. end
  2797.  
  2798.  
  2799. --//=================================\\
  2800. --|| WRAP THE WHOLE SCRIPT UP
  2801. --\\=================================//
  2802.  
  2803. Humanoid.Changed:connect(function(Jump)
  2804. if Jump == "Jump" and (Disable_Jump == true) then
  2805. Humanoid.Jump = false
  2806. end
  2807. end)
  2808.  
  2809. sick.AncestryChanged:Connect(function()
  2810. sick.Parent = Character
  2811. end)
  2812.  
  2813. local FF = IT("ForceField", Character)
  2814. FF.Visible = false
  2815.  
  2816. while true do
  2817. Swait()
  2818. script.Parent = WEAPONGUI
  2819. ANIMATE.Parent = nil
  2820. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2821. v:Stop();
  2822. end
  2823. SINE = SINE + CHANGE
  2824. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2825. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2826. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2827. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2828. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2829. 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)
  2830. 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)
  2831. 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)
  2832. 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)
  2833. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2834. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2835. 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)
  2836. 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)
  2837. 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)
  2838. end
  2839. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2840. ANIM = "Jump"
  2841. if ATTACK == false then
  2842. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2846. 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)
  2847. 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)
  2848. end
  2849. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2850. ANIM = "Fall"
  2851. if ATTACK == false then
  2852. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2853. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2854. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2855. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2856. 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)
  2857. 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)
  2858. end
  2859. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2860. ANIM = "Idle"
  2861. if ATTACK == false then
  2862. 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)
  2863. 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)
  2864. 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)
  2865. 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)
  2866. 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)
  2867. 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)
  2868. end
  2869. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2870. ANIM = "Walk"
  2871. if ATTACK == false then
  2872. 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)
  2873. 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)
  2874. 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)
  2875. 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)
  2876. end
  2877. end
  2878. unanchor()
  2879. Humanoid.MaxHealth = 16e+16
  2880. Humanoid.Health = 16e+16
  2881. if Rooted == false then
  2882. Disable_Jump = false
  2883. Humanoid.WalkSpeed = Speed
  2884. elseif Rooted == true then
  2885. Disable_Jump = true
  2886. Humanoid.WalkSpeed = 0
  2887. end
  2888. if Head:FindFirstChild("face") then
  2889. Head.face.Texture = "rbxassetid://0"
  2890. end
  2891. end
  2892.  
  2893. --//=================================\\
  2894. --\\=================================//
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900. --//====================================================\\--
  2901. --|| END OF SCRIPT
  2902. --\\====================================================//----Join my discord server.----------------------------------------------------------------
  2903. --Original by Shackluster.---------------------------------------------------------------
  2904. --Enjoy the edit! :D.--------------------------------------------------------------------
  2905. --Join here: https://discordapp.com/channels/506798328995119114/506798328995119116-------
  2906. -----------------------------------------------------------------------------------------
  2907. ------Update 27/12/2018!-----------------------------------------------------
  2908. -----------------------------------------------------------------------------------------
  2909. -- This script has convert to FE by who i don't know?
  2910.  
  2911. -----------------------------------------------------
  2912. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2913. local Player,game,owner = owner,game
  2914. local RealPlayer = Player
  2915. do
  2916. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  2917. local rp = RealPlayer
  2918. script.Parent = rp.Character
  2919.  
  2920. --RemoteEvent for communicating
  2921. local Event = Instance.new("RemoteEvent")
  2922. Event.Name = "UserInput_Event"
  2923.  
  2924. --Fake event to make stuff like Mouse.KeyDown work
  2925. local function fakeEvent()
  2926. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  2927. t.connect = t.Connect
  2928. return t
  2929. end
  2930.  
  2931. --Creating fake input objects with fake variables
  2932. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2933. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2934. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2935. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2936. end}
  2937. --Merged 2 functions into one by checking amount of arguments
  2938. CAS.UnbindAction = CAS.BindAction
  2939.  
  2940. --This function will trigger the events that have been :Connect()'ed
  2941. local function te(self,ev,...)
  2942. local t = m[ev]
  2943. if t and t._fakeEvent then
  2944. for _,f in pairs(t.Functions) do
  2945. f(...)
  2946. end
  2947. end
  2948. end
  2949. m.TrigEvent = te
  2950. UIS.TrigEvent = te
  2951.  
  2952. Event.OnServerEvent:Connect(function(plr,io)
  2953. if plr~=rp then return end
  2954. m.Target = io.Target
  2955. m.Hit = io.Hit
  2956. if not io.isMouse then
  2957. local b = io.UserInputState == Enum.UserInputState.Begin
  2958. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2959. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2960. end
  2961. for _,t in pairs(CAS.Actions) do
  2962. for _,k in pairs(t.Keys) do
  2963. if k==io.KeyCode then
  2964. t.Function(t.Name,io.UserInputState,io)
  2965. end
  2966. end
  2967. end
  2968. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2969. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2970. end
  2971. end)
  2972. Event.Parent = NLS([==[
  2973. local Player = game:GetService("Players").LocalPlayer
  2974. local Event = script:WaitForChild("UserInput_Event")
  2975.  
  2976. local Mouse = Player:GetMouse()
  2977. local UIS = game:GetService("UserInputService")
  2978. local input = function(io,a)
  2979. if a then return end
  2980. --Since InputObject is a client-side instance, we create and pass table instead
  2981. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  2982. end
  2983. UIS.InputBegan:Connect(input)
  2984. UIS.InputEnded:Connect(input)
  2985.  
  2986. local h,t
  2987. --Give the server mouse data 30 times every second, but only if the values changed
  2988. --If player is not moving their mouse, client won't fire events
  2989. while wait(1/30) do
  2990. if h~=Mouse.Hit or t~=Mouse.Target then
  2991. h,t=Mouse.Hit,Mouse.Target
  2992. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2993. end
  2994. end]==],Player.Character)
  2995.  
  2996. ----Sandboxed game object that allows the usage of client-side methods and services
  2997. --Real game object
  2998. local _rg = game
  2999.  
  3000. --Metatable for fake service
  3001. local fsmt = {
  3002. __index = function(self,k)
  3003. local s = rawget(self,"_RealService")
  3004. if s then return s[k] end
  3005. end,
  3006. __newindex = function(self,k,v)
  3007. local s = rawget(self,"_RealService")
  3008. if s then s[k]=v end
  3009. end,
  3010. __call = function(self,...)
  3011. local s = rawget(self,"_RealService")
  3012. if s then return s(...) end
  3013. end
  3014. }
  3015. local function FakeService(t,RealService)
  3016. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  3017. return setmetatable(t,fsmt)
  3018. end
  3019.  
  3020. --Fake game object
  3021. local g = {
  3022. GetService = function(self,s)
  3023. return self[s]
  3024. end,
  3025. Players = FakeService({
  3026. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  3027. },"Players"),
  3028. UserInputService = FakeService(UIS,"UserInputService"),
  3029. ContextActionService = FakeService(CAS,"ContextActionService"),
  3030. }
  3031. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  3032. g.service = g.GetService
  3033.  
  3034. g.RunService = FakeService({
  3035. RenderStepped = _rg:GetService("RunService").Heartbeat,
  3036. BindToRenderStep = function(self,name,_,fun)
  3037.  
  3038. end,
  3039. UnbindFromRenderStep = function(self,name)
  3040. self._btrs[name]:Disconnect()
  3041. end,
  3042. },"RunService")
  3043.  
  3044. setmetatable(g,{
  3045. __index=function(self,s)
  3046. return _rg:GetService(s) or typeof(_rg[s])=="function"
  3047. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  3048. end,
  3049. __newindex = fsmt.__newindex,
  3050. __call = fsmt.__call
  3051. })
  3052. --Changing owner to fake player object to support owner:GetMouse()
  3053. game,owner = g,g.Players.LocalPlayer
  3054. end
  3055.  
  3056. script:ClearAllChildren()
  3057. wait(0.2)
  3058.  
  3059. Player = game:GetService("Players").LocalPlayer
  3060. PlayerGui = Player.PlayerGui
  3061. Cam = workspace.CurrentCamera
  3062. Backpack = Player.Backpack
  3063. Character = Player.Character
  3064. Humanoid = Character.Humanoid
  3065. Mouse = Player:GetMouse()
  3066. RootPart = Character["HumanoidRootPart"]
  3067. Torso = Character["Torso"]
  3068. Head = Character["Head"]
  3069. RightArm = Character["Right Arm"]
  3070. LeftArm = Character["Left Arm"]
  3071. RightLeg = Character["Right Leg"]
  3072. LeftLeg = Character["Left Leg"]
  3073. RootJoint = RootPart["RootJoint"]
  3074. Neck = Torso["Neck"]
  3075. RightShoulder = Torso["Right Shoulder"]
  3076. LeftShoulder = Torso["Left Shoulder"]
  3077. RightHip = Torso["Right Hip"]
  3078. LeftHip = Torso["Left Hip"]
  3079. print('User: '..Player.Name)
  3080. print('Enjoy this Edit ;D')
  3081. local sick = Instance.new("Sound",Character)
  3082. sick.Parent = Character
  3083. sick:resume()
  3084. sick.Volume = 10
  3085. sick.Pitch = 0.75
  3086. sick.Looped = true
  3087. sick.SoundId = "rbxassetid://583415095"
  3088. sick.Name = ""
  3089. -------------Name Tag Stuff.------------------------
  3090. local naeeym = Instance.new("BillboardGui",Character)
  3091. naeeym.Size = UDim2.new(0,100,0,40)
  3092. naeeym.StudsOffset = Vector3.new(0,2,0)
  3093. naeeym.Adornee = Character.Head
  3094. local tecks = Instance.new("TextLabel",naeeym)
  3095. tecks.BackgroundTransparency = 1
  3096. tecks.BorderSizePixel = 0
  3097. tecks.Text = "Silencer"
  3098. tecks.Font = "Fantasy"
  3099. tecks.FontSize = "Size24"
  3100. tecks.TextStrokeTransparency = 0
  3101. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  3102. tecks.TextColor3 = Color3.new(1,1,1)
  3103. tecks.Size = UDim2.new(1,0,0.5,0)
  3104. ----------------------------------------------------
  3105.  
  3106. IT = Instance.new
  3107. CF = CFrame.new
  3108. VT = Vector3.new
  3109. RAD = math.rad
  3110. C3 = Color3.new
  3111. UD2 = UDim2.new
  3112. BRICKC = BrickColor.new
  3113. ANGLES = CFrame.Angles
  3114. EULER = CFrame.fromEulerAnglesXYZ
  3115. COS = math.cos
  3116. ACOS = math.acos
  3117. SIN = math.sin
  3118. ASIN = math.asin
  3119. ABS = math.abs
  3120. MRANDOM = math.random
  3121. FLOOR = math.floor
  3122.  
  3123. local sky = Instance.new('Sky', game:GetService'Lighting')
  3124. sky.SkyboxBk = "rbxassetid://48020371"
  3125. sky.SkyboxDn = "rbxassetid://48020144"
  3126. sky.SkyboxFt = "rbxassetid://48020234"
  3127. sky.SkyboxLf = "rbxassetid://48020211"
  3128. sky.SkyboxRt = "rbxassetid://48020254"
  3129. sky.SkyboxUp = "rbxassetid://48020383"
  3130. sky.StarCount = 3000
  3131. sky.SunAngularSize = 0
  3132. sky.MoonAngularSize = 11
  3133. sky.MoonTextureId = "rbxasset://sky/moon.jpg"
  3134. sky.CelestialBodiesShown = false
  3135.  
  3136. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  3137.  
  3138. --//=================================\\
  3139. --|| USEFUL VALUES
  3140. --\\=================================//
  3141.  
  3142. Player_Size = 1
  3143. Animation_Speed = 3
  3144. local FORCERESET = false
  3145. local Effects2 = {}
  3146. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3147. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3148. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3149. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3150. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3151. local DAMAGEMULTIPLIER = 1
  3152. local SIZE = 1
  3153. local ANIM = "Idle"
  3154. local ATTACK = false
  3155. local EQUIPPED = false
  3156. local HOLD = false
  3157. local COMBO = 1
  3158. local Rooted = false
  3159. local SINE = 0
  3160. local KEYHOLD = false
  3161. local CHANGE = 2 / Animation_Speed
  3162. local WALKINGANIM = false
  3163. local VALUE1 = false
  3164. local VALUE2 = false
  3165. local ROBLOXIDLEANIMATION = IT("Animation")
  3166. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3167. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3168. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3169. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3170. WEAPONGUI.Name = "BanishV3Gui"
  3171. local Weapon = IT("Model")
  3172. Weapon.Name = "Adds"
  3173. local Effects = IT("Folder", Weapon)
  3174. Effects.Name = "Effects"
  3175. local ANIMATOR = Humanoid.Animator
  3176. local ANIMATE = Character:FindFirstChild("Animate")
  3177. local UNANCHOR = true
  3178. local TOBANISH = {}
  3179. local ROAR = {528589078,528589175,528589274,528589382}
  3180. script.Parent = PlayerGui
  3181.  
  3182. --//=================================\\
  3183. --\\=================================//
  3184.  
  3185. local Speed = 18
  3186.  
  3187. --//=================================\\
  3188. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3189. --\\=================================//
  3190.  
  3191. ArtificialHB = Instance.new("BindableEvent", script)
  3192. ArtificialHB.Name = "ArtificialHB"
  3193.  
  3194. script:WaitForChild("ArtificialHB")
  3195.  
  3196. frame = Frame_Speed
  3197. tf = 0
  3198. allowframeloss = false
  3199. tossremainder = false
  3200. lastframe = tick()
  3201. script.ArtificialHB:Fire()
  3202.  
  3203. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3204. tf = tf + s
  3205. if tf >= frame then
  3206. if allowframeloss then
  3207. script.ArtificialHB:Fire()
  3208. lastframe = tick()
  3209. else
  3210. for i = 1, math.floor(tf / frame) do
  3211. script.ArtificialHB:Fire()
  3212. end
  3213. lastframe = tick()
  3214. end
  3215. if tossremainder then
  3216. tf = 0
  3217. else
  3218. tf = tf - frame * math.floor(tf / frame)
  3219. end
  3220. end
  3221. end)
  3222.  
  3223. --//=================================\\
  3224. --\\=================================//
  3225.  
  3226. --//=================================\\
  3227. --|| SOME FUNCTIONS
  3228. --\\=================================//
  3229.  
  3230. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3231. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3232. end
  3233.  
  3234. function PositiveAngle(NUMBER)
  3235. if NUMBER >= 0 then
  3236. NUMBER = 0
  3237. end
  3238. return NUMBER
  3239. end
  3240.  
  3241. function NegativeAngle(NUMBER)
  3242. if NUMBER <= 0 then
  3243. NUMBER = 0
  3244. end
  3245. return NUMBER
  3246. end
  3247.  
  3248. function Swait(NUMBER)
  3249. if NUMBER == 0 or NUMBER == nil then
  3250. ArtificialHB.Event:wait()
  3251. else
  3252. for i = 1, NUMBER do
  3253. ArtificialHB.Event:wait()
  3254. end
  3255. end
  3256. end
  3257.  
  3258. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3259. local NEWMESH = IT(MESH)
  3260. if MESH == "SpecialMesh" then
  3261. NEWMESH.MeshType = MESHTYPE
  3262. if MESHID ~= "nil" and MESHID ~= "" then
  3263. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3264. end
  3265. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3266. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3267. end
  3268. end
  3269. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3270. NEWMESH.Scale = SCALE
  3271. NEWMESH.Parent = PARENT
  3272. return NEWMESH
  3273. end
  3274.  
  3275. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3276. local NEWPART = IT("Part")
  3277. NEWPART.formFactor = FORMFACTOR
  3278. NEWPART.Reflectance = REFLECTANCE
  3279. NEWPART.Transparency = TRANSPARENCY
  3280. NEWPART.CanCollide = false
  3281. NEWPART.Locked = true
  3282. NEWPART.Anchored = true
  3283. if ANCHOR == false then
  3284. NEWPART.Anchored = false
  3285. end
  3286. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3287. NEWPART.Name = NAME
  3288. NEWPART.Size = SIZE
  3289. NEWPART.Position = Torso.Position
  3290. NEWPART.Material = MATERIAL
  3291. NEWPART:BreakJoints()
  3292. NEWPART.Parent = PARENT
  3293. return NEWPART
  3294. end
  3295.  
  3296. local function weldBetween(a, b)
  3297. local weldd = Instance.new("ManualWeld")
  3298. weldd.Part0 = a
  3299. weldd.Part1 = b
  3300. weldd.C0 = CFrame.new()
  3301. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3302. weldd.Parent = a
  3303. return weldd
  3304. end
  3305.  
  3306.  
  3307. function QuaternionFromCFrame(cf)
  3308. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3309. local trace = m00 + m11 + m22
  3310. if trace > 0 then
  3311. local s = math.sqrt(1 + trace)
  3312. local recip = 0.5 / s
  3313. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3314. else
  3315. local i = 0
  3316. if m11 > m00 then
  3317. i = 1
  3318. end
  3319. if m22 > (i == 0 and m00 or m11) then
  3320. i = 2
  3321. end
  3322. if i == 0 then
  3323. local s = math.sqrt(m00 - m11 - m22 + 1)
  3324. local recip = 0.5 / s
  3325. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3326. elseif i == 1 then
  3327. local s = math.sqrt(m11 - m22 - m00 + 1)
  3328. local recip = 0.5 / s
  3329. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3330. elseif i == 2 then
  3331. local s = math.sqrt(m22 - m00 - m11 + 1)
  3332. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3333. end
  3334. end
  3335. end
  3336.  
  3337. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3338. local xs, ys, zs = x + x, y + y, z + z
  3339. local wx, wy, wz = w * xs, w * ys, w * zs
  3340. local xx = x * xs
  3341. local xy = x * ys
  3342. local xz = x * zs
  3343. local yy = y * ys
  3344. local yz = y * zs
  3345. local zz = z * zs
  3346. 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))
  3347. end
  3348.  
  3349. function QuaternionSlerp(a, b, t)
  3350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3351. local startInterp, finishInterp;
  3352. if cosTheta >= 0.0001 then
  3353. if (1 - cosTheta) > 0.0001 then
  3354. local theta = ACOS(cosTheta)
  3355. local invSinTheta = 1 / SIN(theta)
  3356. startInterp = SIN((1 - t) * theta) * invSinTheta
  3357. finishInterp = SIN(t * theta) * invSinTheta
  3358. else
  3359. startInterp = 1 - t
  3360. finishInterp = t
  3361. end
  3362. else
  3363. if (1 + cosTheta) > 0.0001 then
  3364. local theta = ACOS(-cosTheta)
  3365. local invSinTheta = 1 / SIN(theta)
  3366. startInterp = SIN((t - 1) * theta) * invSinTheta
  3367. finishInterp = SIN(t * theta) * invSinTheta
  3368. else
  3369. startInterp = t - 1
  3370. finishInterp = t
  3371. end
  3372. end
  3373. 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
  3374. end
  3375.  
  3376. function Clerp(a, b, t)
  3377. local qa = {QuaternionFromCFrame(a)}
  3378. local qb = {QuaternionFromCFrame(b)}
  3379. local ax, ay, az = a.x, a.y, a.z
  3380. local bx, by, bz = b.x, b.y, b.z
  3381. local _t = 1 - t
  3382. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3383. end
  3384.  
  3385. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3386. local frame = IT("Frame")
  3387. frame.BackgroundTransparency = TRANSPARENCY
  3388. frame.BorderSizePixel = BORDERSIZEPIXEL
  3389. frame.Position = POSITION
  3390. frame.Size = SIZE
  3391. frame.BackgroundColor3 = COLOR
  3392. frame.BorderColor3 = BORDERCOLOR
  3393. frame.Name = NAME
  3394. frame.Parent = PARENT
  3395. return frame
  3396. end
  3397.  
  3398. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3399. local label = IT("TextLabel")
  3400. label.BackgroundTransparency = 1
  3401. label.Size = UD2(1, 0, 1, 0)
  3402. label.Position = UD2(0, 0, 0, 0)
  3403. label.TextColor3 = TEXTCOLOR
  3404. label.TextStrokeTransparency = STROKETRANSPARENCY
  3405. label.TextTransparency = TRANSPARENCY
  3406. label.FontSize = TEXTFONTSIZE
  3407. label.Font = TEXTFONT
  3408. label.BorderSizePixel = BORDERSIZEPIXEL
  3409. label.TextScaled = false
  3410. label.Text = TEXT
  3411. label.Name = NAME
  3412. label.Parent = PARENT
  3413. return label
  3414. end
  3415.  
  3416. function NoOutlines(PART)
  3417. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3418. end
  3419.  
  3420. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3421. local NEWWELD = IT(TYPE)
  3422. NEWWELD.Part0 = PART0
  3423. NEWWELD.Part1 = PART1
  3424. NEWWELD.C0 = C0
  3425. NEWWELD.C1 = C1
  3426. NEWWELD.Parent = PARENT
  3427. return NEWWELD
  3428. end
  3429. local S = IT("Sound")
  3430. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3431. local NEWSOUND = nil
  3432. coroutine.resume(coroutine.create(function()
  3433. NEWSOUND = S:Clone()
  3434. NEWSOUND.Parent = PARENT
  3435. NEWSOUND.Volume = VOLUME
  3436. NEWSOUND.Pitch = PITCH
  3437. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3438. NEWSOUND:play()
  3439. if DOESLOOP == true then
  3440. NEWSOUND.Looped = true
  3441. else
  3442. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  3443. NEWSOUND:remove()
  3444. end
  3445. end))
  3446. return NEWSOUND
  3447. end
  3448.  
  3449. function CFrameFromTopBack(at, top, back)
  3450. local right = top:Cross(back)
  3451. 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)
  3452. end
  3453.  
  3454. --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})
  3455. function WACKYEFFECT(Table)
  3456. local TYPE = (Table.EffectType or "Sphere")
  3457. local SIZE = (Table.Size or VT(1,1,1))
  3458. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3459. local TRANSPARENCY = (Table.Transparency or 0)
  3460. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3461. local CFRAME = (Table.CFrame or Torso.CFrame)
  3462. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3463. local ROTATION1 = (Table.RotationX or 0)
  3464. local ROTATION2 = (Table.RotationY or 0)
  3465. local ROTATION3 = (Table.RotationZ or 0)
  3466. local MATERIAL = (Table.Material or "Neon")
  3467. local COLOR = (Table.Color or C3(1,1,1))
  3468. local TIME = (Table.Time or 45)
  3469. local SOUNDID = (Table.SoundID or nil)
  3470. local SOUNDPITCH = (Table.SoundPitch or nil)
  3471. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3472. coroutine.resume(coroutine.create(function()
  3473. local PLAYSSOUND = false
  3474. local SOUND = nil
  3475. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3476. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3477. PLAYSSOUND = true
  3478. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3479. end
  3480. EFFECT.Color = COLOR
  3481. local MSH = nil
  3482. if TYPE == "Sphere" then
  3483. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3484. elseif TYPE == "Block" then
  3485. MSH = IT("BlockMesh",EFFECT)
  3486. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3487. elseif TYPE == "Wave" then
  3488. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3489. elseif TYPE == "Ring" then
  3490. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3491. elseif TYPE == "Slash" then
  3492. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3493. elseif TYPE == "Round Slash" then
  3494. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3495. elseif TYPE == "Swirl" then
  3496. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3497. elseif TYPE == "Skull" then
  3498. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3499. elseif TYPE == "Crystal" then
  3500. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3501. end
  3502. if MSH ~= nil then
  3503. local MOVESPEED = nil
  3504. if MOVEDIRECTION ~= nil then
  3505. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3506. end
  3507. local GROWTH = SIZE - ENDSIZE
  3508. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3509. if TYPE == "Block" then
  3510. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3511. else
  3512. EFFECT.CFrame = CFRAME
  3513. end
  3514. for LOOP = 1, TIME+1 do
  3515. Swait()
  3516. MSH.Scale = MSH.Scale - GROWTH/TIME
  3517. if TYPE == "Wave" then
  3518. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3519. end
  3520. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3521. if TYPE == "Block" then
  3522. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3523. else
  3524. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3525. end
  3526. if MOVEDIRECTION ~= nil then
  3527. local ORI = EFFECT.Orientation
  3528. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3529. EFFECT.Orientation = ORI
  3530. end
  3531. end
  3532. if PLAYSSOUND == false then
  3533. EFFECT:remove()
  3534. else
  3535. SOUND.Stopped:Connect(function()
  3536. EFFECT:remove()
  3537. end)
  3538. end
  3539. else
  3540. if PLAYSSOUND == false then
  3541. EFFECT:remove()
  3542. else
  3543. repeat Swait() until SOUND.Playing == false
  3544. EFFECT:remove()
  3545. end
  3546. end
  3547. end))
  3548. end
  3549.  
  3550. function MakeForm(PART,TYPE)
  3551. if TYPE == "Cyl" then
  3552. local MSH = IT("CylinderMesh",PART)
  3553. elseif TYPE == "Ball" then
  3554. local MSH = IT("SpecialMesh",PART)
  3555. MSH.MeshType = "Sphere"
  3556. elseif TYPE == "Wedge" then
  3557. local MSH = IT("SpecialMesh",PART)
  3558. MSH.MeshType = "Wedge"
  3559. end
  3560. end
  3561.  
  3562. function SpawnTrail(FROM,TO,BIG)
  3563. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Trail", VT(0,0,0))
  3564. MakeForm(TRAIL,"Cyl")
  3565. local DIST = (FROM - TO).Magnitude
  3566. if BIG == true then
  3567. TRAIL.Size = VT(4.5,DIST,4.5)
  3568. else
  3569. TRAIL.Size = VT(4.5,DIST,4.5)
  3570. end
  3571. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  3572. coroutine.resume(coroutine.create(function()
  3573. for i = 1, 5 do
  3574. Swait()
  3575. TRAIL.Transparency = TRAIL.Transparency + 0.1
  3576. end
  3577. TRAIL:remove()
  3578. end))
  3579. end
  3580.  
  3581. function SpawnTrail0(FROM,TO,BIG)
  3582. local TRAIL0 = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Trail", VT(1,1,1))
  3583. MakeForm(TRAIL0,"Cyl")
  3584. local DIST = (FROM - TO).Magnitude
  3585. if BIG == true then
  3586. TRAIL0.Size = VT(0.75,DIST,0.75)
  3587. else
  3588. TRAIL0.Size = VT(0.65,DIST,0.65)
  3589. end
  3590. TRAIL0.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  3591. coroutine.resume(coroutine.create(function()
  3592. for i = 1, 5 do
  3593. Swait()
  3594. TRAIL0.Transparency = TRAIL0.Transparency + 0.1
  3595. end
  3596. TRAIL0:remove()
  3597. end))
  3598. end
  3599.  
  3600. Debris = game:GetService("Debris")
  3601.  
  3602. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3603. local DIRECTION = CF(StartPos,EndPos).lookVector
  3604. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3605. end
  3606.  
  3607. function turnto(position)
  3608. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3609. end
  3610.  
  3611. function swait(num)
  3612. if num == 0 or num == nil then
  3613. ArtificialHB.Event:wait()
  3614. else
  3615. for i = 0, num do
  3616. ArtificialHB.Event:wait()
  3617. end
  3618. end
  3619. end
  3620.  
  3621. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  3622. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3623. local mesh = IT("SpecialMesh",wave)
  3624. mesh.MeshType = "FileMesh"
  3625. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3626. mesh.Scale = SIZE
  3627. mesh.Offset = VT(0,0,0)
  3628. wave.CFrame = CFRAME
  3629. coroutine.resume(coroutine.create(function(PART)
  3630. for i = 1, WAIT do
  3631. Swait()
  3632. mesh.Scale = mesh.Scale + GROW
  3633. if DOESROT == true then
  3634. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3635. end
  3636. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3637. if wave.Transparency > 0.99 then
  3638. wave:remove()
  3639. end
  3640. end
  3641. end))
  3642. end
  3643.  
  3644. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  3645. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3646. local mesh = IT("SpecialMesh",wave)
  3647. mesh.MeshType = "Sphere"
  3648. mesh.Scale = SIZE
  3649. mesh.Offset = VT(0,0,0)
  3650. wave.CFrame = CFRAME
  3651. coroutine.resume(coroutine.create(function(PART)
  3652. for i = 1, WAIT do
  3653. Swait()
  3654. mesh.Scale = mesh.Scale + GROW
  3655. wave.Transparency = wave.Transparency + (1/WAIT)
  3656. if wave.Transparency > 0.99 then
  3657. wave:remove()
  3658. end
  3659. end
  3660. end))
  3661. end
  3662.  
  3663. function chatfunc(text)
  3664. local chat = coroutine.wrap(function()
  3665. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3666. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3667. end
  3668. local Bill = Instance.new("BillboardGui",Character)
  3669. Bill.Size = UDim2.new(0,100,0,40)
  3670. Bill.StudsOffset = Vector3.new(0,3,0)
  3671. Bill.Adornee = Character.Head
  3672. Bill.Name = "TalkingBillBoard"
  3673. local Hehe = Instance.new("TextLabel",Bill)
  3674. Hehe.BackgroundTransparency = 1
  3675. Hehe.BorderSizePixel = 0
  3676. Hehe.Text = ""
  3677. Hehe.Font = "Fantasy"
  3678. Hehe.TextSize = 40
  3679. Hehe.TextStrokeTransparency = 0
  3680. Hehe.Size = UDim2.new(1,0,0.5,0)
  3681. coroutine.resume(coroutine.create(function()
  3682. while Hehe ~= nil do
  3683. swait()
  3684. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  3685. Hehe.Rotation = math.random(-5,5)
  3686. Hehe.TextColor3 = Color3.new(17,17,17)
  3687. Hehe.TextStrokeColor3 = Color3.new(17,17,17)
  3688. end
  3689. end))
  3690. for i = 1,string.len(text),1 do
  3691. swait()
  3692. Hehe.Text = string.sub(text,1,i)
  3693. end
  3694. swait(90)--Re[math.random(1, 93)]
  3695. for i = 0, 1, .025 do
  3696. swait()
  3697. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  3698. Hehe.TextStrokeTransparency = i
  3699. Hehe.TextTransparency = i
  3700. end
  3701. Bill:Destroy()
  3702. end)
  3703. chat()
  3704. end
  3705.  
  3706. function CheckTableForString(Table, String)
  3707. for i, v in pairs(Table) do
  3708. if string.find(string.lower(String), string.lower(v)) then
  3709. return true
  3710. end
  3711. end
  3712. return false
  3713. end
  3714.  
  3715. function CheckIntangible(Hit)
  3716. local ProjectileNames = {
  3717. "Water",
  3718. "Arrow",
  3719. "Projectile",
  3720. "Effect",
  3721. "Rail",
  3722. "Lightning",
  3723. "Bullet"
  3724. }
  3725. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  3726. return true
  3727. end
  3728. return false
  3729. end
  3730.  
  3731. --//=================================\\
  3732. --|| WEAPON CREATION
  3733. --\\=================================//
  3734. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Scarf", VT(1,1,1),false)
  3735. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  3736. PRT.Color = C3(0,0,0)
  3737. for i = 1, 35 do
  3738. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  3739. FACE.Color = C3(0,0,0)
  3740. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  3741. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  3742. end
  3743. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Scarf", VT(1,1,1),false)
  3744. PRT.Color = C3(0,0,0)
  3745. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  3746. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  3747. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Eye", VT(0.6,0.1,1)/2,false)
  3748. MakeForm(Eye,"Ball")
  3749. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  3750. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Eye", VT(0.6,0.1,1)/2,false)
  3751. MakeForm(Eye,"Ball")
  3752. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  3753. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.1,1,1)/2,false)
  3754. MakeForm(Eye,"Ball")
  3755. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  3756.  
  3757. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  3758. if FLOOR ~= nil then
  3759. coroutine.resume(coroutine.create(function()
  3760. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  3761. PART.CFrame = CF(POSITION)
  3762. for i = 1, 45 do
  3763. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3764. RingPiece.Material = FLOOR.Material
  3765. RingPiece.Color = FLOOR.Color
  3766. 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)))
  3767. Debris:AddItem(RingPiece, SWAIT)
  3768. end
  3769. PART:remove()
  3770. end))
  3771. end
  3772. end
  3773. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  3774. if FLOOR ~= nil then
  3775. for i = 1, AMOUNT do
  3776. do
  3777. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  3778. DEBREE.Material = FLOOR.Material
  3779. DEBREE.Color = FLOOR.Color
  3780. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3781. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  3782. coroutine.resume(coroutine.create(function()
  3783. Swait(15)
  3784. DEBREE.Parent = workspace
  3785. DEBREE.CanCollide = true
  3786. Debris:AddItem(DEBREE, SWAIT)
  3787. end))
  3788. end
  3789. end
  3790. end
  3791. end
  3792.  
  3793. local Particle = IT("ParticleEmitter",nil)
  3794. Particle.Enabled = false
  3795. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  3796. Particle.LightEmission = 0.88
  3797. Particle.Rate = 250
  3798. Particle.ZOffset = 0.2
  3799. Particle.Rotation = NumberRange.new(-180, 180)
  3800. Particle.RotSpeed = NumberRange.new(-180, 180)
  3801. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  3802. Particle.Color = ColorSequence.new(C3(255,255,255),C3(255,255,255))
  3803.  
  3804. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  3805. function ParticleEmitter(Table)
  3806. local PRTCL = Particle:Clone()
  3807. local Speed = Table.Speed or 5
  3808. local Drag = Table.Drag or 0
  3809. local Size1 = Table.Size1 or 1
  3810. local Size2 = Table.Size2 or 5
  3811. local Lifetime1 = Table.Lifetime1 or 1
  3812. local Lifetime2 = Table.Lifetime2 or 1.5
  3813. local Parent = Table.Parent or Torso
  3814. local Emit = Table.Emit or 100
  3815. local Offset = Table.Offset or 360
  3816. local Acel = Table.Acel or VT(0,0,0)
  3817. local Enabled = Table.Enabled or false
  3818. PRTCL.Parent = Parent
  3819. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3820. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3821. PRTCL.Speed = NumberRange.new(Speed)
  3822. PRTCL.VelocitySpread = Offset
  3823. PRTCL.Drag = Drag
  3824. PRTCL.Acceleration = Acel
  3825. if Enabled == false then
  3826. PRTCL:Emit(Emit)
  3827. Debris:AddItem(PRTCL,Lifetime2)
  3828. else
  3829. PRTCL.Enabled = true
  3830. end
  3831. return PRTCL
  3832. end
  3833.  
  3834. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3835. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3836. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3837. MakeForm(Part,"Wedge")
  3838. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3839. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3840. MakeForm(Part,"Wedge")
  3841. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3842. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3843. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3844. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3845. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3846. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3847. MakeForm(Part,"Cyl")
  3848. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3849. for i = 1, 8 do
  3850. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3851. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3852. end
  3853. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3854. MakeForm(Part,"Cyl")
  3855. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3856. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3857. MakeForm(Part,"Ball")
  3858. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3859. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  3860. MakeForm(Part,"Wedge")
  3861. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  3862. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  3863. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3864. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  3865. MakeForm(Part,"Cyl")
  3866. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3867. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  3868. MakeForm(Part,"Cyl")
  3869. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3870. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  3871. MakeForm(Part,"Cyl")
  3872. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3873. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3874. MakeForm(Part,"Wedge")
  3875. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  3876. local LASTPART = Handle
  3877. for i = 1, 10 do
  3878. if LASTPART == Handle then
  3879. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  3880. LASTPART = Part
  3881. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3882. else
  3883. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  3884. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  3885. LASTPART = Part
  3886. end
  3887. end
  3888.  
  3889. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  3890. MakeForm(Barrel,"Cyl")
  3891. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3892. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  3893. MakeForm(Part,"Cyl")
  3894. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  3895. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  3896. MakeForm(Part,"Wedge")
  3897. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  3898. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  3899. MakeForm(Hole,"Cyl")
  3900. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  3901. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  3902. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3903. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  3904. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  3905. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3906. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  3907. coroutine.resume(coroutine.create(function()
  3908. while wait() do
  3909. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  3910. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  3911. end
  3912. end))
  3913.  
  3914. 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)})
  3915. --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)})
  3916.  
  3917. for _, c in pairs(Weapon:GetDescendants()) do
  3918. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3919. c.Material = "Glass"
  3920. c.Color = C3(0,0,0)
  3921. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3922. c.Color = C3(1,1,1)
  3923. c.Material = "Neon"
  3924. end
  3925. end
  3926.  
  3927. Weapon.Parent = Character
  3928. for _, c in pairs(Weapon:GetChildren()) do
  3929. if c.ClassName == "Part" then
  3930. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3931. end
  3932. end
  3933.  
  3934. local SKILLTEXTCOLOR = C3(1,1,1)
  3935. local SKILLFONT = "Bodoni"
  3936. local SKILLTEXTSIZE = 5
  3937.  
  3938. Humanoid.Died:connect(function()
  3939. ATTACK = true
  3940. end)
  3941. Humanoid.Died:connect(function()
  3942. Humanoid.Parent = nil
  3943. chatfunc("I don't have any crimes to DIE!")
  3944. ApplyAoE(RootPart, 955, 9999, 9999, 9999, true)
  3945. Humanoid.Name = "DEAD!"
  3946. Humanoid.MaxHealth = 16e+16
  3947. Humanoid.Health = 16e+16
  3948. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Eggplant",VT(10,10,10))
  3949. CreateSound("178452217", Effects, 10, 1)
  3950. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Eggplant",VT(500,500,500))
  3951. end)
  3952.  
  3953. 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")
  3954. 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")
  3955. 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")
  3956. 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")
  3957. 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")
  3958. 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")
  3959.  
  3960. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "Z - Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  3961. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "X - Pure Heaven", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  3962. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "F - Heaven's Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  3963. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "V - Gates Of Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  3964. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "C - ROAR", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  3965. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Q - Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  3966.  
  3967. workspace.ChildAdded:connect(function(instance)
  3968. for BANISH = 1, #TOBANISH do
  3969. if TOBANISH[BANISH] ~= nil then
  3970. if instance.Name == TOBANISH[BANISH] then
  3971. coroutine.resume(coroutine.create(function()
  3972. printbye(instance.Name)
  3973. instance:ClearAllChildren()
  3974. Debris:AddItem(instance,0.0005)
  3975. end))
  3976. end
  3977. end
  3978. end
  3979. end)
  3980.  
  3981. --//=================================\\
  3982. --|| DAMAGING
  3983. --\\=================================//
  3984.  
  3985. function Banish(Foe)
  3986. if Foe then
  3987. coroutine.resume(coroutine.create(function()
  3988. --if game.Players:FindFirstChild(Foe.Name) then
  3989. table.insert(TOBANISH,Foe.Name)
  3990. printbye(Foe.Name)
  3991. --end
  3992. Foe.Archivable = true
  3993. local CLONE = Foe:Clone()
  3994. Foe:Destroy()
  3995. CLONE.Parent = Effects
  3996. CLONE:BreakJoints()
  3997. local MATERIALS = {"Glass","Neon"}
  3998. for _, c in pairs(CLONE:GetDescendants()) do
  3999. if c:IsA("BasePart") then
  4000. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  4001. CreateSound(340722848, c, 10, 1, false)
  4002. end
  4003. c.Anchored = true
  4004. c.Transparency = c.Transparency + 0.2
  4005. c.Material = MATERIALS[MRANDOM(1,2)]
  4006. c.Color = C3(1 ,1 ,1)
  4007. if c.ClassName == "MeshPart" then
  4008. c.TextureID = ""
  4009. end
  4010. if c:FindFirstChildOfClass("SpecialMesh") then
  4011. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4012. end
  4013. if c:FindFirstChildOfClass("Decal") then
  4014. c:FindFirstChildOfClass("Decal"):remove()
  4015. end
  4016. c.Name = "Banished"
  4017. c.CanCollide = false
  4018. else
  4019. c:remove()
  4020. end
  4021. end
  4022. local A = false
  4023. for i = 1, 35 do
  4024. if A == false then
  4025. A = true
  4026. elseif A == true then
  4027. A = false
  4028. end
  4029. for _, c in pairs(CLONE:GetDescendants()) do
  4030. if c:IsA("BasePart") then
  4031. c.Anchored = true
  4032. c.Material = MATERIALS[MRANDOM(1,2)]
  4033. c.Transparency = c.Transparency + 0.8/35
  4034. if A == false then
  4035. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4036. elseif A == true then
  4037. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4038. end
  4039. end
  4040. end
  4041. Swait()
  4042. end
  4043. CLONE:remove()
  4044. end))
  4045. end
  4046. end
  4047.  
  4048. function ApplyAoE(POSITION,RANGE,ISBANISH)
  4049. local CHILDREN = workspace:GetDescendants()
  4050. for index, CHILD in pairs(CHILDREN) do
  4051. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4052. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4053. if HUM then
  4054. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4055. if TORSO then
  4056. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4057. if ISBANISH == true then
  4058. Banish(CHILD)
  4059. else
  4060. if ISBANISH == "Gravity" then
  4061. HUM.PlatformStand = true
  4062. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4063. local grav = Instance.new("BodyPosition",TORSO)
  4064. grav.D = 15
  4065. grav.P = 20000
  4066. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4067. grav.position = TORSO.Position
  4068. grav.Name = "V3BanishForce"..Player.Name
  4069. else
  4070. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  4071. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  4072. end
  4073. else
  4074. HUM.PlatformStand = false
  4075. end
  4076. end
  4077. elseif ISBANISH == "Gravity" then
  4078. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4079. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  4080. HUM.PlatformStand = false
  4081. end
  4082. end
  4083. end
  4084. end
  4085. end
  4086. end
  4087. end
  4088. function recurse(root,callback,i)
  4089. i= i or 0
  4090. for _,v in pairs(root:GetChildren()) do
  4091. i = i + 1
  4092. callback(i,v)
  4093.  
  4094. if #v:GetChildren() > 0 then
  4095. i = recurse(v,callback,i)
  4096. end
  4097. end
  4098.  
  4099. return i
  4100. end
  4101. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  4102. attachmentName = attachmentName.."RigAttachment"
  4103. local constraint = Instance.new(className.."Constraint")
  4104. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  4105. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  4106. constraint.Name = "RagdollConstraint"..part1.Name
  4107.  
  4108. for _,propertyData in next,properties or {} do
  4109. constraint[propertyData[1]] = propertyData[2]
  4110. end
  4111.  
  4112. constraint.Parent = character
  4113. end
  4114. function getAttachment0(character, attachmentName)
  4115. for _,child in next,character:GetChildren() do
  4116. local attachment = child:FindFirstChild(attachmentName)
  4117. if attachment then
  4118. return attachment
  4119. end
  4120. end
  4121. end
  4122.  
  4123. function ArtificialHitbox(Part)
  4124. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  4125. HITBOX.CanCollide = true
  4126. HITBOX.CFrame = Part.CFrame
  4127. weldBetween(Part,HITBOX)
  4128. end
  4129. function R15Ragdoll(character,KeepArms)
  4130. character:BreakJoints()
  4131. coroutine.resume(coroutine.create(function()
  4132. recurse(character, function(_,v)
  4133. if v:IsA("Attachment") then
  4134. v.Axis = Vector3.new(0, 1, 0)
  4135. v.SecondaryAxis = Vector3.new(0, 0, 1)
  4136. v.Rotation = Vector3.new(0, 0, 0)
  4137. end
  4138. end)
  4139. for _,child in next,character:GetChildren() do
  4140. if child:IsA("Accoutrement") then
  4141. for _,part in next,child:GetChildren() do
  4142. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  4143. local attachment1 = part:FindFirstChildOfClass("Attachment")
  4144. local attachment0 = getAttachment0(character,attachment1.Name)
  4145. if attachment0 and attachment1 then
  4146. local constraint = Instance.new("HingeConstraint")
  4147. constraint.Attachment0 = attachment0
  4148. constraint.Attachment1 = attachment1
  4149. constraint.LimitsEnabled = true
  4150. constraint.UpperAngle = 0
  4151. constraint.LowerAngle = 0
  4152. constraint.Parent = character
  4153. end
  4154. ArtificialHitbox(part)
  4155. elseif part.Name == "HumanoidRootPart" then
  4156. part:remove()
  4157. end
  4158. end
  4159. end
  4160. end
  4161.  
  4162. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  4163. {"LimitsEnabled",true};
  4164. {"UpperAngle",5};
  4165. })
  4166. if character:FindFirstChild("Head") then
  4167. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  4168. {"LimitsEnabled",true};
  4169. {"UpperAngle",15};
  4170. })
  4171. end
  4172.  
  4173. local handProperties = {
  4174. {"LimitsEnabled", true};
  4175. {"UpperAngle",0};
  4176. {"LowerAngle",0};
  4177. }
  4178. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  4179. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  4180.  
  4181. local shinProperties = {
  4182. {"LimitsEnabled", true};
  4183. {"UpperAngle", 0};
  4184. {"LowerAngle", -75};
  4185. }
  4186. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  4187. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  4188.  
  4189. local footProperties = {
  4190. {"LimitsEnabled", true};
  4191. {"UpperAngle", 15};
  4192. {"LowerAngle", -45};
  4193. }
  4194. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  4195. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  4196. if KeepArms == true then
  4197. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  4198. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  4199. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  4200. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  4201. end
  4202. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  4203. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  4204. Debris:AddItem(character,5)
  4205. end))
  4206. end
  4207.  
  4208. function Ragdoll(Character2,CharTorso,KeepArms)
  4209. coroutine.resume(coroutine.create(function()
  4210. Character2:BreakJoints()
  4211. local hum = Character2:findFirstChild("Humanoid")
  4212. hum:remove()
  4213. local function Scan(ch)
  4214. local e
  4215. for e = 1,#ch do
  4216. Scan(ch[e]:GetChildren())
  4217. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  4218. ch[e]:remove()
  4219. end
  4220. end
  4221. end
  4222. local NEWHUM = IT("Humanoid")
  4223. NEWHUM.Name = "Corpse"
  4224. NEWHUM.Health = 0
  4225. NEWHUM.MaxHealth = 0
  4226. NEWHUM.PlatformStand = true
  4227. NEWHUM.Parent = Character2
  4228. NEWHUM.DisplayDistanceType = "None"
  4229.  
  4230. local ch = Character2:GetChildren()
  4231. local i
  4232. for i = 1,#ch do
  4233. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  4234. ch[i]:remove()
  4235. end
  4236. end
  4237.  
  4238. local Torso2 = Character2.Torso
  4239. local movevector = Vector3.new()
  4240.  
  4241. if Torso2 then
  4242. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  4243. local Head = Character2:FindFirstChild("Head")
  4244. if Head then
  4245. local Neck = Instance.new("Weld")
  4246. Neck.Name = "Neck"
  4247. Neck.Part0 = Torso2
  4248. Neck.Part1 = Head
  4249. Neck.C0 = CFrame.new(0, 1.5, 0)
  4250. Neck.C1 = CFrame.new()
  4251. Neck.Parent = Torso2
  4252.  
  4253. end
  4254. local Limb = Character2:FindFirstChild("Right Arm")
  4255. if Limb and KeepArms == true then
  4256.  
  4257. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  4258. local Joint = Instance.new("Glue")
  4259. Joint.Name = "RightShoulder"
  4260. Joint.Part0 = Torso2
  4261. Joint.Part1 = Limb
  4262. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4263. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4264. Joint.Parent = Torso2
  4265.  
  4266. local B = Instance.new("Part")
  4267. B.TopSurface = 0
  4268. B.BottomSurface = 0
  4269. B.formFactor = "Symmetric"
  4270. B.Size = Vector3.new(1, 1, 1)
  4271. B.Transparency = 1
  4272. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  4273. B.Parent = Character2
  4274. local W = Instance.new("Weld")
  4275. W.Part0 = Limb
  4276. W.Part1 = B
  4277. W.C0 = CFrame.new(0, -0.5, 0)
  4278. W.Parent = Limb
  4279.  
  4280. end
  4281. local Limb = Character2:FindFirstChild("Left Arm")
  4282. if Limb and KeepArms == true then
  4283.  
  4284. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  4285. local Joint = Instance.new("Glue")
  4286. Joint.Name = "LeftShoulder"
  4287. Joint.Part0 = Torso2
  4288. Joint.Part1 = Limb
  4289. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  4290. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  4291. Joint.Parent = Torso2
  4292.  
  4293. local B = Instance.new("Part")
  4294. B.TopSurface = 0
  4295. B.BottomSurface = 0
  4296. B.formFactor = "Symmetric"
  4297. B.Size = Vector3.new(1, 1, 1)
  4298. B.Transparency = 1
  4299. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  4300. B.Parent = Character2
  4301. local W = Instance.new("Weld")
  4302. W.Part0 = Limb
  4303. W.Part1 = B
  4304. W.C0 = CFrame.new(0, -0.5, 0)
  4305. W.Parent = Limb
  4306.  
  4307. end
  4308. local Limb = Character2:FindFirstChild("Right Leg")
  4309. if Limb then
  4310.  
  4311. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  4312. local Joint = Instance.new("Glue")
  4313. Joint.Name = "RightHip"
  4314. Joint.Part0 = Torso2
  4315. Joint.Part1 = Limb
  4316. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4317. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4318. Joint.Parent = Torso2
  4319.  
  4320. local B = Instance.new("Part")
  4321. B.TopSurface = 0
  4322. B.BottomSurface = 0
  4323. B.formFactor = "Symmetric"
  4324. B.Size = Vector3.new(1, 1, 1)
  4325. B.Transparency = 1
  4326. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  4327. B.Parent = Character2
  4328. local W = Instance.new("Weld")
  4329. W.Part0 = Limb
  4330. W.Part1 = B
  4331. W.C0 = CFrame.new(0, -0.5, 0)
  4332. W.Parent = Limb
  4333.  
  4334. end
  4335. local Limb = Character2:FindFirstChild("Left Leg")
  4336. if Limb then
  4337.  
  4338. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  4339. local Joint = Instance.new("Glue")
  4340. Joint.Name = "LeftHip"
  4341. Joint.Part0 = Torso2
  4342. Joint.Part1 = Limb
  4343. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  4344. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  4345. Joint.Parent = Torso2
  4346.  
  4347. local B = Instance.new("Part")
  4348. B.TopSurface = 0
  4349. B.BottomSurface = 0
  4350. B.formFactor = "Symmetric"
  4351. B.Size = Vector3.new(1, 1, 1)
  4352. B.Transparency = 1
  4353. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  4354. B.Parent = Character2
  4355. local W = Instance.new("Weld")
  4356. W.Part0 = Limb
  4357. W.Part1 = B
  4358. W.C0 = CFrame.new(0, -0.5, 0)
  4359. W.Parent = Limb
  4360.  
  4361. end
  4362. --[
  4363. local Bar = Instance.new("Part")
  4364. Bar.TopSurface = 0
  4365. Bar.BottomSurface = 0
  4366. Bar.formFactor = "Symmetric"
  4367. Bar.Size = Vector3.new(1, 1, 1)
  4368. Bar.Transparency = 1
  4369. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  4370. Bar.Parent = Character2
  4371. local Weld = Instance.new("Weld")
  4372. Weld.Part0 = Torso2
  4373. Weld.Part1 = Bar
  4374. Weld.C0 = CFrame.new(0, 0.5, 0)
  4375. Weld.Parent = Torso2
  4376. --]]
  4377. end
  4378. Character2.Parent = workspace
  4379. Debris:AddItem(Character2,5)
  4380.  
  4381. return Character2,Torso2
  4382. end))
  4383. end
  4384.  
  4385. --//=================================\\
  4386. --|| ATTACK FUNCTIONS AND STUFF
  4387. --\\=================================//
  4388. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  4389. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  4390. local mesh = IT("SpecialMesh",wave)
  4391. mesh.MeshType = "Sphere"
  4392. mesh.Scale = SIZE
  4393. mesh.Offset = VT(0,0,0)
  4394. wave.CFrame = CFRAME
  4395. coroutine.resume(coroutine.create(function(PART)
  4396. for i = 1, WAIT do
  4397. Swait()
  4398. mesh.Scale = mesh.Scale + GROW
  4399. wave.Transparency = wave.Transparency + (1/WAIT)
  4400. if wave.Transparency > 0.99 then
  4401. wave:remove()
  4402. end
  4403. end
  4404. end))
  4405. end
  4406. function Roar()
  4407. ATTACK = true
  4408. Rooted = true
  4409. local VIOLENCE = 1
  4410. FORCEIDLE = true
  4411. FORCEIDLE = false
  4412. if VIOLENCE <= 10 then
  4413. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(2,2,2))
  4414. for i=0, 1, 0.1 / Animation_Speed do
  4415. Swait()
  4416. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4418. 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)
  4419. 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)
  4420. 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)
  4421. 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)
  4422. end
  4423. local TAUNT = CreateSound(ROAR[MRANDOM(1,#ROAR)], Head, 100, 1, false)
  4424. repeat Swait() until TAUNT.TimeLength > 0
  4425. repeat
  4426. Swait()
  4427. ApplyAoE(Head.Position,15,0,0,200,false)
  4428. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  4429. 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})
  4430. 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})
  4431. 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})
  4432. TAUNT.Parent = Head
  4433. Swait()
  4434. TAUNT.Parent = Head
  4435. local CHILDREN = workspace:GetDescendants()
  4436. for index, CHILD in pairs(CHILDREN) do
  4437. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4438. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4439. if HUM then
  4440. local TORSO = CHILD:FindFirstChild("Head")
  4441. if TORSO then
  4442. if (TORSO.Position - Head.Position).Magnitude <= 999 then
  4443. 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})
  4444. TORSO:remove()
  4445. if CHILD:FindFirstChild("Torso") then
  4446. Ragdoll(CHILD,Torso,true)
  4447. elseif CHILD:FindFirstChild("UpperTorso") then
  4448. R15Ragdoll(CHILD,true)
  4449. end
  4450. end
  4451. end
  4452. end
  4453. end
  4454. end
  4455. 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)
  4456. 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)
  4457. 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)
  4458. 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)
  4459. 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)
  4460. 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)
  4461. until TAUNT.TimePosition > TAUNT.TimeLength - 2
  4462. end
  4463. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  4464. ATTACK = false
  4465. Rooted = false
  4466. end
  4467. function Shot()
  4468. ATTACK = true
  4469. Rooted = false
  4470. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  4471. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  4472. for i=0, 0.5, 0.22 / Animation_Speed do
  4473. Swait()
  4474. turnto(Mouse.Hit.p)
  4475. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4476. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4478. 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)
  4479. 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)
  4480. end
  4481. repeat
  4482. for i=0, 0.5, 0.22 / Animation_Speed do
  4483. Swait()
  4484. turnto(Mouse.Hit.p)
  4485. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4486. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4487. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4488. 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)
  4489. 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)
  4490. end
  4491. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  4492. SpawnTrail0(Hole.Position,POS)
  4493. if HIT ~= nil then
  4494. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4495. Banish(HIT.Parent)
  4496. end
  4497. end
  4498. 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})
  4499. 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})
  4500. 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})
  4501. 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})
  4502. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  4503. 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})
  4504. 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})
  4505. for i=0, 0.5, 0.22 / Animation_Speed do
  4506. Swait()
  4507. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  4509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4510. 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)
  4511. 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)
  4512. end
  4513. MagicSphere(VT(0,0,0),15,Head.CFrame,"Eggplant",VT(5,5,5))
  4514. until KEYHOLD == false
  4515. ATTACK = false
  4516. Rooted = false
  4517. end
  4518. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  4519. if FLOOR ~= nil then
  4520. coroutine.resume(coroutine.create(function()
  4521. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  4522. PART.CFrame = CF(POSITION)
  4523. for i = 1, 45 do
  4524. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  4525. RingPiece.Material = FLOOR.Material
  4526. RingPiece.Color = FLOOR.Color
  4527. 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)))
  4528. Debris:AddItem(RingPiece,SWAIT)
  4529. end
  4530. PART:remove()
  4531. end))
  4532. end
  4533. end
  4534.  
  4535. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  4536. if FLOOR ~= nil then
  4537. for i = 1, AMOUNT do
  4538. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  4539. DEBREE.Material = FLOOR.Material
  4540. DEBREE.Color = FLOOR.Color
  4541. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  4542. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  4543. coroutine.resume(coroutine.create(function()
  4544. Swait(15)
  4545. DEBREE.Parent = workspace
  4546. DEBREE.CanCollide = true
  4547. Debris:AddItem(DEBREE,SWAIT)
  4548. end))
  4549. end
  4550. end
  4551. end
  4552. function Pure_Heaven()
  4553. chatfunc("The Light of Heaven will make sense!")
  4554. ATTACK = true
  4555. Rooted = true
  4556. for i = 1, 15 do
  4557. Swait()
  4558. 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)
  4559. 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)
  4560. 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)
  4561. 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)
  4562. end
  4563. for i=0, 0.5, 0.1 / Animation_Speed do
  4564. Swait()
  4565. 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)
  4566. 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)
  4567. 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)
  4568. 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)
  4569. end
  4570. coroutine.resume(coroutine.create(function()
  4571. local POS = Mouse.Hit.p
  4572. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  4573. MakeForm(RAY,"Cyl")
  4574. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  4575. MakeForm(SPHERE,"Ball")
  4576. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Eggplant", "Strike", VT(0,0,0))
  4577. MakeForm(SHIELD,"Ball")
  4578. SHIELD.CFrame = CF(POS)
  4579. RAY.CFrame = CF(POS)
  4580. SPHERE.CFrame = CF(POS)
  4581. CreateSound(440145570, SPHERE, 15, 0.5, false)
  4582. CreateSound(415700134, SPHERE, 15, 0.5, false)
  4583. for i = 1, 200 do
  4584. Swait()
  4585. 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})
  4586. RAY.Size = RAY.Size + VT(0.5,0,0.5)
  4587. SPHERE.Size = SPHERE.Size + VT(1.5,1.5,1.5)
  4588. SHIELD.Size = SPHERE.Size + VT(2.5,2.5,2.5)
  4589. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4590. end
  4591. for i = 1, 45 do
  4592. Swait()
  4593. RAY.Transparency = RAY.Transparency + 1/45
  4594. SPHERE.Transparency = RAY.Transparency
  4595. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4596. end
  4597. RAY:remove()
  4598. SHIELD:remove()
  4599. SPHERE:remove()
  4600. end))
  4601. for i=0, 1, 0.1 / Animation_Speed do
  4602. Swait()
  4603. 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)
  4604. 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)
  4605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4607. 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)
  4608. 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)
  4609. end
  4610. ATTACK = false
  4611. Rooted = false
  4612. end
  4613. function printbye(Name)
  4614. local MESSAGES = {"GET REKT LMAO, ","God don't like Criminals mate, ","Go to hell Heaven is not a Place you want to go, ","YOU CAN GO TO HEAVEN BUT IT'S A SLEEPING HELL LOL, "}
  4615. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  4616. end
  4617. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4618. MakeForm(RightHole,"Cyl")
  4619. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4620. MakeForm(LeftHole,"Cyl")
  4621. function Gates_Of_Darkness()
  4622. chatfunc("Be Darker...")
  4623. CreateSound(0, Torso, 10, 1, false)
  4624. ATTACK = true
  4625. Rooted = true
  4626. for i=0, 0.5, 0.1 / Animation_Speed do
  4627. Swait()
  4628. 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)
  4629. 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)
  4630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4631. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4632. 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)
  4633. 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)
  4634. end
  4635. local DONE = false
  4636. local GATE = nil
  4637. local GATESPIN = true
  4638. coroutine.resume(coroutine.create(function()
  4639. repeat
  4640. Swait()
  4641. if GATE ~= nil then
  4642. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  4643. end
  4644. until GATESPIN == false
  4645. end))
  4646. coroutine.resume(coroutine.create(function()
  4647. repeat
  4648. Swait()
  4649. 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)
  4650. 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)
  4651. 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)
  4652. 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)
  4653. 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)
  4654. 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)
  4655. until DONE == true
  4656. Swait(50)
  4657. for i = 1, 35 do
  4658. Swait(4)
  4659. local FIRED = false
  4660. local CHILDREN = workspace:GetDescendants()
  4661. for index, CHILD in pairs(CHILDREN) do
  4662. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4663. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4664. if HUM then
  4665. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4666. if TORSO then
  4667. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4668. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4669. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4670. 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})
  4671. 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})
  4672. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4673. Banish(CHILD)
  4674. FIRED = true
  4675. break
  4676. end
  4677. end
  4678. end
  4679. end
  4680. end
  4681. if FIRED == false then
  4682. 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)))
  4683. 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})
  4684. 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})
  4685. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4686. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4687. if HITBOD ~= nil then
  4688. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4689. Banish(HITBOD.Parent)
  4690. end
  4691. end
  4692. end
  4693. end
  4694. for i = 1, 35 do
  4695. Swait(4)
  4696. local FIRED = false
  4697. local CHILDREN = workspace:GetDescendants()
  4698. for index, CHILD in pairs(CHILDREN) do
  4699. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4700. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4701. if HUM then
  4702. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4703. if TORSO then
  4704. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4705. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4706. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4707. 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})
  4708. 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})
  4709. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4710. Banish(CHILD)
  4711. FIRED = true
  4712. break
  4713. end
  4714. end
  4715. end
  4716. end
  4717. end
  4718. if FIRED == false then
  4719. 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)))
  4720. 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})
  4721. 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})
  4722. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4723. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4724. if HITBOD ~= nil then
  4725. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4726. Banish(HITBOD.Parent)
  4727. end
  4728. end
  4729. end
  4730. end
  4731. for i = 1, 35 do
  4732. Swait(4)
  4733. local FIRED = false
  4734. local CHILDREN = workspace:GetDescendants()
  4735. for index, CHILD in pairs(CHILDREN) do
  4736. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4737. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4738. if HUM then
  4739. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4740. if TORSO then
  4741. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4742. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4743. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4744. 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})
  4745. 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})
  4746. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4747. Banish(CHILD)
  4748. FIRED = true
  4749. break
  4750. end
  4751. end
  4752. end
  4753. end
  4754. end
  4755. if FIRED == false then
  4756. 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)))
  4757. 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})
  4758. 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})
  4759. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4760. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4761. if HITBOD ~= nil then
  4762. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4763. Banish(HITBOD.Parent)
  4764. end
  4765. end
  4766. end
  4767. end
  4768. for i = 1, 35 do
  4769. Swait(4)
  4770. local FIRED = false
  4771. local CHILDREN = workspace:GetDescendants()
  4772. for index, CHILD in pairs(CHILDREN) do
  4773. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4774. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4775. if HUM then
  4776. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4777. if TORSO then
  4778. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4779. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4780. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4781. 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})
  4782. 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})
  4783. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4784. Banish(CHILD)
  4785. FIRED = true
  4786. break
  4787. end
  4788. end
  4789. end
  4790. end
  4791. end
  4792. if FIRED == false then
  4793. 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)))
  4794. 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})
  4795. 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})
  4796. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4797. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4798. if HITBOD ~= nil then
  4799. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4800. Banish(HITBOD.Parent)
  4801. end
  4802. end
  4803. end
  4804. end
  4805. for i = 1, 35 do
  4806. Swait(4)
  4807. local FIRED = false
  4808. local CHILDREN = workspace:GetDescendants()
  4809. for index, CHILD in pairs(CHILDREN) do
  4810. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4811. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4812. if HUM then
  4813. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4814. if TORSO then
  4815. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4816. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4817. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4818. 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})
  4819. 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})
  4820. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4821. Banish(CHILD)
  4822. FIRED = true
  4823. break
  4824. end
  4825. end
  4826. end
  4827. end
  4828. end
  4829. if FIRED == false then
  4830. 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)))
  4831. 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})
  4832. 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})
  4833. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4834. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4835. if HITBOD ~= nil then
  4836. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4837. Banish(HITBOD.Parent)
  4838. end
  4839. end
  4840. end
  4841. end
  4842. for i = 1, 35 do
  4843. Swait(4)
  4844. local FIRED = false
  4845. local CHILDREN = workspace:GetDescendants()
  4846. for index, CHILD in pairs(CHILDREN) do
  4847. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4848. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4849. if HUM then
  4850. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4851. if TORSO then
  4852. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4853. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4854. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4855. 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})
  4856. 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})
  4857. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4858. Banish(CHILD)
  4859. FIRED = true
  4860. break
  4861. end
  4862. end
  4863. end
  4864. end
  4865. end
  4866. if FIRED == false then
  4867. 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)))
  4868. 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})
  4869. 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})
  4870. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4871. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4872. if HITBOD ~= nil then
  4873. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4874. Banish(HITBOD.Parent)
  4875. end
  4876. end
  4877. end
  4878. end
  4879. for i = 1, 35 do
  4880. Swait(4)
  4881. local FIRED = false
  4882. local CHILDREN = workspace:GetDescendants()
  4883. for index, CHILD in pairs(CHILDREN) do
  4884. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4885. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4886. if HUM then
  4887. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4888. if TORSO then
  4889. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4890. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4891. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4892. 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})
  4893. 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})
  4894. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4895. Banish(CHILD)
  4896. FIRED = true
  4897. break
  4898. end
  4899. end
  4900. end
  4901. end
  4902. end
  4903. if FIRED == false then
  4904. 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)))
  4905. 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})
  4906. 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})
  4907. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4908. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4909. if HITBOD ~= nil then
  4910. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4911. Banish(HITBOD.Parent)
  4912. end
  4913. end
  4914. end
  4915. end
  4916. for i = 1, 35 do
  4917. Swait(4)
  4918. local FIRED = false
  4919. local CHILDREN = workspace:GetDescendants()
  4920. for index, CHILD in pairs(CHILDREN) do
  4921. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4922. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4923. if HUM then
  4924. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4925. if TORSO then
  4926. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4927. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4928. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4929. 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})
  4930. 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})
  4931. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4932. Banish(CHILD)
  4933. FIRED = true
  4934. break
  4935. end
  4936. end
  4937. end
  4938. end
  4939. end
  4940. if FIRED == false then
  4941. 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)))
  4942. 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})
  4943. 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})
  4944. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4945. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4946. if HITBOD ~= nil then
  4947. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4948. Banish(HITBOD.Parent)
  4949. end
  4950. end
  4951. end
  4952. end
  4953. for i = 1, 35 do
  4954. Swait(4)
  4955. local FIRED = false
  4956. local CHILDREN = workspace:GetDescendants()
  4957. for index, CHILD in pairs(CHILDREN) do
  4958. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4959. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4960. if HUM then
  4961. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4962. if TORSO then
  4963. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  4964. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4965. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4966. 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})
  4967. 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})
  4968. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4969. Banish(CHILD)
  4970. FIRED = true
  4971. break
  4972. end
  4973. end
  4974. end
  4975. end
  4976. end
  4977. if FIRED == false then
  4978. 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)))
  4979. 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})
  4980. 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})
  4981. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  4982. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4983. if HITBOD ~= nil then
  4984. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4985. Banish(HITBOD.Parent)
  4986. end
  4987. end
  4988. end
  4989. end
  4990. for i = 1, 35 do
  4991. Swait(4)
  4992. local FIRED = false
  4993. local CHILDREN = workspace:GetDescendants()
  4994. for index, CHILD in pairs(CHILDREN) do
  4995. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4996. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4997. if HUM then
  4998. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4999. if TORSO then
  5000. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5001. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5002. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5003. 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})
  5004. 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})
  5005. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5006. Banish(CHILD)
  5007. FIRED = true
  5008. break
  5009. end
  5010. end
  5011. end
  5012. end
  5013. end
  5014. if FIRED == false then
  5015. 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)))
  5016. 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})
  5017. 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})
  5018. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5019. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5020. if HITBOD ~= nil then
  5021. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5022. Banish(HITBOD.Parent)
  5023. end
  5024. end
  5025. end
  5026. end
  5027. for i = 1, 35 do
  5028. Swait(4)
  5029. local FIRED = false
  5030. local CHILDREN = workspace:GetDescendants()
  5031. for index, CHILD in pairs(CHILDREN) do
  5032. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5033. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5034. if HUM then
  5035. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5036. if TORSO then
  5037. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5038. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5039. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5040. 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})
  5041. 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})
  5042. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5043. Banish(CHILD)
  5044. FIRED = true
  5045. break
  5046. end
  5047. end
  5048. end
  5049. end
  5050. end
  5051. if FIRED == false then
  5052. 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)))
  5053. 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})
  5054. 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})
  5055. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5056. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5057. if HITBOD ~= nil then
  5058. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5059. Banish(HITBOD.Parent)
  5060. end
  5061. end
  5062. end
  5063. end
  5064. for i = 1, 35 do
  5065. Swait(4)
  5066. local FIRED = false
  5067. local CHILDREN = workspace:GetDescendants()
  5068. for index, CHILD in pairs(CHILDREN) do
  5069. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5070. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5071. if HUM then
  5072. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5073. if TORSO then
  5074. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5075. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5076. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5077. 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})
  5078. 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})
  5079. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5080. Banish(CHILD)
  5081. FIRED = true
  5082. break
  5083. end
  5084. end
  5085. end
  5086. end
  5087. end
  5088. if FIRED == false then
  5089. 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)))
  5090. 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})
  5091. 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})
  5092. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5093. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5094. if HITBOD ~= nil then
  5095. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5096. Banish(HITBOD.Parent)
  5097. end
  5098. end
  5099. end
  5100. end
  5101. for i = 1, 35 do
  5102. Swait(4)
  5103. local FIRED = false
  5104. local CHILDREN = workspace:GetDescendants()
  5105. for index, CHILD in pairs(CHILDREN) do
  5106. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5107. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5108. if HUM then
  5109. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5110. if TORSO then
  5111. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5112. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5113. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5114. 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})
  5115. 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})
  5116. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5117. Banish(CHILD)
  5118. FIRED = true
  5119. break
  5120. end
  5121. end
  5122. end
  5123. end
  5124. end
  5125. if FIRED == false then
  5126. 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)))
  5127. 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})
  5128. 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})
  5129. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5130. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5131. if HITBOD ~= nil then
  5132. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5133. Banish(HITBOD.Parent)
  5134. end
  5135. end
  5136. end
  5137. end
  5138. for i = 1, 35 do
  5139. Swait(4)
  5140. local FIRED = false
  5141. local CHILDREN = workspace:GetDescendants()
  5142. for index, CHILD in pairs(CHILDREN) do
  5143. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5144. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5145. if HUM then
  5146. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5147. if TORSO then
  5148. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5149. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5150. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5151. 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})
  5152. 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})
  5153. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5154. Banish(CHILD)
  5155. FIRED = true
  5156. break
  5157. end
  5158. end
  5159. end
  5160. end
  5161. end
  5162. if FIRED == false then
  5163. 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)))
  5164. 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})
  5165. 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})
  5166. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5167. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5168. if HITBOD ~= nil then
  5169. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5170. Banish(HITBOD.Parent)
  5171. end
  5172. end
  5173. end
  5174. end
  5175. for i = 1, 35 do
  5176. Swait(4)
  5177. local FIRED = false
  5178. local CHILDREN = workspace:GetDescendants()
  5179. for index, CHILD in pairs(CHILDREN) do
  5180. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5181. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5182. if HUM then
  5183. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5184. if TORSO then
  5185. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5186. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5187. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5188. 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})
  5189. 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})
  5190. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5191. Banish(CHILD)
  5192. FIRED = true
  5193. break
  5194. end
  5195. end
  5196. end
  5197. end
  5198. end
  5199. if FIRED == false then
  5200. 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)))
  5201. 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})
  5202. 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})
  5203. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5204. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5205. if HITBOD ~= nil then
  5206. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5207. Banish(HITBOD.Parent)
  5208. end
  5209. end
  5210. end
  5211. end
  5212. for i = 1, 35 do
  5213. Swait(4)
  5214. local FIRED = false
  5215. local CHILDREN = workspace:GetDescendants()
  5216. for index, CHILD in pairs(CHILDREN) do
  5217. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5218. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5219. if HUM then
  5220. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5221. if TORSO then
  5222. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5223. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5224. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5225. 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})
  5226. 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})
  5227. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5228. Banish(CHILD)
  5229. FIRED = true
  5230. break
  5231. end
  5232. end
  5233. end
  5234. end
  5235. end
  5236. if FIRED == false then
  5237. 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)))
  5238. 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})
  5239. 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})
  5240. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5241. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5242. if HITBOD ~= nil then
  5243. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5244. Banish(HITBOD.Parent)
  5245. end
  5246. end
  5247. end
  5248. end
  5249. for i = 1, 35 do
  5250. Swait(4)
  5251. local FIRED = false
  5252. local CHILDREN = workspace:GetDescendants()
  5253. for index, CHILD in pairs(CHILDREN) do
  5254. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5255. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5256. if HUM then
  5257. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5258. if TORSO then
  5259. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5260. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5261. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5262. 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})
  5263. 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})
  5264. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5265. Banish(CHILD)
  5266. FIRED = true
  5267. break
  5268. end
  5269. end
  5270. end
  5271. end
  5272. end
  5273. if FIRED == false then
  5274. 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)))
  5275. 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})
  5276. 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})
  5277. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5278. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5279. if HITBOD ~= nil then
  5280. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5281. Banish(HITBOD.Parent)
  5282. end
  5283. end
  5284. end
  5285. end
  5286. for i = 1, 35 do
  5287. Swait(4)
  5288. local FIRED = false
  5289. local CHILDREN = workspace:GetDescendants()
  5290. for index, CHILD in pairs(CHILDREN) do
  5291. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5292. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5293. if HUM then
  5294. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5295. if TORSO then
  5296. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5297. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5298. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5299. 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})
  5300. 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})
  5301. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5302. Banish(CHILD)
  5303. FIRED = true
  5304. break
  5305. end
  5306. end
  5307. end
  5308. end
  5309. end
  5310. if FIRED == false then
  5311. 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)))
  5312. 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})
  5313. 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})
  5314. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5315. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5316. if HITBOD ~= nil then
  5317. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5318. Banish(HITBOD.Parent)
  5319. end
  5320. end
  5321. end
  5322. end
  5323. for i = 1, 35 do
  5324. Swait(4)
  5325. local FIRED = false
  5326. local CHILDREN = workspace:GetDescendants()
  5327. for index, CHILD in pairs(CHILDREN) do
  5328. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5329. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5330. if HUM then
  5331. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5332. if TORSO then
  5333. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5334. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5335. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5336. 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})
  5337. 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})
  5338. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5339. Banish(CHILD)
  5340. FIRED = true
  5341. break
  5342. end
  5343. end
  5344. end
  5345. end
  5346. end
  5347. if FIRED == false then
  5348. 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)))
  5349. 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})
  5350. 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})
  5351. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5352. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5353. if HITBOD ~= nil then
  5354. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5355. Banish(HITBOD.Parent)
  5356. end
  5357. end
  5358. end
  5359. end
  5360. for i = 1, 35 do
  5361. Swait(4)
  5362. local FIRED = false
  5363. local CHILDREN = workspace:GetDescendants()
  5364. for index, CHILD in pairs(CHILDREN) do
  5365. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5366. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5367. if HUM then
  5368. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5369. if TORSO then
  5370. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5371. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5372. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5373. 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})
  5374. 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})
  5375. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5376. Banish(CHILD)
  5377. FIRED = true
  5378. break
  5379. end
  5380. end
  5381. end
  5382. end
  5383. end
  5384. if FIRED == false then
  5385. 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)))
  5386. 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})
  5387. 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})
  5388. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5389. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5390. if HITBOD ~= nil then
  5391. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5392. Banish(HITBOD.Parent)
  5393. end
  5394. end
  5395. end
  5396. end
  5397. for i = 1, 35 do
  5398. Swait(4)
  5399. local FIRED = false
  5400. local CHILDREN = workspace:GetDescendants()
  5401. for index, CHILD in pairs(CHILDREN) do
  5402. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5403. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5404. if HUM then
  5405. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5406. if TORSO then
  5407. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5408. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5409. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5410. 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})
  5411. 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})
  5412. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5413. Banish(CHILD)
  5414. FIRED = true
  5415. break
  5416. end
  5417. end
  5418. end
  5419. end
  5420. end
  5421. if FIRED == false then
  5422. 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)))
  5423. 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})
  5424. 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})
  5425. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5426. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5427. if HITBOD ~= nil then
  5428. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5429. Banish(HITBOD.Parent)
  5430. end
  5431. end
  5432. end
  5433. end
  5434. for i = 1, 35 do
  5435. Swait(4)
  5436. local FIRED = false
  5437. local CHILDREN = workspace:GetDescendants()
  5438. for index, CHILD in pairs(CHILDREN) do
  5439. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5440. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5441. if HUM then
  5442. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5443. if TORSO then
  5444. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5445. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5446. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5447. 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})
  5448. 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})
  5449. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5450. Banish(CHILD)
  5451. FIRED = true
  5452. break
  5453. end
  5454. end
  5455. end
  5456. end
  5457. end
  5458. if FIRED == false then
  5459. 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)))
  5460. 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})
  5461. 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})
  5462. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5463. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5464. if HITBOD ~= nil then
  5465. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5466. Banish(HITBOD.Parent)
  5467. end
  5468. end
  5469. end
  5470. end
  5471. for i = 1, 35 do
  5472. Swait(4)
  5473. local FIRED = false
  5474. local CHILDREN = workspace:GetDescendants()
  5475. for index, CHILD in pairs(CHILDREN) do
  5476. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5477. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5478. if HUM then
  5479. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5480. if TORSO then
  5481. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5482. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5483. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5484. 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})
  5485. 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})
  5486. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5487. Banish(CHILD)
  5488. FIRED = true
  5489. break
  5490. end
  5491. end
  5492. end
  5493. end
  5494. end
  5495. if FIRED == false then
  5496. 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)))
  5497. 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})
  5498. 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})
  5499. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5500. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5501. if HITBOD ~= nil then
  5502. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5503. Banish(HITBOD.Parent)
  5504. end
  5505. end
  5506. end
  5507. end
  5508. for i = 1, 35 do
  5509. Swait(4)
  5510. local FIRED = false
  5511. local CHILDREN = workspace:GetDescendants()
  5512. for index, CHILD in pairs(CHILDREN) do
  5513. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5514. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5515. if HUM then
  5516. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5517. if TORSO then
  5518. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5519. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5520. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5521. 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})
  5522. 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})
  5523. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5524. Banish(CHILD)
  5525. FIRED = true
  5526. break
  5527. end
  5528. end
  5529. end
  5530. end
  5531. end
  5532. if FIRED == false then
  5533. 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)))
  5534. 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})
  5535. 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})
  5536. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  5537. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5538. if HITBOD ~= nil then
  5539. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5540. Banish(HITBOD.Parent)
  5541. end
  5542. end
  5543. end
  5544. end
  5545. for i = 1, 45 do
  5546. Swait()
  5547. GATE.Size = GATE.Size - VT(10,0,10)
  5548. end
  5549. GATESPIN = false
  5550. GATE:remove()
  5551. end))
  5552. Swait(15)
  5553. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5554. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  5555. local DECAL = IT("Decal",GATE)
  5556. DECAL.Texture = "http://www.roblox.com/asset/?id=62270888"
  5557. DECAL.Face = "Top"
  5558. GATE.CFrame = CF(HITPOS)
  5559. CreateSound(0, GATE, 7, 1.3, false)
  5560. for i = 1, 45 do
  5561. Swait()
  5562. GATE.Size = GATE.Size + VT(10,0,10)
  5563. end
  5564. CreateSound(213603013, RightHole, 7, 1, false)
  5565. CreateSound(213603013, LeftHole, 7, 1, false)
  5566. 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})
  5567. 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})
  5568. ATTACK = false
  5569. Rooted = false
  5570. DONE = true
  5571. end
  5572. function Taunt()
  5573. ATTACK = true
  5574. Rooted = true
  5575. CreateSound("907333406", Head, 10, 0.9)
  5576. sick:Stop()
  5577. Weapon.Parent = nil
  5578. for i = 1, 3 do
  5579. for i = 0, 0.7, 0.14 / Animation_Speed do
  5580. Swait()
  5581. 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)
  5582. 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)
  5583. 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)
  5584. 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)
  5585. 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)
  5586. 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)
  5587. end
  5588. for i = 0, 0.7, 0.14 / Animation_Speed do
  5589. Swait()
  5590. 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)
  5591. 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)
  5592. 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)
  5593. 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)
  5594. 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)
  5595. 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)
  5596. end
  5597. end
  5598. sick:Play()
  5599. Weapon.Parent = Character
  5600. ATTACK = false
  5601. Rooted = false
  5602. end
  5603.  
  5604. --//=================================\\
  5605. --|| ASSIGN THINGS TO KEYS
  5606. --\\=================================//
  5607.  
  5608. function MouseDown(Mouse)
  5609. if ATTACK == false then
  5610. end
  5611. end
  5612.  
  5613. function MouseUp(Mouse)
  5614. HOLD = false
  5615. end
  5616.  
  5617. function KeyDown(Key)
  5618. KEYHOLD = true
  5619. if Key == "z" and ATTACK == false then
  5620. Shot()
  5621. end
  5622.  
  5623. if Key == "f" and ATTACK == false then
  5624. chatfunc("If you decided to be a Good Person then go to Afterlife...")
  5625. TOBANISH = {}
  5626. end
  5627.  
  5628. if Key == "t" and ATTACK == false then
  5629. Taunt()
  5630. end
  5631.  
  5632. if Key == "c" and ATTACK == false then
  5633. Roar()
  5634. end
  5635.  
  5636. if Key == "q" and ATTACK == false then
  5637. for i=0, 0.5, 0.08 / Animation_Speed do
  5638. Swait()
  5639. 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)
  5640. 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)
  5641. end
  5642. MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
  5643. local pos = RootPart.Position
  5644. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,5,0),pos)
  5645. end
  5646.  
  5647. if Key == "x" and ATTACK == false then
  5648. Pure_Heaven()
  5649. end
  5650.  
  5651. if Key == "v" and ATTACK == false then
  5652. Gates_Of_Darkness()
  5653. end
  5654. end
  5655.  
  5656. function KeyUp(Key)
  5657. KEYHOLD = false
  5658. end
  5659.  
  5660. Mouse.Button1Down:connect(function(NEWKEY)
  5661. MouseDown(NEWKEY)
  5662. end)
  5663. Mouse.Button1Up:connect(function(NEWKEY)
  5664. MouseUp(NEWKEY)
  5665. end)
  5666. Mouse.KeyDown:connect(function(NEWKEY)
  5667. KeyDown(NEWKEY)
  5668. end)
  5669. Mouse.KeyUp:connect(function(NEWKEY)
  5670. KeyUp(NEWKEY)
  5671. end)
  5672.  
  5673. --//=================================\\
  5674. --\\=================================//
  5675.  
  5676.  
  5677. function unanchor()
  5678. if UNANCHOR == true then
  5679. g = Character:GetChildren()
  5680. for i = 1, #g do
  5681. if g[i].ClassName == "Part" then
  5682. g[i].Anchored = false
  5683. end
  5684. end
  5685. end
  5686. end
  5687.  
  5688.  
  5689. --//=================================\\
  5690. --|| WRAP THE WHOLE SCRIPT UP
  5691. --\\=================================//
  5692.  
  5693. Humanoid.Changed:connect(function(Jump)
  5694. if Jump == "Jump" and (Disable_Jump == true) then
  5695. Humanoid.Jump = false
  5696. end
  5697. end)
  5698.  
  5699. sick.AncestryChanged:Connect(function()
  5700. sick.Parent = Character
  5701. end)
  5702.  
  5703. local FF = IT("ForceField", Character)
  5704. FF.Visible = false
  5705.  
  5706. while true do
  5707. Swait()
  5708. script.Parent = WEAPONGUI
  5709. ANIMATE.Parent = nil
  5710. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5711. v:Stop();
  5712. end
  5713. SINE = SINE + CHANGE
  5714. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5715. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5716. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  5717. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5718. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  5719. 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)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  5724. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5725. 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)
  5726. 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)
  5727. 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)
  5728. end
  5729. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5730. ANIM = "Jump"
  5731. if ATTACK == false then
  5732. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5736. 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)
  5737. 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)
  5738. end
  5739. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5740. ANIM = "Fall"
  5741. if ATTACK == false then
  5742. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5746. 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)
  5747. 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)
  5748. end
  5749. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5750. ANIM = "Idle"
  5751. if ATTACK == false then
  5752. 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)
  5753. 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)
  5754. 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)
  5755. 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)
  5756. 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)
  5757. 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)
  5758. end
  5759. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5760. ANIM = "Walk"
  5761. if ATTACK == false then
  5762. 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)
  5763. 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)
  5764. 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)
  5765. 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)
  5766. end
  5767. end
  5768. unanchor()
  5769. Humanoid.MaxHealth = 16e+16
  5770. Humanoid.Health = 16e+16
  5771. if Rooted == false then
  5772. Disable_Jump = false
  5773. Humanoid.WalkSpeed = Speed
  5774. elseif Rooted == true then
  5775. Disable_Jump = true
  5776. Humanoid.WalkSpeed = 0
  5777. end
  5778. if Head:FindFirstChild("face") then
  5779. Head.face.Texture = "rbxassetid://0"
  5780. end
  5781. end
  5782.  
  5783. --//=================================\\
  5784. --\\=================================//
  5785.  
  5786.  
  5787.  
  5788.  
  5789.  
  5790. --//====================================================\\--
  5791. --|| END OF SCRIPT
  5792. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement