Advertisement
loleristhegoat

Untitled

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