Advertisement
zXzGamePROzXz

Soul Kickisher

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