Advertisement
Christoffer07700Extr

Invisible Banishe cringe :/

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