Advertisement
EARTHWORM_SALLY

thingy-1

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