kaualima12

lol lol lol

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