Advertisement
loleristhegoat

Untitled

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