Advertisement
bmrx13

the ultimate skid banisher gun fe now hopefully

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