Advertisement
ItzInfern

computer

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