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