DaOMEGAa32

aa

Nov 15th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.14 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. Player = game.Players.LocalPlayer
  154. Character = Player.Character
  155. local txt = Instance.new("BillboardGui", Character)
  156. txt.Adornee = Character.Head
  157. txt.Name = "_status"
  158. txt.Size = UDim2.new(2, 0, 1.2, 0)
  159. txt.StudsOffset = Vector3.new(-9, 8, 0)
  160. local text = Instance.new("TextLabel", txt)
  161. text.Size = UDim2.new(10, 0, 7, 0)
  162. text.FontSize = "Size24"
  163. text.TextScaled = true
  164. text.TextTransparency = 0
  165. text.BackgroundTransparency = 1
  166. text.TextTransparency = 0
  167. text.TextStrokeTransparency = 0
  168. text.Font = "Antique"
  169. text.TextStrokeColor3 = Color3.new(170,0,0)
  170. text.Text = "Skid killer"
  171. script.Name = "Banisher Gun edit V3 / 1"
  172. --//====================================================\\--
  173. --|| no leak
  174. --\\====================================================//--
  175.  
  176. script:ClearAllChildren()
  177. wait(0.2)
  178.  
  179. Player = game:GetService("Players").LocalPlayer
  180. PlayerGui = Player.PlayerGui
  181. Cam = workspace.CurrentCamera
  182. Backpack = Player.Backpack
  183. Character = Player.Character
  184. Humanoid = Character.Humanoid
  185. Mouse = Player:GetMouse()
  186. RootPart = Character["HumanoidRootPart"]
  187. Torso = Character["Torso"]
  188. Head = Character["Head"]
  189. RightArm = Character["Right Arm"]
  190. LeftArm = Character["Left Arm"]
  191. RightLeg = Character["Right Leg"]
  192. LeftLeg = Character["Left Leg"]
  193. RootJoint = RootPart["RootJoint"]
  194. Neck = Torso["Neck"]
  195. RightShoulder = Torso["Right Shoulder"]
  196. LeftShoulder = Torso["Left Shoulder"]
  197. RightHip = Torso["Right Hip"]
  198. LeftHip = Torso["Left Hip"]
  199. local TIME = 0
  200. local sick = Instance.new("Sound",Torso)
  201.  
  202. IT = Instance.new
  203. CF = CFrame.new
  204. VT = Vector3.new
  205. RAD = math.rad
  206. C3 = Color3.new
  207. UD2 = UDim2.new
  208. BRICKC = BrickColor.new
  209. ANGLES = CFrame.Angles
  210. EULER = CFrame.fromEulerAnglesXYZ
  211. COS = math.cos
  212. ACOS = math.acos
  213. SIN = math.sin
  214. ASIN = math.asin
  215. ABS = math.abs
  216. MRANDOM = math.random
  217. FLOOR = math.floor
  218.  
  219. --//=================================\\
  220. --|| USEFUL VALUES
  221. --\\=================================//
  222.  
  223. Animation_Speed = 2
  224. local FORCERESET = false
  225. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  226. local Speed = 16
  227. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  228. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  229. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  230. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  231. local DAMAGEMULTIPLIER = 1
  232. local ANIM = "Idle"
  233. local ATTACK = false
  234. local EQUIPPED = false
  235. local HOLD = true
  236. local COMBO = 3
  237. local Rooted = false
  238. local SINE = 5
  239. local KEYHOLD = false
  240. local CHANGE = 2 / Animation_Speed
  241. local WALKINGANIM = false
  242. local VALUE1 = false
  243. local VALUE2 = false
  244. local ROBLOXIDLEANIMATION = IT("Animation")
  245. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  246. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  247. --ROBLOXIDLEANIMATION.Parent = Humanoid
  248. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  249. WEAPONGUI.Name = "BanishV4Gui"
  250. local Weapon = IT("Model")
  251. Weapon.Name = "Adds"
  252. local Effects = IT("Folder", Weapon)
  253. Effects.Name = "Effects"
  254. local ANIMATOR = Humanoid.Animator
  255. local ANIMATE = Character:FindFirstChild("Animate")
  256. local UNANCHOR = true
  257. local TOBANISH = {}
  258. script.Parent = PlayerGui
  259.  
  260. --//=================================\\
  261. --\\=================================//
  262.  
  263.  
  264. --//=================================\\
  265. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  266. --\\=================================//
  267.  
  268. ArtificialHB = Instance.new("BindableEvent", script)
  269. ArtificialHB.Name = "ArtificialHB"
  270.  
  271. script:WaitForChild("ArtificialHB")
  272.  
  273. frame = Frame_Speed
  274. tf = 0
  275. allowframeloss = false
  276. tossremainder = false
  277. lastframe = tick()
  278. script.ArtificialHB:Fire()
  279.  
  280. game:GetService("RunService").Heartbeat:connect(function(s, p)
  281. tf = tf + s
  282. if tf >= frame then
  283. if allowframeloss then
  284. script.ArtificialHB:Fire()
  285. lastframe = tick()
  286. else
  287. for i = 1, math.floor(tf / frame) do
  288. script.ArtificialHB:Fire()
  289. end
  290. lastframe = tick()
  291. end
  292. if tossremainder then
  293. tf = 0
  294. else
  295. tf = tf - frame * math.floor(tf / frame)
  296. end
  297. end
  298. end)
  299.  
  300. --//=================================\\
  301. --\\=================================//
  302.  
  303. --//=================================\\
  304. --|| SOME FUNCTIONS
  305. --\\=================================//
  306.  
  307. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  308. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  309. end
  310.  
  311. function PositiveAngle(NUMBER)
  312. if NUMBER >= 0 then
  313. NUMBER = 0
  314. end
  315. return NUMBER
  316. end
  317.  
  318. function NegativeAngle(NUMBER)
  319. if NUMBER <= 0 then
  320. NUMBER = 0
  321. end
  322. return NUMBER
  323. end
  324.  
  325. function Swait(NUMBER)
  326. if NUMBER == 0 or NUMBER == nil then
  327. ArtificialHB.Event:wait()
  328. else
  329. for i = 1, NUMBER do
  330. ArtificialHB.Event:wait()
  331. end
  332. end
  333. end
  334.  
  335. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  336. local NEWMESH = IT(MESH)
  337. if MESH == "SpecialMesh" then
  338. NEWMESH.MeshType = MESHTYPE
  339. if MESHID ~= "nil" and MESHID ~= "" then
  340. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  341. end
  342. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  343. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  344. end
  345. end
  346. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  347. NEWMESH.Scale = SCALE
  348. NEWMESH.Parent = PARENT
  349. return NEWMESH
  350. end
  351.  
  352. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  353. local NEWPART = IT("Part")
  354. NEWPART.formFactor = FORMFACTOR
  355. NEWPART.Reflectance = REFLECTANCE
  356. NEWPART.Transparency = TRANSPARENCY
  357. NEWPART.CanCollide = false
  358. NEWPART.Locked = true
  359. NEWPART.Anchored = true
  360. if ANCHOR == false then
  361. NEWPART.Anchored = false
  362. end
  363. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  364. NEWPART.Name = NAME
  365. NEWPART.Size = SIZE
  366. NEWPART.Position = Torso.Position
  367. NEWPART.Material = MATERIAL
  368. NEWPART:BreakJoints()
  369. NEWPART.Parent = PARENT
  370. return NEWPART
  371. end
  372.  
  373. local function weldBetween(a, b)
  374. local weldd = Instance.new("ManualWeld")
  375. weldd.Part0 = a
  376. weldd.Part1 = b
  377. weldd.C0 = CFrame.new()
  378. weldd.C1 = b.CFrame:inverse() * a.CFrame
  379. weldd.Parent = a
  380. return weldd
  381. end
  382.  
  383.  
  384. function QuaternionFromCFrame(cf)
  385. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  386. local trace = m00 + m11 + m22
  387. if trace > 0 then
  388. local s = math.sqrt(1 + trace)
  389. local recip = 0.5 / s
  390. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  391. else
  392. local i = 0
  393. if m11 > m00 then
  394. i = 1
  395. end
  396. if m22 > (i == 0 and m00 or m11) then
  397. i = 2
  398. end
  399. if i == 0 then
  400. local s = math.sqrt(m00 - m11 - m22 + 1)
  401. local recip = 0.5 / s
  402. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  403. elseif i == 1 then
  404. local s = math.sqrt(m11 - m22 - m00 + 1)
  405. local recip = 0.5 / s
  406. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  407. elseif i == 2 then
  408. local s = math.sqrt(m22 - m00 - m11 + 1)
  409. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  410. end
  411. end
  412. end
  413.  
  414. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  415. local xs, ys, zs = x + x, y + y, z + z
  416. local wx, wy, wz = w * xs, w * ys, w * zs
  417. local xx = x * xs
  418. local xy = x * ys
  419. local xz = x * zs
  420. local yy = y * ys
  421. local yz = y * zs
  422. local zz = z * zs
  423. 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))
  424. end
  425.  
  426. function QuaternionSlerp(a, b, t)
  427. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  428. local startInterp, finishInterp;
  429. if cosTheta >= 0.0001 then
  430. if (1 - cosTheta) > 0.0001 then
  431. local theta = ACOS(cosTheta)
  432. local invSinTheta = 1 / SIN(theta)
  433. startInterp = SIN((1 - t) * theta) * invSinTheta
  434. finishInterp = SIN(t * theta) * invSinTheta
  435. else
  436. startInterp = 1 - t
  437. finishInterp = t
  438. end
  439. else
  440. if (1 + cosTheta) > 0.0001 then
  441. local theta = ACOS(-cosTheta)
  442. local invSinTheta = 1 / SIN(theta)
  443. startInterp = SIN((t - 1) * theta) * invSinTheta
  444. finishInterp = SIN(t * theta) * invSinTheta
  445. else
  446. startInterp = t - 1
  447. finishInterp = t
  448. end
  449. end
  450. 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
  451. end
  452.  
  453. function Clerp(a, b, t)
  454. local qa = {QuaternionFromCFrame(a)}
  455. local qb = {QuaternionFromCFrame(b)}
  456. local ax, ay, az = a.x, a.y, a.z
  457. local bx, by, bz = b.x, b.y, b.z
  458. local _t = 1 - t
  459. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  460. end
  461.  
  462. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  463. local frame = IT("Frame")
  464. frame.BackgroundTransparency = TRANSPARENCY
  465. frame.BorderSizePixel = BORDERSIZEPIXEL
  466. frame.Position = POSITION
  467. frame.Size = SIZE
  468. frame.BackgroundColor3 = COLOR
  469. frame.BorderColor3 = BORDERCOLOR
  470. frame.Name = NAME
  471. frame.Parent = PARENT
  472. return frame
  473. end
  474.  
  475. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  476. local label = IT("TextLabel")
  477. label.BackgroundTransparency = 1
  478. label.Size = UD2(1, 0, 1, 0)
  479. label.Position = UD2(0, 0, 0, 0)
  480. label.TextColor3 = TEXTCOLOR
  481. label.TextStrokeTransparency = STROKETRANSPARENCY
  482. label.TextTransparency = TRANSPARENCY
  483. label.FontSize = TEXTFONTSIZE
  484. label.Font = TEXTFONT
  485. label.BorderSizePixel = BORDERSIZEPIXEL
  486. label.TextScaled = false
  487. label.Text = TEXT
  488. label.Name = NAME
  489. label.Parent = PARENT
  490. return label
  491. end
  492.  
  493. function NoOutlines(PART)
  494. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  495. end
  496.  
  497. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  498. local NEWWELD = IT(TYPE)
  499. NEWWELD.Part0 = PART0
  500. NEWWELD.Part1 = PART1
  501. NEWWELD.C0 = C0
  502. NEWWELD.C1 = C1
  503. NEWWELD.Parent = PARENT
  504. return NEWWELD
  505. end
  506.  
  507. local S = IT("Sound")
  508. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  509. local NEWSOUND = nil
  510. coroutine.resume(coroutine.create(function()
  511. NEWSOUND = S:Clone()
  512. NEWSOUND.Parent = PARENT
  513. NEWSOUND.Volume = VOLUME
  514. NEWSOUND.Pitch = PITCH
  515. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  516. NEWSOUND:play()
  517. if DOESLOOP == true then
  518. NEWSOUND.Looped = true
  519. else
  520. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  521. NEWSOUND:remove()
  522. end
  523. end))
  524. return NEWSOUND
  525. end
  526.  
  527. function CFrameFromTopBack(at, top, back)
  528. local right = top:Cross(back)
  529. 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)
  530. end
  531. function chatfunc(text)
  532. local chat = coroutine.wrap(function()
  533. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  534. Character:FindFirstChild("TalkingBillBoard"):destroy()
  535. end
  536. local Bill = Instance.new("BillboardGui",Character)
  537. Bill.Size = UDim2.new(0,100,0,40)
  538. Bill.StudsOffset = Vector3.new(0,3,0)
  539. Bill.Adornee = Character.Head
  540. Bill.Name = "TalkingBillBoard"
  541. local Hehe = Instance.new("TextLabel",Bill)
  542. Hehe.BackgroundTransparency = 1
  543. Hehe.BorderSizePixel = 0
  544. Hehe.Text = ""
  545. Hehe.Font = "Arcade"
  546. Hehe.TextSize = 40
  547. Hehe.TextStrokeTransparency = 0
  548. Hehe.Size = UDim2.new(1,0,0.5,0)
  549. coroutine.resume(coroutine.create(function()
  550. while Hehe ~= nil do
  551. wait()
  552. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  553. Hehe.Rotation = math.random(-5,5)
  554. Hehe.TextColor3 = Color3.new(0,0,0)
  555. Hehe.TextStrokeColor3 = Color3.new(170,0,0)
  556. end
  557. end))
  558. for i = 1,string.len(text),1 do
  559. wait()
  560. Hehe.Text = string.sub(text,1,i)
  561. end
  562. wait(1.5)--Re[math.random(1, 93)]
  563. for i = 0, 1, .025 do
  564. wait()
  565. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  566. Hehe.TextStrokeTransparency = i
  567. Hehe.TextTransparency = i
  568. end
  569. Bill:Destroy()
  570. end)
  571. chat()
  572. end
  573. --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})
  574. function WACKYEFFECT(Table)
  575. local TYPE = (Table.EffectType or "Sphere")
  576. local SIZE = (Table.Size or VT(1,1,1))
  577. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  578. local TRANSPARENCY = (Table.Transparency or 0)
  579. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  580. local CFRAME = (Table.CFrame or Torso.CFrame)
  581. local MOVEDIRECTION = (Table.MoveToPos or nil)
  582. local ROTATION1 = (Table.RotationX or 0)
  583. local ROTATION2 = (Table.RotationY or 0)
  584. local ROTATION3 = (Table.RotationZ or 0)
  585. local MATERIAL = (Table.Material or "Neon")
  586. local COLOR = (Table.Color or C3(1,1,1))
  587. local TIME = (Table.Time or 45)
  588. local SOUNDID = (Table.SoundID or nil)
  589. local SOUNDPITCH = (Table.SoundPitch or nil)
  590. local SOUNDVOLUME = (Table.SoundVolume or nil)
  591. coroutine.resume(coroutine.create(function()
  592. local PLAYSSOUND = false
  593. local SOUND = nil
  594. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  595. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  596. PLAYSSOUND = true
  597. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  598. end
  599. EFFECT.Color = COLOR
  600. local MSH = nil
  601. if TYPE == "Sphere" then
  602. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  603. elseif TYPE == "Block" then
  604. MSH = IT("BlockMesh",EFFECT)
  605. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  606. elseif TYPE == "Wave" then
  607. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  608. elseif TYPE == "Ring" then
  609. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  610. elseif TYPE == "Slash" then
  611. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  612. elseif TYPE == "Round Slash" then
  613. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  614. elseif TYPE == "Swirl" then
  615. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  616. elseif TYPE == "Skull" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  618. elseif TYPE == "Crystal" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  620. end
  621. if MSH ~= nil then
  622. local MOVESPEED = nil
  623. if MOVEDIRECTION ~= nil then
  624. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  625. end
  626. local GROWTH = SIZE - ENDSIZE
  627. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  628. if TYPE == "Block" then
  629. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  630. else
  631. EFFECT.CFrame = CFRAME
  632. end
  633. for LOOP = 1, TIME+1 do
  634. Swait()
  635. MSH.Scale = MSH.Scale - GROWTH/TIME
  636. if TYPE == "Wave" then
  637. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  638. end
  639. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  640. if TYPE == "Block" then
  641. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  642. else
  643. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  644. end
  645. if MOVEDIRECTION ~= nil then
  646. local ORI = EFFECT.Orientation
  647. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  648. EFFECT.Orientation = ORI
  649. end
  650. end
  651. if PLAYSSOUND == false then
  652. EFFECT:remove()
  653. else
  654. SOUND.Stopped:Connect(function()
  655. EFFECT:remove()
  656. end)
  657. end
  658. else
  659. if PLAYSSOUND == false then
  660. EFFECT:remove()
  661. else
  662. repeat Swait() until SOUND.Playing == false
  663. EFFECT:remove()
  664. end
  665. end
  666. end))
  667. end
  668.  
  669. function MakeForm(PART,TYPE)
  670. if TYPE == "Cyl" then
  671. local MSH = IT("CylinderMesh",PART)
  672. elseif TYPE == "Ball" then
  673. local MSH = IT("SpecialMesh",PART)
  674. MSH.MeshType = "Sphere"
  675. elseif TYPE == "Wedge" then
  676. local MSH = IT("SpecialMesh",PART)
  677. MSH.MeshType = "Wedge"
  678. end
  679. end
  680.  
  681. function SpawnTrail(FROM,TO,BIG)
  682. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  683. MakeForm(TRAIL,"Cyl")
  684. local DIST = (FROM - TO).Magnitude
  685. if BIG == true then
  686. TRAIL.Size = VT(0.5,DIST,0.5)
  687. else
  688. TRAIL.Size = VT(0.25,DIST,0.25)
  689. end
  690. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  691. coroutine.resume(coroutine.create(function()
  692. for i = 1, 5 do
  693. Swait()
  694. TRAIL.Transparency = TRAIL.Transparency + 0.1
  695. end
  696. TRAIL:remove()
  697. end))
  698. end
  699.  
  700. Debris = game:GetService("Debris")
  701.  
  702. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  703. local DIRECTION = CF(StartPos,EndPos).lookVector
  704. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  705. end
  706.  
  707. function turnto(position)
  708. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  709. end
  710.  
  711. --//=================================\\
  712. --|| WEAPON CREATION
  713. --\\=================================//
  714.  
  715. local Particle = IT("ParticleEmitter",nil)
  716. Particle.Enabled = false
  717. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  718. Particle.LightEmission = 0.5
  719. Particle.Rate = 150
  720. Particle.ZOffset = 0.2
  721. Particle.Rotation = NumberRange.new(-180, 180)
  722. Particle.RotSpeed = NumberRange.new(-180, 180)
  723. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  724. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  725.  
  726. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  727. function ParticleEmitter(Table)
  728. local PRTCL = Particle:Clone()
  729. local Speed = Table.Speed or 5
  730. local Drag = Table.Drag or 0
  731. local Size1 = Table.Size1 or 1
  732. local Size2 = Table.Size2 or 5
  733. local Lifetime1 = Table.Lifetime1 or 1
  734. local Lifetime2 = Table.Lifetime2 or 1.5
  735. local Parent = Table.Parent or Torso
  736. local Emit = Table.Emit or 100
  737. local Offset = Table.Offset or 360
  738. local Acel = Table.Acel or VT(0,0,0)
  739. local Enabled = Table.Enabled or false
  740. PRTCL.Parent = Parent
  741. PRTCL.Size = NumberSequence.new(Size1,Size2)
  742. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  743. PRTCL.Speed = NumberRange.new(Speed)
  744. PRTCL.VelocitySpread = Offset
  745. PRTCL.Drag = Drag
  746. PRTCL.Acceleration = Acel
  747. if Enabled == false then
  748. PRTCL:Emit(Emit)
  749. Debris:AddItem(PRTCL,Lifetime2)
  750. else
  751. PRTCL.Enabled = true
  752. end
  753. return PRTCL
  754. end
  755.  
  756. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  757. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  758. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  759. MakeForm(Part,"Wedge")
  760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  761. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  762. MakeForm(Part,"Wedge")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  764. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  765. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  767. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  768. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  769. MakeForm(Part,"Cyl")
  770. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  771. for i = 1, 8 do
  772. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  773. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  774. end
  775. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  776. MakeForm(Part,"Cyl")
  777. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  778. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  779. MakeForm(Part,"Ball")
  780. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  781. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  782. MakeForm(Part,"Wedge")
  783. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  784. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  785. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  786. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  787. MakeForm(Part,"Cyl")
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  790. MakeForm(Part,"Cyl")
  791. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  792. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  793. MakeForm(Part,"Cyl")
  794. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  796. MakeForm(Part,"Wedge")
  797. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  798. local LASTPART = Handle
  799. for i = 1, 10 do
  800. if LASTPART == Handle then
  801. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  802. LASTPART = Part
  803. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  804. else
  805. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  806. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  807. LASTPART = Part
  808. end
  809. end
  810.  
  811. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  812. MakeForm(Barrel,"Cyl")
  813. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  814. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  815. MakeForm(Part,"Cyl")
  816. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  817. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  818. MakeForm(Part,"Wedge")
  819. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  820. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  821. MakeForm(Hole,"Cyl")
  822. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  823. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  824. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  825. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  826. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  827. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  828. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  829. coroutine.resume(coroutine.create(function()
  830. while wait() do
  831. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  832. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  833. end
  834. end))
  835.  
  836. 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)})
  837. --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)})
  838.  
  839. for _, c in pairs(Weapon:GetDescendants()) do
  840. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  841. c.Material = "Glass"
  842. c.Color = C3(0,0,0)
  843. elseif c.ClassName == "Part" and c.Name == "Eye" then
  844. c.Color = C3(1,0,0)
  845. c.Material = "Neon"
  846. end
  847. end
  848.  
  849. Weapon.Parent = Character
  850. for _, c in pairs(Weapon:GetChildren()) do
  851. if c.ClassName == "Part" then
  852. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  853. end
  854. end
  855.  
  856. local SKILLTEXTCOLOR = C3(1,0,0)
  857. local SKILLFONT = "Antique"
  858. local SKILLTEXTSIZE = 7
  859.  
  860. Humanoid.Died:connect(function()
  861. ATTACK = true
  862. end)
  863.  
  864. 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")
  865. --[[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")
  866. 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")
  867. 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")
  868. 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")
  869. ]]
  870. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  871. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  872. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  873. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  874. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  875. ]]
  876. function printbye(Name)
  877. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  878. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  879. end
  880.  
  881. workspace.ChildAdded:connect(function(instance)
  882. for BANISH = 1, #TOBANISH do
  883. if TOBANISH[BANISH] ~= nil then
  884. if instance.Name == TOBANISH[BANISH] then
  885. coroutine.resume(coroutine.create(function()
  886. printbye(instance.Name)
  887. instance:ClearAllChildren()
  888. Debris:AddItem(instance,0.0005)
  889. end))
  890. end
  891. end
  892. end
  893. end)
  894.  
  895. --//=================================\\
  896. --|| DAMAGING
  897. --\\=================================//
  898. function Teleport()
  899. ATTACK = true
  900. Rooted = false
  901. for i=0, 0.5, 0.1 / Animation_Speed do
  902. Swait()
  903. 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)
  904. 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)
  905. end
  906. for e = 1, #BODY do
  907. if BODY[e] ~= nil then
  908. local STUFF = BODY[e]
  909. local PART = STUFF[1]
  910. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  911. local PRT = PART:Clone()
  912. PRT.Anchored = true
  913. PRT.CanCollide = false
  914. PRT.Material = "Neon"
  915. PRT.Color = C3(255,100,255)
  916. PRT.Name = "WarpEffect"
  917. PRT.Parent = Effects
  918. PRT.CFrame = PART.CFrame
  919. PRT:BreakJoints()
  920. if PRT:FindFirstChildOfClass("Sound") then
  921. PRT:FindFirstChildOfClass("Sound"):remove()
  922. end
  923. if PRT:FindFirstChildOfClass("Decal") then
  924. PRT:FindFirstChildOfClass("Decal"):remove()
  925. end
  926. coroutine.resume(coroutine.create(function()
  927. for i = 1, 100 do
  928. Swait()
  929. PRT.Transparency = PRT.Transparency + 1/100
  930. end
  931. PRT:remove()
  932. end))
  933. end
  934. end
  935. end
  936. CreateSound(217767125, Torso, 10, 1)
  937. local POS = RootPart.Orientation
  938. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  939. RootPart.Orientation = POS
  940. RootJoint.Parent = RootPart
  941. for i=0, 0.5, 0.1 / Animation_Speed do
  942. Swait()
  943. 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)
  944. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  945. end
  946. for i=0, 0.1, 0.1 / Animation_Speed do
  947. Swait()
  948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  949. end
  950. ATTACK = false
  951. Rooted = false
  952. end
  953. function Banish(Foe)
  954. if Foe then
  955. coroutine.resume(coroutine.create(function()
  956. --if game.Players:FindFirstChild(Foe.Name) then
  957. table.insert(TOBANISH,Foe.Name)
  958. printbye(Foe.Name)
  959. --end
  960. Foe.Archivable = true
  961. local CLONE = Foe:Clone()
  962. Foe:Destroy()
  963. CLONE.Parent = Effects
  964. CLONE:BreakJoints()
  965. local MATERIALS = {"Glass","Neon"}
  966. for _, c in pairs(CLONE:GetDescendants()) do
  967. if c:IsA("BasePart") then
  968. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  969. CreateSound(340722848, c, 10, 1, false)
  970. end
  971. c.Anchored = true
  972. c.Transparency = c.Transparency + 0.2
  973. c.Material = MATERIALS[MRANDOM(1,2)]
  974. c.Color = C3(1,0,0)
  975. if c.ClassName == "MeshPart" then
  976. c.TextureID = ""
  977. end
  978. if c:FindFirstChildOfClass("SpecialMesh") then
  979. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  980. end
  981. if c:FindFirstChildOfClass("Decal") then
  982. c:FindFirstChildOfClass("Decal"):remove()
  983. end
  984. c.Name = "Banished"
  985. c.CanCollide = false
  986. else
  987. c:remove()
  988. end
  989. end
  990. local A = false
  991. for i = 1, 35 do
  992. if A == false then
  993. A = true
  994. elseif A == true then
  995. A = false
  996. end
  997. for _, c in pairs(CLONE:GetDescendants()) do
  998. if c:IsA("BasePart") then
  999. c.Anchored = true
  1000. c.Material = MATERIALS[MRANDOM(1,2)]
  1001. c.Transparency = c.Transparency + 0.8/35
  1002. if A == false then
  1003. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1004. elseif A == true then
  1005. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1006. end
  1007. end
  1008. end
  1009. Swait()
  1010. end
  1011. CLONE:remove()
  1012. end))
  1013. end
  1014. end
  1015.  
  1016. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1017. local CHILDREN = workspace:GetDescendants()
  1018. for index, CHILD in pairs(CHILDREN) do
  1019. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1020. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1021. if HUM then
  1022. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1023. if TORSO then
  1024. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1025. if ISBANISH == true then
  1026. Banish(CHILD)
  1027. else
  1028. if ISBANISH == "Gravity" then
  1029. HUM.PlatformStand = true
  1030. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1031. local grav = Instance.new("BodyPosition",TORSO)
  1032. grav.D = 15
  1033. grav.P = 20000
  1034. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1035. grav.position = TORSO.Position
  1036. grav.Name = "V3BanishForce"..Player.Name
  1037. else
  1038. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1039. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1040. end
  1041. else
  1042. HUM.PlatformStand = false
  1043. end
  1044. end
  1045. elseif ISBANISH == "Gravity" then
  1046. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1047. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1048. HUM.PlatformStand = false
  1049. end
  1050. end
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056.  
  1057. --//=================================\\
  1058. --|| ATTACK FUNCTIONS AND STUFF
  1059. --\\=================================//
  1060. local LAUGHS = {"907329532"}
  1061.  
  1062. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1063. MakeForm(RightHole,"Cyl")
  1064. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1065. MakeForm(LeftHole,"Cyl")
  1066. function Shot()
  1067. ATTACK = true
  1068. Rooted = false
  1069. for i=0, 0.4, 0.1 / Animation_Speed do
  1070. Swait()
  1071. turnto(Mouse.Hit.p)
  1072. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1076. 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)
  1077. 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)
  1078. end
  1079. repeat
  1080. for i=0, 0.2, 0.1 / Animation_Speed do
  1081. Swait()
  1082. turnto(Mouse.Hit.p)
  1083. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1087. 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)
  1088. 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)
  1089. end
  1090. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1091. SpawnTrail(Hole.Position,POS)
  1092. if HIT ~= nil then
  1093. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1094. Banish(HIT.Parent)
  1095. end
  1096. end
  1097. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1098. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1099. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1100. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1101. for i=0, 0.3, 0.1 / Animation_Speed do
  1102. Swait()
  1103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1107. 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)
  1108. 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)
  1109. end
  1110. until KEYHOLD == false
  1111. ATTACK = false
  1112. Rooted = false
  1113. end
  1114.  
  1115. function AttackTemplate()
  1116. ATTACK = true
  1117. Rooted = false
  1118. for i=0, 1, 0.1 / Animation_Speed do
  1119. Swait()
  1120. 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)
  1121. 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)
  1122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1124. 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)
  1125. 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)
  1126. end
  1127. ATTACK = false
  1128. Rooted = false
  1129. end
  1130. function Deathbound()
  1131. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1132. ATTACK = true
  1133. Rooted = true
  1134. for i=0, 1, 0.1 / Animation_Speed do
  1135. Swait()
  1136. 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)
  1137. 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)
  1138. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1139. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1140. 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)
  1141. 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)
  1142. end
  1143. local DONE = false
  1144. local GATE = nil
  1145. local GATESPIN = true
  1146. coroutine.resume(coroutine.create(function()
  1147. repeat
  1148. Swait()
  1149. if GATE ~= nil then
  1150. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1151. end
  1152. until GATESPIN == false
  1153. end))
  1154. coroutine.resume(coroutine.create(function()
  1155. repeat
  1156. Swait()
  1157. 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)
  1158. 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)
  1159. 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)
  1160. 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)
  1161. 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)
  1162. 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)
  1163. until DONE == true
  1164. Swait(50)
  1165. for i = 1, 35 do
  1166. Swait(4)
  1167. local FIRED = false
  1168. local CHILDREN = workspace:GetDescendants()
  1169. for index, CHILD in pairs(CHILDREN) do
  1170. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1171. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1172. if HUM then
  1173. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1174. if TORSO then
  1175. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1176. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1177. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1178. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1179. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1180. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1181. Banish(CHILD)
  1182. FIRED = true
  1183. break
  1184. end
  1185. end
  1186. end
  1187. end
  1188. end
  1189. if FIRED == false then
  1190. 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)))
  1191. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1192. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1193. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1194. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1195. if HITBOD ~= nil then
  1196. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1197. Kill(HITBOD.Parent)
  1198. end
  1199. end
  1200. end
  1201. end
  1202. for i = 1, 45 do
  1203. Swait()
  1204. GATE.Size = GATE.Size - VT(3,0,3)
  1205. end
  1206. GATESPIN = false
  1207. GATE:remove()
  1208. end))
  1209. Swait(15)
  1210. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1211. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1212. local DECAL = IT("Decal",GATE)
  1213. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1214. DECAL.Face = "Top"
  1215. GATE.CFrame = CF(HITPOS)
  1216. CreateSound(160772554, GATE, 7, 1.3, false)
  1217. for i = 1, 45 do
  1218. Swait()
  1219. GATE.Size = GATE.Size + VT(3,0,3)
  1220. end
  1221. CreateSound(213603013, RightHole, 7, 1, false)
  1222. CreateSound(213603013, LeftHole, 7, 1, false)
  1223. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), 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(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1224. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), 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(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1225. ATTACK = false
  1226. Rooted = false
  1227. DONE = true
  1228. end
  1229.  
  1230. --//=================================\\
  1231. --|| ASSIGN THINGS TO KEYS
  1232. --\\=================================//
  1233.  
  1234. function MouseDown(Mouse)
  1235. if ATTACK == false then
  1236. end
  1237. end
  1238.  
  1239. function MouseUp(Mouse)
  1240. HOLD = false
  1241. end
  1242.  
  1243. function KeyDown(Key)
  1244. KEYHOLD = true
  1245. if Key == "z" and ATTACK == false then
  1246. Shot()
  1247. chatfunc("Let that be a warning. maybe")
  1248. end
  1249.  
  1250. if Key == "b" and ATTACK == false then
  1251. chatfunc("il stop for a while.")
  1252. Teleport()
  1253. end
  1254.  
  1255. if Key == "c" and ATTACK == false then
  1256. chatfunc("Get ready skid.")
  1257. Deathbound()
  1258. end
  1259.  
  1260. if Key == "q" and ATTACK == false then
  1261. end
  1262.  
  1263. if Key == "x" and ATTACK == false then
  1264. end
  1265. end
  1266.  
  1267. function KeyUp(Key)
  1268. KEYHOLD = false
  1269. end
  1270.  
  1271. Mouse.Button1Down:connect(function(NEWKEY)
  1272. MouseDown(NEWKEY)
  1273. end)
  1274. Mouse.Button1Up:connect(function(NEWKEY)
  1275. MouseUp(NEWKEY)
  1276. end)
  1277. Mouse.KeyDown:connect(function(NEWKEY)
  1278. KeyDown(NEWKEY)
  1279. end)
  1280. Mouse.KeyUp:connect(function(NEWKEY)
  1281. KeyUp(NEWKEY)
  1282. end)
  1283.  
  1284. --//=================================\\
  1285. --\\=================================//
  1286.  
  1287.  
  1288. function unanchor()
  1289. if UNANCHOR == true then
  1290. g = Character:GetChildren()
  1291. for i = 1, #g do
  1292. if g[i].ClassName == "Part" then
  1293. g[i].Anchored = false
  1294. end
  1295. end
  1296. end
  1297. end
  1298.  
  1299.  
  1300. --//=================================\\
  1301. --|| WRAP THE WHOLE SCRIPT UP
  1302. --\\=================================//
  1303.  
  1304. Humanoid.Changed:connect(function(Jump)
  1305. if Jump == "Jump" and (Disable_Jump == true) then
  1306. Humanoid.Jump = false
  1307. end
  1308. end)
  1309.  
  1310. local CONNECT = nil
  1311.  
  1312. while true do
  1313. Swait()
  1314. ANIMATE.Parent = nil
  1315. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1316. Humanoid = IT("Humanoid",Character)
  1317. end
  1318. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1319. v:Stop();
  1320. end
  1321. SINE = SINE + CHANGE
  1322. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1323. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1324. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1325. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1326. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1327. 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)
  1328. 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)
  1329. 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)
  1330. 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)
  1331. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1332. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. end
  1337. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1338. ANIM = "Jump"
  1339. if ATTACK == false then
  1340. 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)
  1341. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1344. 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)
  1345. 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)
  1346. end
  1347. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1348. ANIM = "Fall"
  1349. if ATTACK == false then
  1350. 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)
  1351. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1352. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1353. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1354. 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)
  1355. 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)
  1356. end
  1357. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1358. ANIM = "Idle"
  1359. if ATTACK == false then
  1360. 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)
  1361. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1364. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1365. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1366. end
  1367. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1368. ANIM = "Walk"
  1369. if ATTACK == false then
  1370. 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)
  1371. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1372. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1373. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1374. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1375. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1376. end
  1377. end
  1378. unanchor()
  1379. Humanoid.MaxHealth = "inf"
  1380. Humanoid.Health = "inf"
  1381. if Rooted == false then
  1382. Disable_Jump = false
  1383. Humanoid.WalkSpeed = Speed
  1384. elseif Rooted == true then
  1385. Disable_Jump = true
  1386. Humanoid.WalkSpeed = 0
  1387. end
  1388. sick.Parent = Torso
  1389. sick:resume()
  1390. sick.Volume = 8.2
  1391. sick.Pitch = 1
  1392. sick.SoundId = "rbxassetid://900318768"
  1393. sick.Name = "Dead"
  1394. end
  1395.  
  1396. --//=================================\\
  1397. --\\=================================//
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403. --//====================================================\\--
  1404. --|| END OF SCRIPT
  1405. --\\====================================================//--
Add Comment
Please, Sign In to add comment