Advertisement
AxeuerAlt

Untitled

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