Advertisement
TheYoutuber_Pro

qrqr

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