Advertisement
DarkScriptZEditors

Untitled

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