Advertisement
DogeLiker

banisher v3 edit

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