Advertisement
Guest User

Silent Heaven FE and REBORN

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