Advertisement
Cute_Sylveon

Test 7999

Sep 26th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.87 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Congratulation. You fucked yourself")end;print("Fetus dedleteus");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Congratulation. You didn't fuck yourself.")
  141.  
  142. wait(0.2)
  143.  
  144. Player = owner
  145. PlayerGui = Player.PlayerGui
  146. Cam = workspace.CurrentCamera
  147. Backpack = Player.Backpack
  148. Character = Player.Character
  149. Humanoid = Character.Humanoid
  150. Mouse = Player:GetMouse()
  151. RootPart = Character["HumanoidRootPart"]
  152. Torso = Character["Torso"]
  153. Head = Character["Head"]
  154. RightArm = Character["Right Arm"]
  155. LeftArm = Character["Left Arm"]
  156. RightLeg = Character["Right Leg"]
  157. LeftLeg = Character["Left Leg"]
  158. RootJoint = RootPart["RootJoint"]
  159. Neck = Torso["Neck"]
  160. RightShoulder = Torso["Right Shoulder"]
  161. LeftShoulder = Torso["Left Shoulder"]
  162. RightHip = Torso["Right Hip"]
  163. LeftHip = Torso["Left Hip"]
  164. local TIME = 0
  165. local sick = Instance.new("Sound",Torso)
  166.  
  167. IT = Instance.new
  168. CF = CFrame.new
  169. VT = Vector3.new
  170. RAD = math.rad
  171. C3 = Color3.new
  172. UD2 = UDim2.new
  173. BRICKC = BrickColor.new
  174. ANGLES = CFrame.Angles
  175. EULER = CFrame.fromEulerAnglesXYZ
  176. COS = math.cos
  177. ACOS = math.acos
  178. SIN = math.sin
  179. ASIN = math.asin
  180. ABS = math.abs
  181. MRANDOM = math.random
  182. FLOOR = math.floor
  183.  
  184.  
  185. Animation_Speed = 3
  186. local FORCERESET = false
  187. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  188. local Speed = 16
  189. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  191. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  192. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  193. local DAMAGEMULTIPLIER = 1
  194. local ANIM = "Idle"
  195. local ATTACK = false
  196. local EQUIPPED = false
  197. local HOLD = false
  198. local COMBO = 1
  199. local Rooted = false
  200. local SINE = 0
  201. local KEYHOLD = false
  202. local CHANGE = 2 / Animation_Speed
  203. local WALKINGANIM = false
  204. local VALUE1 = false
  205. local VALUE2 = false
  206. local ROBLOXIDLEANIMATION = IT("Animation")
  207. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  208. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  209. --ROBLOXIDLEANIMATION.Parent = Humanoid
  210. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  211. WEAPONGUI.Name = "BanishV3Gui"
  212. local Weapon = IT("Model")
  213. Weapon.Name = "Adds"
  214. local Effects = IT("Folder", Weapon)
  215. Effects.Name = "Effects"
  216. local ANIMATOR = Humanoid.Animator
  217. local ANIMATE = Character:FindFirstChild("Animate")
  218. local UNANCHOR = true
  219. local TOBANISH = {}
  220. script.Parent = PlayerGui
  221.  
  222. --//=================================\\
  223. --\\=================================//
  224.  
  225.  
  226. --//=================================\\
  227. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  228. --\\=================================//
  229.  
  230. ArtificialHB = Instance.new("BindableEvent", script)
  231. ArtificialHB.Name = "ArtificialHB"
  232.  
  233. script:WaitForChild("ArtificialHB")
  234.  
  235. frame = Frame_Speed
  236. tf = 0
  237. allowframeloss = false
  238. tossremainder = false
  239. lastframe = tick()
  240. script.ArtificialHB:Fire()
  241.  
  242. game:GetService("RunService").Heartbeat:connect(function(s, p)
  243. tf = tf + s
  244. if tf >= frame then
  245. if allowframeloss then
  246. script.ArtificialHB:Fire()
  247. lastframe = tick()
  248. else
  249. for i = 1, math.floor(tf / frame) do
  250. script.ArtificialHB:Fire()
  251. end
  252. lastframe = tick()
  253. end
  254. if tossremainder then
  255. tf = 0
  256. else
  257. tf = tf - frame * math.floor(tf / frame)
  258. end
  259. end
  260. end)
  261.  
  262. --//=================================\\
  263. --\\=================================//
  264.  
  265. --//=================================\\
  266. --|| SOME FUNCTIONS
  267. --\\=================================//
  268.  
  269. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  270. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  271. end
  272.  
  273. function PositiveAngle(NUMBER)
  274. if NUMBER >= 0 then
  275. NUMBER = 0
  276. end
  277. return NUMBER
  278. end
  279.  
  280. function NegativeAngle(NUMBER)
  281. if NUMBER <= 0 then
  282. NUMBER = 0
  283. end
  284. return NUMBER
  285. end
  286.  
  287. function Swait(NUMBER)
  288. if NUMBER == 0 or NUMBER == nil then
  289. ArtificialHB.Event:wait()
  290. else
  291. for i = 1, NUMBER do
  292. ArtificialHB.Event:wait()
  293. end
  294. end
  295. end
  296.  
  297. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  298. local NEWMESH = IT(MESH)
  299. if MESH == "SpecialMesh" then
  300. NEWMESH.MeshType = MESHTYPE
  301. if MESHID ~= "nil" and MESHID ~= "" then
  302. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  303. end
  304. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  305. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  306. end
  307. end
  308. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  309. NEWMESH.Scale = SCALE
  310. NEWMESH.Parent = PARENT
  311. return NEWMESH
  312. end
  313.  
  314. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  315. local NEWPART = IT("Part")
  316. NEWPART.formFactor = FORMFACTOR
  317. NEWPART.Reflectance = REFLECTANCE
  318. NEWPART.Transparency = TRANSPARENCY
  319. NEWPART.CanCollide = false
  320. NEWPART.Locked = true
  321. NEWPART.Anchored = true
  322. if ANCHOR == false then
  323. NEWPART.Anchored = false
  324. end
  325. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  326. NEWPART.Name = NAME
  327. NEWPART.Size = SIZE
  328. NEWPART.Position = Torso.Position
  329. NEWPART.Material = MATERIAL
  330. NEWPART:BreakJoints()
  331. NEWPART.Parent = PARENT
  332. return NEWPART
  333. end
  334.  
  335. local function weldBetween(a, b)
  336. local weldd = Instance.new("ManualWeld")
  337. weldd.Part0 = a
  338. weldd.Part1 = b
  339. weldd.C0 = CFrame.new()
  340. weldd.C1 = b.CFrame:inverse() * a.CFrame
  341. weldd.Parent = a
  342. return weldd
  343. end
  344.  
  345.  
  346. function QuaternionFromCFrame(cf)
  347. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  348. local trace = m00 + m11 + m22
  349. if trace > 0 then
  350. local s = math.sqrt(1 + trace)
  351. local recip = 0.5 / s
  352. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  353. else
  354. local i = 0
  355. if m11 > m00 then
  356. i = 1
  357. end
  358. if m22 > (i == 0 and m00 or m11) then
  359. i = 2
  360. end
  361. if i == 0 then
  362. local s = math.sqrt(m00 - m11 - m22 + 1)
  363. local recip = 0.5 / s
  364. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  365. elseif i == 1 then
  366. local s = math.sqrt(m11 - m22 - m00 + 1)
  367. local recip = 0.5 / s
  368. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  369. elseif i == 2 then
  370. local s = math.sqrt(m22 - m00 - m11 + 1)
  371. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  372. end
  373. end
  374. end
  375.  
  376. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  377. local xs, ys, zs = x + x, y + y, z + z
  378. local wx, wy, wz = w * xs, w * ys, w * zs
  379. local xx = x * xs
  380. local xy = x * ys
  381. local xz = x * zs
  382. local yy = y * ys
  383. local yz = y * zs
  384. local zz = z * zs
  385. 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))
  386. end
  387.  
  388. function QuaternionSlerp(a, b, t)
  389. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  390. local startInterp, finishInterp;
  391. if cosTheta >= 0.0001 then
  392. if (1 - cosTheta) > 0.0001 then
  393. local theta = ACOS(cosTheta)
  394. local invSinTheta = 1 / SIN(theta)
  395. startInterp = SIN((1 - t) * theta) * invSinTheta
  396. finishInterp = SIN(t * theta) * invSinTheta
  397. else
  398. startInterp = 1 - t
  399. finishInterp = t
  400. end
  401. else
  402. if (1 + cosTheta) > 0.0001 then
  403. local theta = ACOS(-cosTheta)
  404. local invSinTheta = 1 / SIN(theta)
  405. startInterp = SIN((t - 1) * theta) * invSinTheta
  406. finishInterp = SIN(t * theta) * invSinTheta
  407. else
  408. startInterp = t - 1
  409. finishInterp = t
  410. end
  411. end
  412. 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
  413. end
  414.  
  415. function Clerp(a, b, t)
  416. local qa = {QuaternionFromCFrame(a)}
  417. local qb = {QuaternionFromCFrame(b)}
  418. local ax, ay, az = a.x, a.y, a.z
  419. local bx, by, bz = b.x, b.y, b.z
  420. local _t = 1 - t
  421. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  422. end
  423.  
  424. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  425. local frame = IT("Frame")
  426. frame.BackgroundTransparency = TRANSPARENCY
  427. frame.BorderSizePixel = BORDERSIZEPIXEL
  428. frame.Position = POSITION
  429. frame.Size = SIZE
  430. frame.BackgroundColor3 = COLOR
  431. frame.BorderColor3 = BORDERCOLOR
  432. frame.Name = NAME
  433. frame.Parent = PARENT
  434. return frame
  435. end
  436.  
  437. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  438. local label = IT("TextLabel")
  439. label.BackgroundTransparency = 1
  440. label.Size = UD2(1, 0, 1, 0)
  441. label.Position = UD2(0, 0, 0, 0)
  442. label.TextColor3 = TEXTCOLOR
  443. label.TextStrokeTransparency = STROKETRANSPARENCY
  444. label.TextTransparency = TRANSPARENCY
  445. label.FontSize = TEXTFONTSIZE
  446. label.Font = TEXTFONT
  447. label.BorderSizePixel = BORDERSIZEPIXEL
  448. label.TextScaled = false
  449. label.Text = TEXT
  450. label.Name = NAME
  451. label.Parent = PARENT
  452. return label
  453. end
  454.  
  455. function NoOutlines(PART)
  456. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  457. end
  458.  
  459. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  460. local NEWWELD = IT(TYPE)
  461. NEWWELD.Part0 = PART0
  462. NEWWELD.Part1 = PART1
  463. NEWWELD.C0 = C0
  464. NEWWELD.C1 = C1
  465. NEWWELD.Parent = PARENT
  466. return NEWWELD
  467. end
  468.  
  469. local S = IT("Sound")
  470. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  471. local NEWSOUND = nil
  472. coroutine.resume(coroutine.create(function()
  473. NEWSOUND = S:Clone()
  474. NEWSOUND.Parent = PARENT
  475. NEWSOUND.Volume = VOLUME
  476. NEWSOUND.Pitch = PITCH
  477. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  478. NEWSOUND:play()
  479. if DOESLOOP == true then
  480. NEWSOUND.Looped = true
  481. else
  482. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  483. NEWSOUND:remove()
  484. end
  485. end))
  486. return NEWSOUND
  487. end
  488.  
  489. function CFrameFromTopBack(at, top, back)
  490. local right = top:Cross(back)
  491. 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)
  492. end
  493.  
  494. --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})
  495. function WACKYEFFECT(Table)
  496. local TYPE = (Table.EffectType or "Sphere")
  497. local SIZE = (Table.Size or VT(1,1,1))
  498. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  499. local TRANSPARENCY = (Table.Transparency or 0)
  500. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  501. local CFRAME = (Table.CFrame or Torso.CFrame)
  502. local MOVEDIRECTION = (Table.MoveToPos or nil)
  503. local ROTATION1 = (Table.RotationX or 0)
  504. local ROTATION2 = (Table.RotationY or 0)
  505. local ROTATION3 = (Table.RotationZ or 0)
  506. local MATERIAL = (Table.Material or "Neon")
  507. local COLOR = (Table.Color or C3(1,1,1))
  508. local TIME = (Table.Time or 45)
  509. local SOUNDID = (Table.SoundID or nil)
  510. local SOUNDPITCH = (Table.SoundPitch or nil)
  511. local SOUNDVOLUME = (Table.SoundVolume or nil)
  512. coroutine.resume(coroutine.create(function()
  513. local PLAYSSOUND = false
  514. local SOUND = nil
  515. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  516. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  517. PLAYSSOUND = true
  518. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  519. end
  520. EFFECT.Color = COLOR
  521. local MSH = nil
  522. if TYPE == "Sphere" then
  523. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  524. elseif TYPE == "Block" then
  525. MSH = IT("BlockMesh",EFFECT)
  526. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  527. elseif TYPE == "Wave" then
  528. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  529. elseif TYPE == "Ring" then
  530. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  531. elseif TYPE == "Slash" then
  532. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  533. elseif TYPE == "Round Slash" then
  534. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  535. elseif TYPE == "Swirl" then
  536. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  537. elseif TYPE == "Skull" then
  538. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  539. elseif TYPE == "Crystal" then
  540. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  541. end
  542. if MSH ~= nil then
  543. local MOVESPEED = nil
  544. if MOVEDIRECTION ~= nil then
  545. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  546. end
  547. local GROWTH = SIZE - ENDSIZE
  548. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  549. if TYPE == "Block" then
  550. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  551. else
  552. EFFECT.CFrame = CFRAME
  553. end
  554. for LOOP = 1, TIME+1 do
  555. Swait()
  556. MSH.Scale = MSH.Scale - GROWTH/TIME
  557. if TYPE == "Wave" then
  558. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  559. end
  560. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  561. if TYPE == "Block" then
  562. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  563. else
  564. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  565. end
  566. if MOVEDIRECTION ~= nil then
  567. local ORI = EFFECT.Orientation
  568. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  569. EFFECT.Orientation = ORI
  570. end
  571. end
  572. if PLAYSSOUND == false then
  573. EFFECT:remove()
  574. else
  575. SOUND.Stopped:Connect(function()
  576. EFFECT:remove()
  577. end)
  578. end
  579. else
  580. if PLAYSSOUND == false then
  581. EFFECT:remove()
  582. else
  583. repeat Swait() until SOUND.Playing == false
  584. EFFECT:remove()
  585. end
  586. end
  587. end))
  588. end
  589.  
  590. function MakeForm(PART,TYPE)
  591. if TYPE == "Cyl" then
  592. local MSH = IT("CylinderMesh",PART)
  593. elseif TYPE == "Ball" then
  594. local MSH = IT("SpecialMesh",PART)
  595. MSH.MeshType = "Sphere"
  596. elseif TYPE == "Wedge" then
  597. local MSH = IT("SpecialMesh",PART)
  598. MSH.MeshType = "Wedge"
  599. end
  600. end
  601.  
  602. function SpawnTrail(FROM,TO,BIG)
  603. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  604. MakeForm(TRAIL,"Cyl")
  605. local DIST = (FROM - TO).Magnitude
  606. if BIG == true then
  607. TRAIL.Size = VT(0.5,DIST,0.5)
  608. else
  609. TRAIL.Size = VT(0.25,DIST,0.25)
  610. end
  611. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  612. coroutine.resume(coroutine.create(function()
  613. for i = 1, 5 do
  614. Swait()
  615. TRAIL.Transparency = TRAIL.Transparency + 0.1
  616. end
  617. TRAIL:remove()
  618. end))
  619. end
  620.  
  621. Debris = game:GetService("Debris")
  622.  
  623. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  624. local DIRECTION = CF(StartPos,EndPos).lookVector
  625. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  626. end
  627.  
  628. function turnto(position)
  629. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  630. end
  631.  
  632. --//=================================\\
  633. --|| WEAPON CREATION
  634. --\\=================================//
  635.  
  636. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  637. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  638. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  639. MakeForm(Part,"Wedge")
  640. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  641. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  642. MakeForm(Part,"Wedge")
  643. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  644. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  645. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  646. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  647. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  648. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  649. MakeForm(Part,"Cyl")
  650. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  651. for i = 1, 8 do
  652. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  653. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  654. end
  655. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  656. MakeForm(Part,"Cyl")
  657. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  658. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  659. MakeForm(Part,"Ball")
  660. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  661. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  662. MakeForm(Part,"Wedge")
  663. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  664. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  665. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  666. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  667. MakeForm(Part,"Cyl")
  668. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  669. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  670. MakeForm(Part,"Cyl")
  671. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  672. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  673. MakeForm(Part,"Cyl")
  674. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  675. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  676. MakeForm(Part,"Wedge")
  677. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  678. local LASTPART = Handle
  679. for i = 1, 10 do
  680. if LASTPART == Handle then
  681. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  682. LASTPART = Part
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  684. else
  685. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  686. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  687. LASTPART = Part
  688. end
  689. end
  690.  
  691. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  692. MakeForm(Barrel,"Cyl")
  693. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  694. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  695. MakeForm(Part,"Cyl")
  696. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  697. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  698. MakeForm(Part,"Wedge")
  699. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  700. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  701. MakeForm(Hole,"Cyl")
  702. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  703. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  704. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  705. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  706. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  707. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  708. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  709. coroutine.resume(coroutine.create(function()
  710. while wait() do
  711. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  712. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  713. end
  714. end))
  715.  
  716.  
  717. for _, c in pairs(Weapon:GetDescendants()) do
  718. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  719. c.Material = "Glass"
  720. c.Color = C3(0,0,0)
  721. elseif c.ClassName == "Part" and c.Name == "Eye" then
  722. c.Color = C3(1,0,0)
  723. c.Material = "Neon"
  724. end
  725. end
  726.  
  727. Weapon.Parent = Character
  728. for _, c in pairs(Weapon:GetChildren()) do
  729. if c.ClassName == "Part" then
  730. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  731. end
  732. end
  733.  
  734. local SKILLTEXTCOLOR = C3(1,0,0)
  735. local SKILLFONT = "Antique"
  736. local SKILLTEXTSIZE = 7
  737.  
  738. Humanoid.Died:connect(function()
  739. ATTACK = true
  740. end)
  741.  
  742. 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")
  743. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  744.  
  745. function printbye(Name)
  746. 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, "}
  747. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  748. end
  749.  
  750. workspace.ChildAdded:connect(function(instance)
  751. for BANISH = 1, #TOBANISH do
  752. if TOBANISH[BANISH] ~= nil then
  753. if instance.Name == TOBANISH[BANISH] then
  754. coroutine.resume(coroutine.create(function()
  755. printbye(instance.Name)
  756. instance:ClearAllChildren()
  757. Debris:AddItem(instance,0.0005)
  758. end))
  759. end
  760. end
  761. end
  762. end)
  763.  
  764. --//=================================\\
  765. --|| DAMAGING
  766. --\\=================================//
  767.  
  768. function Banish(Foe)
  769. if Foe then
  770. coroutine.resume(coroutine.create(function()
  771. --if game.Players:FindFirstChild(Foe.Name) then
  772. table.insert(TOBANISH,Foe.Name)
  773. printbye(Foe.Name)
  774. --end
  775. Foe.Archivable = true
  776. local CLONE = Foe:Clone()
  777. Foe:Destroy()
  778. CLONE.Parent = Effects
  779. CLONE:BreakJoints()
  780. local MATERIALS = {"Glass","Neon"}
  781. for _, c in pairs(CLONE:GetDescendants()) do
  782. if c:IsA("BasePart") then
  783. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  784. CreateSound(340722848, c, 10, 1, false)
  785. end
  786. c.Anchored = true
  787. c.Transparency = c.Transparency + 0.2
  788. c.Material = MATERIALS[MRANDOM(1,2)]
  789. c.Color = C3(1,0,0)
  790. if c.ClassName == "MeshPart" then
  791. c.TextureID = ""
  792. end
  793. if c:FindFirstChildOfClass("SpecialMesh") then
  794. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  795. end
  796. if c:FindFirstChildOfClass("Decal") then
  797. c:FindFirstChildOfClass("Decal"):remove()
  798. end
  799. c.Name = "Banished"
  800. c.CanCollide = false
  801. else
  802. c:remove()
  803. end
  804. end
  805. local A = false
  806. for i = 1, 35 do
  807. if A == false then
  808. A = true
  809. elseif A == true then
  810. A = false
  811. end
  812. for _, c in pairs(CLONE:GetDescendants()) do
  813. if c:IsA("BasePart") then
  814. c.Anchored = true
  815. c.Material = MATERIALS[MRANDOM(1,2)]
  816. c.Transparency = c.Transparency + 0.8/35
  817. if A == false then
  818. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  819. elseif A == true then
  820. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  821. end
  822. end
  823. end
  824. Swait()
  825. end
  826. CLONE:remove()
  827. end))
  828. end
  829. end
  830.  
  831. function ApplyAoE(POSITION,RANGE,ISBANISH)
  832. local CHILDREN = workspace:GetDescendants()
  833. for index, CHILD in pairs(CHILDREN) do
  834. if CHILD.ClassName == "Model" and CHILD ~= Character then
  835. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  836. if HUM then
  837. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  838. if TORSO then
  839. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  840. if ISBANISH == true then
  841. Banish(CHILD)
  842. else
  843. if ISBANISH == "Gravity" then
  844. HUM.PlatformStand = true
  845. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  846. local grav = Instance.new("BodyPosition",TORSO)
  847. grav.D = 15
  848. grav.P = 20000
  849. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  850. grav.position = TORSO.Position
  851. grav.Name = "V3BanishForce"..Player.Name
  852. else
  853. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  854. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  855. end
  856. else
  857. HUM.PlatformStand = false
  858. end
  859. end
  860. elseif ISBANISH == "Gravity" then
  861. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  862. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  863. HUM.PlatformStand = false
  864. end
  865. end
  866. end
  867. end
  868. end
  869. end
  870. end
  871.  
  872. function Banisher_Bullet()
  873. ATTACK = true
  874. Rooted = false
  875. for i=0, 0.4, 0.1 / Animation_Speed do
  876. Swait()
  877. turnto(Mouse.Hit.p)
  878. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  882. 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)
  883. 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)
  884. end
  885. repeat
  886. for i=0, 0.2, 0.1 / Animation_Speed do
  887. Swait()
  888. turnto(Mouse.Hit.p)
  889. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  890. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  893. 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)
  894. 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)
  895. end
  896. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  897. SpawnTrail(Hole.Position,POS)
  898. if HIT ~= nil then
  899. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  900. Banish(HIT.Parent)
  901. end
  902. end
  903. 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})
  904. 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})
  905. for i=0, 0.3, 0.1 / Animation_Speed do
  906. Swait()
  907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  911. 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)
  912. 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)
  913. end
  914. until KEYHOLD == false
  915. ATTACK = false
  916. Rooted = false
  917. end
  918.  
  919. function AttackTemplate()
  920. ATTACK = true
  921. Rooted = false
  922. for i=0, 1, 0.1 / Animation_Speed do
  923. Swait()
  924. 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)
  925. 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)
  926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  928. 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)
  929. 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)
  930. end
  931. ATTACK = false
  932. Rooted = false
  933. end
  934.  
  935. --//=================================\\
  936. --|| ASSIGN THINGS TO KEYS
  937. --\\=================================//
  938.  
  939. function MouseDown(Mouse)
  940. if ATTACK == false then
  941. end
  942. end
  943.  
  944. function MouseUp(Mouse)
  945. HOLD = false
  946. end
  947.  
  948. function KeyDown(Key)
  949. KEYHOLD = true
  950. if Key == "z" and ATTACK == false then
  951. Banisher_Bullet()
  952. end
  953. end
  954.  
  955. function KeyUp(Key)
  956. KEYHOLD = false
  957. end
  958.  
  959. Mouse.Button1Down:connect(function(NEWKEY)
  960. MouseDown(NEWKEY)
  961. end)
  962. Mouse.Button1Up:connect(function(NEWKEY)
  963. MouseUp(NEWKEY)
  964. end)
  965. Mouse.KeyDown:connect(function(NEWKEY)
  966. KeyDown(NEWKEY)
  967. end)
  968. Mouse.KeyUp:connect(function(NEWKEY)
  969. KeyUp(NEWKEY)
  970. end)
  971.  
  972. --//=================================\\
  973. --\\=================================//
  974.  
  975.  
  976. function unanchor()
  977. if UNANCHOR == true then
  978. g = Character:GetChildren()
  979. for i = 1, #g do
  980. if g[i].ClassName == "Part" then
  981. g[i].Anchored = false
  982. end
  983. end
  984. end
  985. end
  986.  
  987.  
  988. --//=================================\\
  989. --|| WRAP THE WHOLE SCRIPT UP
  990. --\\=================================//
  991.  
  992. Humanoid.Changed:connect(function(Jump)
  993. if Jump == "Jump" and (Disable_Jump == true) then
  994. Humanoid.Jump = false
  995. end
  996. end)
  997.  
  998. local CONNECT = nil
  999.  
  1000. while true do
  1001. Swait()
  1002. ANIMATE.Parent = nil
  1003. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1004. Humanoid = IT("Humanoid",Character)
  1005. end
  1006. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1007. v:Stop();
  1008. end
  1009. SINE = SINE + CHANGE
  1010. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1011. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1012. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1013. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1014. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1015. 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)
  1016. 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)
  1017. 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)
  1018. 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)
  1019. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1020. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1021. 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)
  1022. 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)
  1023. 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)
  1024. end
  1025. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1026. ANIM = "Jump"
  1027. if ATTACK == false then
  1028. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1032. 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)
  1033. 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)
  1034. end
  1035. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1036. ANIM = "Fall"
  1037. if ATTACK == false then
  1038. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1042. 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)
  1043. 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)
  1044. end
  1045. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1046. ANIM = "Idle"
  1047. if ATTACK == false then
  1048. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1049. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1050. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1051. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1052. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1053. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1054. end
  1055. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1056. ANIM = "Walk"
  1057. if ATTACK == false then
  1058. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1059. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1062. 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)
  1063. 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)
  1064. end
  1065. end
  1066. unanchor()
  1067. Humanoid.MaxHealth = "inf"
  1068. Humanoid.Health = "inf"
  1069. if Rooted == false then
  1070. Disable_Jump = false
  1071. Humanoid.WalkSpeed = Speed
  1072. elseif Rooted == true then
  1073. Disable_Jump = true
  1074. Humanoid.WalkSpeed = 0
  1075. end
  1076. sick.Parent = Torso
  1077. sick:resume()
  1078. sick.Volume = 5
  1079. sick.Pitch = 1
  1080. sick.SoundId = "rbxassetid://924339757"
  1081. sick.Name = "BanishV3Music"
  1082. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement