Advertisement
DaOMEGAa32

fe computer 1

Sep 7th, 2019
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.98 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. --zypher pw is asd
  154. player=game.Players.LocalPlayer
  155. me = player.Character
  156. p=Instance.new('Part',workspace)
  157. p.FormFactor = "Custom"
  158. p.Size = Vector3.new(15,10,0)
  159. p.Anchored = true
  160. p.Color = Color3.new(0,0,0)
  161. passw = "asd"
  162.  
  163. local folder=Instance.new('Folder',workspace)
  164. local logo = "285083197"
  165. pw = "asd"
  166. p1=Instance.new('Part',p)
  167. p1.FormFactor = "Custom"
  168. p1.Size = Vector3.new(15,5,0)
  169. p1.Anchored = true
  170. p1.Color = Color3.new(0,0,0)
  171.  
  172. background = "rbxassetid://396316983"
  173.  
  174. game:GetService('RunService').RenderStepped:connect(function()
  175. p.CFrame = me.HumanoidRootPart.CFrame * CFrame.new(0,4.5,-7) * CFrame.Angles(-0.2,0,0)
  176. p1.CFrame = me.HumanoidRootPart.CFrame * CFrame.new(0,-2.9,-6)
  177. end)
  178.  
  179. sg=Instance.new('SurfaceGui',p)
  180. sg.Face = "Back"
  181.  
  182. function Intro()
  183. tl=Instance.new('TextLabel',sg)
  184. tl.Text = 'asd'
  185. tl.BackgroundColor = BrickColor.new'Navy blue'
  186. tl.Size = UDim2.new(0,800,0,600)
  187. tl.TextColor3 = Color3.new(255,255,255)
  188. tl.TextScaled = true
  189. for i = 0,18,1 do wait()
  190. tl.Text = string.sub("Zypher has loaded.",1,i)
  191. end
  192. delay(2,function()
  193. for i = 0,22,1 do wait()
  194. tl.Text = string.sub("Made by Zypher Studios",1,i)
  195. end
  196. end)
  197. delay(8,function()
  198. for i = 0,1,0.1 do wait()
  199. tl.BackgroundTransparency=i
  200. tl.TextTransparency=i
  201. end
  202. end)
  203. end
  204. --Intro()
  205.  
  206. pcall(function()--delay(4,function()
  207. local BackgroundSignIn = Instance.new('ImageLabel',sg)
  208. BackgroundSignIn.Image = 'rbxassetid://396316983'
  209. BackgroundSignIn.Size = UDim2.new(0,800,0,610)
  210.  
  211. local Person = Instance.new('ImageLabel',BackgroundSignIn)
  212. Person.Size = UDim2.new(0,200,0,200)
  213. Person.BackgroundTransparency=1
  214. Person.Position = UDim2.new(0,300,0,150)
  215. Person.BackgroundTransparency=1
  216.  
  217. PersonName = Instance.new('TextLabel',Person)
  218. PersonName.Text = player.Name
  219. PersonName.TextScaled = true
  220. PersonName.TextStrokeTransparency=1
  221. PersonName.TextColor=BrickColor.White()
  222. PersonName.Position = UDim2.new(0,0,0,200)
  223. PersonName.Size = UDim2.new(0,200,0,50)
  224. PersonName.BackgroundTransparency=11
  225.  
  226. local LogInBoard = Instance.new('TextButton',BackgroundSignIn)
  227. LogInBoard.BackgroundColor=BrickColor.White()
  228. LogInBoard.TextTransparency=0.5
  229. LogInBoard.Text='Click me to enter your password'
  230. LogInBoard.TextScaled = true
  231. LogInBoard.Size = UDim2.new(0,200,0,30)
  232. LogInBoard.Position = UDim2.new(0,300,0,430)
  233. LogInBoard.BorderSizePixel = 5
  234. LogInBoard.BorderColor3=Color3.new()
  235.  
  236. LogIn=Instance.new('TextButton',LogInBoard)
  237. LogIn.Text='->'
  238. LogIn.BorderColor3=Color3.new()
  239. LogIn.TextTransparency=0.3
  240. LogIn.TextScaled = true
  241. LogIn.Size = UDim2.new(0,30,0,30)
  242. LogIn.Position = UDim2.new(0,210,0,0)
  243. LogIn.BackgroundColor=BrickColor.new('Bright bluish green')
  244. LogIn.BorderSizePixel = 3
  245.  
  246. if player.Name=='Nil_Scripter' then
  247. passw='asd'
  248. PersonName.Text = "Nil [Developer]"
  249. Person.Image = "rbxassetid://164897383"
  250. end
  251.  
  252. if player.Name=='Ourmineteam' then
  253. passw='asd'
  254. PersonName.Text = "Cartman [Admin/Tester]"
  255. Person.Image = "rbxassetid://14139512"
  256. end
  257.  
  258. if player.Name=='Player' then
  259. passw='asd'
  260. PersonName.Text = "Test"
  261. Person.Image = "rbxassetid://14139512"
  262. end
  263.  
  264. LogInBoard.MouseButton1Down:connect(function()
  265. local PGUI=Instance.new('ScreenGui',player.PlayerGui)
  266. local TGUI=Instance.new('TextBox',PGUI)
  267. TGUI.BackgroundColor3=Color3.new(255,255,255)
  268. TGUI.TextColor3=Color3.new()
  269. TGUI.Size = UDim2.new(0,400,0,100)
  270. TGUI.BackgroundTransparency=0.1
  271. TGUI.BorderSizePixel = 4
  272. TGUI.Position = UDim2.new(0,200,0,300)
  273. TGUI.TextScaled = true
  274. TGUI:CaptureFocus()
  275.  
  276. local EGUI = Instance.new('TextButton',TGUI)
  277. EGUI.Text='Go'
  278. EGUI.Font = "SourceSansItalic"
  279. EGUI.TextColor = BrickColor.White()
  280. EGUI.BackgroundColor3 = Color3.new()
  281. EGUI.TextScaled = true
  282. EGUI.Size = UDim2.new(0,30,0,100)
  283. EGUI.Position = UDim2.new(0,415,0,0)
  284. EGUI.BorderSizePixel = 3
  285. EGUI.BorderColor = BrickColor.new'Bright bluish green'
  286. EGUI.TextXAlignment = 'Left'
  287.  
  288. XGUI=Instance.new('TextButton',TGUI)
  289. XGUI.Text = 'X'
  290. XGUI.TextColor = BrickColor.new'Crimson'
  291. XGUI.BackgroundTransparency=11
  292. XGUI.Font = "SourceSansBold"
  293. XGUI.TextScaled = true
  294. XGUI.Size = UDim2.new(0,50,0,50)
  295. XGUI.Position = UDim2.new(0,300,0,-50)
  296.  
  297. XGUI.MouseButton1Down:connect(function()
  298. PGUI:remove()
  299. end)
  300.  
  301. EGUI.MouseButton1Down:connect(function()-----------------------
  302. PGsv = TGUI.Text
  303. end)
  304.  
  305. LogIn.MouseButton1Down:connect(function()
  306. if PGsv==passw then
  307. PGUI:remove()
  308. LogInBoard.Text = 'Signing In..'
  309. wait(3)
  310. BackgroundSignIn:remove()
  311.  
  312. back=Instance.new('ImageLabel',sg)
  313. back.Size = UDim2.new(0,800,0,550)
  314. back.Image = background
  315. local Desktop = back
  316.  
  317. frame=Instance.new("Frame",sg)
  318. frame.Size = UDim2.new(0,800,0,50)
  319. frame.Position = UDim2.new(0,0,0,550)
  320. frame.BackgroundColor = BrickColor.new'Black'
  321. local Toolbar = frame
  322.  
  323. local sounds = Instance.new('ImageButton',Toolbar)
  324. sounds.Position = UDim2.new(0,640,0,6)
  325. sounds.Image = 'rbxassetid://72625616'
  326. sounds.Size = UDim2.new(0,40,0,40)
  327. sounds.BackgroundTransparency=11
  328. soundson = false
  329.  
  330. vol=1
  331.  
  332. sounds.MouseButton1Down:connect(function()
  333. soundsff = sounds:FindFirstChild('control')
  334. if soundson == false then soundson = true
  335. if soundsff then soundsff:remove() end
  336. local soundsf=Instance.new('Frame',sounds)
  337. soundsf.Size = UDim2.new(0,200,0,150)
  338. soundsf.BackgroundColor=BrickColor.White()
  339. soundsf.Position = UDim2.new(0,-150,0,-150)
  340. soundsf.Name='control'
  341.  
  342. local soundbar=Instance.new('Frame',soundsf)
  343. soundbar.BackgroundColor = BrickColor.Black()
  344. soundbar.Size = UDim2.new(0,200,0,20)
  345.  
  346. local soundx=Instance.new('TextButton',soundbar)
  347. soundx.Text = 'X'
  348. soundx.Font = 'SourceSansBold'
  349. soundx.TextColor3 = Color3.new(255)
  350. soundx.Position = UDim2.new(0,170,0,0)
  351. soundx.Size = UDim2.new(0,30,0,20)
  352. soundx.BackgroundTransparency = 11
  353. soundx.TextScaled = true
  354.  
  355. soundx.MouseButton1Down:connect(function()
  356. soundson = false
  357. soundsf:remove()
  358. end)
  359.  
  360. local soundlabel=Instance.new('TextLabel',soundsf)
  361. soundlabel.Text='Volume Mixer'
  362. soundlabel.TextColor3=Color3.new(255,255,255)
  363. soundlabel.Font = "SourceSansItalic"
  364. soundlabel.Size = UDim2.new(0,200,0,20)
  365. soundlabel.BackgroundTransparency=11
  366. soundlabel.TextScaled = true
  367. soundlabel.TextXAlignment = 'Left'
  368.  
  369.  
  370. volsound=Instance.new('TextLabel',soundlabel)
  371. volsound.TextScaled = true
  372. volsound.BackgroundTransparency=11
  373. volsound.Size = UDim2.new(0,200,0,20)
  374. volsound.Position = UDim2.new(0,0,0,20)
  375. volsound.TextXAlignment = 'Left'
  376.  
  377.  
  378. local updvol = Instance.new('ImageButton',volsound)
  379. updvol.Image = 'rbxassetid://170952383'--170952383
  380. updvol.Size = UDim2.new(0,20,0,20)
  381. updvol.Position = UDim2.new(0,150,0,0)
  382. updvol.BackgroundTransparency=1
  383.  
  384. local upvol = Instance.new('ImageButton',volsound)
  385. upvol.Image = 'rbxassetid://170952405'--170952405
  386. upvol.Size = UDim2.new(0,20,0,20)
  387. upvol.Position = UDim2.new(0,170,0,0)
  388. upvol.BackgroundTransparency=1
  389.  
  390. updvol.MouseButton1Down:connect(function()
  391. if vol > 0 then
  392. vol=vol-1
  393. end
  394. end)
  395.  
  396. upvol.MouseButton1Down:connect(function()
  397. vol=vol+1
  398. end)
  399.  
  400. player.Chatted:connect(function(msg)
  401. if msg:lower():sub(1,4)=='vol/' then
  402. vol=msg:sub(5)
  403. end
  404. end)
  405.  
  406. game:GetService('RunService').RenderStepped:connect(function()
  407. volsound.Text = 'Volume: '..vol
  408. end)
  409. else
  410. soundson=false
  411. if soundsff then soundsff:remove() end
  412. end
  413. end)
  414.  
  415. local SearchText=Instance.new('TextButton',Toolbar)
  416. SearchText.Text = 'Search the web and Zypher..'
  417. SearchText.TextTransparency=.5
  418. SearchText.Name = 'SearchBar'
  419. SearchText.BackgroundColor3=Color3.new(255,255,255)
  420. SearchText.Position = UDim2.new(0,10,0,10)
  421. SearchText.Size = UDim2.new(0,250,0,30)
  422. SearchText.TextScaled = true
  423. SearchText.TextXAlignment = 'Left'
  424.  
  425. local SearchLogo = Instance.new('TextButton',Toolbar)
  426. SearchLogo.Text = 'S'
  427. SearchLogo.TextScaled = true
  428. SearchLogo.Font = "SourceSansBold"
  429. SearchLogo.Position = UDim2.new(0,265,0,10)
  430. SearchLogo.Size = UDim2.new(0,30,0,30)
  431. SearchLogo.BorderSizePixel = 5
  432. SearchLogo.BackgroundColor=BrickColor.new'Bright bluish green'
  433. SearchLogo.TextColor3=Color3.new()
  434. on = false
  435.  
  436. SearchText.MouseButton1Down:connect(function()
  437. local STR = SearchText:FindFirstChild('SearchBarThingy')
  438. if on == false then on = true
  439. if STR then STR:TweenSize(UDim2.new(0,200,0,400),'Out','Quad',0.35) wait() STR:remove() end
  440. local SearchSpace = Instance.new('Frame',SearchText)
  441. SearchSpace.BackgroundColor=BrickColor.White()
  442. SearchSpace.Size = UDim2.new(0,200,0,400)
  443. SearchSpace.Position = UDim2.new(0,0,0,-400)
  444. SearchSpace.Name = 'SearchBarThingy'
  445. SearchSpace:TweenSize(UDim2.new(0,250,0,400),'Out','Quad',0.35)
  446.  
  447. player.Chatted:connect(function(m)
  448. if m:lower():sub(1,7)=='search/' then
  449. for i = 1,#m:sub(8),1 do wait()
  450. SearchText.Text = string.sub(m:sub(8),1,i)
  451. SearchText.TextTransparency=0
  452. end
  453. wait(.3)
  454. SearchText.TextTransparency=.5
  455. end
  456. end)
  457.  
  458. else on = false if STR then STR:TweenSize(UDim2.new(0,200,0,400),'Out','Quad',0.35) wait(.3) STR:remove() end
  459. end
  460. end)
  461.  
  462. framesb=Instance.new('TextBox',frame)
  463. framesb.BackgroundColor3 = Color3.new(255,255,255)
  464. framesb.Size = UDim2.new(0,450,0,30)
  465. framesb.TextColor3 = Color3.new(0,0,0)
  466. framesb.TextScaled = true
  467. framesb.Visible = false
  468. framesb.TextXAlignment = "Left"
  469. framesb.Font = "SourceSansItalic"
  470. framesb.Position = UDim2.new(0,100,0,21)
  471.  
  472. function OnChatted(msg)
  473. if msg:lower():sub(1,4)=='url/' then
  474. if framesb.Visible == true then
  475. for i = 0,string.len(msg),1 do wait()
  476. framesb.Text = "http://www."..string.sub(msg:sub(5,#msg),1,i)..".com/"
  477. end
  478. end
  479. end
  480. end
  481.  
  482. player.Chatted:connect(OnChatted)
  483. ------------Find sbutton's function at line (307)------------
  484. sbutton=Instance.new('ImageButton',frame)
  485. sbutton.Position = UDim2.new(0,555,0,21)
  486. sbutton.Size = UDim2.new(0,30,0,30)
  487. sbutton.Image = "rbxassetid://67517663"
  488. sbutton.BackgroundTransparency=1
  489. sbutton.Visible = false
  490.  
  491. ------asd------
  492. hide=Instance.new('Frame',back)
  493. hide.BackgroundColor = BrickColor.new'Really black'
  494. hide.Position = UDim2.new(0,600,0,0)
  495. hide.Size = UDim2.new(0,200,0,550)
  496. hide.BackgroundTransparency=1
  497.  
  498. winds=Instance.new('ImageLabel',hide)
  499. winds.Image = "rbxassetid://"..logo
  500. winds.BackgroundTransparency=1
  501. winds.Size = UDim2.new(0,200,0,200)
  502.  
  503. wtl=Instance.new('TextLabel',winds)
  504. wtl.Text = "Settings"
  505. wtl.BackgroundTransparency = 1
  506. wtl.Size = UDim2.new(0,200,0,50)
  507. wtl.Position = UDim2.new(0,0,0,200)
  508. wtl.Font = "Legacy"
  509. wtl.TextScaled = true
  510. wtl.TextColor = BrickColor.new'Teal'
  511. wtl.TextStrokeTransparency =0.5
  512.  
  513. bd=Instance.new('TextButton',hide)
  514. bd.TextScaled = true
  515. bd.Text = "Background Themes"
  516. bd.BackgroundTransparency=0.5
  517. bd.Size = UDim2.new(0,100,0,50)
  518. bd.BackgroundColor = BrickColor.new'Black'
  519. bd.TextColor3=Color3.new(255,255,255)
  520. bd.Position = UDim2.new(0,0,0,350)
  521.  
  522. function onClick()
  523. bd1=Instance.new('Frame',back)
  524. bd1.Position = UDim2.new(0,200,0,100)
  525. bd1.Size = UDim2.new(0,300,0,300)
  526. bd1.Active = true
  527. bd1.Draggable = true
  528. bd1.BackgroundColor3 = Color3.new(255,255,255)
  529.  
  530. bdf=Instance.new('Frame',bd1)
  531. bdf.BackgroundColor = BrickColor.new'Black'
  532. bdf.Size = UDim2.new(0,300,0,20)
  533.  
  534. bdx=Instance.new('TextButton',bdf)
  535. bdx.Text = "X"
  536. bdx.TextColor3 = Color3.new(1,0,0)
  537. bdx.Size = UDim2.new(0,20,0,20)
  538. bdx.BackgroundColor3 = Color3.new(0,0,0)
  539. bdx.TextScaled = true
  540. bdx.Position = UDim2.new(0,280,0,0)
  541.  
  542. function onClicke()
  543. bd1:remove()
  544. end
  545.  
  546. bdx.MouseButton1Down:connect(onClicke)
  547.  
  548.  
  549.  
  550. bd2=Instance.new('ImageButton',bd1)
  551. bd2.Size = UDim2.new(0,100,0,100)
  552. bd2.Position = UDim2.new(0,0,0,20)
  553. bd2.Image = "rbxassetid://371680220" -- FaZe
  554.  
  555. function onClicker()
  556. back.Image = "rbxassetid://371680220" --FaZe
  557. end
  558.  
  559. bd2.MouseButton1Down:connect(onClicker)
  560.  
  561.  
  562. bd3=Instance.new('ImageButton',bd1)
  563. bd3.Size = UDim2.new(0,100,0,100)
  564. bd3.Position = UDim2.new(0,100,0,20)
  565. bd3.Image = "rbxassetid://171214901"
  566.  
  567. function onClickerr()
  568. back.Image = "rbxassetid://171214901"
  569. end
  570.  
  571. bd3.MouseButton1Down:connect(onClickerr)
  572.  
  573. bd4=Instance.new('ImageButton',bd1)
  574. bd4.Size = UDim2.new(0,100,0,100)
  575. bd4.Position = UDim2.new(0,200,0,20)
  576. bd4.Image = "rbxassetid://13511519" -- Red Anchor
  577. function onClickerrr()
  578. back.Image = "rbxassetid://13511519" -- Red Anchor
  579. end
  580.  
  581. bd4.MouseButton1Down:connect(onClickerrr)
  582.  
  583.  
  584. bd5=Instance.new('ImageButton',bd1)
  585. bd5.Size = UDim2.new(0,100,0,100)
  586. bd5.Position = UDim2.new(0,0,0,120)
  587. bd5.Image = "rbxassetid://396316983"
  588.  
  589. function onClickerrrr()
  590. back.Image = "rbxassetid://396316983"
  591. end
  592.  
  593. bd5.MouseButton1Down:connect(onClickerrrr)
  594. --396316984
  595.  
  596. bd6=Instance.new('ImageButton',bd1)
  597. bd6.Size = UDim2.new(0,100,0,100)
  598. bd6.Position = UDim2.new(0,100,0,120)
  599. bd6.Image = "rbxassetid://208338590"
  600.  
  601. function onClickerrrrr()
  602. back.Image = "rbxassetid://208338590"
  603. end
  604.  
  605. bd6.MouseButton1Down:connect(onClickerrrrr)
  606.  
  607.  
  608. end
  609.  
  610. bd.MouseButton1Down:connect(onClick)
  611.  
  612.  
  613. for i,v in pairs(hide:children()) do v.Visible = false end
  614. m=player:GetMouse()
  615. mouse=player:GetMouse()
  616. mouse.KeyDown:connect(function(key)
  617. key:lower()
  618. if key == "e" then
  619. hide.Visible = true
  620. for i,v in pairs(hide:children()) do v.Visible = true end
  621. for i = 1,0.3,-0.1 do wait()
  622. hide.BackgroundTransparency=i
  623. end
  624. end
  625. end)
  626.  
  627. mouse.KeyUp:connect(function(keye)
  628. keye:lower()
  629. if keye == "e" then
  630.  
  631. for i,v in pairs(hide:children()) do v.Visible = false end
  632. for i = 0.3,1,0.1 do wait()
  633. hide.BackgroundTransparency=i
  634. end
  635. hide.Visible = false
  636. end
  637. end)
  638. -----------icons---------
  639. labinterp=Instance.new('StringValue',nil)
  640. labinterp.Value = '70'
  641.  
  642. function label(parent,text)
  643. labinter=Instance.new('TextLabel',parent)
  644. labinter.FontSize = "Size18"
  645. labinter.Text = text
  646. labinter.TextColor3 = Color3.new(255,255,255)
  647. labinter.BackgroundTransparency=1
  648. labinter.Size = UDim2.new(0,50,0,50)
  649. labinter.Position = UDim2.new(0,10,0,labinterp.Value)
  650. labinter.TextStrokeTransparency=0
  651. end
  652.  
  653. intericon=Instance.new('ImageButton',back)
  654. intericon.Image = "rbxassetid://72777962"
  655. intericon.BackgroundTransparency=1
  656. intericon.Position = UDim2.new(0,20,0,20)
  657. intericon.Size = UDim2.new(0,70,0,70)
  658.  
  659. wm=Instance.new('ImageButton',back)
  660. wm.Image = "rbxassetid://72441708"
  661. wm.BackgroundTransparency=1
  662. wm.Position = UDim2.new(0,150,0,20)
  663.  
  664. wm.Size = UDim2.new(0,70,0,70)
  665.  
  666. label(intericon,'Google \n Chrome')
  667. label(wm,'Server \n Control')
  668.  
  669. local SDown = 20
  670. wm.MouseButton1Down:connect(function()
  671. SDown = 20
  672. local SCF = Instance.new('Frame',Desktop)
  673. SCF.Size = UDim2.new(0,400,0,400)
  674. SCF.BackgroundColor=BrickColor.White()
  675. SCF.Position = UDim2.new(0,200,0,100)
  676.  
  677. SCFT = Instance.new('Frame',SCF)
  678. SCFT.Size = UDim2.new(0,400,0,20)
  679. SCFT.BackgroundColor=BrickColor.Black()
  680.  
  681. SCX = Instance.new('TextButton',SCFT)
  682. SCX.TextScaled = true
  683. SCX.Text = 'X'
  684. SCX.TextColor = BrickColor.new'Really red'
  685. SCX.BackgroundTransparency=1
  686. SCX.Font = "SourceSansBold"
  687. SCX.Size = UDim2.new(0,30,0,20)
  688. SCX.Position = UDim2.new(0,370,0,0)
  689.  
  690. SCX.MouseButton1Down:connect(function()
  691. SCF:remove()
  692. end)
  693.  
  694. local cmdsboard=Instance.new('Frame',SCF)
  695. cmdsboard.Position=UDim2.new(0,0,0,20)
  696. cmdsboard.Size = UDim2.new(0,400,0,350)
  697. cmdsboard.BackgroundTransparency=1
  698.  
  699. local cmdsboard1=Instance.new('Frame',SCF)
  700. cmdsboard1.Position=UDim2.new(0,0,0,20)
  701. cmdsboard1.Size = UDim2.new(0,400,0,350)
  702. cmdsboard1.BackgroundTransparency=1
  703.  
  704. function AddSCmd(cmd,name)
  705. local thingy=Instance.new('TextButton',cmdsboard)
  706. thingy.TextColor = BrickColor.new'White'
  707. thingy.BackgroundColor3=Color3.new()
  708. thingy.TextScaled = true
  709. thingy.TextStrokeTransparency=0
  710. thingy.Size = UDim2.new(0,400,0,20)
  711. thingy.Position = UDim2.new(0,0,0,-20+SDown)
  712. thingy.Text = cmd
  713. thingy.Name = name
  714.  
  715. thingy.MouseEnter:connect(function()
  716. thingy.TextColor = BrickColor.new'Bright yellow'
  717. thingy.Font = "SourceSansBold"
  718. end)
  719.  
  720. thingy.MouseLeave:connect(function()
  721. thingy.TextColor = BrickColor.new'White'
  722. end)
  723. wait()
  724. SDown = SDown+20
  725. end
  726. ------------------------------------------------------
  727.  
  728. ------------------------------------------------------
  729. AddSCmd('ZYPHER CMDS MENU','fked')
  730. AddSCmd('Kill (plr)','kill')
  731. AddSCmd('God (plr)','god')
  732. AddSCmd('ff (plr)','ff')
  733. AddSCmd('unff (plr)','unff')
  734. AddSCmd('ParticleEmitter (plr)','ParticleEmitter')
  735. AddSCmd('Sparkles (plr)','Sparkles')
  736. AddSCmd('Smoke (plr)','Smoke')
  737. AddSCmd('Fire (plr)','Fire')
  738. AddSCmd('PointLight (plr)','PointLight')
  739. AddSCmd('Normal (plr)','Normal')
  740. AddSCmd('Demigod (plr)','Demigod')
  741. AddSCmd('Explode (plr)','Explode')
  742. AddSCmd('Btools (plr)','tools')
  743. -----------------------------------------------------------------------------------
  744. --------------------------------K I L L--------------------------------------------
  745. -----------------------------------------------------------------------------------
  746. for i,v in pairs(cmdsboard:children()) do if v.Name=='kill' then
  747. v.MouseButton1Down:connect(function()
  748. local down=0
  749. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  750. for i,x in pairs(game.Players:children()) do
  751. local playerlist=Instance.new('TextButton',cmdsboard1)
  752. playerlist.Text = x.Name
  753. playerlist.TextColor = BrickColor.White()
  754. playerlist.Size = UDim2.new(0,400,0,20)
  755. playerlist.BackgroundColor3=Color3.new()
  756. playerlist.TextScaled=true
  757. playerlist.Position=UDim2.new(0,0,0,down)
  758. wait()
  759. down=down+20
  760. playerlist.MouseButton1Down:connect(function()
  761. workspace[x.Name]:BreakJoints()
  762. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  763. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  764. end)
  765. end
  766. end)
  767. end
  768. end
  769. -----------------------------------------------------------------------------------
  770. -----------------------------------G O D--------------------------------------------
  771. -----------------------------------------------------------------------------------
  772. for i,v in pairs(cmdsboard:children()) do if v.Name=='god' then
  773. v.MouseButton1Down:connect(function()
  774. local down=0
  775. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  776. for i,x in pairs(game.Players:children()) do
  777. local playerlist=Instance.new('TextButton',cmdsboard1)
  778. playerlist.Text = x.Name
  779. playerlist.TextColor = BrickColor.White()
  780. playerlist.Size = UDim2.new(0,400,0,20)
  781. playerlist.BackgroundColor3=Color3.new()
  782. playerlist.TextScaled=true
  783. playerlist.Position=UDim2.new(0,0,0,down)
  784. wait()
  785. down=down+20
  786. playerlist.MouseButton1Down:connect(function()
  787. workspace[x.Name].Humanoid.MaxHealth = 9e999
  788. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  789. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  790. end)
  791. end
  792. end)
  793. end
  794. end
  795. -----------------------------------------------------------------------------------
  796. -----------------------------------F F---------------------------------------------
  797. -----------------------------------------------------------------------------------
  798. for i,v in pairs(cmdsboard:children()) do if v.Name=='ff' then
  799. v.MouseButton1Down:connect(function()
  800. local down=0
  801. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  802. for i,x in pairs(game.Players:children()) do
  803. local playerlist=Instance.new('TextButton',cmdsboard1)
  804. playerlist.Text = x.Name
  805. playerlist.TextColor = BrickColor.White()
  806. playerlist.Size = UDim2.new(0,400,0,20)
  807. playerlist.BackgroundColor3=Color3.new()
  808. playerlist.TextScaled=true
  809. playerlist.Position=UDim2.new(0,0,0,down)
  810. wait()
  811. down=down+20
  812. playerlist.MouseButton1Down:connect(function()
  813. Instance.new('ForceField',workspace[x.Name])
  814. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  815. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  816. end)
  817. end
  818. end)
  819. end
  820. end
  821. -----------------------------------------------------------------------------------
  822. ---------------------------------U N F F---------------------------------------------
  823. -----------------------------------------------------------------------------------
  824. for i,v in pairs(cmdsboard:children()) do if v.Name=='unff' then
  825. v.MouseButton1Down:connect(function()
  826. local down=0
  827. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  828. for i,x in pairs(game.Players:children()) do
  829. local playerlist=Instance.new('TextButton',cmdsboard1)
  830. playerlist.Text = x.Name
  831. playerlist.TextColor = BrickColor.White()
  832. playerlist.Size = UDim2.new(0,400,0,20)
  833. playerlist.BackgroundColor3=Color3.new()
  834. playerlist.TextScaled=true
  835. playerlist.Position=UDim2.new(0,0,0,down)
  836. wait()
  837. down=down+20
  838. playerlist.MouseButton1Down:connect(function()
  839. for i,rff in pairs(workspace[x.Name]:children()) do
  840. if rff.ClassName=='ForceField' then
  841. rff:Remove()
  842. end
  843. end
  844. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  845. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  846. end)
  847. end
  848. end)
  849. end
  850. end
  851. -----------------------------------------------------------------------------------
  852. ---------------------------------ParticleEmitter-----------------------------------
  853. -----------------------------------------------------------------------------------
  854. for i,v in pairs(cmdsboard:children()) do if v.Name=='ParticleEmitter' then
  855. v.MouseButton1Down:connect(function()
  856. local down=0
  857. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  858. for i,x in pairs(game.Players:children()) do
  859. local playerlist=Instance.new('TextButton',cmdsboard1)
  860. playerlist.Text = x.Name
  861. playerlist.TextColor = BrickColor.White()
  862. playerlist.Size = UDim2.new(0,400,0,20)
  863. playerlist.BackgroundColor3=Color3.new()
  864. playerlist.TextScaled=true
  865. playerlist.Position=UDim2.new(0,0,0,down)
  866. wait()
  867. down=down+20
  868. playerlist.MouseButton1Down:connect(function()
  869. Instance.new('ParticleEmitter',workspace[x.Name].Head)
  870. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  871. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  872. end)
  873. end
  874. end)
  875. end
  876. end
  877. -----------------------------------------------------------------------------------
  878. ---------------------------------ParticleEmitter-----------------------------------
  879. -----------------------------------------------------------------------------------
  880. -----------------------------------------------------------------------------------
  881. ---------------------------------Smoke-----------------------------------
  882. -----------------------------------------------------------------------------------
  883. for i,v in pairs(cmdsboard:children()) do if v.Name=='Smoke' then
  884. v.MouseButton1Down:connect(function()
  885. local down=0
  886. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  887. for i,x in pairs(game.Players:children()) do
  888. local playerlist=Instance.new('TextButton',cmdsboard1)
  889. playerlist.Text = x.Name
  890. playerlist.TextColor = BrickColor.White()
  891. playerlist.Size = UDim2.new(0,400,0,20)
  892. playerlist.BackgroundColor3=Color3.new()
  893. playerlist.TextScaled=true
  894. playerlist.Position=UDim2.new(0,0,0,down)
  895. wait()
  896. down=down+20
  897. playerlist.MouseButton1Down:connect(function()
  898. Instance.new('Smoke',workspace[x.Name].Head)
  899. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  900. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  901. end)
  902. end
  903. end)
  904. end
  905. end
  906. -----------------------------------------------------------------------------------
  907. ---------------------------------Fire-----------------------------------
  908. -----------------------------------------------------------------------------------
  909. for i,v in pairs(cmdsboard:children()) do if v.Name=='Fire' then
  910. v.MouseButton1Down:connect(function()
  911. local down=0
  912. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  913. for i,x in pairs(game.Players:children()) do
  914. local playerlist=Instance.new('TextButton',cmdsboard1)
  915. playerlist.Text = x.Name
  916. playerlist.TextColor = BrickColor.White()
  917. playerlist.Size = UDim2.new(0,400,0,20)
  918. playerlist.BackgroundColor3=Color3.new()
  919. playerlist.TextScaled=true
  920. playerlist.Position=UDim2.new(0,0,0,down)
  921. wait()
  922. down=down+20
  923. playerlist.MouseButton1Down:connect(function()
  924. Instance.new('Fire',workspace[x.Name].Head)
  925. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  926. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  927. end)
  928. end
  929. end)
  930. end
  931. end
  932. -----------------------------------------------------------------------------------
  933. ---------------------------------Sparkles-----------------------------------
  934. -----------------------------------------------------------------------------------
  935. for i,v in pairs(cmdsboard:children()) do if v.Name=='Sparkles' then
  936. v.MouseButton1Down:connect(function()
  937. local down=0
  938. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  939. for i,x in pairs(game.Players:children()) do
  940. local playerlist=Instance.new('TextButton',cmdsboard1)
  941. playerlist.Text = x.Name
  942. playerlist.TextColor = BrickColor.White()
  943. playerlist.Size = UDim2.new(0,400,0,20)
  944. playerlist.BackgroundColor3=Color3.new()
  945. playerlist.TextScaled=true
  946. playerlist.Position=UDim2.new(0,0,0,down)
  947. wait()
  948. down=down+20
  949. playerlist.MouseButton1Down:connect(function()
  950. Instance.new('Sparkles',workspace[x.Name].Head)
  951. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  952. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  953. end)
  954. end
  955. end)
  956. end
  957. end
  958. -----------------------------------------------------------------------------------
  959. ---------------------------------Light-----------------------------------
  960. -----------------------------------------------------------------------------------
  961. for i,v in pairs(cmdsboard:children()) do if v.Name=='PointLight' then
  962. v.MouseButton1Down:connect(function()
  963. local down=0
  964. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  965. for i,x in pairs(game.Players:children()) do
  966. local playerlist=Instance.new('TextButton',cmdsboard1)
  967. playerlist.Text = x.Name
  968. playerlist.TextColor = BrickColor.White()
  969. playerlist.Size = UDim2.new(0,400,0,20)
  970. playerlist.BackgroundColor3=Color3.new()
  971. playerlist.TextScaled=true
  972. playerlist.Position=UDim2.new(0,0,0,down)
  973. wait()
  974. down=down+20
  975. playerlist.MouseButton1Down:connect(function()
  976. Instance.new('PointLight',workspace[x.Name].Head)
  977. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  978. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  979. end)
  980. end
  981. end)
  982. end
  983. end
  984. -----------------------------------------------------------------------------------
  985. ---------------------------------Demigod-----------------------------------
  986. -----------------------------------------------------------------------------------
  987. for i,v in pairs(cmdsboard:children()) do if v.Name=='Demigod' then
  988. v.MouseButton1Down:connect(function()
  989. local down=0
  990. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  991. for i,x in pairs(game.Players:children()) do
  992. local playerlist=Instance.new('TextButton',cmdsboard1)
  993. playerlist.Text = x.Name
  994. playerlist.TextColor = BrickColor.White()
  995. playerlist.Size = UDim2.new(0,400,0,20)
  996. playerlist.BackgroundColor3=Color3.new()
  997. playerlist.TextScaled=true
  998. playerlist.Position=UDim2.new(0,0,0,down)
  999. wait()
  1000. down=down+20
  1001. playerlist.MouseButton1Down:connect(function()
  1002. workspace[x.Name].Humanoid.MaxHealth = 4000
  1003. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  1004. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  1005. end)
  1006. end
  1007. end)
  1008. end
  1009. end
  1010. -----------------------------------------------------------------------------------
  1011. ---------------------------------DNormal-----------------------------------
  1012. -----------------------------------------------------------------------------------
  1013. for i,v in pairs(cmdsboard:children()) do if v.Name=='Normal' then
  1014. v.MouseButton1Down:connect(function()
  1015. local down=0
  1016. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  1017. for i,x in pairs(game.Players:children()) do
  1018. local playerlist=Instance.new('TextButton',cmdsboard1)
  1019. playerlist.Text = x.Name
  1020. playerlist.TextColor = BrickColor.White()
  1021. playerlist.Size = UDim2.new(0,400,0,20)
  1022. playerlist.BackgroundColor3=Color3.new()
  1023. playerlist.TextScaled=true
  1024. playerlist.Position=UDim2.new(0,0,0,down)
  1025. wait()
  1026. down=down+20
  1027. playerlist.MouseButton1Down:connect(function()
  1028. workspace[x.Name].Humanoid.MaxHealth = 100
  1029. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  1030. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  1031. end)
  1032. end
  1033. end)
  1034. end
  1035. end
  1036. -----------------------------------------------------------------------------------
  1037. ---------------------------------Explode-----------------------------------
  1038. -----------------------------------------------------------------------------------
  1039. for i,v in pairs(cmdsboard:children()) do if v.Name=='tools' then
  1040. v.MouseButton1Down:connect(function()
  1041. local down=0
  1042. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  1043. for i,x in pairs(game.Players:children()) do
  1044. local playerlist=Instance.new('TextButton',cmdsboard1)
  1045. playerlist.Text = x.Name
  1046. playerlist.TextColor = BrickColor.White()
  1047. playerlist.Size = UDim2.new(0,400,0,20)
  1048. playerlist.BackgroundColor3=Color3.new()
  1049. playerlist.TextScaled=true
  1050. playerlist.Position=UDim2.new(0,0,0,down)
  1051. wait()
  1052. down=down+20
  1053. playerlist.MouseButton1Down:connect(function()
  1054. Instance.new('HopperBin', x.Backpack).BinType = 2
  1055. Instance.new('HopperBin', x.Backpack).BinType = 3
  1056. Instance.new('HopperBin', x.Backpack).BinType = 4
  1057. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  1058. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  1059. end)
  1060. end
  1061. end)
  1062. end
  1063. end
  1064. ---------
  1065. -----------------------------------------------------------------------------------
  1066. ---------------------------------Btools-----------------------------------
  1067. -----------------------------------------------------------------------------------
  1068.  
  1069. for i,v in pairs(cmdsboard:children()) do if v.Name=='Explode' then
  1070. v.MouseButton1Down:connect(function()
  1071. local down=0
  1072. for i,x in pairs(cmdsboard:children()) do x.Visible=false end
  1073. for i,x in pairs(game.Players:children()) do
  1074. local playerlist=Instance.new('TextButton',cmdsboard1)
  1075. playerlist.Text = x.Name
  1076. playerlist.TextColor = BrickColor.White()
  1077. playerlist.Size = UDim2.new(0,400,0,20)
  1078. playerlist.BackgroundColor3=Color3.new()
  1079. playerlist.TextScaled=true
  1080. playerlist.Position=UDim2.new(0,0,0,down)
  1081. wait()
  1082. down=down+20
  1083. playerlist.MouseButton1Down:connect(function()
  1084. Instance.new('Explosion',workspace[x.Name].Head)
  1085. for i,h in pairs(cmdsboard1:children()) do h:remove() end
  1086. for i,h in pairs(cmdsboard:children()) do h.Visible = true end
  1087. end)
  1088. end
  1089. end)
  1090. end
  1091. end
  1092.  
  1093. ---------
  1094. -----------------------------------------------------------------------------------
  1095. ---------------------------------DNormal-----------------------------------
  1096. -----------------------------------------------------------------------------------
  1097. end) -- END
  1098.  
  1099. function onInter()
  1100. intericon.Visible = false
  1101. wm.Visible = false
  1102. SearchText.Visible = false
  1103. SearchLogo.Visible = false
  1104.  
  1105. chromeb=Instance.new('Frame',back)
  1106. chromeb.Size = UDim2.new(0,800,0,550)
  1107. chromeb.BackgroundColor3 = Color3.new(255,255,255)
  1108.  
  1109. chrometop=Instance.new('Frame',chromeb)
  1110. chrometop.Size = UDim2.new(0,800,0,30)
  1111. chrometop.BackgroundColor = BrickColor.new'Black'
  1112.  
  1113. chromeexit=Instance.new('TextButton',chrometop)
  1114. chromeexit.Size = UDim2.new(0,30,0,30)
  1115. chromeexit.Position = UDim2.new(0,770,0,0)
  1116. chromeexit.BackgroundTransparency=1
  1117. chromeexit.Text = "X"
  1118. chromeexit.TextColor3 = Color3.new(255,255,255)
  1119. chromeexit.TextScaled = true
  1120.  
  1121. framesb.Visible = true
  1122. sbutton.Visible = true
  1123. for i = 1,0,-0.1 do wait()
  1124. framesb.BackgroundTransparency=i
  1125. framesb.TextTransparency=i
  1126. sbutton.ImageTransparency=i
  1127. end
  1128.  
  1129. function onexit()
  1130. chromeb:remove()
  1131. SearchLogo.Visible = true
  1132. SearchText.Visible = true
  1133. intericon.Visible = true
  1134. wm.Visible = true
  1135. for i = 0,1,0.1 do wait()
  1136. framesb.BackgroundTransparency=i
  1137. framesb.TextTransparency=i
  1138. sbutton.ImageTransparency=i
  1139. end
  1140. framesb.Visible = false
  1141. sbutton.Visible = false
  1142. end
  1143.  
  1144. chromeexit.MouseButton1Down:connect(onexit)
  1145. end
  1146.  
  1147. intericon.MouseButton1Down:connect(onInter)
  1148.  
  1149. ----sbuttons click functions-----
  1150. function onfind()
  1151. if not folder:FindFirstChild(framesb.Text) then
  1152. filec=Instance.new('ImageLabel',chromeb)
  1153. filec.Position = UDim2.new(0,150,0,50)
  1154. filec.Size = UDim2.new(0,500,0,300)
  1155. filec.Image = "rbxassetid://55330853"
  1156. filec.ImageTransparency=1
  1157.  
  1158. ctrl=Instance.new('TextLabel',filec)
  1159. ctrl.Text="Sorry, but that file hasn't been added yet. Please try again later."
  1160. ctrl.TextScaled = true
  1161. ctrl.Position = UDim2.new(0,0,0,300)
  1162. ctrl.Size = UDim2.new(0,450,0,50)
  1163. ctrl.TextColor3 = Color3.new(1,0,0)
  1164. ctrl.TextTransparency=1
  1165. ctrl.BackgroundTransparency=1
  1166. ctrl.Font = "SourceSansBold"
  1167.  
  1168. for i = 1,0,-0.1 do wait()
  1169. filec.ImageTransparency=i
  1170. ctrl.TextTransparency=i
  1171. end
  1172.  
  1173. end
  1174. end
  1175.  
  1176. sbutton.MouseButton1Down:connect(onfind)
  1177. -----------------------------------
  1178. ---Time---
  1179. function LocalTime()
  1180. timer = Instance.new('TextLabel',frame)
  1181. timer.BackgroundTransparency=1
  1182. timer.Size = UDim2.new(0,100,0,50)
  1183. timer.Position = UDim2.new(0,690,0,0)
  1184. timer.TextColor3 = Color3.new(255,255,255)
  1185. timer.TextScaled = true
  1186.  
  1187.  
  1188. local Months = {
  1189. "January", "Febreuary", "March", "April", "May", "June",
  1190. "July", "August", "September", "October", "November", "December"
  1191. }
  1192. local MonthDays = {
  1193. 31, 28, 31, 30, 31, 30,
  1194. 31, 31, 30, 31, 30, 31
  1195. }
  1196.  
  1197. function getDay(Date, year)
  1198. local month, date = Date:match("(%a+)%s*(%d+)")
  1199. local DAYS = tonumber(date)
  1200. local leaps = math.floor( (year-2011)/4 - .25 ) + 1
  1201. local Days = {"Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}
  1202. for _, v in ipairs(MonthDays) do
  1203. if Months[_] == month then break end
  1204. DAYS = DAYS + v
  1205. end
  1206. DAYS = math.floor( DAYS + (year-2011) * 365 ) + leaps
  1207. return Days[ (DAYS%7 == 0 and 7 or DAYS%7) ]
  1208. end
  1209.  
  1210. function getMonthAndDate(days, year)
  1211. local leap = year%4 == 0 and 1 or 0
  1212. local month;
  1213. for _, v in ipairs(MonthDays) do
  1214. if (days-v) < 1 then
  1215. month = Months[_]
  1216. break
  1217. end
  1218. days = days - v
  1219. end
  1220. return month, days
  1221. end
  1222.  
  1223. while wait() do
  1224. local time = tick()
  1225. local year = math.floor(1970 + time/(365.25*86400))
  1226. local days = math.ceil(((time % (86400*365.25)) )/86400 + 0.25)
  1227. local month, date = getMonthAndDate(days, year)
  1228. local day = getDay(month..date, year)
  1229. local hours = math.floor( (time%86400)/3600 )
  1230. local minutes = math.floor( (time%3600)/60 )
  1231. local seconds = math.floor( time%60 )
  1232. local ZONE = game:FindFirstChild("NetworkServer") and "PST" or ""
  1233. local AmOrPm = hours > 11 and "PM" or "AM"
  1234.  
  1235. -- Get rid of military time
  1236. hours = (hours%12 == 0 and 12 or hours%12)
  1237.  
  1238. -- Format hours, minutes, seconds for 0's
  1239. hours = (hours < 10 and "0"..hours or hours)
  1240. minutes = (minutes < 10 and "0"..minutes or minutes)
  1241. seconds = (seconds < 10 and "0"..seconds or seconds)
  1242.  
  1243.  
  1244. timer.Text = hours..":"..minutes..":"..seconds.." "..AmOrPm..'\n'..year..string.rep(" ", 10)
  1245. end
  1246. end
  1247.  
  1248. LocalTime()
  1249. else
  1250. LogInBoard.Text= 'Incorrect password'
  1251. if not LogInBoard:FindFirstChild('Hint') then
  1252. local LogInHint = Instance.new('TextLabel',LogInBoard)
  1253. LogInHint.Text= "Hint; starts with an '"..passw:sub(1,1).."'"
  1254. LogInHint.Name= 'Hint'
  1255. LogInHint.TextColor = BrickColor.White()
  1256. LogInHint.TextStrokeTransparency = 0.4
  1257. LogInHint.Size = UDim2.new(0,200,0,20)
  1258. LogInHint.Position = UDim2.new(0,0,0,30)
  1259. LogInHint.TextScaled = true
  1260. LogInHint.BackgroundTransparency=1
  1261. end
  1262. end
  1263. end)
  1264. end)
  1265. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement