Advertisement
Tetezaza1542

BANGUN

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