Advertisement
Guest User

Untitled

a guest
May 24th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.62 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148. script:ClearAllChildren()
  149. wait(0.2)
  150.  
  151. Player = game:GetService("Players").LocalPlayer
  152. print'no u'
  153. print'begone th0t!'
  154. print'UpDaTe 20/11/2018 xD'
  155. daway = Player.Character
  156. PlayerGui = Player.PlayerGui
  157. Cam = workspace.CurrentCamera
  158. Backpack = Player.Backpack
  159. Character = Player.Character
  160. Humanoid = Character.Humanoid
  161. Mouse = Player:GetMouse()
  162. RootPart = Character["HumanoidRootPart"]
  163. Torso = Character["Torso"]
  164. Head = Character["Head"]
  165. RightArm = Character["Right Arm"]
  166. LeftArm = Character["Left Arm"]
  167. RightLeg = Character["Right Leg"]
  168. LeftLeg = Character["Left Leg"]
  169. RootJoint = RootPart["RootJoint"]
  170. Neck = Torso["Neck"]
  171. RightShoulder = Torso["Right Shoulder"]
  172. LeftShoulder = Torso["Left Shoulder"]
  173. RightHip = Torso["Right Hip"]
  174. LeftHip = Torso["Left Hip"]
  175. local sick = Instance.new("Sound",Character)
  176. sick.Parent = Character
  177. sick:resume()
  178. sick.Looped = true
  179. sick.Volume = 5
  180. sick.Pitch = 1
  181. sick.SoundId = "rbxassetid://698929986"
  182. sick.Name = "DA BANISH LOL"
  183.  
  184. function swait(num)
  185. if num == 0 or num == nil then
  186. ArtificialHB.Event:wait()
  187. else
  188. for i = 0, num do
  189. ArtificialHB.Event:wait()
  190. end
  191. end
  192. end
  193.  
  194. function chatfunc(text)
  195. local chat = coroutine.wrap(function()
  196. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  197. Character:FindFirstChild("TalkingBillBoard"):destroy()
  198. end
  199. local Bill = Instance.new("BillboardGui",Character)
  200. Bill.Size = UDim2.new(0,100,0,40)
  201. Bill.StudsOffset = Vector3.new(0,3,0)
  202. Bill.Adornee = Character.Head
  203. Bill.Name = "TalkingBillBoard"
  204. local Hehe = Instance.new("TextLabel",Bill)
  205. Hehe.BackgroundTransparency = 1
  206. Hehe.BorderSizePixel = 0
  207. Hehe.Text = ""
  208. Hehe.Font = "Cartoon"
  209. Hehe.TextSize = 40
  210. Hehe.TextStrokeTransparency = 0
  211. Hehe.Size = UDim2.new(1,0,0.5,0)
  212. coroutine.resume(coroutine.create(function()
  213. while Hehe ~= nil do
  214. swait()
  215. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  216. Hehe.Rotation = math.random(-5,5)
  217. Hehe.TextColor3 = Color3.new(1, 1, 1)
  218. Hehe.TextStrokeColor3 = Color3.new(1, 1, 1)
  219. end
  220. end))
  221. for i = 1,string.len(text),1 do
  222. swait()
  223. Hehe.Text = string.sub(text,1,i)
  224. end
  225. swait(90)--Re[math.random(1, 93)]
  226. for i = 0, 1, .025 do
  227. swait()
  228. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  229. Hehe.TextStrokeTransparency = i
  230. Hehe.TextTransparency = i
  231. end
  232. Bill:Destroy()
  233. end)
  234. chat()
  235. end
  236.  
  237. function onChatted(msg)
  238. chatfunc(msg)
  239. end
  240.  
  241. Player.Chatted:connect(onChatted)
  242.  
  243. local naeeym = Instance.new("BillboardGui",daway)
  244. naeeym.Size = UDim2.new(0,100,0,40)
  245. naeeym.StudsOffset = Vector3.new(0,2,0)
  246. naeeym.Adornee = daway.Head
  247. local tecks = Instance.new("TextLabel",naeeym)
  248. tecks.BackgroundTransparency = 1
  249. tecks.BorderSizePixel = 0
  250. tecks.Text = "DA BANISH XD"
  251. tecks.Font = "Fantasy"
  252. tecks.FontSize = "Size24"
  253. tecks.TextStrokeTransparency = 0
  254. tecks.TextStrokeColor3 = Color3.new(1,1,1)
  255. tecks.TextColor3 = Color3.new(1,1,1)
  256. tecks.Size = UDim2.new(1,0,0.5,0)
  257.  
  258. IT = Instance.new
  259. CF = CFrame.new
  260. VT = Vector3.new
  261. RAD = math.rad
  262. C3 = Color3.new
  263. UD2 = UDim2.new
  264. BRICKC = BrickColor.new
  265. ANGLES = CFrame.Angles
  266. EULER = CFrame.fromEulerAnglesXYZ
  267. COS = math.cos
  268. ACOS = math.acos
  269. SIN = math.sin
  270. ASIN = math.asin
  271. ABS = math.abs
  272. MRANDOM = math.random
  273. FLOOR = math.floor
  274.  
  275. --//=================================\\
  276. --|| USEFUL VALUES
  277. --\\=================================//
  278.  
  279. Animation_Speed = 3
  280. local FORCERESET = false
  281. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  282. local Speed = 16
  283. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  284. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  285. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  286. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  287. local DAMAGEMULTIPLIER = 1
  288. local ANIM = "Idle"
  289. local ATTACK = false
  290. local EQUIPPED = false
  291. local HOLD = false
  292. local COMBO = 1
  293. local Rooted = false
  294. local SINE = 1
  295. local KEYHOLD = false
  296. local CHANGE = 2 / Animation_Speed
  297. local WALKINGANIM = false
  298. local VALUE1 = false
  299. local VALUE2 = false
  300. local ROBLOXIDLEANIMATION = IT("Animation")
  301. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  302. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  303. --ROBLOXIDLEANIMATION.Parent = Humanoid
  304. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  305. WEAPONGUI.Name = "BanishV3Gui"
  306. local Weapon = IT("Model")
  307. Weapon.Name = "Adds"
  308. local Effects = IT("Folder", Weapon)
  309. Effects.Name = "Effects"
  310. local ANIMATOR = Humanoid.Animator
  311. local ANIMATE = Character:FindFirstChild("Animate")
  312. local UNANCHOR = true
  313. local TOBANISH = {}
  314. script.Parent = PlayerGui
  315.  
  316. --//=================================\\
  317. --\\=================================//
  318.  
  319.  
  320. --//=================================\\
  321. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  322. --\\=================================//
  323.  
  324. ArtificialHB = Instance.new("BindableEvent", script)
  325. ArtificialHB.Name = "ArtificialHB"
  326.  
  327. script:WaitForChild("ArtificialHB")
  328.  
  329. frame = Frame_Speed
  330. tf = 0
  331. allowframeloss = false
  332. tossremainder = false
  333. lastframe = tick()
  334. script.ArtificialHB:Fire()
  335.  
  336. game:GetService("RunService").Heartbeat:connect(function(s, p)
  337. tf = tf + s
  338. if tf >= frame then
  339. if allowframeloss then
  340. script.ArtificialHB:Fire()
  341. lastframe = tick()
  342. else
  343. for i = 1, math.floor(tf / frame) do
  344. script.ArtificialHB:Fire()
  345. end
  346. lastframe = tick()
  347. end
  348. if tossremainder then
  349. tf = 0
  350. else
  351. tf = tf - frame * math.floor(tf / frame)
  352. end
  353. end
  354. end)
  355.  
  356. --//=================================\\
  357. --\\=================================//
  358.  
  359. --//=================================\\
  360. --|| SOME FUNCTIONS
  361. --\\=================================//
  362.  
  363. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  364. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  365. end
  366.  
  367. function PositiveAngle(NUMBER)
  368. if NUMBER >= 0 then
  369. NUMBER = 0
  370. end
  371. return NUMBER
  372. end
  373.  
  374. function NegativeAngle(NUMBER)
  375. if NUMBER <= 0 then
  376. NUMBER = 0
  377. end
  378. return NUMBER
  379. end
  380.  
  381. function Swait(NUMBER)
  382. if NUMBER == 0 or NUMBER == nil then
  383. ArtificialHB.Event:wait()
  384. else
  385. for i = 1, NUMBER do
  386. ArtificialHB.Event:wait()
  387. end
  388. end
  389. end
  390.  
  391. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  392. local NEWMESH = IT(MESH)
  393. if MESH == "SpecialMesh" then
  394. NEWMESH.MeshType = MESHTYPE
  395. if MESHID ~= "nil" and MESHID ~= "" then
  396. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  397. end
  398. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  399. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  400. end
  401. end
  402. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  403. NEWMESH.Scale = SCALE
  404. NEWMESH.Parent = PARENT
  405. return NEWMESH
  406. end
  407.  
  408. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  409. local NEWPART = IT("Part")
  410. NEWPART.formFactor = FORMFACTOR
  411. NEWPART.Reflectance = REFLECTANCE
  412. NEWPART.Transparency = TRANSPARENCY
  413. NEWPART.CanCollide = false
  414. NEWPART.Locked = true
  415. NEWPART.Anchored = true
  416. if ANCHOR == false then
  417. NEWPART.Anchored = false
  418. end
  419. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  420. NEWPART.Name = NAME
  421. NEWPART.Size = SIZE
  422. NEWPART.Position = Torso.Position
  423. NEWPART.Material = MATERIAL
  424. NEWPART:BreakJoints()
  425. NEWPART.Parent = PARENT
  426. return NEWPART
  427. end
  428.  
  429. local function weldBetween(a, b)
  430. local weldd = Instance.new("ManualWeld")
  431. weldd.Part0 = a
  432. weldd.Part1 = b
  433. weldd.C0 = CFrame.new()
  434. weldd.C1 = b.CFrame:inverse() * a.CFrame
  435. weldd.Parent = a
  436. return weldd
  437. end
  438.  
  439.  
  440. function QuaternionFromCFrame(cf)
  441. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  442. local trace = m00 + m11 + m22
  443. if trace > 0 then
  444. local s = math.sqrt(1 + trace)
  445. local recip = 0.5 / s
  446. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  447. else
  448. local i = 0
  449. if m11 > m00 then
  450. i = 1
  451. end
  452. if m22 > (i == 0 and m00 or m11) then
  453. i = 2
  454. end
  455. if i == 0 then
  456. local s = math.sqrt(m00 - m11 - m22 + 1)
  457. local recip = 0.5 / s
  458. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  459. elseif i == 1 then
  460. local s = math.sqrt(m11 - m22 - m00 + 1)
  461. local recip = 0.5 / s
  462. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  463. elseif i == 2 then
  464. local s = math.sqrt(m22 - m00 - m11 + 1)
  465. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  466. end
  467. end
  468. end
  469.  
  470. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  471. local xs, ys, zs = x + x, y + y, z + z
  472. local wx, wy, wz = w * xs, w * ys, w * zs
  473. local xx = x * xs
  474. local xy = x * ys
  475. local xz = x * zs
  476. local yy = y * ys
  477. local yz = y * zs
  478. local zz = z * zs
  479. 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))
  480. end
  481.  
  482. function QuaternionSlerp(a, b, t)
  483. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  484. local startInterp, finishInterp;
  485. if cosTheta >= 0.0001 then
  486. if (1 - cosTheta) > 0.0001 then
  487. local theta = ACOS(cosTheta)
  488. local invSinTheta = 1 / SIN(theta)
  489. startInterp = SIN((1 - t) * theta) * invSinTheta
  490. finishInterp = SIN(t * theta) * invSinTheta
  491. else
  492. startInterp = 1 - t
  493. finishInterp = t
  494. end
  495. else
  496. if (1 + cosTheta) > 0.0001 then
  497. local theta = ACOS(-cosTheta)
  498. local invSinTheta = 1 / SIN(theta)
  499. startInterp = SIN((t - 1) * theta) * invSinTheta
  500. finishInterp = SIN(t * theta) * invSinTheta
  501. else
  502. startInterp = t - 1
  503. finishInterp = t
  504. end
  505. end
  506. 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
  507. end
  508.  
  509. function Clerp(a, b, t)
  510. local qa = {QuaternionFromCFrame(a)}
  511. local qb = {QuaternionFromCFrame(b)}
  512. local ax, ay, az = a.x, a.y, a.z
  513. local bx, by, bz = b.x, b.y, b.z
  514. local _t = 1 - t
  515. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  516. end
  517.  
  518. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  519. local frame = IT("Frame")
  520. frame.BackgroundTransparency = TRANSPARENCY
  521. frame.BorderSizePixel = BORDERSIZEPIXEL
  522. frame.Position = POSITION
  523. frame.Size = SIZE
  524. frame.BackgroundColor3 = COLOR
  525. frame.BorderColor3 = BORDERCOLOR
  526. frame.Name = NAME
  527. frame.Parent = PARENT
  528. return frame
  529. end
  530.  
  531. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  532. local label = IT("TextLabel")
  533. label.BackgroundTransparency = 1
  534. label.Size = UD2(1, 0, 1, 0)
  535. label.Position = UD2(0, 0, 0, 0)
  536. label.TextColor3 = TEXTCOLOR
  537. label.TextStrokeTransparency = STROKETRANSPARENCY
  538. label.TextTransparency = TRANSPARENCY
  539. label.FontSize = TEXTFONTSIZE
  540. label.Font = TEXTFONT
  541. label.BorderSizePixel = BORDERSIZEPIXEL
  542. label.TextScaled = false
  543. label.Text = TEXT
  544. label.Name = NAME
  545. label.Parent = PARENT
  546. return label
  547. end
  548.  
  549. function NoOutlines(PART)
  550. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  551. end
  552.  
  553. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  554. local NEWWELD = IT(TYPE)
  555. NEWWELD.Part0 = PART0
  556. NEWWELD.Part1 = PART1
  557. NEWWELD.C0 = C0
  558. NEWWELD.C1 = C1
  559. NEWWELD.Parent = PARENT
  560. return NEWWELD
  561. end
  562.  
  563. local S = IT("Sound")
  564. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  565. local NEWSOUND = nil
  566. coroutine.resume(coroutine.create(function()
  567. NEWSOUND = S:Clone()
  568. NEWSOUND.Parent = PARENT
  569. NEWSOUND.Volume = VOLUME
  570. NEWSOUND.Pitch = PITCH
  571. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  572. NEWSOUND:play()
  573. if DOESLOOP == true then
  574. NEWSOUND.Looped = true
  575. else
  576. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  577. NEWSOUND:remove()
  578. end
  579. end))
  580. return NEWSOUND
  581. end
  582.  
  583. function CFrameFromTopBack(at, top, back)
  584. local right = top:Cross(back)
  585. 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)
  586. end
  587.  
  588. --WACKYEFFECT({EffectType = "", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  589. function WACKYEFFECT(Table)
  590. local TYPE = (Table.EffectType or "Sphere")
  591. local SIZE = (Table.Size or VT(0,0,0))
  592. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  593. local TRANSPARENCY = (Table.Transparency or 0)
  594. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  595. local CFRAME = (Table.CFrame or Torso.CFrame)
  596. local MOVEDIRECTION = (Table.MoveToPos or nil)
  597. local ROTATION1 = (Table.RotationX or 0)
  598. local ROTATION2 = (Table.RotationY or 0)
  599. local ROTATION3 = (Table.RotationZ or 0)
  600. local MATERIAL = (Table.Material or "Neon")
  601. local COLOR = (Table.Color or C3(0,1,0))
  602. local TIME = (Table.Time or 45)
  603. local SOUNDID = (Table.SoundID or nil)
  604. local SOUNDPITCH = (Table.SoundPitch or nil)
  605. local SOUNDVOLUME = (Table.SoundVolume or nil)
  606. coroutine.resume(coroutine.create(function()
  607. local PLAYSSOUND = false
  608. local SOUND = nil
  609. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("White"), "Effect", VT(1,1,1), true)
  610. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  611. PLAYSSOUND = true
  612. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  613. end
  614. EFFECT.Color = COLOR
  615. local MSH = nil
  616. if TYPE == "Sphere" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  618. elseif TYPE == "Block" then
  619. MSH = IT("BlockMesh",EFFECT)
  620. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  621. elseif TYPE == "Wave" then
  622. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  623. elseif TYPE == "Ring" then
  624. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  625. elseif TYPE == "Slash" then
  626. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  627. elseif TYPE == "Round Slash" then
  628. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  629. elseif TYPE == "Swirl" then
  630. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  631. elseif TYPE == "Skull" then
  632. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  633. elseif TYPE == "Crystal" then
  634. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  635. end
  636. if MSH ~= nil then
  637. local MOVESPEED = nil
  638. if MOVEDIRECTION ~= nil then
  639. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  640. end
  641. local GROWTH = SIZE - ENDSIZE
  642. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  643. if TYPE == "Block" then
  644. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  645. else
  646. EFFECT.CFrame = CFRAME
  647. end
  648. for LOOP = 1, TIME+1 do
  649. Swait()
  650. MSH.Scale = MSH.Scale - GROWTH/TIME
  651. if TYPE == "Wave" then
  652. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  653. end
  654. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  655. if TYPE == "Block" then
  656. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  657. else
  658. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  659. end
  660. if MOVEDIRECTION ~= nil then
  661. local ORI = EFFECT.Orientation
  662. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  663. EFFECT.Orientation = ORI
  664. end
  665. end
  666. if PLAYSSOUND == false then
  667. EFFECT:remove()
  668. else
  669. SOUND.Stopped:Connect(function()
  670. EFFECT:remove()
  671. end)
  672. end
  673. else
  674. if PLAYSSOUND == false then
  675. EFFECT:remove()
  676. else
  677. repeat Swait() until SOUND.Playing == false
  678. EFFECT:remove()
  679. end
  680. end
  681. end))
  682. end
  683.  
  684. function MakeForm(PART,TYPE)
  685. if TYPE == "Cyl" then
  686. local MSH = IT("CylinderMesh",PART)
  687. elseif TYPE == "Ball" then
  688. local MSH = IT("SpecialMesh",PART)
  689. MSH.MeshType = "Sphere"
  690. elseif TYPE == "Wedge" then
  691. local MSH = IT("SpecialMesh",PART)
  692. MSH.MeshType = "Wedge"
  693. end
  694. end
  695.  
  696. function SpawnTrail(FROM,TO,BIG)
  697. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(1,1,1))
  698. MakeForm(TRAIL,"Cyl")
  699. local DIST = (FROM - TO).Magnitude
  700. if BIG == true then
  701. TRAIL.Size = VT(10,DIST,10)
  702. else
  703. TRAIL.Size = VT(10,DIST,10)
  704. end
  705. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  706. coroutine.resume(coroutine.create(function()
  707. for i = 1, 5 do
  708. Swait()
  709. TRAIL.Transparency = TRAIL.Transparency + 0.1
  710. end
  711. TRAIL:remove()
  712. end))
  713. end
  714.  
  715. Debris = game:GetService("Debris")
  716.  
  717. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  718. local DIRECTION = CF(StartPos,EndPos).lookVector
  719. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  720. end
  721.  
  722. function turnto(position)
  723. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  724. end
  725.  
  726. --//=================================\\
  727. --|| WEAPON CREATION
  728. --\\=================================//
  729. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  730. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  731. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  732. MakeForm(Part,"Wedge")
  733. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  734. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  735. MakeForm(Part,"Wedge")
  736. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  737. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  738. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  740. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  741. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  742. MakeForm(Part,"Cyl")
  743. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  744. for i = 1, 8 do
  745. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  747. end
  748. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  749. MakeForm(Part,"Cyl")
  750. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  751. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  752. MakeForm(Part,"Ball")
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  754. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  755. MakeForm(Part,"Wedge")
  756. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  757. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  759. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  760. MakeForm(Part,"Cyl")
  761. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  762. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  763. MakeForm(Part,"Cyl")
  764. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  765. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  766. MakeForm(Part,"Cyl")
  767. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  768. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  769. MakeForm(Part,"Wedge")
  770. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  771. local LASTPART = Handle
  772. for i = 1, 10 do
  773. if LASTPART == Handle then
  774. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  775. LASTPART = Part
  776. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  777. else
  778. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  779. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  780. LASTPART = Part
  781. end
  782. end
  783.  
  784. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  785. MakeForm(Barrel,"Cyl")
  786. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  788. MakeForm(Part,"Cyl")
  789. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  790. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  791. MakeForm(Part,"Wedge")
  792. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  793. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  794. MakeForm(Hole,"Cyl")
  795. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  796. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  797. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  798. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  799. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  800. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  801. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  802. coroutine.resume(coroutine.create(function()
  803. while wait() do
  804. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  805. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  806. end
  807. end))
  808.  
  809.  
  810. for _, c in pairs(Weapon:GetDescendants()) do
  811. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  812. c.Material = "Glass"
  813. c.Color = C3(0,0,0)
  814. elseif c.ClassName == "Part" and c.Name == "Eye" then
  815. c.Color = C3(1,1,1)
  816. c.Material = "Neon"
  817. end
  818. end
  819. local BODY = {}
  820. for _, c in pairs(Character:GetDescendants()) do
  821. if c:IsA("BasePart") and c.Name ~= "Handle" then
  822. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  823. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  824. end
  825. table.insert(BODY, {
  826. c,
  827. c.Parent,
  828. c.Material,
  829. c.Color,
  830. c.Transparency
  831. })
  832. elseif c:IsA("JointInstance") then
  833. table.insert(BODY, {
  834. c,
  835. c.Parent,
  836. nil,
  837. nil,
  838. nil
  839. })
  840. end
  841. end
  842. for e = 1, #BODY do
  843. if BODY[e] ~= nil then
  844. do
  845. local STUFF = BODY[e]
  846. local PART = STUFF[1]
  847. local PARENT = STUFF[2]
  848. local MATERIAL = STUFF[3]
  849. local COLOR = STUFF[4]
  850. local TRANSPARENCY = STUFF[5]
  851. if PART.ClassName == "Part" and PART ~= RootPart then
  852. PART.Material = MATERIAL
  853. PART.Color = COLOR
  854. PART.Transparency = TRANSPARENCY
  855. end
  856. PART.AncestryChanged:Connect(function()
  857. PART.Parent = PARENT
  858. end)
  859. end
  860. end
  861. end
  862. function refit()
  863. Character.Parent = workspace
  864. for e = 1, #BODY do
  865. if BODY[e] ~= nil then
  866. local STUFF = BODY[e]
  867. local PART = STUFF[1]
  868. local PARENT = STUFF[2]
  869. local MATERIAL = STUFF[3]
  870. local COLOR = STUFF[4]
  871. local TRANSPARENCY = STUFF[5]
  872. if PART:IsA("BasePart") and PART ~= RootPart then
  873. PART.Material = MATERIAL
  874. PART.Color = COLOR
  875. PART.Transparency = TRANSPARENCY
  876. end
  877. if PART.Parent ~= PARENT then
  878. Humanoid:remove()
  879. PART.Parent = PARENT
  880. Humanoid = IT("Humanoid", Character)
  881. end
  882. end
  883. end
  884. end
  885. Humanoid.Died:connect(function()
  886. refit()
  887. end)
  888. Weapon.Parent = Character
  889. for _, c in pairs(Weapon:GetChildren()) do
  890. if c.ClassName == "Part" then
  891. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  892. end
  893. end
  894. local SKILLTEXTCOLOR = C3(1,1,1)
  895. local SKILLFONT = "Arcade"
  896. local SKILLTEXTSIZE = 6
  897.  
  898. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  899. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  900. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  901. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  902. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  903. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  904.  
  905. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] WOW SHOT!!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  906. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] OOF GATES XD", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  907. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[T] TAUNT....", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  908. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] MeRcY????", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  909. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] SWiTCH YEAH BOI", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  910. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] WaRp!?!?", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  911. local MODE = "lolxd"
  912. local CLOCKSPEED = 1.5
  913. function printbye(Name)
  914. local MESSAGES = {"BEGONE UR MOM, "}
  915. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  916. end
  917. if Player.name == "NeedyBao123456789, hero215sugar, helloiamkill5" then
  918. warn("Enjoy! Friends ;3")
  919. end
  920.  
  921. workspace.ChildAdded:connect(function(instance)
  922. for BANISH = 1, #TOBANISH do
  923. if TOBANISH[BANISH] ~= nil then
  924. if instance.Name == TOBANISH[BANISH] then
  925. coroutine.resume(coroutine.create(function()
  926. printbye(instance.Name)
  927. instance:ClearAllChildren()
  928. Debris:AddItem(instance,0.0005)
  929. end))
  930. end
  931. end
  932. end
  933. end)
  934.  
  935. --//=================================\\
  936. --|| DAMAGING
  937. --\\=================================//
  938.  
  939. function Banish(Foe)
  940. if Foe then
  941. coroutine.resume(coroutine.create(function()
  942. --if game.Players:FindFirstChild(Foe.Name) then
  943. table.insert(TOBANISH,Foe.Name)
  944. printbye(Foe.Name)
  945. --end
  946. Foe.Archivable = true
  947. local CLONE = Foe:Clone()
  948. Foe:Destroy()
  949. CLONE.Parent = Effects
  950. CLONE:BreakJoints()
  951. local MATERIALS = {"Glass","Neon"}
  952. for _, c in pairs(CLONE:GetDescendants()) do
  953. if c:IsA("BasePart") then
  954. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  955. CreateSound(2466940797, c, 15, 1.1, false)
  956. end
  957. c.Anchored = true
  958. c.Transparency = c.Transparency + 0.
  959. c.Material = MATERIALS[MRANDOM(1,2)]
  960. c.Color = C3(1,1,1)
  961. if c.ClassName == "MeshPart" then
  962. c.TextureID = ""
  963. end
  964. if c:FindFirstChildOfClass("SpecialMesh") then
  965. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  966. end
  967. if c:FindFirstChildOfClass("Decal") then
  968. c:FindFirstChildOfClass("Decal"):remove()
  969. end
  970. c.Name = "Banish"
  971. c.CanCollide = false
  972. else
  973. c:remove()
  974. end
  975. end
  976. local A = false
  977. for i = 1, 35 do
  978. if A == false then
  979. A = true
  980. elseif A == true then
  981. A = false
  982. end
  983. for _, c in pairs(CLONE:GetDescendants()) do
  984. if c:IsA("BasePart") then
  985. c.Anchored = true
  986. c.Material = MATERIALS[MRANDOM(1,2)]
  987. c.Transparency = c.Transparency + 0.8/35
  988. if A == false then
  989. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  990. elseif A == true then
  991. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  992. end
  993. end
  994. end
  995. Swait()
  996. end
  997. CLONE:remove()
  998. end))
  999. end
  1000. end
  1001.  
  1002. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1003. local CHILDREN = workspace:GetDescendants()
  1004. for index, CHILD in pairs(CHILDREN) do
  1005. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1006. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1007. if HUM then
  1008. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1009. if TORSO then
  1010. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1011. if ISBANISH == true then
  1012. Banish(CHILD)
  1013. else
  1014. if ISBANISH == "Gravity" then
  1015. HUM.PlatformStand = true
  1016. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1017. local grav = Instance.new("BodyPosition",TORSO)
  1018. grav.D = 15
  1019. grav.P = 10000
  1020. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1021. grav.position = TORSO.Position
  1022. grav.Name = "V3BanishForce"..Player.Name
  1023. else
  1024. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1025. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1026. end
  1027. else
  1028. HUM.PlatformStand = false
  1029. end
  1030. end
  1031. elseif ISBANISH == "Gravity" then
  1032. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1033. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1034. HUM.PlatformStand = false
  1035. end
  1036. end
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042.  
  1043. --//=================================\\
  1044. --|| ATTACK FUNCTIONS AND STUFF
  1045. --\\=================================//
  1046.  
  1047. function WOW_SHOT()
  1048. ATTACK = true
  1049. Rooted = false
  1050. for i=0, 0.05, 0.3 / Animation_Speed do
  1051. Swait()
  1052. turnto(Mouse.Hit.p)
  1053. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1057. 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)
  1058. 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)
  1059. end
  1060. repeat
  1061. for i=0, 0.05, 0.3 / Animation_Speed do
  1062. Swait()
  1063. turnto(Mouse.Hit.p)
  1064. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1068. 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)
  1069. 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)
  1070. end
  1071. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1072. SpawnTrail(Hole.Position,POS)
  1073. if HIT ~= nil then
  1074. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1075. Banish(HIT.Parent)
  1076. end
  1077. end
  1078. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1079. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1501915497, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1080. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1081. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1082. for i=0, 0.05, 0.3 / Animation_Speed do
  1083. Swait()
  1084. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1086. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1087. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1088. 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)
  1089. 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)
  1090. end
  1091. until KEYHOLD == false
  1092. ATTACK = false
  1093. Rooted = false
  1094. end
  1095.  
  1096. function LELITS_TAUNT()
  1097. ATTACK = true
  1098. Rooted = true
  1099. local TAUNT = CreateSound(179497874,Torso,15,1.1,false)
  1100. coroutine.resume(coroutine.create(function()
  1101. repeat
  1102. Swait()
  1103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1109. until ATTACK == false
  1110. end))
  1111. repeat wait() until TAUNT.Playing == false
  1112. ATTACK = false
  1113. Rooted = false
  1114. end
  1115.  
  1116. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1117. MakeForm(RightHole,"Cyl")
  1118. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1119. MakeForm(LeftHole,"Cyl")
  1120. function OOF_GATES()
  1121. chatfunc("OOF XD")
  1122. CreateSound(0, Torso, 10, 1, false)
  1123. ATTACK = true
  1124. Rooted = true
  1125. for i=0, 0.5, 0.1 / Animation_Speed do
  1126. Swait()
  1127. 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)
  1128. 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)
  1129. end
  1130. for i=0, 0.5, 0.1 / Animation_Speed do
  1131. Swait()
  1132. 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)
  1133. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1134. end
  1135. for i=0, 0.1, 0.1 / Animation_Speed do
  1136. Swait()
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1138. end
  1139. local DONE = false
  1140. local GATE = nil
  1141. local GATESPIN = true
  1142. coroutine.resume(coroutine.create(function()
  1143. repeat
  1144. Swait()
  1145. if GATE ~= nil then
  1146. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1147. end
  1148. until GATESPIN == false
  1149. end))
  1150. coroutine.resume(coroutine.create(function()
  1151. repeat
  1152. Swait()
  1153. 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)
  1154. 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)
  1155. until DONE == true
  1156. Swait(50)
  1157. for i = 1, 35 do
  1158. Swait(4)
  1159. local FIRED = false
  1160. local CHILDREN = workspace:GetDescendants()
  1161. for index, CHILD in pairs(CHILDREN) do
  1162. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1163. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1164. if HUM then
  1165. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1166. if TORSO then
  1167. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1168. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1169. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1170. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1171. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1172. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1173. Banish(CHILD)
  1174. FIRED = true
  1175. break
  1176. end
  1177. end
  1178. end
  1179. end
  1180. end
  1181. if FIRED == false then
  1182. 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)))
  1183. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1184. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1185. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1186. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1187. if HITBOD ~= nil then
  1188. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1189. Banish(HITBOD.Parent)
  1190. end
  1191. end
  1192. end
  1193. end
  1194. for i = 1, 35 do
  1195. Swait(4)
  1196. local FIRED = false
  1197. local CHILDREN = workspace:GetDescendants()
  1198. for index, CHILD in pairs(CHILDREN) do
  1199. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1200. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1201. if HUM then
  1202. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1203. if TORSO then
  1204. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1205. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1206. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1207. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1208. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1209. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1210. Banish(CHILD)
  1211. FIRED = true
  1212. break
  1213. end
  1214. end
  1215. end
  1216. end
  1217. end
  1218. if FIRED == false then
  1219. 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)))
  1220. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1221. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1222. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1223. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1224. if HITBOD ~= nil then
  1225. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1226. Banish(HITBOD.Parent)
  1227. end
  1228. end
  1229. end
  1230. end
  1231. for i = 1, 35 do
  1232. Swait(4)
  1233. local FIRED = false
  1234. local CHILDREN = workspace:GetDescendants()
  1235. for index, CHILD in pairs(CHILDREN) do
  1236. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1237. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1238. if HUM then
  1239. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1240. if TORSO then
  1241. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1242. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1243. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1244. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1245. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1246. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1247. Banish(CHILD)
  1248. FIRED = true
  1249. break
  1250. end
  1251. end
  1252. end
  1253. end
  1254. end
  1255. if FIRED == false then
  1256. 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)))
  1257. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1258. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1259. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1260. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1261. if HITBOD ~= nil then
  1262. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1263. Banish(HITBOD.Parent)
  1264. end
  1265. end
  1266. end
  1267. end
  1268. for i = 1, 35 do
  1269. Swait(4)
  1270. local FIRED = false
  1271. local CHILDREN = workspace:GetDescendants()
  1272. for index, CHILD in pairs(CHILDREN) do
  1273. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1274. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1275. if HUM then
  1276. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1277. if TORSO then
  1278. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1279. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1280. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1281. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1282. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1283. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1284. Banish(CHILD)
  1285. FIRED = true
  1286. break
  1287. end
  1288. end
  1289. end
  1290. end
  1291. end
  1292. if FIRED == false then
  1293. 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)))
  1294. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1295. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1296. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1297. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1298. if HITBOD ~= nil then
  1299. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1300. Banish(HITBOD.Parent)
  1301. end
  1302. end
  1303. end
  1304. end
  1305. for i = 1, 35 do
  1306. Swait(4)
  1307. local FIRED = false
  1308. local CHILDREN = workspace:GetDescendants()
  1309. for index, CHILD in pairs(CHILDREN) do
  1310. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1311. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1312. if HUM then
  1313. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1314. if TORSO then
  1315. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1316. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1317. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1318. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1319. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1320. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1321. Banish(CHILD)
  1322. FIRED = true
  1323. break
  1324. end
  1325. end
  1326. end
  1327. end
  1328. end
  1329. if FIRED == false then
  1330. 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)))
  1331. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1332. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1333. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1334. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1335. if HITBOD ~= nil then
  1336. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1337. Banish(HITBOD.Parent)
  1338. end
  1339. end
  1340. end
  1341. end
  1342. for i = 1, 35 do
  1343. Swait(4)
  1344. local FIRED = false
  1345. local CHILDREN = workspace:GetDescendants()
  1346. for index, CHILD in pairs(CHILDREN) do
  1347. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1348. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1349. if HUM then
  1350. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1351. if TORSO then
  1352. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1353. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1354. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1355. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1356. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1357. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1358. Banish(CHILD)
  1359. FIRED = true
  1360. break
  1361. end
  1362. end
  1363. end
  1364. end
  1365. end
  1366. if FIRED == false then
  1367. 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)))
  1368. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1369. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1370. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1371. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1372. if HITBOD ~= nil then
  1373. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1374. Banish(HITBOD.Parent)
  1375. end
  1376. end
  1377. end
  1378. end
  1379. for i = 1, 35 do
  1380. Swait(4)
  1381. local FIRED = false
  1382. local CHILDREN = workspace:GetDescendants()
  1383. for index, CHILD in pairs(CHILDREN) do
  1384. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1385. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1386. if HUM then
  1387. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1388. if TORSO then
  1389. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1390. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1391. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1392. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1393. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1394. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1395. Banish(CHILD)
  1396. FIRED = true
  1397. break
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. if FIRED == false then
  1404. 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)))
  1405. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1406. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1407. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1408. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1409. if HITBOD ~= nil then
  1410. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1411. Banish(HITBOD.Parent)
  1412. end
  1413. end
  1414. end
  1415. end
  1416. for i = 1, 35 do
  1417. Swait(4)
  1418. local FIRED = false
  1419. local CHILDREN = workspace:GetDescendants()
  1420. for index, CHILD in pairs(CHILDREN) do
  1421. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1422. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1423. if HUM then
  1424. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1425. if TORSO then
  1426. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1427. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1428. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1429. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1430. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1431. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1432. Banish(CHILD)
  1433. FIRED = true
  1434. break
  1435. end
  1436. end
  1437. end
  1438. end
  1439. end
  1440. if FIRED == false then
  1441. 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)))
  1442. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), 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 = 1516363049, SoundPitch = 1, SoundVolume = 10})
  1443. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), 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})
  1444. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1445. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1446. if HITBOD ~= nil then
  1447. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1448. Banish(HITBOD.Parent)
  1449. end
  1450. end
  1451. end
  1452. end
  1453. for i = 1, 45 do
  1454. Swait()
  1455. GATE.Size = GATE.Size - VT(100,0,100)
  1456. end
  1457. GATESPIN = false
  1458. GATE:remove()
  1459. end))
  1460. Swait(15)
  1461. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1462. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  1463. local DECAL = IT("Decal",GATE)
  1464. DECAL.Texture = "http://www.roblox.com/asset/?id=1953379411"
  1465. DECAL.Face = "Top"
  1466. GATE.CFrame = CF(HITPOS)
  1467. CreateSound(0, GATE, 7, 1.3, false)
  1468. for i = 1, 45 do
  1469. Swait()
  1470. GATE.Size = GATE.Size + VT(16,0,16)
  1471. end
  1472. CreateSound(213603013, RightHole, 7, 1, false)
  1473. CreateSound(213603013, LeftHole, 7, 1, false)
  1474. 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1475. 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1476. ATTACK = false
  1477. Rooted = false
  1478. DONE = true
  1479. end
  1480.  
  1481. Player_Size = 1
  1482. function SwItCh()
  1483. ATTACK = true
  1484. Rooted = true
  1485. if MODE == "lolxd" then
  1486. for i=0, 0.5, 0.1 / Animation_Speed do
  1487. Swait()
  1488. 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)
  1489. 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)
  1490. end
  1491. for i=0, 0.5, 0.1 / Animation_Speed do
  1492. Swait()
  1493. 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)
  1494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1495. end
  1496. for i=0, 0.1, 0.1 / Animation_Speed do
  1497. Swait()
  1498. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1499. end
  1500. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really white").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1501.  
  1502. for i=0, 0.01, 0.1 / Animation_Speed do
  1503. Swait()
  1504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1507. end
  1508. sick.SoundId = "rbxassetid://319639950"
  1509. sick.Pitch = 0.99
  1510. CLOCKSPEED = 0.3
  1511. tecks.Text = "TRUE BANISH!??"
  1512. MODE = ""
  1513. elseif MODE == "" then
  1514. CreateSound(147722227, Torso, 4, 1.3, false)
  1515. for i=0, 0.5, 0.1 / Animation_Speed do
  1516. Swait()
  1517. 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)
  1518. 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)
  1519. end
  1520. for i=0, 0.5, 0.1 / Animation_Speed do
  1521. Swait()
  1522. 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)
  1523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1524. end
  1525. for i=0, 0.1, 0.1 / Animation_Speed do
  1526. Swait()
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1528. end
  1529. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really white").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1530. sick.SoundId = "rbxassetid://698929986"
  1531. CLOCKSPEED = 0
  1532. tecks.Text = "DA BANISH XD"
  1533. MODE = "lolxd"
  1534. end
  1535. ATTACK = false
  1536. Rooted = false
  1537. end
  1538.  
  1539. function AttackTemplate()
  1540. ATTACK = true
  1541. Rooted = false
  1542. for i=0, 1, 0.1 / Animation_Speed do
  1543. Swait()
  1544. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1548. 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.1 / Animation_Speed)
  1549. 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.1 / Animation_Speed)
  1550. end
  1551. ATTACK = false
  1552. Rooted = false
  1553. end
  1554.  
  1555. --//=================================\\
  1556. --|| ASSIGN THINGS TO KEYS
  1557. --\\=================================//
  1558.  
  1559. function MouseDown(Mouse)
  1560. if ATTACK == false then
  1561. end
  1562. end
  1563.  
  1564. function MouseUp(Mouse)
  1565. HOLD = false
  1566. end
  1567.  
  1568. function KeyDown(Key)
  1569. KEYHOLD = true
  1570. if Key == "z" and ATTACK == false then
  1571. WOW_SHOT()
  1572. end
  1573.  
  1574. if Key == "f" and ATTACK == false then
  1575. OOF_GATES()
  1576. end
  1577.  
  1578. if Key == "v" and ATTACK == false then
  1579. chatfunc("OBAMA FOR PRESIDENT LOL")
  1580. wait(2)
  1581. chatfunc("U MAD BRO XDXDXDXDXD")
  1582. TOBANISH = {}
  1583. end
  1584.  
  1585. if Key == "q" and ATTACK == false then
  1586. for i=0, 0.5, 0.1 / Animation_Speed do
  1587. Swait()
  1588. 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)
  1589. 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)
  1590. end
  1591. local pos = RootPart.Position
  1592. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  1593. CreateSound("1543318456", Torso, 30, 1)
  1594. end
  1595.  
  1596. if Key == "t" and ATTACK == false then
  1597. LELITS_TAUNT()
  1598. end
  1599.  
  1600. if Key == "p" and ATTACK == false then
  1601. SwItCh()
  1602. end
  1603. end
  1604.  
  1605. function KeyUp(Key)
  1606. KEYHOLD = false
  1607. end
  1608.  
  1609. Mouse.Button1Down:connect(function(NEWKEY)
  1610. MouseDown(NEWKEY)
  1611. end)
  1612. Mouse.Button1Up:connect(function(NEWKEY)
  1613. MouseUp(NEWKEY)
  1614. end)
  1615. Mouse.KeyDown:connect(function(NEWKEY)
  1616. KeyDown(NEWKEY)
  1617. end)
  1618. Mouse.KeyUp:connect(function(NEWKEY)
  1619. KeyUp(NEWKEY)
  1620. end)
  1621.  
  1622. --//=================================\\
  1623. --\\=================================//
  1624.  
  1625.  
  1626. function unanchor()
  1627. if UNANCHOR == true then
  1628. g = Character:GetChildren()
  1629. for i = 1, #g do
  1630. if g[i].ClassName == "Part" then
  1631. g[i].Anchored = false
  1632. end
  1633. end
  1634. end
  1635. end
  1636.  
  1637.  
  1638. --//=================================\\
  1639. --|| WRAP THE WHOLE SCRIPT UP
  1640. --\\=================================//
  1641.  
  1642. Humanoid.Changed:connect(function(Jump)
  1643. if Jump == "Jump" and (Disable_Jump == true) then
  1644. Humanoid.Jump = false
  1645. end
  1646. end)
  1647.  
  1648. local CONNECT = nil
  1649.  
  1650. while true do
  1651. Swait()
  1652. ANIMATE.Parent = nil
  1653. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1654. Humanoid = IT("Humanoid",Character)
  1655. end
  1656. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1657. v:Stop();
  1658. end
  1659. SINE = SINE + CHANGE
  1660. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1661. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1662. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1663. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1664. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1665. 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)
  1666. 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)
  1667. 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)
  1668. 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)
  1669. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1670. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1671. 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)
  1672. 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)
  1673. 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)
  1674. end
  1675. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1676. ANIM = "Jump"
  1677. if ATTACK == false then
  1678. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1682. 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)
  1683. 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)
  1684. end
  1685. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1686. ANIM = "Fall"
  1687. if ATTACK == false then
  1688. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1689. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1690. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1691. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1692. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1693. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1694. end
  1695. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1696. ANIM = "Idle"
  1697. if ATTACK == false then
  1698. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1699. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1700. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(-75), RAD(45), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1701. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1702. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1703. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1704. end
  1705. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1706. ANIM = "Walk"
  1707. if ATTACK == false then
  1708. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1709. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1710. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1711. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1712. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1713. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1714. end
  1715. end
  1716. unanchor()
  1717. refit()
  1718. Humanoid.MaxHealth = 9000
  1719. Humanoid.Health = 9000
  1720. if Rooted == false then
  1721. Disable_Jump = false
  1722. Humanoid.WalkSpeed = Speed
  1723. elseif Rooted == true then
  1724. Disable_Jump = true
  1725. Humanoid.WalkSpeed = 0
  1726. end
  1727. end
  1728.  
  1729. --//=================================\\
  1730. --\\=================================//
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736. --//====================================================\\--
  1737. --|| END OF SCRIPT
  1738. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement