Advertisement
XskillyX

Untitled

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