SHOW:
|
|
- or go back to the newest paste.
1 | --be careful alot of cringes and bad grammar commands r coming | |
2 | ScreenGui0 = Instance.new("ScreenGui") | |
3 | TextLabel1 = Instance.new("TextLabel") | |
4 | TextLabel2 = Instance.new("TextLabel") | |
5 | ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
6 | TextLabel1.Parent = ScreenGui0 | |
7 | TextLabel1.Name = "msg" | |
8 | TextLabel1.Position = UDim2.new(1.1, 0,1, -150) | |
9 | TextLabel1.Size = UDim2.new(0, 272, 0, 150) | |
10 | TextLabel1.BackgroundColor = BrickColor.new("Cyan") | |
11 | TextLabel1.BackgroundColor3 = Color3.new(0, 0.666667, 1) | |
12 | TextLabel1.BorderColor = BrickColor.new("Cyan") | |
13 | TextLabel1.BorderColor3 = Color3.new(0, 0.666667, 1) | |
14 | TextLabel1.BorderSizePixel = 5 | |
15 | TextLabel1.Font = Enum.Font.SourceSansLight | |
16 | TextLabel1.FontSize = Enum.FontSize.Size28 | |
17 | TextLabel1.Text = "Sapphire is now loaded." | |
18 | TextLabel1.TextColor = BrickColor.new("Institutional white") | |
19 | TextLabel1.TextColor3 = Color3.new(1, 1, 1) | |
20 | TextLabel1.TextSize = 25 | |
21 | TextLabel1.TextWrap = true | |
22 | TextLabel1.TextWrapped = true | |
23 | TextLabel1.TextYAlignment = Enum.TextYAlignment.Top | |
24 | TextLabel2.Parent = TextLabel1 | |
25 | TextLabel2.Position = UDim2.new(-0.0551470518, 0, 0, 0) | |
26 | TextLabel2.Size = UDim2.new(0, 10, 1, 0) | |
27 | TextLabel2.BackgroundColor = BrickColor.new("Toothpaste") | |
28 | TextLabel2.BackgroundColor3 = Color3.new(0, 1, 1) | |
29 | TextLabel2.BorderColor = BrickColor.new("Toothpaste") | |
30 | TextLabel2.BorderColor3 = Color3.new(0, 1, 1) | |
31 | TextLabel2.BorderSizePixel = 5 | |
32 | TextLabel2.Font = Enum.Font.SourceSansLight | |
33 | TextLabel2.FontSize = Enum.FontSize.Size18 | |
34 | TextLabel2.Text = "IDK RE" | |
35 | TextLabel2.TextColor = BrickColor.new("Really black") | |
36 | TextLabel2.TextColor3 = Color3.new(0, 0, 0) | |
37 | TextLabel2.TextSize = 18 | |
38 | TextLabel2.TextWrap = true | |
39 | TextLabel2.TextWrapped = true | |
40 | local Service = { | |
41 | Workspace = game:GetService("Workspace"); | |
42 | Players = game:GetService("Players"); | |
43 | Lighting = game:GetService("Lighting"); | |
44 | MarketplaceService = game:GetService("MarketplaceService"); | |
45 | TeleportService = game:GetService("TeleportService"); | |
46 | HttpService = game:GetService("HttpService"); | |
47 | RunService = game:GetService("RunService"); | |
48 | PointsService = game:GetService("PointsService"); | |
49 | TestService = game:GetService("TestService"); | |
50 | InsertService = game:GetService("InsertService"); | |
51 | Teams = game:GetService("Teams"); | |
52 | ServerStorage = game:GetService("ServerStorage"); | |
53 | ReplicatedStorage = game:GetService("ReplicatedStorage"); | |
54 | AssetService = game:GetService("AssetService"); | |
55 | Debris = game:GetService("Debris"); | |
56 | GamePassService = game:GetService("GamePassService"); | |
57 | AdService = game:GetService("AdService"); | |
58 | ServerScriptService = game:GetService("ServerScriptService"); | |
59 | PlaceId = game.PlaceId; | |
60 | PlaceVersion = game.PlaceVersion; | |
61 | ReplicatedFirst = game:GetService("ReplicatedFirst"); | |
62 | TextService = game:GetService("TextService"); | |
63 | Chat = game:GetService("Chat"); | |
64 | DataStoreService = game:GetService("DataStoreService"); | |
65 | } | |
66 | ||
67 | ---------------------------------------------------------------------------------------- | |
68 | - | local ads = game:GetService("Players")["yournamehere"] |
68 | + | local ads = game:GetService("Players")["TameDoNotClick"] |
69 | if game.PlaceId = 843468296 or game.PlaceId = 843495510 then | |
70 | ads = owner | |
71 | end | |
72 | local version = "0.95" | |
73 | wait(0.5) | |
74 | local idk = true | |
75 | local Waves = false | |
76 | local tabDesign = "Knife" | |
77 | local BackTab = true | |
78 | local Free = "WeAreIDKReborn" | |
79 | local Trial = "TheNextEvent" | |
80 | local Creator = "IncaseILostMySkill" | |
81 | local Start = "GettingStarted" | |
82 | local Puter = "ThankYouForPutingMyAdminOn" | |
83 | local SecretSource = "eyyyoufoundedme" | |
84 | local NewYearNewMe = "HappyLunar" | |
85 | local number2 = "hellothere" | |
86 | local objects = {} | |
87 | local Lock = false | |
88 | local Dis = false | |
89 | local Font = "Bodoni" | |
90 | local Suffix = "/" | |
91 | local doncry = false | |
92 | --// Variables | |
93 | local Ranks = { | |
94 | {Rank = -1, Desc = "Kid"}; | |
95 | {Rank = 0, Desc = "IDK"}; | |
96 | {Rank = 1, Desc = "Non-IDK"}; | |
97 | {Rank = 2, Desc = "logined"}; | |
98 | {Rank = 3, Desc = "Real Player"}; | |
99 | {Rank = 4, Desc = "omgmod"}; | |
100 | {Rank = 5, Desc = "Admin"}; | |
101 | {Rank = 6, Desc = "Super Admin"}; | |
102 | {Rank = 7, Desc = "Owner/Friend"}; | |
103 | {Rank = 8, Desc = "Private"}; | |
104 | }; | |
105 | local Ranked = { | |
106 | {['Name'] = 'pdnghiaqoi', ['Rank'] = 8, ['Reason'] = 'Creator of this admin/IDK Admin', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
107 | {['Name'] = 'DjDartherALT', ['Rank'] = 7, ['Reason'] = 'mahfriend', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
108 | {['Name'] = 'Andreiblue', ['Rank'] = 7, ['Reason'] = 'mahfriend', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
109 | {['Name'] = 'jaimsso', ['Rank'] = 7, ['Reason'] = 'mahfriend', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
110 | {['Name'] = 'VASIDRAGON444', ['Rank'] = 7, ['Reason'] = 'Won a Random Giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
111 | {['Name'] = 'pooperscooperlamo_2', ['Rank'] = 7, ['Reason'] = 'Asking free skill.rarelyiaccepectfreeskill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
112 | {['Name'] = 'jakebeans999', ['Rank'] = 3, ['Reason'] = 'Asking free skill.rarelyiaccepectfreeskill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
113 | {['Name'] = 'am_tertle', ['Rank'] = 3, ['Reason'] = 'Asking free skill.rarelyiaccepectfreeskill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
114 | {['Name'] = 'IoIman2069', ['Rank'] = 3, ['Reason'] = 'Asking free skill.rarelyiaccepectfreeskill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
115 | {['Name'] = 'bluecooper123', ['Rank'] = 8, ['Reason'] = 'Owner of Fallen admin/mahfriend', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
116 | {['Name'] = 'deadofgreece', ['Rank'] = 3, ['Reason'] = 'Asking free skill/A Fallen Member', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
117 | {['Name'] = 'main_guy1', ['Rank'] = 7, ['Reason'] = 'Buyed skill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
118 | {['Name'] = 'SirDogeSB', ['Rank'] = 7, ['Reason'] = 'Buyed skill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
119 | {['Name'] = 'EurosAndCents', ['Rank'] = 7, ['Reason'] = 'Buyed skill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
120 | {['Name'] = 'Embossed2', ['Rank'] = 6, ['Reason'] = 'Buyed skill', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
121 | {['Name'] = 'XXUNORIBOASXX', ['Rank'] = 6, ['Reason'] = 'Asking free skill/Accepcted', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
122 | {['Name'] = 'ooooooooooooooooo66', ['Rank'] = 5, ['Reason'] = 'Asking free skill/Accepcted', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
123 | {['Name'] = 'sebastian6788', ['Rank'] = 5, ['Reason'] = 'Asking free skill/Accepcted', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
124 | {['Name'] = 'nowayhahaha', ['Rank'] = 7, ['Reason'] = 'Win a giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
125 | {['Name'] = 'litdays123', ['Rank'] = 6, ['Reason'] = '', ['Color'] = 'Bright yellow'}; | |
126 | {['Name'] = 'Kikitob', ['Rank'] = 7, ['Reason'] = 'noreason', ['Color'] = 'Bright yellow'}; | |
127 | {['Name'] = 'Mikulasz12', ['Rank'] = 7, ['Reason'] = 'Win a lucky giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
128 | {['Name'] = 'Frepix', ['Rank'] = 5, ['Reason'] = 'Staff', ['Color'] = 'Bright yellow'}; | |
129 | {['Name'] = 'VictoriaChristophe', ['Rank'] = 7, ['Reason'] = 'Win a lucky giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
130 | {['Name'] = 'Ultra_o3', ['Rank'] = 6, ['Reason'] = 'Win a giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
131 | {['Name'] = 'hector609', ['Rank'] = 6, ['Reason'] = 'Win a giveaway', ['Color'] = 'Bright yellow', ['Whitelist'] = false}; | |
132 | {['Name'] = 'hellorahat', ['Rank'] = 8, ['Reason'] = 'A staff of the banned admin:Antimatter', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
133 | {['Name'] = 'LegendOfDarknees', ['Rank'] = 8, ['Reason'] = 'developer', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
134 | {['Name'] = 'GabrielSGamerG9', ['Rank'] = 8, ['Reason'] = 'developer', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
135 | {['Name'] = 'pizzaeater0777', ['Rank'] = 8, ['Reason'] = 'ad', ['Color'] = 'Bright yellow', ['Whitelist'] = true}; | |
136 | ||
137 | }; | |
138 | ||
139 | local Tablets = {}; | |
140 | local Commands = {}; | |
141 | local Banned = {}; | |
142 | local Fake = { | |
143 | "thisisthebestpasswordever2017", | |
144 | "skidblocksuc", | |
145 | "IDKguy", | |
146 | "bluecooper", | |
147 | "secretcode", | |
148 | "icecreamman", | |
149 | "yummy", | |
150 | }; | |
151 | ||
152 | local Joke = { | |
153 | "Did you hear about the woman who refused to get her female cat spayed? She was arrested for littering.", | |
154 | "A CAT'S FAVORITE LITERATURE CHARACTERS:Holden Clawfield,Jay Catsby,Catticus Finch", | |
155 | "You're not feline well? Do you need a purramedic?", | |
156 | "Live long and pawspurr", | |
157 | "Want to go on a picnic? Alpaca lunch.", | |
158 | "I am not a scaredy cat. But, I must admit, cat puns freak meowt.", | |
159 | "hey vsauce, micheal here", | |
160 | "where are your finger", | |
161 | }; | |
162 | ||
163 | ||
164 | ||
165 | ||
166 | local Splitkey = '/' | |
167 | local Prefix = "[" | |
168 | ||
169 | -- // idk | |
170 | ||
171 | ||
172 | --// Functions | |
173 | function Convert(color) | |
174 | return BrickColor.new(color).Color | |
175 | end | |
176 | ||
177 | function GetUsernameFromID(ID) | |
178 | if type(ID) ~= "number" then | |
179 | return | |
180 | end | |
181 | local sets = game:service("InsertService"):GetUserSets(ID) | |
182 | for k, v in next, sets do | |
183 | if v.Name == "My Models" then | |
184 | return v.CreatorName | |
185 | end | |
186 | end | |
187 | end | |
188 | ||
189 | timezone = function(type,timezone) -- timezone means GetDate | |
190 | if type == 1 -- 1 is Year | |
191 | then local tNums = {3600*24*365.25,os.time()} -- amount of seconds in a year and amount of seconds since epoch. | |
192 | local vLocal = math.floor(tNums[2]/tNums[1]) -- The amount of years, to the decimal. | |
193 | return vLocal+1970 -- Achieves the amount of years since epoch and adds the amount of years not counted | |
194 | elseif type == 2 -- 2 is week day | |
195 | then local tNums = {3600*24*7,os.time()-14400} -- amount of seconds in a week and amount of seconds since epoch. | |
196 | local vLocal = (tNums[2]/tNums[1])-math.modf(tNums[2]/tNums[1])+5 -- decimal for the week, wednesday at 12PM = .5 etc. | |
197 | if vLocal > 7 -- This prvents overshoot | |
198 | then vLocal = vLocal-7 -- If it's tuesday it's 3 and if it's 10 for the next week, it goes back to 3 | |
199 | end | |
200 | vLocal = math.floor(vLocal) -- Rounds the week day down | |
201 | local vReturn = '' | |
202 | if vLocal == 1 -- Changes the number into a day | |
203 | then vReturn = 'Sunday' | |
204 | elseif vLocal == 2 | |
205 | then vReturn = 'Monday' | |
206 | elseif vLocal == 3 | |
207 | then vReturn = 'Tuesday' | |
208 | elseif vLocal == 4 | |
209 | then vReturn = 'Wednesday' | |
210 | elseif vLocal == 5 | |
211 | then vReturn = 'Thursday' | |
212 | elseif vLocal == 6 | |
213 | then vReturn = 'Friday' | |
214 | elseif vLocal == 7 | |
215 | then vReturn = 'Saturday' | |
216 | end | |
217 | return vReturn | |
218 | elseif type == 3 | |
219 | then local tNums = {3600*24,3600*24*365.25,os.time()} | |
220 | local tDaysInMonths = {31,29,31,30,31,30,31,31,30,31,30,31} | |
221 | local vLocal = (tNums[3]/tNums[2])-math.modf(tNums[3]/tNums[2]) | |
222 | vLocal = math.floor((vLocal*tNums[2])/tNums[1])+2 -- The amount of day into the year | |
223 | for _,v in pairs(tDaysInMonths) | |
224 | do if (vLocal-v) < 0 | |
225 | then return vLocal | |
226 | elseif (vLocal-v) > 0 | |
227 | then vLocal = vLocal - v | |
228 | end | |
229 | end | |
230 | return vLocal | |
231 | elseif type == 4 then | |
232 | local tNums = {3600*24,os.time()} -- amount of seconds in a day and amount of seconds since epoch. | |
233 | local vLocal = (tNums[2]/tNums[1])-math.modf(tNums[2]/tNums[1]) -- Decimal point for day, 12PM = .5 | |
234 | local vHours = math.floor(vLocal*24) -- The amount of hours into the day | |
235 | local vMinutes = math.floor(vLocal*60*24)-(vHours*60) -- The amount of minutes into the hour | |
236 | local vSeconds = math.floor(vLocal*tNums[1])-(vHours*3600)-(vMinutes*60) -- The amount of seconds into the minute | |
237 | local vAM = 'AM' | |
238 | vHours = vHours - timezone -- Fixes the timezone | |
239 | if vHours < 0 -- If it's 1AM and you decrease 4 for the timezone, this fixes negatives. | |
240 | then vHours = 24+vHours | |
241 | end | |
242 | if vHours > 12 | |
243 | then vAM = 'PM' | |
244 | vHours = vHours - 12 | |
245 | end | |
246 | if vHours == 0 | |
247 | then vHours = '12' | |
248 | end | |
249 | if (''..vMinutes):len() == 1 | |
250 | then vMinutes = '0'..vMinutes | |
251 | end | |
252 | if (''..vSeconds):len() == 1 | |
253 | then vSeconds = '0'..vSeconds | |
254 | end | |
255 | return vHours..':'..vMinutes..':'..vSeconds..' '..vAM | |
256 | elseif type == 5 | |
257 | then local tNums = {3600*24,3600*24*365.25,os.time()} | |
258 | local tDaysInMonths = {31,29,31,30,31,30,31,31,30,31,30,31} | |
259 | local vLocal = (tNums[3]/tNums[2])-math.modf(tNums[3]/tNums[2]) | |
260 | vLocal = ((vLocal*tNums[2])/tNums[1])+2 -- The amount of day into the year | |
261 | local vMonth = 1 | |
262 | local vReturn | |
263 | for _,v in pairs(tDaysInMonths) | |
264 | do if (vLocal-v) < 0 | |
265 | then return vMonth | |
266 | elseif (vLocal-v) > 0 | |
267 | then vLocal = vLocal - v | |
268 | vMonth = vMonth + 1 | |
269 | end | |
270 | end | |
271 | return vReturn | |
272 | end | |
273 | end | |
274 | ||
275 | function SayMessage(player,text) | |
276 | spawn(function() | |
277 | local a = ScreenGui0:Clone() | |
278 | local msg = a:WaitForChild("msg") | |
279 | msg.Text = text | |
280 | msg:WaitForChild("TextLabel").Text = "IDK RE" | |
281 | a.Parent = player.PlayerGui | |
282 | msg:TweenPosition(UDim2.new(1, -272, 1, -150), "Out", "Linear", 0.5 ,true) | |
283 | wait(5) | |
284 | msg:TweenPosition(UDim2.new(1.1, 0,1, -150), "Out", "Linear", 0.5 , true, function() | |
285 | a:Remove() | |
286 | end) | |
287 | end) | |
288 | end | |
289 | ||
290 | SayMessage(owner, "IDK REBORN has successfully loaded.\nthis was intended to be a joke\ndo not take this seriously.") | |
291 | --Message-- | |
292 | ||
293 | function intro() | |
294 | for i,v in pairs(Service.Players:GetPlayers()) do | |
295 | local ScreenGui0 = Instance.new("ScreenGui") | |
296 | local TextLabel1 = Instance.new("TextLabel") | |
297 | local ImageLabel2 = Instance.new("ImageLabel") | |
298 | ScreenGui0.Parent = v.PlayerGui | |
299 | TextLabel1.Parent = ScreenGui0 | |
300 | TextLabel1.Transparency = 1 | |
301 | TextLabel1.Size = UDim2.new(0, 281, 0, 51) | |
302 | TextLabel1.Text = "1DK R3B0RN" | |
303 | TextLabel1.Position = UDim2.new(0.397144943, 0, 0.459183693, 0) | |
304 | TextLabel1.BackgroundColor3 = Color3.new(1, 1, 1) | |
305 | TextLabel1.BackgroundTransparency = 1 | |
306 | TextLabel1.TextTransparency = 1 | |
307 | TextLabel1.Font = Enum.Font.SciFi | |
308 | TextLabel1.FontSize = Enum.FontSize.Size48 | |
309 | TextLabel1.TextColor3 = Color3.new(1, 1, 0) | |
310 | ImageLabel2.Parent = ScreenGui0 | |
311 | ImageLabel2.Transparency = 1 | |
312 | ImageLabel2.Size = UDim2.new(0, 100, 0, 108) | |
313 | ImageLabel2.Position = UDim2.new(0.479, 0,-0.17, 0) | |
314 | ImageLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
315 | ImageLabel2.BackgroundTransparency = 1 | |
316 | ImageLabel2.Image = "rbxassetid://1696979871" | |
317 | ImageLabel2:TweenPosition(UDim2.new(0.463, 0,0.415, 0), "Out", "Linear", 1) | |
318 | wait(1.2) | |
319 | ImageLabel2:TweenPosition(UDim2.new(0.464, 0,0.3, 0), "Out", "Linear", 1) | |
320 | wait(1.2) | |
321 | TextLabel1.TextTransparency = 0.9 | |
322 | wait(0.05) | |
323 | TextLabel1.TextTransparency = 0.8 | |
324 | wait(0.05) | |
325 | TextLabel1.TextTransparency = 0.7 | |
326 | wait(0.05) | |
327 | TextLabel1.TextTransparency = 0.6 | |
328 | wait(0.05) | |
329 | TextLabel1.TextTransparency = 0.5 | |
330 | wait(0.05) | |
331 | TextLabel1.TextTransparency = 0.4 | |
332 | wait(0.05) | |
333 | TextLabel1.TextTransparency = 0.3 | |
334 | wait(0.05) | |
335 | TextLabel1.TextTransparency = 0.2 | |
336 | wait(0.05) | |
337 | TextLabel1.TextTransparency = 0.1 | |
338 | wait(0.05) | |
339 | TextLabel1.TextTransparency = 0 | |
340 | wait(5) | |
341 | TextLabel1:TweenPosition(UDim2.new(-0.206, 0,0.469, 0), "Out", "Linear", 1) | |
342 | ImageLabel2:TweenPosition(UDim2.new(-0.073, 0,0.3, 0), "Out", "Linear", 1) | |
343 | wait(1.5) | |
344 | ScreenGui0:Remove() | |
345 | end | |
346 | end | |
347 | --explore-- | |
348 | Services1 = { | |
349 | game:GetService("Workspace"), | |
350 | game:GetService("Players"), | |
351 | game:GetService("Lighting"), | |
352 | game:GetService("StarterPack"), | |
353 | game:GetService("StarterGui"), | |
354 | game:GetService("Teams"), | |
355 | game:GetService("SoundService"), | |
356 | game:GetService("Debris"), | |
357 | game:GetService("InsertService"), | |
358 | game:GetService("RunService"), | |
359 | game:GetService("Chat"), | |
360 | game:GetService("TeleportService"), | |
361 | game:GetService("Geometry"), | |
362 | game:GetService("MarketplaceService"), | |
363 | game:GetService("BadgeService"), | |
364 | game:GetService("FriendService"), | |
365 | game:GetService("ReplicatedStorage"), | |
366 | } | |
367 | function Explore(player,Item) | |
368 | Dismiss(player) | |
369 | if(Item==nil)then | |
370 | for _,v in pairs(Services1)do | |
371 | Output(player, tostring(v), "New Yeller", function() | |
372 | wait() Explore(player, v) end) | |
373 | end; | |
374 | else | |
375 | local f={ | |
376 | ['Into children']=function() | |
377 | Dismiss(player) | |
378 | for _,v in pairs(Item:children())do | |
379 | Output(player, v.Name, "New Yeller",function() | |
380 | wait() | |
381 | Explore(player,v) | |
382 | end); | |
383 | end; | |
384 | end; | |
385 | ['Into parent']=function() | |
386 | wait() | |
387 | if Item.Parent == game then Explore(player) else | |
388 | Explore(player, Item.Parent) end | |
389 | end; | |
390 | ['Destroy']=function() | |
391 | if Item.Parent == game then Output(player, "You can't destroy a service!") | |
392 | elseif Item.Name == "PlayerGui" and Item.Parent.ClassName == "Player" then Output(player, "You can't destroy a player's gui!") | |
393 | elseif Item.Name == "PlayerScript" and Item.Parent.ClassName == "Player" then Output(player, "You can't destroy a player's script!") | |
394 | elseif Item.ClassName == "Player" then Output(player, "You can't destroy a player!") else | |
395 | Item:Destroy(); | |
396 | Explore(player, Item.Parent); | |
397 | end end; | |
398 | ['Clean']=function() | |
399 | if Item.Name == "Players" and Item.Parent == game then Output(player, "You can't clean players service!") | |
400 | elseif Item.ClassName == "Player" then Output(player, "You can't clean a player!") | |
401 | elseif Item.Name == "PlayerGui" and Item.Parent.ClassName == "Player" then Output(player, "You can't clean a player's gui!") | |
402 | elseif Item.Name == "PlayerScript" and Item.Parent.ClassName == "Player" then Output(player, "You can't clean a player's script!") | |
403 | else | |
404 | Item:ClearAllChildren() | |
405 | end end; | |
406 | ['Clone']=function() | |
407 | if Item.Parent == game then Output(player, "You can't clone a service!") | |
408 | elseif Item.ClassName == "Player" then Output(player, "You can't clone a player!") else | |
409 | pcall(function() | |
410 | Item:clone().Parent = Item.Parent | |
411 | end) end | |
412 | end; | |
413 | ['Copy']=function() | |
414 | if Item.Parent == game then Output(player, "You can't clone a service!") | |
415 | elseif Item.ClassName == "Player" then Output(player, "You can't clone a player!") else | |
416 | pcall(function() | |
417 | cloneableObj = Item:clone() | |
418 | cloneableObj.Parent = Stuff | |
419 | end) end | |
420 | end; | |
421 | ['Delete']=function() | |
422 | if Item.Parent == game then Output(player, "You can't remove a service!") | |
423 | elseif Item.Name == "PlayerGui" and Item.Parent.ClassName == "Player" then Output(player, "You can't destroy a player's gui!") | |
424 | elseif Item.Name == "PlayerScript" and Item.Parent.ClassName == "Player" then Output(player, "You can't destroy a player's script!") | |
425 | elseif Item.ClassName == "Player" then Output(player, "You can't remove a player!") | |
426 | else | |
427 | Item:remove() | |
428 | end end; | |
429 | ['Paste']=function() | |
430 | if cloneableObj then | |
431 | cloneableObj.Parent = Item | |
432 | end | |
433 | end; | |
434 | }; | |
435 | for i,v in pairs(f)do | |
436 | Output(player, tostring(i), "New Yeller", v) | |
437 | end; | |
438 | Output(player, 'Item Name: \''..tostring(Item.Name)..'\'',"New Yeller",nil); | |
439 | Output(player, 'Class: \''..tostring(Item.ClassName)..'\'',"New Yeller",nil); | |
440 | if cloneableObj then | |
441 | Output(player, 'Holding: \''..tostring(cloneableObj.Name)..'\'',"New Yeller",nil); | |
442 | end | |
443 | end | |
444 | end | |
445 | ||
446 | function PostWarning(msg, plr) | |
447 | if doncry == true then | |
448 | local url = "https://discord.osyr.is/api/webhooks/429662608820404234/Dmew0LL9R4l3dfP9yI6Q1FyWZwGF6LqJLw9MYfhkDxYs-KLFI8e9lkJ8Ofdx94oHwq4c" -- Put the Webhook URL you copied in this! | |
449 | local http = Service.HttpService | |
450 | local HookData = { | |
451 | ['username'] = ""..tostring(plr.Name), -- This is whatever you want the Bot to be called | |
452 | ['content'] = ""..tostring(msg) -- this is whatever you want it to say! | |
453 | } | |
454 | HookData = http:JSONEncode(HookData) | |
455 | http:PostAsync(url, HookData) else doncry = false end | |
456 | end | |
457 | ||
458 | function Message(msg, plr) | |
459 | for i,v in pairs(Service.Players:GetPlayers()) do | |
460 | coroutine.wrap(function() | |
461 | -- Objects | |
462 | ||
463 | local ScreenGui = Instance.new("ScreenGui") | |
464 | local Frame = Instance.new("Frame") | |
465 | local TextLabel = Instance.new("TextLabel") | |
466 | local TextLabel_2 = Instance.new("TextLabel") | |
467 | ||
468 | -- Properties | |
469 | ||
470 | ScreenGui.Parent = v.PlayerGui | |
471 | ||
472 | Frame.Parent = ScreenGui | |
473 | Frame.BackgroundColor3 = Color3.new(0, 255, 255) | |
474 | Frame.BackgroundTransparency = 1 | |
475 | Frame.Position = UDim2.new(0.413, -150, 0.501, -150) | |
476 | Frame.Size = UDim2.new(0, 557, 0, 300) | |
477 | Frame.Visible = true | |
478 | ||
479 | TextLabel.Parent = Frame | |
480 | TextLabel.BackgroundColor3 = Color3.new(0, 255, 255) | |
481 | TextLabel.BackgroundTransparency = 0 | |
482 | TextLabel.Position = UDim2.new(0.269, -150, 0, 0) | |
483 | TextLabel.Size = UDim2.new(0, 557, 0, 50) | |
484 | TextLabel.Font = Enum.Font.Highway | |
485 | TextLabel.FontSize = Enum.FontSize.Size32 | |
486 | TextLabel.Text = "IDK TALKER" | |
487 | TextLabel.TextColor3 = Color3.new(255, 255, 0) | |
488 | TextLabel.TextSize = 40 | |
489 | TextLabel.TextTransparency = 1 | |
490 | ||
491 | TextLabel_2.Parent = Frame | |
492 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
493 | TextLabel_2.BackgroundTransparency = 1 | |
494 | TextLabel_2.Position = UDim2.new(0.18, -100, -0.167, 100) | |
495 | TextLabel_2.Size = UDim2.new(0, 557, 0, 250) | |
496 | TextLabel_2.Font = Enum.Font.SourceSansItalic | |
497 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
498 | TextLabel_2.Text = tostring(msg) | |
499 | TextLabel_2.TextColor3 = Color3.new(255, 255, 0) | |
500 | TextLabel_2.TextScaled = true | |
501 | TextLabel_2.TextSize = 14 | |
502 | TextLabel_2.TextWrapped = true | |
503 | TextLabel_2.TextTransparency = 1 | |
504 | ||
505 | Frame:TweenPosition(UDim2.new(0.5,-150,0.5,-150), "Out", "Back", 3) | |
506 | Frame.BackgroundTransparency = 0.9 | |
507 | TextLabel.TextTransparency = 0.9 | |
508 | TextLabel_2.TextTransparency = 0.9 | |
509 | wait(0.05) | |
510 | Frame.BackgroundTransparency = 0.8 | |
511 | TextLabel.TextTransparency = 0.8 | |
512 | TextLabel_2.TextTransparency = 0.8 | |
513 | wait(0.05) | |
514 | Frame.BackgroundTransparency = 0.7 | |
515 | TextLabel.TextTransparency = 0.7 | |
516 | TextLabel_2.TextTransparency = 0.7 | |
517 | wait(0.05) | |
518 | Frame.BackgroundTransparency = 0.6 | |
519 | TextLabel.TextTransparency = 0.6 | |
520 | TextLabel_2.TextTransparency = 0.6 | |
521 | wait(0.05) | |
522 | Frame.BackgroundTransparency = 0.5 | |
523 | TextLabel.TextTransparency = 0.5 | |
524 | TextLabel_2.TextTransparency = 0.5 | |
525 | wait(0.05) | |
526 | Frame.BackgroundTransparency = 0.4 | |
527 | TextLabel.TextTransparency = 0.4 | |
528 | TextLabel_2.TextTransparency = 0.4 | |
529 | wait(0.05) | |
530 | Frame.BackgroundTransparency = 0.3 | |
531 | TextLabel.TextTransparency = 0.3 | |
532 | TextLabel_2.TextTransparency = 0.3 | |
533 | wait(0.05) | |
534 | Frame.BackgroundTransparency = 0.2 | |
535 | TextLabel.TextTransparency = 0.2 | |
536 | TextLabel_2.TextTransparency = 0.2 | |
537 | wait(0.05) | |
538 | Frame.BackgroundTransparency = 0.1 | |
539 | TextLabel.TextTransparency = 0.1 | |
540 | TextLabel_2.TextTransparency = 0.1 | |
541 | wait(0.05) | |
542 | Frame.BackgroundTransparency = 0 | |
543 | TextLabel.TextTransparency = 0 | |
544 | TextLabel_2.TextTransparency = 0 | |
545 | wait(6) | |
546 | Frame:TweenPosition(UDim2.new(0.5,-1400,0.5,-150), "Out", 6, 3) | |
547 | wait(5) | |
548 | ScreenGui:remove() | |
549 | end)() | |
550 | end | |
551 | end | |
552 | ||
553 | ||
554 | ||
555 | --CFrame-- | |
556 | ||
557 | local ang=0 | |
558 | Service.RunService.Stepped:connect(function() | |
559 | ypcall(function() | |
560 | for _,Player in pairs(Service.Players:GetPlayers()) do | |
561 | local PlayerTablets = {} | |
562 | for i,v in pairs(Tablets) do | |
563 | if v.Tab1.Parent ~= nil and v.Tab2.Parent ~= nil and v.Player == Player then | |
564 | table.insert(PlayerTablets, v) | |
565 | end | |
566 | end | |
567 | for i = 1, #PlayerTablets do | |
568 | ypcall(function() | |
569 | local tab = PlayerTablets[i].Tab1 | |
570 | local tab2 = PlayerTablets[i].Tab2 | |
571 | local pos = nil | |
572 | ypcall(function() | |
573 | local found = Player.Character:FindFirstChild("HumanoidRootPart") | |
574 | if found then | |
575 | ||
576 | pos = Player.Character:WaitForChild("HumanoidRootPart").CFrame | |
577 | else if not found then | |
578 | local found2 = Player.Character:FindFirstChild("Torso") | |
579 | if found2 then | |
580 | pos = Player.Character:WaitForChild("Torso").CFrame | |
581 | elseif not found2 then | |
582 | local found3 = Player.Character:FindFirstChild("UpperTorso") | |
583 | if found3 then | |
584 | pos = Player.Character:WaitForChild("UpperTorso").CFrame | |
585 | else if not found3 then | |
586 | Player:LoadCharacter() wait(0.1) pos = Player.Character:WaitForChild("HumanoidRootPart").CFrame | |
587 | end | |
588 | end end end end | |
589 | end) | |
590 | local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+1) | |
591 | local y = math.sin(i + tick()*3.4) | |
592 | local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+1) | |
593 | local cPos = tab.Position | |
594 | local ePos = Vector3.new(x, y, z) + (pos.p or Vector3.new(0, -5, 0)) | |
595 | local nPos = (ePos-cPos)*.10 | |
596 | cPos = cPos + nPos | |
597 | local t = (tick() - tick()) % 360 | |
598 | local change = 0.0025 | |
599 | ang=ang+change | |
600 | tab.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(math.rad(-8.25), 0, 0) * CFrame.Angles(math.rad(.55), 0, 0) * CFrame.Angles(0, math.rad((360 / #PlayerTablets) * i) + ang, 0) * CFrame.Angles(math.rad(ang), math.rad(ang), math.rad(ang)) | |
601 | tab2.CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, 5, 0))) * CFrame.Angles(math.rad(8.25), 0, 0) * CFrame.Angles(math.rad(-.55), 0, 0) * CFrame.Angles(0, math.rad((360 / #PlayerTablets) * i) + ang, 0) * CFrame.Angles(math.rad(0.00001), math.rad(0.00001), math.rad(0.00001)) | |
602 | ||
603 | end) | |
604 | end | |
605 | end | |
606 | end) | |
607 | end) | |
608 | ||
609 | function PostHttp(url,name,message) | |
610 | local URL = url | |
611 | local http = Service.HttpService | |
612 | local HookData = { | |
613 | ['username'] = name, | |
614 | ['content'] = message | |
615 | } | |
616 | HookData = http:JSONEncode(HookData) | |
617 | http:PostAsync(URL, HookData) return | |
618 | end | |
619 | ||
620 | function Output(player,name,color,func) | |
621 | if name==nil then name='Error!' end | |
622 | if color==nil then color=tostring('Institutional white') end | |
623 | if player==nil then return false end | |
624 | local Tab = Instance.new('Part',workspace.Terrain) | |
625 | Tab.Anchored,Tab.Locked,Tab.CanCollide,Tab.BottomSurface,Tab.TopSurface=true,true,false,0,0 | |
626 | Tab.Transparency = 0 | |
627 | Tab.Size = Vector3.new(2,2,2) | |
628 | Tab.BrickColor = BrickColor.new(tostring(color)) | |
629 | Tab.Position = player.Character:WaitForChild("Head").Position | |
630 | local Tabb = Instance.new('Part',workspace.Terrain) | |
631 | Tabb.Anchored,Tabb.Locked,Tabb.CanCollide,Tabb.BottomSurface,Tabb.TopSurface=true,true,false,0,0 | |
632 | Tabb.Transparency = 0 | |
633 | Tabb.Size = Vector3.new(1.3,1.3,1.3) | |
634 | Tabb.BrickColor = BrickColor.new(tostring(color)) | |
635 | Tabb.Position = player.Character:WaitForChild("Head").Position | |
636 | ||
637 | ||
638 | local Gui=Instance.new("BillboardGui", Tab) | |
639 | Gui.Adornee=Tab; | |
640 | Gui.StudsOffset = Vector3.new(0, 1.3, 0) | |
641 | Gui.Size = UDim2.new(8, 0, 7.5,0) | |
642 | ||
643 | local Label=Instance.new("TextLabel", Gui) | |
644 | Label.Font = "SciFi" | |
645 | Label.TextColor3=Convert(tostring(color)) | |
646 | Label.BackgroundTransparency=1 | |
647 | Label.FontSize = "Size24" | |
648 | Label.Font = "SciFi" | |
649 | Label.TextStrokeTransparency=1 | |
650 | Label.Text = "[IDK RE]\n"..tostring(name) | |
651 | Label.TextSize = 16 | |
652 | Label.TextStrokeColor3=Convert(tostring(color)) | |
653 | Label.Size = UDim2.new(1, 0, 0.5, 0) | |
654 | ||
655 | local CLICK=Instance.new("ClickDetector", Tab) | |
656 | CLICK.MaxActivationDistance=math.huge | |
657 | ||
658 | CLICK.MouseClick:connect(function(p) | |
659 | if p.userId == player.userId or GetRank(p) > GetRank(player) then | |
660 | if func == nil then | |
661 | for i = 1, 5 do | |
662 | Tab.Transparency=Tab.Transparency + .1 | |
663 | Tab.Size=Tab.Size - Vector3.new(.01,.01,.01) | |
664 | wait() | |
665 | end | |
666 | Tab:Destroy() | |
667 | Tabb:Destroy() | |
668 | else | |
669 | for i = 1, 5 do | |
670 | Tab.Transparency=Tab.Transparency + .1 | |
671 | Tab.Size=Tab.Size - Vector3.new(.010,.010,.010) | |
672 | wait() | |
673 | end | |
674 | Tab:Destroy() | |
675 | Tabb:Destroy() | |
676 | func = func | |
677 | func() | |
678 | end | |
679 | end | |
680 | CLICK.MouseHoverEnter:connect(function(p) | |
681 | if p.Name == player.Name or GetRank(p) > GetRank(player) then | |
682 | for i = 1, 1 do | |
683 | Tab.Transparency = .7 | |
684 | Tab.Size = Tab.Size + Vector3.new(.1,.1,.1) | |
685 | end | |
686 | end | |
687 | end) | |
688 | CLICK.MouseHoverLeave:connect(function(p) | |
689 | if p.Name == player.Name or GetRank(p) > GetRank(player) then | |
690 | Tab.Transparency = .3 | |
691 | Tab.Size = Vector3.new(2,2,2) | |
692 | end | |
693 | end) | |
694 | end) | |
695 | ||
696 | if tabDesign == "Double" then | |
697 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
698 | Tabb.Size = Vector3.new(1,1,1) | |
699 | for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end | |
700 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
701 | Tabb.Transparency = 0 | |
702 | Tab.Transparency = 0.3 | |
703 | elseif tabDesign == "Plain" then | |
704 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
705 | for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end | |
706 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
707 | Tabb.Transparency = 1 | |
708 | Tab.Transparency = 0 | |
709 | elseif tabDesign == "SelectionBox" then | |
710 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
711 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
712 | local sel = Instance.new('SelectionBox',Tab) | |
713 | sel.Color = Tab.BrickColor | |
714 | sel.LineThickness = 0.01 | |
715 | sel.Adornee = Tab | |
716 | Tab.Transparency = 1 | |
717 | Tabb.Transparency = 1 | |
718 | elseif tabDesign == "DoubledSel" then | |
719 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
720 | Tabb.Size = Vector3.new(1,1,1) | |
721 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
722 | local sel = Instance.new('SelectionBox',Tab) | |
723 | sel.Color = Tab.BrickColor | |
724 | sel.LineThickness = 0.01 | |
725 | sel.Adornee = Tab | |
726 | Tab.Transparency = 0.3 | |
727 | Tabb.Transparency = 0 | |
728 | elseif tabDesign == "Orb" then | |
729 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
730 | Tabb.Transparency = 1 | |
731 | Tab.Transparency = 0 | |
732 | local m = Instance.new('SpecialMesh',Tab) | |
733 | m.MeshType = "Sphere" | |
734 | m.Scale = Vector3.new(1,1,1) | |
735 | elseif tabDesign == "Knife" then | |
736 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
737 | Tabb.Transparency = 1 | |
738 | Tab.Transparency = 0 | |
739 | local m = Instance.new('SpecialMesh',Tab) | |
740 | m.MeshId = "rbxassetid://121944778" | |
741 | m.Scale = Vector3.new(1,1,1) | |
742 | elseif tabDesign == "Dominus" then | |
743 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
744 | Tabb.Transparency = 1 | |
745 | Tab.Transparency = 0 | |
746 | local m1 = Instance.new('SpecialMesh',Tab) | |
747 | m1.MeshId = "rbxassetid://430079603" | |
748 | m1.Scale = Vector3.new(1,1,1) | |
749 | elseif tabDesign == "DoubleOrb" then | |
750 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
751 | Tabb.Size = Vector3.new(1,1,1) | |
752 | Tab.Transparency = 0.3 | |
753 | local m = Instance.new('SpecialMesh',Tab) | |
754 | m.MeshType = "Sphere" | |
755 | m.Scale = Vector3.new(1,1,1) | |
756 | local m = Instance.new('SpecialMesh',Tabb) | |
757 | m.MeshType = "Sphere" | |
758 | m.Scale = Vector3.new(.6,.6,.6) | |
759 | elseif tabDesign == "Flat" then | |
760 | Tab.Size = Vector3.new(1,2,0.05) | |
761 | Tab.Transparency = 0 | |
762 | Tabb.Transparency = 1 | |
763 | for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end | |
764 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
765 | elseif tabDesign == "DoubleFlat" then | |
766 | Tab.Size = Vector3.new(1,2,0.05) | |
767 | Tab.Transparency = .3 | |
768 | Tabb.Transparency = 0 | |
769 | Tabb.Size = Vector3.new(0.5,1,0.05) | |
770 | for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end | |
771 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
772 | elseif tabDesign == "Neon" then | |
773 | for i,v in pairs(Tab:children()) do if v:IsA("SelectionBox") then v:remove() end end | |
774 | for i,v in pairs(Tab:children()) do if v:IsA("SpecialMesh") then v:remove() end end | |
775 | Tab.Material = "Neon" | |
776 | Tab.Size = Vector3.new(1.5,1.5,1.5) | |
777 | Tab.Transparency=0 | |
778 | Tabb.Size = Vector3.new(1,1,1) | |
779 | Tabb.Transparency = 1 | |
780 | end | |
781 | ||
782 | --Font-- | |
783 | if Font == "Bodoni" then | |
784 | Label.Font = "Bodoni" | |
785 | elseif Font == "Cartoon" then | |
786 | Label.Font = "Cartoon" | |
787 | elseif Font == "Legacy" then | |
788 | Label.Font = "Legacy" | |
789 | elseif Font == "Fantasy" then | |
790 | Label.Font = "Fantasy" | |
791 | elseif Font == "Source Sans" then | |
792 | Label.Font = "SourceSans" | |
793 | elseif Font == "Highway" then | |
794 | Label.Font = "Highway" | |
795 | elseif Font == "Source Sans Light" then | |
796 | Label.Font = "SourceSansLight" | |
797 | elseif Font == "Source Sans Bold" then | |
798 | Label.Font = "SourceSansBold" | |
799 | elseif Font == "Source Sans Italic" then | |
800 | Label.Font = "SourceSansItalic" | |
801 | elseif Font == "Arial" then | |
802 | Label.Font = "Arial" | |
803 | elseif Font == "Arial Bold" then | |
804 | Label.Font = "ArialBold" | |
805 | elseif Font == "Code" then | |
806 | Label.Font = "Code" | |
807 | elseif Font == "Garamond" then | |
808 | Label.Font = "Garamond" | |
809 | elseif Font == "Arcade" then | |
810 | Label.Font = "Arcade" | |
811 | elseif Font == "Antique" then | |
812 | Label.Font = "Antique" | |
813 | elseif Font == "SciFi" then | |
814 | Label.Font = "SciFi" | |
815 | end | |
816 | ||
817 | ||
818 | ||
819 | table.insert(Tablets, {Tab1 = Tab, Tab2 = Tabb, Player = player}) | |
820 | end | |
821 | ||
822 | ||
823 | ||
824 | function AddRank(Name, Rank, Reason, Color, Tf) | |
825 | if doncry == true then | |
826 | if type(Name) == 'userdata' then Name = Name.Name end | |
827 | table.insert(Ranked, {['Name'] = Name, ['Rank'] = Rank, ['Reason'] = Reason, ['Color'] = Color, ["Whitelist"] = Tf}) | |
828 | else | |
829 | return | |
830 | end | |
831 | end | |
832 | ||
833 | ||
834 | ||
835 | function SetRank(player, rank, Tf) | |
836 | AddRank(player, rank, "A IDK player", "Toothpaste", Tf) | |
837 | end | |
838 | ||
839 | ||
840 | function getRanked(player) | |
841 | Dismiss(player) | |
842 | Output(player, 'Getting skilled table, please wait...', 'Institutional white') | |
843 | wait(3) | |
844 | Dismiss(player) | |
845 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
846 | for _,plr in next,Ranked do | |
847 | Output(player, plr.Name.."[SKILL]:"..plr.Rank, 'Institutional white', function() | |
848 | Dismiss(player) | |
849 | Output(player, 'Name: '..plr.Name, 'Institutional white') | |
850 | Output(player, 'Skill: '..plr.Rank, 'Lime green') | |
851 | Output(player, 'Description: '..plr['Reason'], 'Deep orange') | |
852 | Output(player, 'Suffix: '..plr.Suffix, 'Cyan') | |
853 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
854 | end) | |
855 | end | |
856 | end | |
857 | ||
858 | function getWhite(player) | |
859 | Dismiss(player) | |
860 | Output(player, 'Getting skilled table, please wait...', 'Institutional white') | |
861 | wait(3) | |
862 | Dismiss(player) | |
863 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
864 | for _,plr in next,Ranked do | |
865 | if plr.Whitelist == true then | |
866 | Output(player, plr.Name.."[SKILL]:"..plr.Rank, 'Institutional white', function() | |
867 | Dismiss(player) | |
868 | Output(player, 'Name: '..plr.Name, 'Institutional white') | |
869 | Output(player, 'Skill: '..plr.Rank, 'Lime green') | |
870 | Output(player, 'Description: '..plr['Reason'], 'Deep orange') | |
871 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
872 | end) | |
873 | end | |
874 | end end | |
875 | ||
876 | function getBanned(player) | |
877 | Dismiss(player) | |
878 | Output(player, 'Getting pout table, please wait...', 'Institutional white') | |
879 | wait(3) | |
880 | Dismiss(player) | |
881 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
882 | for _,plr in next,Banned do | |
883 | Output(player, plr.Name, 'Institutional white', function() | |
884 | Dismiss(player) | |
885 | Output(player, 'Name: '..plr.Name, 'Institutional white') | |
886 | Output(player, 'Banned for: '..plr.Reason, 'Deep orange') | |
887 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
888 | end) | |
889 | end | |
890 | end | |
891 | ||
892 | ||
893 | function GetRank(plr) | |
894 | if type(plr) == 'userdata' then | |
895 | plr=tostring(plr) | |
896 | elseif type(plr) == 'string' then | |
897 | plr=plr.Name | |
898 | else | |
899 | plr=plr | |
900 | end | |
901 | ||
902 | for _,data in pairs(Ranked) do | |
903 | if data['Name'] == plr then | |
904 | local rnk = data['Rank'] | |
905 | return rnk --If plr is on the rank list their rank is here | |
906 | end | |
907 | end | |
908 | ||
909 | return 0 --Player's rank will be 0 if not on the list | |
910 | end | |
911 | ||
912 | function GetSuffix(plr) | |
913 | if type(plr) == 'userdata' then | |
914 | plr=tostring(plr) | |
915 | elseif type(plr) == 'string' then | |
916 | plr=plr.Name | |
917 | else | |
918 | plr=plr | |
919 | end | |
920 | ||
921 | for _,data in pairs(Ranked) do | |
922 | if data['Name'] == plr then | |
923 | local suffix = Suffix | |
924 | return suffix --If plr is on the rank list their rank is here | |
925 | end | |
926 | end | |
927 | ||
928 | return ''..Suffix --Player's suffix is ! if not ranked. | |
929 | end | |
930 | ||
931 | function GetDesc(plr) | |
932 | if type(plr) == 'userdata' then | |
933 | plr=tostring(plr) | |
934 | elseif type(plr) == 'string' then | |
935 | plr=plr.Name | |
936 | else | |
937 | plr=plr | |
938 | end | |
939 | ||
940 | for _,data in pairs(Ranked) do | |
941 | if data['Name'] == plr then | |
942 | local reason = data['Reason'] | |
943 | return reason | |
944 | end | |
945 | end | |
946 | ||
947 | return 'A IDK player!' | |
948 | end | |
949 | ||
950 | function GetColor(plr) | |
951 | if type(plr) == 'userdata' then | |
952 | plr=tostring(plr) | |
953 | elseif type(plr) == 'string' then | |
954 | plr=plr.Name | |
955 | else | |
956 | plr=plr | |
957 | end | |
958 | ||
959 | for _,data in pairs(Ranked) do | |
960 | if data['Name'] == plr then | |
961 | local clr = data['Color'] | |
962 | return clr --If plr is on the rank list their color here | |
963 | end | |
964 | end | |
965 | ||
966 | return 'Cyan' --Player's color is Cyan if not ranked. | |
967 | end | |
968 | ||
969 | function Dismiss(plr) | |
970 | pcall(function() | |
971 | for _,tablets in pairs(Tablets) do | |
972 | if tablets.Player == plr then | |
973 | local T = coroutine.create(function() | |
974 | tablets.Tab1:ClearAllChildren() | |
975 | tablets.Tab1.Anchored = true | |
976 | tablets.Tab2:ClearAllChildren() | |
977 | tablets.Tab2.Anchored = true | |
978 | local selectionBox = Instance.new("SelectionBox") | |
979 | selectionBox.Adornee = tablets.Tab1 | |
980 | selectionBox.Color3 = Color3.new(1,0,0) | |
981 | selectionBox.Parent = tablets.Tab1 | |
982 | tablets.Tab1.Transparency = 1 | |
983 | tablets.Tab2.Transparency = 1 | |
984 | selectionBox.Transparency = 0.1 | |
985 | wait(0.05) | |
986 | selectionBox.Transparency = 0.2 | |
987 | wait(0.05) | |
988 | selectionBox.Transparency = 0.3 | |
989 | wait(0.05) | |
990 | selectionBox.Transparency = 0.4 | |
991 | wait(0.05) | |
992 | selectionBox.Transparency = 0.5 | |
993 | wait(0.05) | |
994 | selectionBox.Transparency = 0.6 | |
995 | wait(0.05) | |
996 | selectionBox.Transparency = 0.7 | |
997 | wait(0.05) | |
998 | selectionBox.Transparency = 0.8 | |
999 | wait(0.05) | |
1000 | selectionBox.Transparency = 0.9 | |
1001 | wait(0.05) | |
1002 | selectionBox.Transparency = 1 | |
1003 | wait(0.5) | |
1004 | tablets.Tab1:Destroy() | |
1005 | tablets.Tab2:Destroy() | |
1006 | end) | |
1007 | coroutine.resume(T) | |
1008 | end | |
1009 | end | |
1010 | end) | |
1011 | end | |
1012 | ||
1013 | function add(n) | |
1014 | local b = "" | |
1015 | if n == 0 then return "-" end | |
1016 | for i = 1,tonumber(n) do | |
1017 | b = b.."I" | |
1018 | end | |
1019 | return b | |
1020 | end | |
1021 | ||
1022 | Commands_E = function(player) | |
1023 | Dismiss(player) | |
1024 | for i = 0, 7 do | |
1025 | local a = add(i) | |
1026 | Output(player, "Skill "..a.."", GetColor(player), function() | |
1027 | GetCommands(player, i) | |
1028 | end) | |
1029 | end | |
1030 | Output(player, 'Your skill is '..add(GetRank(player)),'Bright green') | |
1031 | end | |
1032 | ||
1033 | ||
1034 | GetCommands = function(player, rank) | |
1035 | Dismiss(player) | |
1036 | for _, CMDS in pairs(Commands) do | |
1037 | if CMDS['Rank'] <= rank then | |
1038 | Output(player, CMDS['Name'], GetColor(player), function() | |
1039 | Dismiss(player) | |
1040 | Output(player, 'Description: '..CMDS['Desc'], 'Lime green') | |
1041 | Output(player, 'Usage (For you): '..CMDS['Say']..''..GetSuffix(player),'Bright red') | |
1042 | Output(player, 'Skill Needed: '..CMDS['Rank'], 'Cyan') | |
1043 | Output(player, 'Name: '..CMDS['Name'], 'Toothpaste') | |
1044 | Output(player, 'Back', 'Navy blue', function() GetCommands(player, rank) end) | |
1045 | Output(player, 'Dismiss', 'Really red', function() Dismiss(player) end) | |
1046 | if GetRank(player) < CMDS['Rank'] then | |
1047 | Output(player, "You can't use this command!","Really red") | |
1048 | else | |
1049 | Output(player, 'You can use this command!','Lime green') | |
1050 | end | |
1051 | end) | |
1052 | end | |
1053 | end | |
1054 | end | |
1055 | ||
1056 | ||
1057 | ||
1058 | function getPlayers(plr) | |
1059 | Dismiss(plr) | |
1060 | Output(plr, 'Dismiss', 'Really red', function() Dismiss(plr) end) | |
1061 | for _,player in pairs(Service.Players:GetPlayers()) do | |
1062 | Output(plr, player.Name..' [SKILL '..GetRank(player)..']', 'Institutional white',function() | |
1063 | Dismiss(plr) | |
1064 | Output(plr, 'Dismiss', 'Really red', function() Dismiss(plr) end) | |
1065 | Output(plr, 'Players Name: '..player.Name..'','Institutional white') | |
1066 | Output(plr, 'Player Id: '..player.userId ,'Cyan') | |
1067 | Output(plr, 'Account Age: '..player.AccountAge..'', 'Cyan') | |
1068 | Output(plr, 'Skill: '..GetRank(player)..'', 'Lime green') | |
1069 | Output(plr, 'Club Type: '..player.MembershipType.Name..'', 'Deep orange') | |
1070 | Output(plr, 'Description: '..GetDesc(player), 'Really black') | |
1071 | Output(plr, 'Suffix: '..GetSuffix(player), 'Bright red') | |
1072 | Output(plr, 'Color: '..GetColor(player), GetColor(player)) | |
1073 | local found = player.Character:FindFirstChildOfClass("Humanoid") | |
1074 | if found then | |
1075 | if found.RigType == Enum.HumanoidRigType.R6 then | |
1076 | Output(plr, 'Rig Type:R6') | |
1077 | elseif found.RigType == Enum.HumanoidRigType.R15 then | |
1078 | Output(plr, 'Rig Type:R15') | |
1079 | end | |
1080 | else | |
1081 | Output(plr, "This player is don't have humanoid!", "Really red") | |
1082 | end | |
1083 | if player.CharacterAppearanceId ~= player.userId then | |
1084 | Output(plr, 'Disguide as:'..GetUsernameFromID(player.CharacterAppearanceId).."/"..player.CharacterAppearanceId) | |
1085 | elseif player.CharacterAppearanceId == player.userId or player.CharacterAppearanceId == 0 then | |
1086 | Output(plr, 'This player is not disguide.') end | |
1087 | ||
1088 | ||
1089 | end) | |
1090 | end | |
1091 | end | |
1092 | ||
1093 | ||
1094 | ||
1095 | function Chatted(speaker, message) | |
1096 | if message:sub(1, 2) == '/e' then | |
1097 | if #message > 3 then | |
1098 | message = message:sub(4) | |
1099 | end | |
1100 | elseif message:sub(1, 1) == '*' then | |
1101 | if #message > 2 then | |
1102 | message = message:sub(2) | |
1103 | end | |
1104 | elseif message:sub(1, 1) == '>' then | |
1105 | if #message > 2 then | |
1106 | message = message:sub(2) | |
1107 | end | |
1108 | end | |
1109 | ||
1110 | ||
1111 | local command=message | |
1112 | for _, CMDS in pairs(Commands) do | |
1113 | if command:sub(1, #CMDS['Say']+#GetSuffix(speaker)) == CMDS['Say']..GetSuffix(speaker) then | |
1114 | if GetRank(speaker) >= CMDS['Rank'] then | |
1115 | local msg = command:sub(#CMDS["Say"]+#GetSuffix(speaker)+1) | |
1116 | a,b = ypcall(function() | |
1117 | CMDS["Func"](speaker, msg) | |
1118 | end) | |
1119 | ||
1120 | if not a then warn(b) Output(speaker, 'ERROR: '..b, 'Really red') end | |
1121 | else | |
1122 | Output(speaker, 'Your skill is too low!\nSkill needed:'..CMDS['Rank'], 'Really red') | |
1123 | end | |
1124 | end | |
1125 | end | |
1126 | end | |
1127 | ||
1128 | ||
1129 | ||
1130 | ||
1131 | function NewCommand(name, usage, rank, desc, func) | |
1132 | table.insert(Commands, {['Name'] = name, ['Say'] = usage, ['Rank'] = rank, ['Desc'] = desc, ['Func'] = func}) | |
1133 | end | |
1134 | ||
1135 | function GetPlayers(plr, msg) | |
1136 | local plrs = {} | |
1137 | if msg:match("^!") then | |
1138 | return FindPlayers(plr, msg:sub(2), true) | |
1139 | elseif msg == "me" then | |
1140 | table.insert(plrs, plr) | |
1141 | elseif msg == "everyone" then function FindPlayers(plr, msg) | |
1142 | local plrs = {} | |
1143 | if msg:match("^!") then | |
1144 | return FindPlayers(plr, msg:sub(2), true) | |
1145 | elseif msg == "me" then | |
1146 | table.insert(plrs, plr) | |
1147 | elseif msg == "everyone" then | |
1148 | for _,v in pairs(Service.Players:players()) do | |
1149 | table.insert(plrs, v) | |
1150 | end | |
1151 | elseif msg == "others" then | |
1152 | for _,v in pairs(Service.Players:players()) do | |
1153 | if v ~= plr then | |
1154 | table.insert(plrs, v) | |
1155 | end | |
1156 | end | |
1157 | elseif msg == "skilled" then | |
1158 | for _,v in pairs(Service.Players:players()) do | |
1159 | if GetRank(v) > 0 then | |
1160 | table.insert(plrs, v) | |
1161 | end | |
1162 | end | |
1163 | elseif msg == "nonskilled" then | |
1164 | for _,v in pairs(Service.Players:players()) do | |
1165 | if GetRank(v) <= 0 then | |
1166 | table.insert(plrs, v) | |
1167 | end | |
1168 | end | |
1169 | elseif msg == "nub" then | |
1170 | for _,v in pairs(Service.Players:players()) do | |
1171 | if v.AccountAge < 366 then | |
1172 | table.insert(plrs, v) | |
1173 | end | |
1174 | end | |
1175 | elseif msg == "pro" then | |
1176 | for _,v in pairs(Service.Players:players()) do | |
1177 | if v.AccountAge >= 366 then | |
1178 | table.insert(plrs, v) | |
1179 | end | |
1180 | end | |
1181 | elseif msg == "someone" then | |
1182 | local allp = {} | |
1183 | for _,v in pairs(Service.Players:players()) do | |
1184 | table.insert(allp, v) | |
1185 | end | |
1186 | table.insert(plrs, allp[math.random(1, #allp)]) | |
1187 | else | |
1188 | for _,v in pairs(Service.Players:players()) do | |
1189 | if v.Name:lower():sub(1,string.len(msg)) == msg:lower() then | |
1190 | table.insert(plrs, v) | |
1191 | end | |
1192 | end | |
1193 | end | |
1194 | return plrs | |
1195 | end | |
1196 | for _,v in pairs(Service.Players:players()) do | |
1197 | table.insert(plrs, v) | |
1198 | end | |
1199 | elseif msg == "nub" then | |
1200 | for _,v in pairs(Service.Players:players()) do | |
1201 | if v.AccountAge < 366 then | |
1202 | table.insert(plrs, v) | |
1203 | end | |
1204 | end | |
1205 | elseif msg == "pro" then | |
1206 | for _,v in pairs(Service.Players:players()) do | |
1207 | if v.AccountAge >= 366 then | |
1208 | table.insert(plrs, v) | |
1209 | end | |
1210 | end | |
1211 | ||
1212 | elseif msg == "skilled" then | |
1213 | for _,v in pairs(Service.Players:players()) do | |
1214 | if GetRank(v) >= 0 then | |
1215 | table.insert(plrs, v) | |
1216 | end | |
1217 | end | |
1218 | elseif msg == "nonskilled" then | |
1219 | for _,v in pairs(Service.Players:players()) do | |
1220 | if GetRank(v) == 0 then | |
1221 | table.insert(plrs, v) | |
1222 | end | |
1223 | end | |
1224 | elseif msg == "others" then | |
1225 | for _,v in pairs(Service.Players:players()) do | |
1226 | if v ~= plr then | |
1227 | table.insert(plrs, v) | |
1228 | end end | |
1229 | elseif msg == "someone" then | |
1230 | local allp = {} | |
1231 | for _,v in pairs(Service.Players:players()) do | |
1232 | table.insert(allp, v) | |
1233 | end | |
1234 | table.insert(plrs, allp[math.random(1, #allp)]) | |
1235 | else for _,v in pairs(Service.Players:players()) do | |
1236 | ||
1237 | if v.Name:lower():sub(1,string.len(msg)) == msg:lower() then | |
1238 | table.insert(plrs, v) | |
1239 | end | |
1240 | end | |
1241 | end | |
1242 | return plrs | |
1243 | end | |
1244 | ||
1245 | ||
1246 | ||
1247 | ||
1248 | ||
1249 | ||
1250 | ||
1251 | Service.Players.PlayerAdded:connect(function(plr) | |
1252 | plr.Chatted:connect(function(m) | |
1253 | Chatted(plr, m) | |
1254 | end) | |
1255 | end) | |
1256 | ||
1257 | Service.Players.PlayerRemoving:connect(function(player) | |
1258 | pcall(function() | |
1259 | for _,tablets in pairs(Tablets) do | |
1260 | if tablets.Player == player then | |
1261 | local T = coroutine.create(function() | |
1262 | tablets.Tab1:ClearAllChildren() | |
1263 | tablets.Tab1.Anchored = true | |
1264 | tablets.Tab2:ClearAllChildren() | |
1265 | tablets.Tab2.Anchored = true | |
1266 | local selectionBox = Instance.new("SelectionBox") | |
1267 | selectionBox.Adornee = tablets.Tab1 | |
1268 | selectionBox.Color3 = Color3.new(1,0,0) | |
1269 | selectionBox.Parent = tablets.Tab1 | |
1270 | tablets.Tab1.Transparency = 1 | |
1271 | tablets.Tab2.Transparency = 1 | |
1272 | selectionBox.Transparency = 0.1 | |
1273 | wait(0.05) | |
1274 | selectionBox.Transparency = 0.2 | |
1275 | wait(0.05) | |
1276 | selectionBox.Transparency = 0.3 | |
1277 | wait(0.05) | |
1278 | selectionBox.Transparency = 0.4 | |
1279 | wait(0.05) | |
1280 | selectionBox.Transparency = 0.5 | |
1281 | wait(0.05) | |
1282 | selectionBox.Transparency = 0.6 | |
1283 | wait(0.05) | |
1284 | selectionBox.Transparency = 0.7 | |
1285 | wait(0.05) | |
1286 | selectionBox.Transparency = 0.8 | |
1287 | wait(0.05) | |
1288 | selectionBox.Transparency = 0.9 | |
1289 | wait(0.05) | |
1290 | selectionBox.Transparency = 1 | |
1291 | wait(0.5) | |
1292 | tablets.Tab1:Destroy() | |
1293 | tablets.Tab2:Destroy() | |
1294 | end) | |
1295 | coroutine.resume(T) | |
1296 | end | |
1297 | end | |
1298 | end) | |
1299 | end) | |
1300 | ||
1301 | function SearchMusic(player,message,page) | |
1302 | local Services = Service.HttpService | |
1303 | Dismiss(player) | |
1304 | Output(player, "Searching music...","Lime green") | |
1305 | if page == nil then page = 1 end | |
1306 | local Url = "https://rprxy.xyz/proxy/api/searchmusic/"..message.."&PageNumber="..tonumber(page).."&ResultsPerPage=10" | |
1307 | local Assets = Services:JSONDecode(Services:GetAsync(Url)) | |
1308 | Dismiss(player) | |
1309 | Output(player, "Page: "..page , "Deep orange") | |
1310 | Output(player, "Dismiss", "Really red",function() Dismiss(player) end) | |
1311 | Output(player, "Next","Lime green",function() | |
1312 | Dismiss(player) | |
1313 | SearchMusic(player,message, page+1) | |
1314 | end) | |
1315 | if page > 1 then | |
1316 | Output(player, "Back","Smoky grey",function() | |
1317 | Dismiss(player) | |
1318 | SearchMusic(player,message, page-1) | |
1319 | end) | |
1320 | ||
1321 | end | |
1322 | for song = 1, #Assets do | |
1323 | Output(player, Assets[song].Name, "Lime green",function() | |
1324 | Dismiss(player) | |
1325 | Output(player, "Audio Name:"..Assets[song].Name) | |
1326 | Output(player, 'Audio ID: '..Assets[song].AssetId) | |
1327 | Output(player, 'Audio Desc: '..Assets[song].Description) | |
1328 | Output(player, 'Audio Favorited: '..Assets[song].Favorited) | |
1329 | Output(player, 'Audio Solded: '..Assets[song].Sales) | |
1330 | Output(player, 'Updated: '..Assets[song].Updated) | |
1331 | Output(player, 'Audio Creator: '..Assets[song].Creator..'/'..Assets[song].CreatorID) | |
1332 | Output(player, "Play","Lime green",function() | |
1333 | Output(player, "Now playing:"..Assets[song].Name) | |
1334 | SayMessage(player, "Playing:"..Assets[song].Name) | |
1335 | local Sound = Instance.new("Sound") | |
1336 | Sound.Parent = player | |
1337 | Sound.SoundId = "http://www.roblox.com/Asset/?id="..Assets[song].AssetId | |
1338 | Sound:Play() | |
1339 | Sound.PlayOnRemove = false | |
1340 | Sound.Name = ""..Assets[song].Name | |
1341 | Sound.Volume = "10" | |
1342 | Sound.Looped = true end) | |
1343 | Output(player, "Back","Smoky grey",function() | |
1344 | Dismiss(player) | |
1345 | SearchMusic(player,message, page) | |
1346 | end) | |
1347 | end) | |
1348 | end end | |
1349 | ||
1350 | --Commands-- | |
1351 | NewCommand("ForceField", 'shi',3,'Give a player a forcefield',function(player,message) | |
1352 | for _,plr in next,GetPlayers(player,message) do | |
1353 | Instance.new('ForceField',plr.Character) | |
1354 | end | |
1355 | end) | |
1356 | NewCommand("idek", 'aaa',8,'idek',function(player,message) | |
1357 | tfp(player) | |
1358 | end) | |
1359 | ||
1360 | NewCommand("Search music","sm",2,"Search a music",function(player,message) | |
1361 | local Services = Service.HttpService | |
1362 | Dismiss(player) | |
1363 | Output(player, "Searching music...","Lime green") | |
1364 | if page == nil then page = 1 end | |
1365 | local Url = "https://rprxy.xyz/proxy/api/searchmusic/"..message.."&PageNumber="..tonumber(page).."&ResultsPerPage=10" | |
1366 | local Assets = Services:JSONDecode(Services:GetAsync(Url)) | |
1367 | ||
1368 | Dismiss(player) | |
1369 | ||
1370 | Output(player, "Page: "..page , "Deep orange") | |
1371 | Output(player, "Dismiss", "Really red",function() Dismiss(player) end) | |
1372 | ||
1373 | if page > 1 then | |
1374 | Output(player, "Back","Smoky grey",function() | |
1375 | Dismiss(player) | |
1376 | SearchMusic(player,message, page-1) | |
1377 | end) | |
1378 | Output(player, "Next","Lime green",function() | |
1379 | Dismiss(player) | |
1380 | SearchMusic(player,message, page+1) end) | |
1381 | end | |
1382 | for song = 1, #Assets do | |
1383 | Output(player, Assets[song].Name, "Lime green",function() | |
1384 | Dismiss(player) | |
1385 | Output(player, "Audio Name:"..Assets[song].Name) | |
1386 | Output(player, 'Audio ID: '..Assets[song].AssetId) | |
1387 | Output(player, 'Audio Desc: '..Assets[song].Description) | |
1388 | Output(player, 'Audio Favorited: '..Assets[song].Favorited) | |
1389 | Output(player, "Play","Lime green",function() | |
1390 | Output(player, "Now playing:"..Assets[song].Name) | |
1391 | SayMessage(player,"Playing:"..Assets[song].Name) | |
1392 | local Sound = Instance.new("Sound") | |
1393 | Sound.Parent = player | |
1394 | Sound.SoundId = "rbxassetid://"..Assets[song].AssetId | |
1395 | Sound:Play() | |
1396 | Sound.PlayOnRemove = false | |
1397 | Sound.Name = ""..Assets[song].Name | |
1398 | Sound.Volume = "10" | |
1399 | Sound.Looped = true | |
1400 | end) | |
1401 | Output(player, "Back","Smoky grey",function() | |
1402 | Dismiss(player) | |
1403 | SearchMusic(player,message, page) | |
1404 | end) | |
1405 | end) | |
1406 | end | |
1407 | end) | |
1408 | ||
1409 | NewCommand("clean", 'cle',7,'Clean a world',function(player,message) | |
1410 | Output(player,"Cleaning...") wait(0.5) | |
1411 | for _,Thing in pairs(Service.Workspace.Terrain:GetChildren()) do | |
1412 | Thing:remove() | |
1413 | workspace.Terrain:Clear() | |
1414 | for index, child in ipairs(Service.Workspace:GetChildren()) do | |
1415 | if not (Service.Players:GetPlayerFromCharacter(child) or child.ClassName == "Camera" or child:IsA("Script") or child.Name == "Base" or child.ClassName == "Terrain") then | |
1416 | pcall(child.Destroy, child) | |
1417 | end end end | |
1418 | end) | |
1419 | ||
1420 | NewCommand("Deepclean", 'dcle',7,'DeepClean a world',function(player,message) | |
1421 | Output(player,"Cleaning...") wait(0.5) | |
1422 | for _,Thing in pairs(Service.Workspace.Terrain:GetChildren()) do | |
1423 | Thing:remove() | |
1424 | workspace.Terrain:Clear() | |
1425 | for index, child in ipairs(Service.Workspace:GetChildren()) do | |
1426 | if not (child:IsA("Script") or child.ClassName == "Terrain" or child.Name == "Base") then | |
1427 | pcall(child.Destroy, child) | |
1428 | end end end | |
1429 | for i,v in pairs(Service.Players:GetPlayers()) do | |
1430 | v:LoadCharacter() | |
1431 | end | |
1432 | end) | |
1433 | ||
1434 | NewCommand("Disco","disco",3,"Disco.yayparty",function(player,message) | |
1435 | --[[Disco stuff]]-- | |
1436 | function c3lerp(a,b,t) | |
1437 | return Color3.new(a.r * (1-t) + (b.r*t),a.g * (1-t) + (b.g*t),a.b * (1-t) + (b.b*t)) | |
1438 | end | |
1439 | l=Service.Lighting | |
1440 | Colorss={ | |
1441 | Color3.new(1,0,0); | |
1442 | Color3.new(0,1,0); | |
1443 | Color3.new(0,0,1); | |
1444 | Color3.new(0,1,1); | |
1445 | Color3.new(1,0,1); | |
1446 | Color3.new(1,1,0); | |
1447 | } | |
1448 | --Disco thing-- | |
1449 | Output(player, "Disco On","White",function() | |
1450 | Disco = true | |
1451 | Dismiss() | |
1452 | while Disco do | |
1453 | local k=l.Ambient | |
1454 | local b=Colorss[math.random(1,#Colorss)] | |
1455 | local slow=10 | |
1456 | for i=1, slow do | |
1457 | l.Ambient=c3lerp(k,b,i/slow) | |
1458 | wait() | |
1459 | end | |
1460 | end | |
1461 | end) | |
1462 | Output(player, "Disco Off","White",function() | |
1463 | Disco = false | |
1464 | wait(0.2) | |
1465 | Service.Lighting.Ambient = Color3.new(0,0,0); | |
1466 | Dismiss() | |
1467 | end) | |
1468 | end) | |
1469 | ||
1470 | NewCommand('Show commands','how',0,'Show command.You can show your useable command.',function(player,message) | |
1471 | Commands_E(player) | |
1472 | end) | |
1473 | ||
1474 | NewCommand("Hide player nametag",'hname',3,'Hide player nametag.',function(player,message) | |
1475 | for _,plr in next,GetPlayers(player,message) do | |
1476 | local head = plr.Character.Head:Clone() | |
1477 | local model = Instance.new("Model",Service.workspace) | |
1478 | local model2 = Instance.new("Model",Service.workspace) | |
1479 | local humanoid = Instance.new("Humanoid",model) | |
1480 | head.Parent = model | |
1481 | model.Name = " " | |
1482 | model.Parent = model2 | |
1483 | model2.Name = "Unnametag" | |
1484 | model2.Parent = plr.Character | |
1485 | humanoid.MaxHealth = 0 | |
1486 | local w = Instance.new("Weld",model) | |
1487 | w.Part0,w.Part1 = plr.Character.Head,head | |
1488 | plr.Character.Head.Transparency = 1 | |
1489 | end | |
1490 | end) | |
1491 | ||
1492 | NewCommand("Change Player Name",'name',3,'Change player name.',function(player,message) | |
1493 | local Split = message:find(Splitkey) | |
1494 | local PreSplit = message:sub(1, Split - 1) | |
1495 | local AfterSplit = message:sub(Split + 1) | |
1496 | for _,plr in next,GetPlayers(player,PreSplit) do | |
1497 | local head = plr.Character.Head:Clone() | |
1498 | local model = Instance.new("Model",Service.workspace) | |
1499 | local model2 = Instance.new("Model",Service.workspace) | |
1500 | local humanoid = Instance.new("Humanoid",model) | |
1501 | head.Parent = model | |
1502 | model.Name = ""..tostring(AfterSplit) | |
1503 | model.Parent = model2 | |
1504 | model2.Name = "Nametag" | |
1505 | model2.Parent = plr.Character | |
1506 | humanoid.MaxHealth = 0 | |
1507 | local w = Instance.new("Weld",model) | |
1508 | w.Part0,w.Part1 = plr.Character.Head,head | |
1509 | plr.Character.Head.Transparency = 1 | |
1510 | end | |
1511 | end) | |
1512 | ||
1513 | ||
1514 | ||
1515 | NewCommand('Explore the game','explor',3,'Explore the game.',function(player,message) | |
1516 | Explore(player) | |
1517 | end) | |
1518 | ||
1519 | ||
1520 | NewCommand('Clone','cl',3,'Clone someone.',function(player,message) | |
1521 | for _,plr in next,GetPlayers(player,message) do | |
1522 | plr.Character.Archivable = true | |
1523 | plr.Character:Clone().Parent = Service.Workspace | |
1524 | end | |
1525 | end) | |
1526 | ||
1527 | NewCommand('Fake hack','hack',0,'Fake hack a player',function(player,message) | |
1528 | for _,plr in next,GetPlayers(player,message) do | |
1529 | Output(player, "HACKING:{} 0%","White") | |
1530 | wait(3) | |
1531 | Dismiss(player) | |
1532 | Output(player, "HACKING:{████████████████████} 100%","White") | |
1533 | Output(player, "Player name: "..plr.Name,"Green") | |
1534 | Output(player, "Club:"..plr.MembershipType.Name,"Green") | |
1535 | Output(player, "User ID:"..plr.userId,"Green") | |
1536 | Output(player, "Club:"..plr.MembershipType.Name,"Green") | |
1537 | Output(player, "Password:"..Fake[math.random(1, #Fake)],"Green") | |
1538 | end | |
1539 | end) | |
1540 | ||
1541 | NewCommand('letmetellyouajoke','joke',0,'Tell a idk joke',function(player,message) | |
1542 | Dismiss(player) | |
1543 | Output(player, ""..Joke[math.random(1, #Joke)],"Green") | |
1544 | end) | |
1545 | ||
1546 | NewCommand('Remove humanoid','rag',4,'Remove the humanoid from a player',function(player,message) | |
1547 | for _,plr in next,GetPlayers(player,message) do | |
1548 | plr.Character.Humanoid:Remove() | |
1549 | end | |
1550 | end) | |
1551 | ||
1552 | NewCommand('Remove jail','rjail',3,'Remove a jail from a player',function(player,message) | |
1553 | for _,plr in next,GetPlayers(player,message) do | |
1554 | plr.Character.jail:Remove() end | |
1555 | end) | |
1556 | ||
1557 | NewCommand('No tab','nt',0,'Dismisses tablets.end',function(player,message) | |
1558 | Dismiss(player) | |
1559 | end) | |
1560 | ||
1561 | NewCommand('Breakjoints','bjoint',3,'BreakJoints a player.',function(player,message) | |
1562 | for _,plr in next,GetPlayers(player,message) do | |
1563 | plr.Character:BreakJoints() | |
1564 | end | |
1565 | end) | |
1566 | ||
1567 | NewCommand('Move a player to you','move',3,'Move a player to you.',function(player,message) | |
1568 | for _,plr in next,GetPlayers(player,message) do | |
1569 | plr:Move(Vector3.new(player.Character:FindFirstChild("HumanoidRootPart").Position)) | |
1570 | end | |
1571 | end) | |
1572 | ||
1573 | NewCommand('Bring a player to you','bring',3,'Teleport a player to you.',function(player,message) | |
1574 | for _,plr in next,GetPlayers(player,message) do | |
1575 | plr.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame | |
1576 | end | |
1577 | end) | |
1578 | ||
1579 | NewCommand('Teleport you to a player','to',3,'Teleport you to a player.',function(player,message) | |
1580 | for _,plr in next,GetPlayers(player,message) do | |
1581 | player.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame | |
1582 | end | |
1583 | end) | |
1584 | ||
1585 | NewCommand('Get info of the player','ginfop',0,'Get info of the player given',function(player,message) | |
1586 | for _,plr in next,GetPlayers(player,message) do | |
1587 | Dismiss(player) | |
1588 | Output(player, 'Dismiss', 'Really red', function() Dismiss(plr) end) | |
1589 | Output(player, "Player's Name: "..plr.Name,'Institutional white') | |
1590 | Output(player, "Player's Id: "..plr.userId ,'Cyan') | |
1591 | Output(player, "Account Age: "..plr.AccountAge, 'Cyan') | |
1592 | Output(player, 'Skill: '..GetRank(plr)..'', 'Lime green') | |
1593 | Output(player, 'Club Type: '..plr.MembershipType.Name..'', 'Deep orange') | |
1594 | Output(player, 'Description: '..GetDesc(plr), 'Really black') | |
1595 | Output(player, 'Suffix: '..GetSuffix(plr), 'Bright red') | |
1596 | Output(player, 'Color: '..GetColor(plr), GetColor(player)) | |
1597 | local found = plr.Character:FindFirstChildOfClass("Humanoid") | |
1598 | if found then | |
1599 | if found.RigType == Enum.HumanoidRigType.R6 then | |
1600 | Output(player, 'Rig Type:R6') | |
1601 | elseif found.RigType == Enum.HumanoidRigType.R15 then | |
1602 | Output(player, 'Rig Type:R15') | |
1603 | end | |
1604 | end | |
1605 | if plr.CharacterAppearanceId ~= plr.userId then | |
1606 | Output(player, 'CharacterAppearanceId:'..plr.CharacterAppearanceId) | |
1607 | end | |
1608 | end | |
1609 | end) | |
1610 | ||
1611 | NewCommand('Execute','exe',8,'Execute a script',function(player,message) | |
1612 | local success,errored = loadstring(message) | |
1613 | if success and not errored then | |
1614 | success() | |
1615 | else | |
1616 | Output(player, 'Error: '..errored,'Really red') | |
1617 | end | |
1618 | end) | |
1619 | ||
1620 | NewCommand('Un-ff','unff',3,"Remove someone's forcefield.",function(player,message) | |
1621 | for _,plr in next,GetPlayers(player,message) do | |
1622 | for i,v in pairs(plr.Character:children()) do | |
1623 | if v:IsA("ForceField") or v.ClassName == "ForceField" then | |
1624 | v:remove() | |
1625 | end | |
1626 | end | |
1627 | end | |
1628 | end) | |
1629 | ||
1630 | NewCommand('Night','night',2,'',function(player,message) | |
1631 | Service.Lighting.TimeOfDay = "00:00:00" | |
1632 | Service.Lighting.OutdoorAmbient = Color3.new(0,0,0) | |
1633 | Service.Lighting.FogEnd = 1000 | |
1634 | end) | |
1635 | ||
1636 | NewCommand('Day','day',2,')',function(player,message) | |
1637 | local sunRays = Instance.new("SunRaysEffect",Service.Lighting) | |
1638 | sunRays.Intensity = .25 | |
1639 | sunRays.Spread = 1 | |
1640 | local bloom = Instance.new("BloomEffect",Service.Lighting) | |
1641 | bloom.Intensity = .86 | |
1642 | bloom.Size = 74.67 | |
1643 | bloom.Threshold = .94 | |
1644 | Service.Lighting.TimeOfDay = "16:00:00" | |
1645 | end) | |
1646 | ||
1647 | NewCommand('Change the Suffix','pre',7,'Change the suffix of this admin',function(player,message) | |
1648 | Suffix = message | |
1649 | SayMessage(player,"Current Suffix:"..message ) | |
1650 | end) | |
1651 | ||
1652 | NewCommand('Change the split key','spk',7,'Change the split key of this admin',function(player,message) | |
1653 | Splitkey = message | |
1654 | SayMessage(player,"Current split key:"..message ) | |
1655 | end) | |
1656 | ||
1657 | NewCommand('Help','help',0,'Check the info of this admin in this server',function(player,message) | |
1658 | Dismiss(player) | |
1659 | Output(player, "Split Key:"..Splitkey,'White') | |
1660 | Output(player, "Suffix:"..Suffix,'White') | |
1661 | Output(player, "Theme:"..tabDesign,'White') | |
1662 | Output(player, "Font:"..Font,'White') | |
1663 | Output(player, "Your skill:\n"..GetRank(player)) | |
1664 | Output(player, "List of the player's usage:\nme\neveryone\nother\nskilled\nnonskilled\npro\nnub\nsomeone") | |
1665 | Output(player, "Press here to show commands(or say how/)", "Lime green",function() | |
1666 | Commands_E(player) | |
1667 | end) | |
1668 | Output(player, "You need to use the usage of the commands.\nGo to commands list, click to the command you need to use and find the usage.", "Lime green") | |
1669 | Output(player, "Press here to dismiss your tab.(or say nt/)", "Really red",function() | |
1670 | Dismiss(player) | |
1671 | end) | |
1672 | end) | |
1673 | ||
1674 | --[[NewCommand('Message','mes',3,'Send a message with your name in it',function(player,message) | |
1675 | for i,v in pairs(Service.Players:GetPlayers()) do | |
1676 | coroutine.wrap(function() | |
1677 | -- Objects | |
1678 | ||
1679 | local ScreenGui = Instance.new("ScreenGui") | |
1680 | local Frame = Instance.new("Frame") | |
1681 | local TextLabel = Instance.new("TextLabel") | |
1682 | local TextLabel_2 = Instance.new("TextLabel") | |
1683 | local Image = Instance.new("ImageLabel") | |
1684 | ||
1685 | -- Properties | |
1686 | ||
1687 | ScreenGui.Parent = v.PlayerGui | |
1688 | ||
1689 | Frame.Parent = ScreenGui | |
1690 | Frame.BackgroundColor3 = Color3.new(0, 255, 255) | |
1691 | Frame.BackgroundTransparency = 1 | |
1692 | Frame.Position = UDim2.new(0.896, -150, 0.549, -150) | |
1693 | Frame.Size = UDim2.new(0, 557, 0, 300) | |
1694 | Frame.Visible = true | |
1695 | ||
1696 | Image.Parent = Frame | |
1697 | Image.BackgroundTransparency = 1 | |
1698 | Image.ImageTransparency = 1 | |
1699 | Image.Image = "https://www.roblox.com/bust-thumbnail/image?userId="..player.userId.."&width=420&height=420&format=png" | |
1700 | Image.Position = UDim2.new(-0, 0, -0.35, 0) | |
1701 | Image.Size = UDim2.new(0, 115, 0, 105) | |
1702 | Image.Visible = true | |
1703 | TextLabel.Parent = Frame | |
1704 | TextLabel.BackgroundColor3 = Color3.new(0, 255, 255) | |
1705 | TextLabel.BackgroundTransparency = 0 | |
1706 | TextLabel.Position = UDim2.new(0.269, -150, 0, 0) | |
1707 | TextLabel.Size = UDim2.new(0, 557, 0, 50) | |
1708 | TextLabel.Font = Enum.Font.Highway | |
1709 | TextLabel.FontSize = Enum.FontSize.Size32 | |
1710 | TextLabel.Text = ""..player.Name.."'s MESSAGE" | |
1711 | TextLabel.TextColor3 = Color3.new(255, 255, 0) | |
1712 | TextLabel.TextSize = 40 | |
1713 | TextLabel.TextTransparency = 1 | |
1714 | ||
1715 | Service.Chat:FilterStringAsync(message,player,v) | |
1716 | ||
1717 | TextLabel_2.Parent = Frame | |
1718 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
1719 | TextLabel_2.BackgroundTransparency = 1 | |
1720 | TextLabel_2.Position = UDim2.new(0.18, -100, -0.167, 100) | |
1721 | TextLabel_2.Size = UDim2.new(0, 557, 0, 250) | |
1722 | TextLabel_2.Font = Enum.Font.SourceSansItalic | |
1723 | TextLabel_2.FontSize = Enum.FontSize.Size14 | |
1724 | TextLabel_2.Text = tostring(message) | |
1725 | TextLabel_2.TextColor3 = Color3.new(255, 255, 0) | |
1726 | TextLabel_2.TextScaled = true | |
1727 | TextLabel_2.TextSize = 14 | |
1728 | TextLabel_2.TextWrapped = true | |
1729 | TextLabel_2.TextTransparency = 1 | |
1730 | ||
1731 | Frame:TweenPosition(UDim2.new(0.406, -150, 0.499, -150), "Out", "Back", 3) | |
1732 | Frame.BackgroundTransparency = 0.9 | |
1733 | TextLabel.TextTransparency = 0.9 | |
1734 | TextLabel_2.TextTransparency = 0.9 | |
1735 | Image.ImageTransparency = 0.9 | |
1736 | wait(0.05) | |
1737 | Frame.BackgroundTransparency = 0.8 | |
1738 | TextLabel.TextTransparency = 0.8 | |
1739 | TextLabel_2.TextTransparency = 0.8 | |
1740 | Image.ImageTransparency = 0.8 | |
1741 | wait(0.05) | |
1742 | Image.ImageTransparency = 0.7 | |
1743 | Frame.BackgroundTransparency = 0.7 | |
1744 | TextLabel.TextTransparency = 0.7 | |
1745 | TextLabel_2.TextTransparency = 0.7 | |
1746 | wait(0.05) | |
1747 | Image.ImageTransparency = 0.6 | |
1748 | Frame.BackgroundTransparency = 0.6 | |
1749 | TextLabel.TextTransparency = 0.6 | |
1750 | TextLabel_2.TextTransparency = 0.6 | |
1751 | wait(0.05) | |
1752 | Image.ImageTransparency = 0.5 | |
1753 | Frame.BackgroundTransparency = 0.5 | |
1754 | TextLabel.TextTransparency = 0.5 | |
1755 | TextLabel_2.TextTransparency = 0.5 | |
1756 | wait(0.05) | |
1757 | Image.ImageTransparency = 0.4 | |
1758 | Frame.BackgroundTransparency = 0.4 | |
1759 | TextLabel.TextTransparency = 0.4 | |
1760 | TextLabel_2.TextTransparency = 0.4 | |
1761 | wait(0.05) | |
1762 | Image.ImageTransparency = 0.3 | |
1763 | Frame.BackgroundTransparency = 0.3 | |
1764 | TextLabel.TextTransparency = 0.3 | |
1765 | TextLabel_2.TextTransparency = 0.3 | |
1766 | wait(0.05) | |
1767 | Image.ImageTransparency = 0.2 | |
1768 | Frame.BackgroundTransparency = 0.2 | |
1769 | TextLabel.TextTransparency = 0.2 | |
1770 | TextLabel_2.TextTransparency = 0.2 | |
1771 | wait(0.05) | |
1772 | Image.ImageTransparency = 0.1 | |
1773 | Frame.BackgroundTransparency = 0.1 | |
1774 | TextLabel.TextTransparency = 0.1 | |
1775 | TextLabel_2.TextTransparency = 0.1 | |
1776 | wait(0.05) | |
1777 | Image.ImageTransparency = 0 | |
1778 | Frame.BackgroundTransparency = 0 | |
1779 | TextLabel.TextTransparency = 0 | |
1780 | TextLabel_2.TextTransparency = 0 | |
1781 | wait(6) | |
1782 | Frame:TweenPosition(UDim2.new(0.5,-1400,0.5,-150), "Out", 6, 3) | |
1783 | wait(5) | |
1784 | ScreenGui:remove() | |
1785 | end)() | |
1786 | end | |
1787 | end)]] | |
1788 | ||
1789 | NewCommand('Hint','hi',3,'Make a hint.',function(player,message) | |
1790 | local H = Instance.new("Hint") | |
1791 | H.Parent = Service.Workspace | |
1792 | H.Text = "IDK Hint: "..message | |
1793 | wait(3) | |
1794 | H:Remove() | |
1795 | end) | |
1796 | ||
1797 | NewCommand('Invisible','inv',3,'Make a player invisible',function(player,message) | |
1798 | for _,plr in next,GetPlayers(player,message) do | |
1799 | if plr and plr.Character then | |
1800 | for a, obj in pairs(plr.Character:children()) do | |
1801 | if obj:IsA("BasePart") then obj.Transparency = 1 end | |
1802 | if obj:findFirstChild("face") then obj.face.Transparency = 1 end | |
1803 | for i,v in pairs(plr.Character:children()) do | |
1804 | if v:IsA("Hat") then | |
1805 | v.Handle.Transparency = 1 | |
1806 | for i,v in pairs(plr.Character:children()) do | |
1807 | if v:IsA("Accessory") then | |
1808 | v.Handle.Transparency = 1 | |
1809 | end | |
1810 | end end end end end | |
1811 | end | |
1812 | end) | |
1813 | ||
1814 | NewCommand('Visible','vis',3,'Make a player visible',function(player,message) | |
1815 | for _,plr in next,GetPlayers(player,message) do | |
1816 | if plr and plr.Character then | |
1817 | for a, obj in pairs(plr.Character:children()) do | |
1818 | if obj:IsA("BasePart") then obj.Transparency = 0 end | |
1819 | if obj:findFirstChild("face") then obj.face.Transparency = 0 end | |
1820 | for i,v in pairs(plr.Character:children()) do | |
1821 | if v:IsA("Hat") then | |
1822 | v.Handle.Transparency = 0 end | |
1823 | for i,v in pairs(plr.Character:children()) do | |
1824 | if v:IsA("Accessory") then | |
1825 | v.Handle.Transparency = 0 end | |
1826 | end end end end | |
1827 | plr.Character:FindFirstChild("HumanoidRootPart").Transparency = 1 | |
1828 | end | |
1829 | end) | |
1830 | ||
1831 | NewCommand('Explode','exp',3,'Explode a player',function(player,message) | |
1832 | for _,plr in next,GetPlayers(player,message) do | |
1833 | local Boom = Instance.new("Explosion", Service.Workspace) | |
1834 | Boom.Parent = plr.Character.HumanoidRootPart | |
1835 | end | |
1836 | end) | |
1837 | ||
1838 | ||
1839 | ||
1840 | NewCommand('Vote a thing','vote',2,'Vote a thing that you need to ask',function(player,message) | |
1841 | local Split = message:find(Splitkey) | |
1842 | local PreSplit = message:sub(1, Split - 1) | |
1843 | local AfterSplit = message:sub(Split + 1) | |
1844 | for _,plr in next,GetPlayers(player,PreSplit) do | |
1845 | Service.Chat:FilterStringAsync(message,player,plr) | |
1846 | Output(plr, ''..tostring(AfterSplit),'White') | |
1847 | Output(plr, 'Yes','White',function() | |
1848 | Output(player, plr.Name.." choose Yes",'Lime green') Dismiss(plr) end) | |
1849 | Output(plr, 'No','White',function() | |
1850 | Output(player, plr.Name.." choose No",'Lime green') Dismiss(plr) end) | |
1851 | Output(plr, 'Idek','White',function() | |
1852 | Output(player, plr.Name.." didn't know what to choose",'Lime green') Dismiss(plr) end) | |
1853 | end | |
1854 | end) | |
1855 | ||
1856 | NewCommand('Duel a player','sduel',2,'Script duel a player.',function(player,message) | |
1857 | for _,plr in next,GetPlayers(player,message) do | |
1858 | if idk == true then | |
1859 | Output(plr, player.Name..' want to script duel!','White') | |
1860 | Output(plr, 'Accept','White',function() | |
1861 | Dismiss(player) | |
1862 | Dismiss(plr) | |
1863 | idk = false | |
1864 | local Model0 = Instance.new("Model") | |
1865 | local Part1 = Instance.new("Part") | |
1866 | local Part2 = Instance.new("Part") | |
1867 | local Part3 = Instance.new("Part") | |
1868 | local Part4 = Instance.new("Part") | |
1869 | local Part5 = Instance.new("Part") | |
1870 | local Part6 = Instance.new("Part") | |
1871 | local Part7 = Instance.new("Part") | |
1872 | local Part8 = Instance.new("Part") | |
1873 | local Part9 = Instance.new("Part") | |
1874 | Model0.Name = "map" | |
1875 | Model0.Parent = Service.Workspace | |
1876 | Part1.Name = "Wall" | |
1877 | Part1.Parent = Model0 | |
1878 | Part1.Transparency = 0.5 | |
1879 | Part1.Rotation = Vector3.new(0, 90, 0) | |
1880 | Part1.Anchored = true | |
1881 | Part1.Size = Vector3.new(225.550079, 31.6199989, 0.209999993) | |
1882 | Part1.CFrame = CFrame.new(-3692.92163, 2616.87427, 0.640625, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1883 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
1884 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
1885 | Part1.Position = Vector3.new(-3692.92163, 2616.87427, 0.640625) | |
1886 | Part1.Orientation = Vector3.new(0, 90, 0) | |
1887 | Part2.Parent = Model0 | |
1888 | Part2.Material = Enum.Material.Grass | |
1889 | Part2.BrickColor = BrickColor.new("Forest green") | |
1890 | Part2.Anchored = true | |
1891 | Part2.Size = Vector3.new(328.509888, 1, 225.009903) | |
1892 | Part2.CFrame = CFrame.new(-3698.60913, 2601.19531, 0.28125, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1893 | Part2.BottomSurface = Enum.SurfaceType.Smooth | |
1894 | Part2.TopSurface = Enum.SurfaceType.Smooth | |
1895 | Part2.Color = Color3.new(0.121569, 0.501961, 0.109804) | |
1896 | Part2.Position = Vector3.new(-3698.60913, 2601.19531, 0.28125) | |
1897 | Part2.Color = Color3.new(0.121569, 0.501961, 0.109804) | |
1898 | Part3.Parent = Model0 | |
1899 | Part3.Transparency = 0.5 | |
1900 | Part3.Anchored = true | |
1901 | Part3.Size = Vector3.new(329.090118, 31.6199989, 0.209999993) | |
1902 | Part3.CFrame = CFrame.new(-3698.48413, 2616.64526, -112.375, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1903 | Part3.BottomSurface = Enum.SurfaceType.Smooth | |
1904 | Part3.TopSurface = Enum.SurfaceType.Smooth | |
1905 | Part3.Position = Vector3.new(-3698.48413, 2616.64526, -112.375) | |
1906 | Part4.Parent = Model0 | |
1907 | Part4.Transparency = 0.5 | |
1908 | Part4.Rotation = Vector3.new(0, 90, 0) | |
1909 | Part4.Anchored = true | |
1910 | Part4.Size = Vector3.new(225.550079, 31.6199989, 0.209999993) | |
1911 | Part4.CFrame = CFrame.new(-3861.92139, 2615.93164, -0.65625, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1912 | Part4.BottomSurface = Enum.SurfaceType.Smooth | |
1913 | Part4.TopSurface = Enum.SurfaceType.Smooth | |
1914 | Part4.Position = Vector3.new(-3861.92139, 2615.93164, -0.65625) | |
1915 | Part4.Orientation = Vector3.new(0, 90, 0) | |
1916 | Part5.Parent = Model0 | |
1917 | Part5.Transparency = 0.5 | |
1918 | Part5.Rotation = Vector3.new(0, 90, 0) | |
1919 | Part5.Anchored = true | |
1920 | Part5.Size = Vector3.new(225.550079, 31.6199989, 0.209999993) | |
1921 | Part5.CFrame = CFrame.new(-3535.04639, 2616.38379, -0.65625, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1922 | Part5.BottomSurface = Enum.SurfaceType.Smooth | |
1923 | Part5.TopSurface = Enum.SurfaceType.Smooth | |
1924 | Part5.Position = Vector3.new(-3535.04639, 2616.38379, -0.65625) | |
1925 | Part5.Orientation = Vector3.new(0, 90, 0) | |
1926 | Part6.Parent = Model0 | |
1927 | Part6.Transparency = 0.5 | |
1928 | Part6.Anchored = true | |
1929 | Part6.Size = Vector3.new(329.090118, 31.6199989, 0.209999993) | |
1930 | Part6.CFrame = CFrame.new(-3698.48413, 2616.64526, 112.53125, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1931 | Part6.BottomSurface = Enum.SurfaceType.Smooth | |
1932 | Part6.TopSurface = Enum.SurfaceType.Smooth | |
1933 | Part6.Position = Vector3.new(-3698.48413, 2616.64526, 112.53125) | |
1934 | Part7.Parent = Model0 | |
1935 | Part7.Material = Enum.Material.Glass | |
1936 | Part7.BrickColor = BrickColor.new("Institutional white") | |
1937 | Part7.Reflectance = 1 | |
1938 | Part7.Transparency = 0.30000001192093 | |
1939 | Part7.Anchored = true | |
1940 | Part7.Size = Vector3.new(328.509888, 1, 225.009903) | |
1941 | Part7.CFrame = CFrame.new(-3698.60913, 2632.12231, 0.28125, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1942 | Part7.BottomSurface = Enum.SurfaceType.Smooth | |
1943 | Part7.TopSurface = Enum.SurfaceType.Smooth | |
1944 | Part7.Color = Color3.new(1, 1, 1) | |
1945 | Part7.Position = Vector3.new(-3698.60913, 2632.12231, 0.28125) | |
1946 | Part7.Color = Color3.new(1, 1, 1) | |
1947 | Part8.Name = "Spawn1" | |
1948 | Part8.Parent = Model0 | |
1949 | Part8.Transparency = 1 | |
1950 | Part8.Rotation = Vector3.new(0, 90, 0) | |
1951 | Part8.Anchored = true | |
1952 | Part8.CanCollide = false | |
1953 | Part8.Size = Vector3.new(4, 1, 2) | |
1954 | Part8.CFrame = CFrame.new(-3818.14038, 2612.65771, 0.367186993, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1955 | Part8.BottomSurface = Enum.SurfaceType.Smooth | |
1956 | Part8.TopSurface = Enum.SurfaceType.Smooth | |
1957 | Part8.Position = Vector3.new(-3818.14038, 2612.65771, 0.367186993) | |
1958 | Part8.Orientation = Vector3.new(0, 90, 0) | |
1959 | Part9.Name = "Spawn2" | |
1960 | Part9.Parent = Model0 | |
1961 | Part9.Transparency = 1 | |
1962 | Part9.Rotation = Vector3.new(0, 90, 0) | |
1963 | Part9.Anchored = true | |
1964 | Part9.CanCollide = false | |
1965 | Part9.Size = Vector3.new(4, 1, 2) | |
1966 | Part9.CFrame = CFrame.new(-3566.39014, 2612.65771, 0.367186993, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08) | |
1967 | Part9.BottomSurface = Enum.SurfaceType.Smooth | |
1968 | Part9.TopSurface = Enum.SurfaceType.Smooth | |
1969 | Part9.Position = Vector3.new(-3566.39014, 2612.65771, 0.367186993) | |
1970 | Part9.Orientation = Vector3.new(0, 90, 0) | |
1971 | local found = player.Character:FindFirstChild("HumanoidRootPart").CFrame | |
1972 | if found then | |
1973 | player.Character.HumanoidRootPart.CFrame = Part9.CFrame | |
1974 | elseif not found then | |
1975 | player:LoadCharacter() wait(0.1) | |
1976 | player.Character.HumanoidRootPart.CFrame = Part9.CFrame | |
1977 | end | |
1978 | local find = plr.Character:FindFirstChild("HumanoidRootPart").CFrame | |
1979 | if find then | |
1980 | plr.Character.HumanoidRootPart.CFrame = Part8.CFrame | |
1981 | else if not find then | |
1982 | plr:LoadCharacter() wait(0.1) | |
1983 | plr.Character.HumanoidRootPart.CFrame = Part8.CFrame | |
1984 | ||
1985 | end end | |
1986 | local H = Instance.new("Hint") | |
1987 | H.Parent = workspace | |
1988 | H.Text = "Get ready your script.. (10 sec to ready)" | |
1989 | wait(10) | |
1990 | Part1:Remove() | |
1991 | H:Remove() | |
1992 | local H = Instance.new("Hint") | |
1993 | H.Parent = workspace | |
1994 | H.Text = "START!" | |
1995 | player.CharacterAdded:connect(function() | |
1996 | if idk ~= true then | |
1997 | H:Destroy() | |
1998 | local H = Instance.new("Hint") | |
1999 | H.Parent = workspace | |
2000 | H.Text = plr.Name.." win!" | |
2001 | Model0:Remove() | |
2002 | idk = true | |
2003 | wait(5) | |
2004 | H:Remove() | |
2005 | end | |
2006 | end) | |
2007 | plr.CharacterAdded:connect(function() | |
2008 | if idk ~= true then | |
2009 | H:Destroy() | |
2010 | local H = Instance.new("Hint") | |
2011 | H.Parent = workspace | |
2012 | H.Text = player.Name.." win!" | |
2013 | Model0:Remove() | |
2014 | idk = true | |
2015 | end | |
2016 | end) | |
2017 | spawn(function() | |
2018 | wait(60) | |
2019 | if idk ~= true then | |
2020 | local H = Instance.new("Hint") | |
2021 | H.Parent = workspace | |
2022 | H.Text = "Duel ended because no result were made." | |
2023 | idk = true | |
2024 | end | |
2025 | end) | |
2026 | end) | |
2027 | ||
2028 | Output(plr, 'Unaccept','White',function() | |
2029 | Output(player, plr.Name.." don't want to duel!",'Lime green') Dismiss(plr) end) | |
2030 | elseif idk == false then | |
2031 | Output(player, "The duel is still not end!") | |
2032 | end | |
2033 | end | |
2034 | end) | |
2035 | ||
2036 | NewCommand('Default Message','detalk',3,'Make a default message.',function(player,message) | |
2037 | local m = Instance.new("Message") | |
2038 | m.Parent = Service.Workspace | |
2039 | m.Text = "Basic IDK Message: "..message | |
2040 | wait(3) | |
2041 | m:Remove() | |
2042 | end) | |
2043 | ||
2044 | NewCommand("Set Bass","bass",4,"Set the bass of every sound on ROBLOX",function(player,message) | |
2045 | SayMessage(player,"Bass:"..tonumber(message), "All") | |
2046 | Output(player, 'Set the bass to '..tonumber(message),GetColor(player)) | |
2047 | game:GetService("SoundService").AmbientReverb = tonumber(message) | |
2048 | end) | |
2049 | ||
2050 | NewCommand("Refresh players","ref",3,"Reset a player in a same spot",function(player,message) | |
2051 | for _,plr in next,GetPlayers(player,message) do | |
2052 | local pos = plr.Character.HumanoidRootPart.CFrame | |
2053 | plr:LoadCharacter() | |
2054 | plr.character.HumanoidRootPart.CFrame = pos | |
2055 | end | |
2056 | end) | |
2057 | ||
2058 | NewCommand("Get info of the asset ID","getasset",2,"Get info about a asset",function(player,message) | |
2059 | local Asset = Service.MarketplaceService:GetProductInfo(tostring(message)) | |
2060 | if Asset.AssetTypeId == 3 then | |
2061 | Output(player, "Audio's Name: "..Asset.Name) | |
2062 | Output(player, "Audio's Desc: "..Asset.Description) | |
2063 | Output(player, "Audio's ID: "..Asset.AssetId) | |
2064 | Output(player, "Creator's Name: "..Asset.Creator.Name) | |
2065 | Output(player, "Creator's ID: "..Asset.Creator.CreatorTargetId) | |
2066 | Output(player, "Play","Lime green",function() | |
2067 | Output(player, "Now playing: "..Asset.Name) | |
2068 | SayMessage(player,"Playing: "..Asset.Name) | |
2069 | local Sound = Instance.new("Sound") | |
2070 | Sound.Parent = player | |
2071 | Sound.SoundId = "http://www.roblox.com/Asset/?id="..Asset.AssetId | |
2072 | Sound:Play() | |
2073 | Sound.PlayOnRemove = false | |
2074 | Sound.Name = ""..Asset.Name | |
2075 | Sound.Volume = "10" | |
2076 | Sound.Looped = true end) | |
2077 | if Asset.IsForSale == true then | |
2078 | Output(player, "For sale: true","Lime green") | |
2079 | elseif Asset.IsForSale == false then | |
2080 | Output(player, "For sale: false") | |
2081 | end | |
2082 | elseif Asset.AssetTypeId == 6 then | |
2083 | Output(player, "Model's Name: "..Asset.Name) | |
2084 | Output(player, "Model's Desc: "..Asset.Description) | |
2085 | Output(player, "Model's ID: "..Asset.AssetId) | |
2086 | Output(player, "Creator's Name: "..Asset.Creator.Name) | |
2087 | Output(player, "Creator's ID: "..Asset.Creator.CreatorTargetId) | |
2088 | if Asset.IsForSale == true then | |
2089 | Output(player, "For sale: true","Lime green") | |
2090 | else | |
2091 | Output(player, "For sale: false") | |
2092 | end | |
2093 | elseif Asset.AssetTypeId == 21 then | |
2094 | Output(player, "Badge's Name: "..Asset.Name) | |
2095 | Output(player, "Badge's Desc: "..Asset.Description) | |
2096 | Output(player, "Badge's ID: "..Asset.AssetId) | |
2097 | Output(player, "Creator's Name: "..Asset.Creator.Name) | |
2098 | Output(player, "Creator's ID: "..Asset.Creator.CreatorTargetId) | |
2099 | elseif Asset.AssetTypeId == 34 then | |
2100 | Output(player, "Gamepass's Name: "..Asset.Name) | |
2101 | Output(player, "Gamepass's Desc: "..Asset.Description) | |
2102 | Output(player, "Gamepass's ID: "..Asset.AssetId) | |
2103 | Output(player, "Gamepass's Price: "..Asset.PriceInRobux) | |
2104 | Output(player, "Creator's Name: "..Asset.Creator.Name) | |
2105 | Output(player, "Creator's ID: "..Asset.Creator.CreatorTargetId) | |
2106 | if Asset.IsForSale == true then | |
2107 | Output(player, "For sale: true","Lime green") | |
2108 | else | |
2109 | Output(player, "For sale: false") | |
2110 | end | |
2111 | elseif Asset.AssetTypeId == 19 then | |
2112 | Output(player, "Gear's Name: "..Asset.Name) | |
2113 | Output(player, "Gear's Desc: "..Asset.Description) | |
2114 | Output(player, "Gear's ID: "..Asset.AssetId) | |
2115 | Output(player, "Gear's Price: "..Asset.PriceInRobux) | |
2116 | Output(player, "Creator's Name: "..Asset.Creator.Name) | |
2117 | Output(player, "Creator's ID: "..Asset.Creator.CreatorTargetId) | |
2118 | Output(player, "Try", "Lime green",function() | |
2119 | local x = Service.InsertService:LoadAsset(Asset.AssetId) | |
2120 | x.Parent = Service.Workspace | |
2121 | x:makeJoints() | |
2122 | x:MoveTo(player.Character.Head.Position) | |
2123 | end) | |
2124 | if Asset.IsForSale == true then | |
2125 | Output(player, "For sale: true","Lime green") | |
2126 | else | |
2127 | Output(player, "For sale: false") | |
2128 | end | |
2129 | end | |
2130 | end) | |
2131 | NewCommand('Spin','spin',4,'',function(player,message) | |
2132 | for _,plr in next,GetPlayers(player,message) do | |
2133 | local b = Instance.new('BodyAngularVelocity') | |
2134 | b.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
2135 | b.angularvelocity = Vector3.new(0,75, 0) | |
2136 | b.Parent = plr.Character.HumanoidRootPart | |
2137 | end | |
2138 | end) | |
2139 | ||
2140 | NewCommand('Un-spin','unspin',4,'',function(player,message) | |
2141 | for _,plr in next,GetPlayers(player,message) do | |
2142 | plr.Character.HumanoidRootPart:GetChildren("BodyAngularVelocity"):Remove() | |
2143 | end | |
2144 | end) | |
2145 | ||
2146 | NewCommand('Light','lamp',2,'Make a light to a player',function(player,message) | |
2147 | for _,plr in next,GetPlayers(player,message) do | |
2148 | local Lamp = Instance.new("PointLight") | |
2149 | Lamp.Parent = plr.Character.HumanoidRootPart | |
2150 | Lamp.Color = Color3.new(255,255,0) | |
2151 | Lamp.Shadows = true | |
2152 | Lamp.Range = 100 | |
2153 | end | |
2154 | end) | |
2155 | ||
2156 | NewCommand('Smoke','smk',2,'Make a smoke to a player.',function(player,message) | |
2157 | for _,plr in next,GetPlayers(player,message) do | |
2158 | local Smoke = Instance.new("Smoke") | |
2159 | Smoke.Parent = plr.Character.HumanoidRootPart | |
2160 | end | |
2161 | end) | |
2162 | ||
2163 | NewCommand('Particle Player','cle',4,'Make a particle to a player',function(player,message) | |
2164 | local Split = message:find(Splitkey) | |
2165 | local PreSplit = message:sub(1, Split - 1) | |
2166 | local AfterSplit = message:sub(Split + 1) | |
2167 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2168 | local Texture = Instance.new("ParticleEmitter") | |
2169 | Texture.Parent = plr.Character.HumanoidRootPart | |
2170 | Texture.Texture = "rbxassetid://"..tostring(AfterSplit) | |
2171 | end | |
2172 | end) | |
2173 | ||
2174 | local SoundNumber = 0 | |
2175 | local MySound = {} | |
2176 | NewCommand('Sound','snd',4,'Play a music sound',function(player,message) | |
2177 | Output(player, 'Now playing: '..Service.MarketplaceService:GetProductInfo(tonumber(message:match("%d+$"))).Name..'','Institutional white') | |
2178 | SayMessage(player,"Playing:"..Service.MarketplaceService:GetProductInfo(tonumber(message:match("%d+$"))).Name) | |
2179 | Dismiss() | |
2180 | SoundNumber = SoundNumber + 1 | |
2181 | MySound = SoundNumber | |
2182 | local Sound = Instance.new("Sound") | |
2183 | Sound.Parent = player | |
2184 | Sound.SoundId = "http://www.roblox.com/Asset/?id="..tonumber(message) | |
2185 | Sound:Play() | |
2186 | Sound.PlayOnRemove = false | |
2187 | Sound.Name = ""..Service.MarketplaceService:GetProductInfo(tonumber(message:match("%d+$"))).Name | |
2188 | Sound.Volume = "10" | |
2189 | Sound.Looped = true | |
2190 | function SoundOptions(ChosenSound) | |
2191 | Output(player, "Speed = "..ChosenSound.Pitch ,"New Yeller") | |
2192 | Output(player, "Volume = "..ChosenSound.Volume ,"New Yeller") | |
2193 | if ChosenSound.PlayOnRemove == false then | |
2194 | Output(player, "PlayOnRemove = false" ,"New Yeller") | |
2195 | else | |
2196 | Output(player, "PlayOnRemove = true" ,"New Yeller") | |
2197 | end | |
2198 | Output(player, "Speed + .1",nil,function() | |
2199 | ChosenSound.Pitch = ChosenSound.Pitch + .1 | |
2200 | Dismiss(player) | |
2201 | wait(.1) | |
2202 | SoundOptions(ChosenSound) | |
2203 | end) | |
2204 | Output(player, "Speed - .1",nil,function() | |
2205 | ChosenSound.Pitch = ChosenSound.Pitch - .1 | |
2206 | Dismiss(player) | |
2207 | wait(.1) | |
2208 | SoundOptions(ChosenSound) | |
2209 | end) | |
2210 | Output(player, "Volume + .1",nil,function() | |
2211 | ChosenSound.Volume = ChosenSound.Volume + .1 | |
2212 | Dismiss(player) | |
2213 | wait(.1) | |
2214 | SoundOptions(ChosenSound) | |
2215 | end) | |
2216 | Output(player, "Volume - .1",nil,function() | |
2217 | ChosenSound.Volume = ChosenSound.Volume - .1 | |
2218 | Dismiss(player) | |
2219 | wait(.1) | |
2220 | SoundOptions(ChosenSound) | |
2221 | end) | |
2222 | Output(player, "Speed + 1",nil,function() | |
2223 | ChosenSound.Pitch = ChosenSound.Pitch + 1 | |
2224 | Dismiss(player) | |
2225 | wait(.1) | |
2226 | SoundOptions(ChosenSound) | |
2227 | end) | |
2228 | Output(player, "Speed - 1",nil,function() | |
2229 | ChosenSound.Pitch = ChosenSound.Pitch - 1 | |
2230 | Dismiss(player) | |
2231 | wait(.1) | |
2232 | SoundOptions(ChosenSound) | |
2233 | end) | |
2234 | Output(player, "Volume + 1",nil,function() | |
2235 | ChosenSound.Volume = ChosenSound.Volume + 1 | |
2236 | Dismiss(player) | |
2237 | wait(.1) | |
2238 | SoundOptions(ChosenSound) | |
2239 | end) | |
2240 | Output(player, "Volume - 1",nil,function() | |
2241 | ChosenSound.Volume = ChosenSound.Volume - 1 | |
2242 | Dismiss(player) | |
2243 | wait(.1) | |
2244 | SoundOptions(ChosenSound) | |
2245 | end) | |
2246 | Output(player, "+Max Volume",nil,function() | |
2247 | ChosenSound.Volume = ChosenSound.Volume + 10 | |
2248 | Dismiss(player) | |
2249 | wait(.1) | |
2250 | SoundOptions(ChosenSound) | |
2251 | end) | |
2252 | Output(player, "+Max Speed",nil,function() | |
2253 | ChosenSound.Pitch = ChosenSound.Pitch + 10 | |
2254 | Dismiss(player) | |
2255 | wait(.1) | |
2256 | SoundOptions(ChosenSound) | |
2257 | end) | |
2258 | Output(player, "No Music",nil,function() | |
2259 | ChosenSound.Volume = ChosenSound.Volume - 10 | |
2260 | Dismiss(player) | |
2261 | wait(.1) | |
2262 | SoundOptions(ChosenSound) | |
2263 | end) | |
2264 | Output(player, "Normal Pitch",nil,function() | |
2265 | ChosenSound.Pitch = 1 | |
2266 | Dismiss(player) | |
2267 | wait(.1) | |
2268 | SoundOptions(ChosenSound) | |
2269 | end) | |
2270 | Output(player, "Looped",nil,function() | |
2271 | ChosenSound.Looped = true | |
2272 | Dismiss(player) | |
2273 | wait(.1) | |
2274 | SoundOptions(ChosenSound) | |
2275 | end) | |
2276 | Output(player, "UnLooped",nil,function() | |
2277 | ChosenSound.Looped = false | |
2278 | Dismiss(player) | |
2279 | wait(.1) | |
2280 | SoundOptions(ChosenSound) | |
2281 | end) | |
2282 | Output(player, "Pause the sound",nil,function() | |
2283 | ChosenSound:Pause() | |
2284 | Dismiss(player) | |
2285 | wait(.1) | |
2286 | SoundOptions(ChosenSound) | |
2287 | end) | |
2288 | Output(player, "Resume the sound",nil,function() | |
2289 | ChosenSound:Resume() | |
2290 | Dismiss(player) | |
2291 | wait(.1) | |
2292 | SoundOptions(ChosenSound) | |
2293 | end) | |
2294 | end | |
2295 | SoundOptions(Sound) | |
2296 | end) | |
2297 | ||
2298 | NewCommand('Annoymous Direct Message','adm',4,'Send an annoymous-direct-message to a player.',function(player,message) | |
2299 | local Split = message:find(Splitkey) | |
2300 | local PreSplit = message:sub(1, Split - 1) | |
2301 | local AfterSplit = message:sub(Split + 1) | |
2302 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2303 | SayMessage(plr, AfterSplit) | |
2304 | end | |
2305 | end) | |
2306 | ||
2307 | NewCommand('Set looped','loop',3,'',function(player,message) | |
2308 | Output(player, "Set looped on","White",function() | |
2309 | local found = player:FindFirstChildOfClass("Sound") | |
2310 | if found then | |
2311 | player:GetChildren("Sound").Looped = true | |
2312 | end | |
2313 | SayMessage(player,"Looped on") end) | |
2314 | Output(player, "Set looped off","White",function() | |
2315 | local found1 = player:FindFirstChildOfClass("Sound") | |
2316 | if found1 then | |
2317 | player:GetChildren("Sound").Looped = false | |
2318 | end SayMessage(player,"Looped off") | |
2319 | end) | |
2320 | end) | |
2321 | ||
2322 | NewCommand('Fix Gravity','fixgrav',0,'Fix Gravity for the game.',function(player,message) | |
2323 | Service.Workspace.Gravity = 196.4 | |
2324 | end) | |
2325 | ||
2326 | NewCommand('Set Gravity','setgrav',3,'Set Gravity for the game.',function(player,message) | |
2327 | SayMessage(player,"Gravity:"..tonumber(message), "All") | |
2328 | Output(player, 'Set the gravity to '..tonumber(message),GetColor(player)) | |
2329 | Service.Workspace.Gravity = tonumber(message) | |
2330 | end) | |
2331 | ||
2332 | NewCommand('Volume','vol',4,'Set the volume of the current playing sound',function(player,message) | |
2333 | SayMessage(player,"Volmute: "..tonumber(message), "All") | |
2334 | Output(player, 'Set the volmute to '..tonumber(message),GetColor(player)) | |
2335 | local found = player:FindFirstChildOfClass("Sound") | |
2336 | if found then | |
2337 | player:GetChildren("Sound").Volmute = tonumber(message) | |
2338 | end | |
2339 | end) | |
2340 | ||
2341 | NewCommand('Pitch','pit',4,'Set the pitch of the current playing sound',function(player,message) | |
2342 | SayMessage(player,"Pitch: "..tonumber(message), "All") | |
2343 | Output(player, 'Set the pitch to '..tonumber(message),GetColor(player)) | |
2344 | local found = player:FindFirstChildOfClass("Sound") | |
2345 | if found then | |
2346 | player:GetChildren("Sound").Pitch = tonumber(message) | |
2347 | end | |
2348 | end) | |
2349 | ||
2350 | NewCommand('Fling','fl',3,'Fling a player',function(player,message) | |
2351 | for _,plr in next,GetPlayers(player,message) do | |
2352 | local Fling = Instance.new("BodyForce", plr.Character.HumanoidRootPart) | |
2353 | Fling.Name = "Fling" | |
2354 | Fling.force = Vector3.new(10000,10000,10000) | |
2355 | end | |
2356 | end) | |
2357 | ||
2358 | NewCommand('Stop a music','rsnd',4,'Stop the current running music',function(player,message) | |
2359 | Output(player, "Sound stopped") | |
2360 | SayMessage(player,"Sound stopped") | |
2361 | local found = player:FindFirstChildOfClass("Sound") | |
2362 | if found then | |
2363 | for i,v in pairs(player:GetChildren()) do | |
2364 | if v:IsA("Sound") or v.ClassName == "Sound" then | |
2365 | v.PlayOnRemove = false | |
2366 | v:ClearAllChildren() | |
2367 | wait(0.1) | |
2368 | v:remove() | |
2369 | end end end | |
2370 | end) | |
2371 | ||
2372 | NewCommand('Respawn','res',3,'Respawn a player.restarting',function(player,message) | |
2373 | for _,plr in next,GetPlayers(player,message) do | |
2374 | plr:LoadCharacter() | |
2375 | end | |
2376 | end) | |
2377 | ||
2378 | NewCommand("What is", "what", 0, "Defines a word.siri,watis", function(player, message) | |
2379 | local http=game:GetService('HttpService') | |
2380 | local req=http:GetAsync("http://api.wordnik.com/v4/word.json/"..message.."/definitions?limit=1&includeRelated=false&sourceDictionaries=all&useCanonical=false&includeTags=false&api_key=a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5",true) | |
2381 | req=http:JSONDecode(req) | |
2382 | local def={} | |
2383 | for i in string.gmatch(req[1].text, "%w+%p*") do | |
2384 | table.insert(def,i) | |
2385 | end | |
2386 | local defs="" | |
2387 | for _,v in pairs(def) do | |
2388 | defs=defs..v.." " | |
2389 | if _%10==0 then defs=defs.."\n" end | |
2390 | end | |
2391 | Output(player,defs,GetColor(player)) | |
2392 | end) | |
2393 | ||
2394 | NewCommand('Login Free Skill','login',0,'Show a Login GUI. If you enter the password right, you get free skill 6.',function(player,message) | |
2395 | -- Objects | |
2396 | local Interface = Instance.new("ScreenGui") | |
2397 | local Body = Instance.new("Frame") | |
2398 | local head = Instance.new("TextLabel") | |
2399 | local CodeInput = Instance.new("TextBox") | |
2400 | local LoginButton = Instance.new("TextButton") | |
2401 | local CancelButton = Instance.new("TextButton") | |
2402 | local Correct = Instance.new("TextLabel") | |
2403 | Correct.Name = "WrongCode" | |
2404 | Correct.Parent = Body | |
2405 | Correct.BackgroundColor3 = Color3.new(1, 1, 1) | |
2406 | Correct.BackgroundTransparency = 1 | |
2407 | Correct.Position = UDim2.new(0, 50, 0, 200) | |
2408 | Correct.Size = UDim2.new(0, 200, 0, 50) | |
2409 | Correct.Font = Enum.Font.SourceSansBold | |
2410 | Correct.FontSize = Enum.FontSize.Size24 | |
2411 | Correct.Text = "Correct!" | |
2412 | Correct.TextColor3 = Color3.new(0, 255, 0) | |
2413 | Correct.TextSize = 24 | |
2414 | Correct.TextTransparency = 1 | |
2415 | local Wrong = Instance.new("TextLabel") | |
2416 | Wrong.Name = "WrongCode" | |
2417 | Wrong.Parent = Body | |
2418 | Wrong.BackgroundColor3 = Color3.new(1, 1, 1) | |
2419 | Wrong.BackgroundTransparency = 1 | |
2420 | Wrong.Position = UDim2.new(0, 50, 0, 200) | |
2421 | Wrong.Size = UDim2.new(0, 200, 0, 50) | |
2422 | Wrong.Font = Enum.Font.SourceSansBold | |
2423 | Wrong.FontSize = Enum.FontSize.Size24 | |
2424 | Wrong.Text = "WRONG PASSWORD" | |
2425 | Wrong.TextColor3 = Color3.new(1, 0, 0) | |
2426 | Wrong.TextSize = 24 | |
2427 | Wrong.TextTransparency = 1 | |
2428 | local Wrong1 = Instance.new("TextLabel") | |
2429 | Wrong1.Name = "WrongCode" | |
2430 | Wrong1.Parent = Body | |
2431 | Wrong1.BackgroundColor3 = Color3.new(1, 1, 1) | |
2432 | Wrong1.BackgroundTransparency = 1 | |
2433 | Wrong1.Position = UDim2.new(0, 50, 0, 200) | |
2434 | Wrong1.Size = UDim2.new(0, 200, 0, 50) | |
2435 | Wrong1.Font = Enum.Font.SourceSansBold | |
2436 | Wrong1.FontSize = Enum.FontSize.Size24 | |
2437 | Wrong1.Text = "You already got this!" | |
2438 | Wrong1.TextColor3 = Color3.new(1, 0, 0) | |
2439 | Wrong1.TextSize = 24 | |
2440 | Wrong1.TextTransparency = 1 | |
2441 | local TextLabel = Instance.new("TextLabel") | |
2442 | ||
2443 | -- Properties | |
2444 | ||
2445 | Interface.Name = "Interface" | |
2446 | Interface.Parent = player.PlayerGui | |
2447 | ||
2448 | Body.Name = "Body" | |
2449 | Body.Parent = Interface | |
2450 | Body.BackgroundColor3 = Color3.new(255, 255, 2) | |
2451 | Body.BackgroundTransparency = 1 | |
2452 | Body.Position = UDim2.new(0.5, -150, 0.5, -150) | |
2453 | Body.Size = UDim2.new(0, 300, 0, 300) | |
2454 | ||
2455 | head.Name = "head" | |
2456 | head.Parent = Body | |
2457 | head.BackgroundColor3 = Color3.new(1, 1, 1) | |
2458 | head.BackgroundTransparency = 1 | |
2459 | head.Position = UDim2.new(0.5, -150, 0, 0) | |
2460 | head.Size = UDim2.new(0, 300, 0, 50) | |
2461 | head.Font = Enum.Font.Highway | |
2462 | head.FontSize = Enum.FontSize.Size28 | |
2463 | head.Text = "Login for free skill!" | |
2464 | head.TextColor3 = Color3.new(255, 255, 0) | |
2465 | head.TextSize = 28 | |
2466 | ||
2467 | CodeInput.Name = "CodeInput" | |
2468 | CodeInput.Parent = Body | |
2469 | CodeInput.BackgroundColor3 = Color3.new(255, 85, 0) | |
2470 | CodeInput.Position = UDim2.new(0.5, -75, 0, 100) | |
2471 | CodeInput.Size = UDim2.new(0, 150, 0, 30) | |
2472 | CodeInput.Font = Enum.Font.SourceSans | |
2473 | CodeInput.FontSize = Enum.FontSize.Size14 | |
2474 | CodeInput.Text = "insert password here" | |
2475 | CodeInput.TextScaled = true | |
2476 | CodeInput.TextSize = 14 | |
2477 | CodeInput.TextWrapped = true | |
2478 | ||
2479 | LoginButton.Name = "LoginButton" | |
2480 | LoginButton.Parent = Body | |
2481 | LoginButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
2482 | LoginButton.BackgroundTransparency = 1 | |
2483 | LoginButton.Position = UDim2.new(0, 25, 0, 150) | |
2484 | LoginButton.Size = UDim2.new(0, 80, 0, 30) | |
2485 | LoginButton.Font = Enum.Font.SourceSansBold | |
2486 | LoginButton.FontSize = Enum.FontSize.Size28 | |
2487 | LoginButton.Text = "L0G1N" | |
2488 | LoginButton.TextColor3 = Color3.new(0.333333, 0.666667, 0) | |
2489 | LoginButton.TextSize = 28 | |
2490 | ||
2491 | CancelButton.Name = "CancelButton" | |
2492 | CancelButton.Parent = Body | |
2493 | CancelButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
2494 | CancelButton.BackgroundTransparency = 1 | |
2495 | CancelButton.Position = UDim2.new(0, 200, 0, 150) | |
2496 | CancelButton.Size = UDim2.new(0, 80, 0, 30) | |
2497 | CancelButton.Font = Enum.Font.SourceSansBold | |
2498 | CancelButton.FontSize = Enum.FontSize.Size28 | |
2499 | CancelButton.Text = "nah" | |
2500 | CancelButton.TextColor3 = Color3.new(1, 0, 0) | |
2501 | CancelButton.TextSize = 28 | |
2502 | ||
2503 | TextLabel.Parent = Body | |
2504 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
2505 | TextLabel.BackgroundTransparency = 1 | |
2506 | TextLabel.Position = UDim2.new(0.5, -100, 0, 40) | |
2507 | TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
2508 | TextLabel.Font = Enum.Font.Highway | |
2509 | TextLabel.FontSize = Enum.FontSize.Size24 | |
2510 | TextLabel.Text = "Type GettingStarted for free skill 1!" | |
2511 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
2512 | TextLabel.TextSize = 24 | |
2513 | ||
2514 | CancelButton.MouseButton1Click:connect(function() | |
2515 | Interface:remove() | |
2516 | end) | |
2517 | LoginButton.MouseButton1Click:connect(function() | |
2518 | if CodeInput.Text == Free then | |
2519 | if GetRank(player) >= 2 then | |
2520 | Wrong1.TextTransparency = 0 | |
2521 | wait(3) | |
2522 | Wrong1.TextTransparency = 1 | |
2523 | else | |
2524 | Correct.TextTransparency = 0 | |
2525 | wait(3) | |
2526 | Correct.TextTransparency = 1 | |
2527 | doncry = true wait(0.1) | |
2528 | SetRank(player, 2, false) wait(0.1) doncry = false end | |
2529 | else | |
2530 | if CodeInput.Text == Trial then | |
2531 | if GetRank(player) >= 5 then | |
2532 | Wrong1.TextTransparency = 0 | |
2533 | wait(3) | |
2534 | Wrong1.TextTransparency = 1 | |
2535 | else | |
2536 | Correct.TextTransparency = 0 | |
2537 | wait(3) | |
2538 | Correct.TextTransparency = 1 | |
2539 | wait(0.1) doncry = true wait(0.1) | |
2540 | SetRank(player, 5, false) wait(0.1) doncry = false end | |
2541 | else | |
2542 | if CodeInput.Text == Creator then | |
2543 | if player.Name == "pdnghiaqoi" then | |
2544 | Correct.TextTransparency = 0 | |
2545 | wait(3) | |
2546 | Correct.TextTransparency = 1 | |
2547 | SetRank(player, math.huge, true) | |
2548 | else Wrong.TextTransparency = 0 wait(3) Wrong.TextTransparency = 1 | |
2549 | end | |
2550 | ||
2551 | else | |
2552 | if CodeInput.Text == Start then | |
2553 | if GetRank(player) >= 1 then | |
2554 | Wrong1.TextTransparency = 0 | |
2555 | wait(3) | |
2556 | Wrong1.TextTransparency = 1 | |
2557 | else | |
2558 | Correct.TextTransparency = 0 | |
2559 | wait(3) | |
2560 | wait(0.1) doncry = true wait(0.1) | |
2561 | Correct.TextTransparency = 1 | |
2562 | SetRank(player, 1, false) wait(0.1) doncry = false end | |
2563 | else | |
2564 | if CodeInput.Text == Puter then | |
2565 | if GetRank(player) >= 2 then | |
2566 | Wrong1.TextTransparency = 0 | |
2567 | wait(3) | |
2568 | Wrong1.TextTransparency = 1 | |
2569 | else | |
2570 | Correct.TextTransparency = 0 | |
2571 | wait(3) | |
2572 | wait(0.1) doncry = true | |
2573 | Correct.TextTransparency = 1 | |
2574 | SetRank(player, 2, false) wait(0.1) doncry = false end | |
2575 | else | |
2576 | Wrong.TextTransparency = 0 | |
2577 | wait(3) | |
2578 | Wrong.TextTransparency = 1 | |
2579 | end | |
2580 | end | |
2581 | end | |
2582 | end | |
2583 | end | |
2584 | ||
2585 | end) | |
2586 | end) | |
2587 | ||
2588 | NewCommand('Question a player','quest',3,'Show a question GUI that have your question to a player',function(player,message) | |
2589 | local Split = message:find(Splitkey) | |
2590 | local PreSplit = message:sub(1, Split - 1) | |
2591 | local AfterSplit = message:sub(Split + 1) | |
2592 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2593 | -- Objects | |
2594 | ||
2595 | local Interface = Instance.new("ScreenGui") | |
2596 | local Body = Instance.new("Frame") | |
2597 | local head = Instance.new("TextLabel") | |
2598 | local CodeInput = Instance.new("TextBox") | |
2599 | local LoginButton = Instance.new("TextButton") | |
2600 | local CancelButton = Instance.new("TextButton") | |
2601 | ||
2602 | -- Properties | |
2603 | ||
2604 | Interface.Name = "Interface" | |
2605 | Interface.Parent = plr.PlayerGui | |
2606 | ||
2607 | Body.Name = "Body" | |
2608 | Body.Parent = Interface | |
2609 | Body.BackgroundColor3 = Color3.new(255, 255, 2) | |
2610 | Body.BackgroundTransparency = 1 | |
2611 | Body.Position = UDim2.new(0.5, -150, 0.5, -150) | |
2612 | Body.Size = UDim2.new(0, 300, 0, 300) | |
2613 | Service.Chat:FilterStringAsync(AfterSplit,player,plr) | |
2614 | head.Name = "head" | |
2615 | head.Parent = Body | |
2616 | head.BackgroundColor3 = Color3.new(1, 1, 1) | |
2617 | head.BackgroundTransparency = 1 | |
2618 | head.Position = UDim2.new(0.5, -150, 0, 0) | |
2619 | head.Size = UDim2.new(0, 300, 0, 50) | |
2620 | head.Font = Enum.Font.Highway | |
2621 | head.FontSize = Enum.FontSize.Size28 | |
2622 | head.Text = ""..tostring(AfterSplit) | |
2623 | head.TextColor3 = Color3.new(255, 255, 0) | |
2624 | head.TextSize = 28 | |
2625 | CodeInput.Name = "CodeInput" | |
2626 | CodeInput.Parent = Body | |
2627 | CodeInput.BackgroundColor3 = Color3.new(255, 85, 0) | |
2628 | CodeInput.Position = UDim2.new(0.5, -75, 0, 100) | |
2629 | CodeInput.Size = UDim2.new(0, 150, 0, 30) | |
2630 | CodeInput.Font = Enum.Font.SourceSans | |
2631 | CodeInput.FontSize = Enum.FontSize.Size14 | |
2632 | CodeInput.Text = "insert answer here" | |
2633 | CodeInput.TextScaled = true | |
2634 | CodeInput.TextSize = 14 | |
2635 | CodeInput.TextWrapped = true | |
2636 | ||
2637 | LoginButton.Name = "LoginButton" | |
2638 | LoginButton.Parent = Body | |
2639 | LoginButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
2640 | LoginButton.BackgroundTransparency = 1 | |
2641 | LoginButton.Position = UDim2.new(0, 25, 0, 150) | |
2642 | LoginButton.Size = UDim2.new(0, 80, 0, 30) | |
2643 | LoginButton.Font = Enum.Font.SourceSansBold | |
2644 | LoginButton.FontSize = Enum.FontSize.Size28 | |
2645 | LoginButton.Text = "Done!" | |
2646 | LoginButton.TextColor3 = Color3.new(0.333333, 0.666667, 0) | |
2647 | LoginButton.TextSize = 28 | |
2648 | ||
2649 | CancelButton.Name = "CancelButton" | |
2650 | CancelButton.Parent = Body | |
2651 | CancelButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
2652 | CancelButton.BackgroundTransparency = 1 | |
2653 | CancelButton.Position = UDim2.new(0, 200, 0, 150) | |
2654 | CancelButton.Size = UDim2.new(0, 80, 0, 30) | |
2655 | CancelButton.Font = Enum.Font.SourceSansBold | |
2656 | CancelButton.FontSize = Enum.FontSize.Size28 | |
2657 | CancelButton.Text = "Skip" | |
2658 | CancelButton.TextColor3 = Color3.new(1, 0, 0) | |
2659 | CancelButton.TextSize = 28 | |
2660 | ||
2661 | ||
2662 | LoginButton.MouseButton1Click:connect(function() | |
2663 | Output(player, plr.Name.." answer:"..CodeInput.Text,"Lime green") | |
2664 | Interface:Remove() | |
2665 | end) | |
2666 | CancelButton.MouseButton1Click:connect(function() | |
2667 | Output(player, plr.Name.." skiped the question","Lime green") | |
2668 | Interface:Remove() | |
2669 | end) end | |
2670 | end) | |
2671 | ||
2672 | NewCommand('WalkSpeed','ws',3,'',function(player,message) | |
2673 | local Split = message:find(Splitkey) | |
2674 | local PreSplit = message:sub(1, Split - 1) | |
2675 | local AfterSplit = message:sub(Split + 1) | |
2676 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2677 | plr.Character.Humanoid.WalkSpeed = tonumber(AfterSplit) | |
2678 | end | |
2679 | end) | |
2680 | ||
2681 | NewCommand('Jump Power','jp',3,'',function(player,message) | |
2682 | local Split = message:find(Splitkey) | |
2683 | local PreSplit = message:sub(1, Split - 1) | |
2684 | local AfterSplit = message:sub(Split + 1) | |
2685 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2686 | plr.Character.Humanoid.JumpPower = tonumber(AfterSplit) | |
2687 | end | |
2688 | end) | |
2689 | ||
2690 | NewCommand('Char','char',4,"Change a player's character appearance id to your wanted id.",function(player,message) | |
2691 | local Split = message:find(Splitkey) | |
2692 | local PreSplit = message:sub(1, Split - 1) | |
2693 | local AfterSplit = message:sub(Split + 1) | |
2694 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2695 | local ID = Service.Players:GetUserIdFromNameAsync(tostring(AfterSplit)) | |
2696 | plr.CharacterAppearanceID = ID | |
2697 | plr:LoadCharacter() | |
2698 | end | |
2699 | end) | |
2700 | ||
2701 | NewCommand('Change face','face',4,'Change a player face.',function(player,message) | |
2702 | local Split = message:find(Splitkey) | |
2703 | local PreSplit = message:sub(1, Split - 1) | |
2704 | local AfterSplit = message:sub(Split + 1) | |
2705 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2706 | plr.Character.Head.face.Texture = ""..tostring(AfterSplit) | |
2707 | end | |
2708 | end) | |
2709 | ||
2710 | NewCommand('Unchar','uchar',4,"Un-char a player",function(player,message) | |
2711 | for _,plr in next,GetPlayers(player,message) do | |
2712 | plr.CharacterAppearanceId = ""..plr.UserId | |
2713 | plr:LoadCharacter() | |
2714 | end | |
2715 | end) | |
2716 | ||
2717 | NewCommand('Get skilled','skilled',0,'Get the skilled players',function(player,message) | |
2718 | getRanked(player) | |
2719 | end) | |
2720 | ||
2721 | NewCommand('Humanoid','hman',3,'Create a humanoid to a player',function(player,message) | |
2722 | for _,plr in next,GetPlayers(player,message) do | |
2723 | local r = Instance.new("Humanoid") | |
2724 | r.Parent = plr.Character | |
2725 | end | |
2726 | end) | |
2727 | ||
2728 | NewCommand('Forest Map','mapf',4,'Make a forest map',function(player,message) | |
2729 | a = Instance.new("Model") a.Parent = Service.Workspace a.Name = "Forest Map by pdnghiaqoi -IDK Admin" | |
2730 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(145, 13.6, -24) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2731 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(99, 13.6, -125) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2732 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44, 13.6, -151) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2733 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(63, 13.6, -219) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2734 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(160, 13.6, -211) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2735 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-122, 34, 135) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2736 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-180, 34, 68) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2737 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-126, 34, 22) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2738 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-195, 34, 0) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2739 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-121, 34, 82) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2740 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-195, 34, 161) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2741 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-120, 34, 191) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2742 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-29, 34, 196) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2743 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(29, 34, 166) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2744 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(87, 34, 218) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2745 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(101, 34, 156) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2746 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(168, 34, 171) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2747 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(158, 34, 129) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2748 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(137, 34, 63) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2749 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(76, 34, 30) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2750 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(144, 34, -25) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2751 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(98, 34, -126) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2752 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(43, 34, -152) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2753 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(62, 34, -220) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2754 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(159, 34, -212) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2755 | p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(-53.5, 14.2, -183) p.Size = Vector3.new(9, 3.6, 7) p.Parent = a p.Locked = true | |
2756 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-14.5, 13.6, 81) p.Size = Vector3.new(112, 24, 104) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2757 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5, 31, 76.5) p.Size = Vector3.new(84, 10.8, 83) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2758 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-27.5, 51.4, 87) p.Size = Vector3.new(36, 30, 32) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2759 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-24, 89.2, 74) p.Size = Vector3.new(107, 45.6, 110) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28) | |
2760 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1, 58, -72.5) p.Size = Vector3.new(507, 113, 1) p.CanCollide = false p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(26) | |
2761 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-121, 13.6, 136) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2762 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-179, 13.6, 69) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2763 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-125, 13.6, 23) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2764 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-194, 13.6, 1) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2765 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-120, 13.6, 83) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2766 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-194, 13.6, 162) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2767 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-119, 13.6, 192) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2768 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-28, 13.6, 197) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2769 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(30, 13.6, 167) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2770 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(88, 13.6, 219) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2771 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 13.6, 157) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2772 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(169, 13.6, 172) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2773 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(159, 13.6, 130) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2774 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(138, 13.6, 64) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2775 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(77, 13.6, 31) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2776 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 1, 1.5) p.Size = Vector3.new(512, 1.2, 509) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2777 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 58, 255) p.Size = Vector3.new(512, 113, 2) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2778 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-257, 58, -2.5) p.Size = Vector3.new(2, 113, 510) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2779 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 115, -1) p.Size = Vector3.new(512, 1.2, 512) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2780 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-0.5, 58, -252) p.Size = Vector3.new(510, 113, 2) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2781 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(254, 58, 1.5) p.Size = Vector3.new(2, 113, 505) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(141) | |
2782 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-127, 2.8, -166) p.Size = Vector3.new(3, 2.4, 170) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2783 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-192, 2.8, -82) p.Size = Vector3.new(128, 2.4, 3) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192) | |
2784 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-192, 2.8, -167) p.Size = Vector3.new(128, 2.4, 165) p.CanCollide = false p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(23) | |
2785 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-54, 4, -181) p.Size = Vector3.new(22, 4.8, 23) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(194) | |
2786 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-54, 9.4, -181) p.Size = Vector3.new(14, 6, 16) p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(194) | |
2787 | end) | |
2788 | ||
2789 | NewCommand('Freeze','frz',3,'Freeze someone.brrr',function(player,message) | |
2790 | for _,plr in next,GetPlayers(player,message) do | |
2791 | plr.Character.HumanoidRootPart.Anchored = true | |
2792 | plr.Character.Humanoid.Walkspeed = 0 | |
2793 | plr.Character.Humanoid.JumpPower = 0 | |
2794 | end | |
2795 | end) | |
2796 | ||
2797 | NewCommand('Thaw','tha',3,'Thaw someone.ahdatwarm',function(player,message) | |
2798 | for _,plr in next,GetPlayers(player,message) do | |
2799 | plr.Character.HumanoidRootPart.Anchored = false | |
2800 | plr.Character.Humanoid.Walkspeed = 16 | |
2801 | plr.Character.Humanoid.JumpPower = 50 | |
2802 | end | |
2803 | end) | |
2804 | ||
2805 | NewCommand('Sit','sit',3,'Sit someone.sitdown',function(player,message) | |
2806 | for _,plr in next,GetPlayers(player,message) do | |
2807 | plr.Character.Humanoid.Sit = true | |
2808 | end | |
2809 | end) | |
2810 | ||
2811 | NewCommand('Jump','hop',3,'Jump someone.bhop',function(player,message) | |
2812 | for _,plr in next,GetPlayers(player,message) do | |
2813 | plr.Character.Humanoid.Jump = true | |
2814 | end | |
2815 | end) | |
2816 | ||
2817 | NewCommand('Floating player','pfl',3,'Float someone.',function(player,message) | |
2818 | for _,plr in next,GetPlayers(player,message) do | |
2819 | plr.Character.Humanoid.HipHeight = 100 | |
2820 | end | |
2821 | end) | |
2822 | ||
2823 | NewCommand('Map Castle','cmap',4,'Make a castle map',function(player,message) | |
2824 | a = Instance.new("Model") a.Name = "Castle" a.Parent = Service.Workspace | |
2825 | z = Instance.new("Model") z.Name = "pdnghiaqoi's Castle" z.Parent = a | |
2826 | b = Instance.new("Humanoid") b.MaxHealth = 0 b.Parent = z | |
2827 | p = Instance.new("SpawnLocation") p.Name = "Head" p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size = Vector3.new(58,1.2,52) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(38) | |
2828 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size = Vector3.new(8,1.2,18) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(38) | |
2829 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2830 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2831 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size = Vector3.new(58,20.4,4) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2832 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2833 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2834 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size = Vector3.new(58,36,4) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2835 | p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size = Vector3.new(70,1.2,60) p.Parent = z p.Locked = true p.BrickColor = BrickColor.new(194) | |
2836 | end) | |
2837 | ||
2838 | ||
2839 | NewCommand('Punish','pun',3,'Remove a player from workspace',function(player,message) | |
2840 | for _,plr in next,GetPlayers(player,message) do | |
2841 | plr.Character:Remove() | |
2842 | end | |
2843 | end) | |
2844 | ||
2845 | NewCommand('Update news','news',0,'Show a update news list',function(player,message) | |
2846 | Output(player, 'return of the idk reborn in place 1','Lime green') | |
2847 | Output(player, 'Update day:26/5/2018.\nUpdated by pdnghiaqoi','Lime green') | |
2848 | Output(player, 'After update,the admin is now '..total..' commands and version '..version..'.','Lime green') | |
2849 | end) | |
2850 | ||
2851 | NewCommand("Change Tab Theme","theme",6,"Change tab theme",function(player,message) | |
2852 | local incase = tabDesign wait(0.1) | |
2853 | tabDesign = "Knife" wait(0.1) | |
2854 | Output(player, 'Knife Theme','Lime green',function() | |
2855 | tabDesign = "Knife" Dismiss(player) end) | |
2856 | tabDesign = "DoubleOrb" wait(0.1) | |
2857 | Output(player, 'Double Orb Theme','Lime green',function() | |
2858 | tabDesign = "DoubleOrb" Dismiss(player) end) | |
2859 | tabDesign = "DoubleFlat" wait(0.1) | |
2860 | Output(player, 'Double Flat Theme','Lime green',function() | |
2861 | tabDesign = "DoubleFlat" Dismiss(player) end) | |
2862 | tabDesign = "Double" wait(0.1) | |
2863 | Output(player, 'Double Theme','Lime green',function() | |
2864 | tabDesign = "Double" Dismiss(player) end) | |
2865 | tabDesign = "Plain" wait(0.1) | |
2866 | Output(player, 'Plain Theme','Lime green',function() | |
2867 | tabDesign = "Plain" Dismiss(player) end) | |
2868 | tabDesign = "Neon" wait(0.1) | |
2869 | ||
2870 | Output(player, 'Neon Theme','Lime green',function() | |
2871 | tabDesign = "Neon" Dismiss(player) end) | |
2872 | tabDesign = "Flat" wait(0.1) | |
2873 | ||
2874 | Output(player, 'Flat Theme','Lime green',function() | |
2875 | tabDesign = "Flat" Dismiss(player) end) | |
2876 | tabDesign = "Orb" wait(0.1) | |
2877 | ||
2878 | Output(player, 'Orb Theme','Lime green',function() | |
2879 | tabDesign = "Orb" Dismiss(player) end) | |
2880 | tabDesign = "DoubledSel" wait(0.1) | |
2881 | ||
2882 | Output(player, 'Double Sel Theme','Lime green',function() | |
2883 | tabDesign = "DoubledSel" Dismiss(player) end) | |
2884 | tabDesign = "SelectionBox" wait(0.1) | |
2885 | Output(player, 'SelectionBox Theme','Lime green',function() | |
2886 | tabDesign = "SelectionBox" Dismiss(player) end) | |
2887 | tabDesign = "Dominus" wait(0.1) | |
2888 | Output(player, 'Dominus Theme','Lime green',function() | |
2889 | tabDesign = "Dominus" Dismiss(player) end) | |
2890 | tabDesign = incase wait(0.1) | |
2891 | Output(player, "Current Theme:"..incase.."","Lime green") | |
2892 | end) | |
2893 | ||
2894 | NewCommand("Change Tab Font","font",6,"Change tab font",function(player,message) | |
2895 | local incase1 = Font wait(0.1) | |
2896 | Font = "Bodoni" wait(0.1) | |
2897 | Output(player, 'Bodoni','Lime green',function() | |
2898 | Font = "Bodoni" Dismiss(player) end) | |
2899 | Font = "Arial" wait(0.1) | |
2900 | Output(player, 'Arial','Lime green',function() | |
2901 | Font = "Arial" Dismiss(player) end) | |
2902 | Font = "Arial Bold" wait(0.1) | |
2903 | Output(player, 'Arial Bold','Lime green',function() | |
2904 | Font = "Arial Bold" Dismiss(player) end) | |
2905 | Font = "Cartoon" wait(0.1) | |
2906 | Output(player, 'Cartoon','Lime green',function() | |
2907 | Font = "Cartoon" Dismiss(player) end) | |
2908 | Font = "Legacy" wait(0.1) | |
2909 | ||
2910 | Output(player, 'Legacy','Lime green',function() | |
2911 | Font = "Legacy" Dismiss(player) end) | |
2912 | Font = "Antique" wait(0.1) | |
2913 | Output(player, 'Antique','Lime green',function() | |
2914 | Font = "Antique" Dismiss(player) end) | |
2915 | Font = "Arcade" wait(0.1) | |
2916 | Output(player, 'Arcade','Lime green',function() | |
2917 | Font = "Arcade" Dismiss(player) end) | |
2918 | Font = "Fantasy" wait(0.1) | |
2919 | Output(player, 'Fantasy','Lime green',function() | |
2920 | Font = "Fantasy" Dismiss(player) end) | |
2921 | Font = "Code" wait(0.1) | |
2922 | Output(player, 'Code','Lime green',function() | |
2923 | Font = "Code" Dismiss(player) end) | |
2924 | Font = "Highway" wait(0.1) | |
2925 | Output(player, 'Highway','Lime green',function() | |
2926 | Font = "Highway" Dismiss(player) end) | |
2927 | Font = "Garamond" wait(0.1) | |
2928 | Output(player, 'Garamond','Lime green',function() | |
2929 | Font = "Garamond" Dismiss(player) end) | |
2930 | Font = "SciFi" wait(0.1) | |
2931 | Output(player, 'SciFi','Lime green',function() | |
2932 | Font = "SciFi" Dismiss(player) end) | |
2933 | Font = "Source Sans" wait(0.1) | |
2934 | Output(player, 'Source Sans','Lime green',function() | |
2935 | Font = "Source Sans" Dismiss(player) end) | |
2936 | Font = "Source Sans Bold" wait(0.1) | |
2937 | Output(player, 'Source Sans Bold','Lime green',function() | |
2938 | Font = "Source Sans Bold" Dismiss(player) end) | |
2939 | Font = "Source Sans Italic" wait(0.1) | |
2940 | Output(player, 'Source Sans Italic','Lime green',function() | |
2941 | Font = "Source Sans Italic" Dismiss(player) end) | |
2942 | Font = "Source Sans Light" wait(0.1) | |
2943 | Output(player, 'Source Sans Light','Lime green',function() | |
2944 | Font = "Source Sans Light" Dismiss(player) end) | |
2945 | Font = incase1 wait(0.1) | |
2946 | Output(player, 'Current font:'..incase1..'','White') | |
2947 | end) | |
2948 | ||
2949 | NewCommand('Loop Clean','lmclr',6,'Loopclean a game.you cant undo this.',function(player,message) | |
2950 | for i=1,500 do | |
2951 | wait(0.1) | |
2952 | ||
2953 | for _,Thing in pairs (Service.Workspace.Terrain:GetChildren()) do | |
2954 | Thing:remove() | |
2955 | Service.Workspace.Terrain:Clear() | |
2956 | for index, child in ipairs(Service.Workspace:GetChildren()) do | |
2957 | if not (Service.Players:GetPlayerFromCharacter(child) or child.ClassName == "Camera" or child:IsA("Script") or child.ClassName == "Terrain") then | |
2958 | pcall(child.Destroy, child) | |
2959 | local base = Instance.new("Part") | |
2960 | base.Name = "Base" | |
2961 | base.Anchored = true | |
2962 | base.BrickColor = BrickColor.new("Bright green") | |
2963 | base.Material = "Grass" | |
2964 | base.Locked = true | |
2965 | base.Name = "Base" | |
2966 | base.Size = Vector3.new(700.384216, 1.20000005, 700.455332) | |
2967 | base.Position = Vector3.new(0.21747008, -0.600000024, 0.422115624) | |
2968 | base.Parent = workspace | |
2969 | end end end end | |
2970 | end) | |
2971 | NewCommand('Message by tool','tmsg',3,'Make a tool that shown your message in there.',function(player,message) | |
2972 | local Split = message:find(Splitkey) | |
2973 | local PreSplit = message:sub(1, Split - 1) | |
2974 | local AfterSplit = message:sub(Split + 1) | |
2975 | for _,plr in next,GetPlayers(player,PreSplit) do | |
2976 | local tool = Instance.new('Tool') | |
2977 | tool.Parent = plr.Backpack | |
2978 | tool.Name = ""..tostring(AfterSplit) | |
2979 | tool.ToolTip = ""..tostring(AfterSplit) | |
2980 | end | |
2981 | end) | |
2982 | ||
2983 | NewCommand('Ping','ping',0,'Ping a message on a tablet',function(player,message) | |
2984 | Output(player, message, GetColor(player)) | |
2985 | if message == "" then | |
2986 | Output(player, 'IDK REBORN', 'Lime green') | |
2987 | end | |
2988 | end) | |
2989 | ||
2990 | NewCommand("Show Players","plrs", 1, "Show the players on the game",function(player,message) | |
2991 | getPlayers(player) | |
2992 | end) | |
2993 | ||
2994 | NewCommand('Dogify player','dog',3,'Turn a player into a dog.yeahiliketocopyadminlol',function(player,message) | |
2995 | for _,plr in next,GetPlayers(player,message) do | |
2996 | if plr and plr.Character and plr.Character:findFirstChild("Torso") then | |
2997 | if plr.Character:findFirstChild("Shirt") then plr.Character.Shirt.Parent = plr.Character.Torso end | |
2998 | if plr.Character:findFirstChild("Pants") then plr.Character.Pants.Parent = plr.Character.Torso end | |
2999 | plr.Character.Torso.Transparency = 1 | |
3000 | plr.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0) | |
3001 | plr.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0) | |
3002 | plr.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0) | |
3003 | plr.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0) | |
3004 | plr.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0) | |
3005 | local new = Instance.new("Seat", plr.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = plr.Character.Torso.CFrame | |
3006 | local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0) | |
3007 | local weld = Instance.new("Weld", plr.Character.Torso) weld.Part0 = plr.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0) | |
3008 | for a, part in pairs(plr.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end | |
3009 | end | |
3010 | end | |
3011 | end) | |
3012 | ||
3013 | NewCommand('Add fire to player','fireadd',3,'Add a fire to someone body',function(player,message) | |
3014 | for _,plr in next,GetPlayers(player,message) do | |
3015 | local F = Instance.new("Fire") | |
3016 | F.Parent = plr.Character.HumanoidRootPart | |
3017 | end | |
3018 | end) | |
3019 | ||
3020 | NewCommand('Orb that saying your message','orb',0,'Show orbs that coutain your message.',function(player,message) | |
3021 | Output(player, ""..message,"White") | |
3022 | Output(player, ""..message,"White") | |
3023 | Output(player, ""..message,"White") | |
3024 | Output(player, ""..message,"White") | |
3025 | Output(player, ""..message,"White") | |
3026 | Output(player, ""..message,"White") | |
3027 | Output(player, ""..message,"White") | |
3028 | end) | |
3029 | ||
3030 | NewCommand('Orb message for player','omsg',2,'Show orbs that coutain your message to player.',function(player,message) | |
3031 | local Split = message:find(Splitkey) | |
3032 | local PreSplit = message:sub(1, Split - 1) | |
3033 | local AfterSplit = message:sub(Split + 1) | |
3034 | for _,plr in next,GetPlayers(player,PreSplit) do | |
3035 | Output(plr, ""..tostring(AfterSplit),"White") | |
3036 | Output(plr, ""..tostring(AfterSplit),"White") | |
3037 | Output(plr, ""..tostring(AfterSplit),"White") | |
3038 | Output(plr, ""..tostring(AfterSplit),"White") | |
3039 | Output(plr, ""..tostring(AfterSplit),"White") | |
3040 | Output(plr, ""..tostring(AfterSplit),"White") | |
3041 | Output(plr, ""..tostring(AfterSplit),"White") | |
3042 | end | |
3043 | end) | |
3044 | ||
3045 | NewCommand('Add sparkles to player','spadd',3,'Add a sparkles to someone body',function(player,message) | |
3046 | for _,plr in next,GetPlayers(player,message) do | |
3047 | local F = Instance.new("Sparkles") | |
3048 | F.Parent = plr.Character.HumanoidRootPart | |
3049 | end | |
3050 | end) | |
3051 | ||
3052 | NewCommand('Delete fire','dfire',3,'Delete a fire',function(player,message) | |
3053 | for _,plr in next,GetPlayers(player,message) do | |
3054 | plr.Character.HumanoidRootPart.Fire:Remove() | |
3055 | end | |
3056 | end) | |
3057 | ||
3058 | NewCommand('Delete Sparkles','dsp',3,'Delete a sparkles',function(player,message) | |
3059 | for _,plr in next,GetPlayers(player,message) do | |
3060 | plr.Character.HumanoidRootPart.Sparkles:Remove() | |
3061 | end | |
3062 | end) | |
3063 | ||
3064 | NewCommand("Gear","gear",4,"Gear someone a tool",function(player,message) | |
3065 | local Split = message:find(Splitkey) | |
3066 | local PreSplit = message:sub(1, Split - 1) | |
3067 | local AfterSplit = message:sub(Split + 1) | |
3068 | for _,plr in next,GetPlayers(player,PreSplit) do | |
3069 | local x = Service.InsertService:LoadAsset(tostring(AfterSplit)) | |
3070 | x.Parent = Service.Workspace | |
3071 | x:makeJoints() | |
3072 | x:MoveTo(plr.Character.Head.Position) | |
3073 | end | |
3074 | end) | |
3075 | ||
3076 | NewCommand('Delete all player tool','dback',3,'Delete all player tool',function(player,message) | |
3077 | for _,plr in next,GetPlayers(player,message) do | |
3078 | plr.Backpack:ClearAllChildren() | |
3079 | end | |
3080 | end) | |
3081 | ||
3082 | NewCommand("Script Executor GUI","exegui",8,"Give someone a script executor gui",function(player,message) | |
3083 | for _,plr in next,GetPlayers(player,message) do | |
3084 | -- Objects | |
3085 | ||
3086 | local ScreenGui = Instance.new("ScreenGui") | |
3087 | local Frame = Instance.new("Frame") | |
3088 | local TextButton = Instance.new("TextButton") | |
3089 | local TextBox = Instance.new("TextBox") | |
3090 | local TextButton_2 = Instance.new("TextButton") | |
3091 | local TextButton_3 = Instance.new("TextButton") | |
3092 | local TextLabel = Instance.new('TextLabel') | |
3093 | ||
3094 | -- Properties | |
3095 | ||
3096 | ScreenGui.Parent = plr.PlayerGui | |
3097 | ||
3098 | Frame.Parent = ScreenGui | |
3099 | Frame.BackgroundColor3 = Color3.new(0, 0, 0.498039) | |
3100 | Frame.BackgroundTransparency = 0.5 | |
3101 | Frame.Draggable = true | |
3102 | Frame.Position = UDim2.new(0.5, -200, 0.5, -200) | |
3103 | Frame.Selectable = true | |
3104 | Frame.Size = UDim2.new(0, 400, 0, 400) | |
3105 | Frame.Visible = true | |
3106 | ||
3107 | TextButton.Parent = Frame | |
3108 | TextButton.BackgroundColor3 = Color3.new(0, 0, 0) | |
3109 | TextButton.BackgroundTransparency = 0.60000002384186 | |
3110 | TextButton.Position = UDim2.new(0, 380, 0, 0) | |
3111 | TextButton.Size = UDim2.new(0, 20, 0, 20) | |
3112 | TextButton.FontSize = Enum.FontSize.Size24 | |
3113 | TextButton.Text = "-" | |
3114 | TextButton.TextColor3 = Color3.new(1, 1, 1) | |
3115 | ||
3116 | TextBox.Parent = Frame | |
3117 | TextBox.BackgroundColor3 = Color3.new(1, 1, 1) | |
3118 | TextBox.Position = UDim2.new(0, 50, 0, 50) | |
3119 | TextBox.Size = UDim2.new(0, 300, 0, 250) | |
3120 | TextBox.ClearTextOnFocus = false | |
3121 | TextBox.Font = Enum.Font.SourceSans | |
3122 | TextBox.FontSize = Enum.FontSize.Size14 | |
3123 | TextBox.MultiLine = true | |
3124 | TextBox.Text = "INPUT YOUR SCRIPT HERE" | |
3125 | TextBox.TextScaled = false | |
3126 | TextBox.TextWrapped = true | |
3127 | TextBox.TextXAlignment="Left" | |
3128 | TextBox.TextYAlignment="Top" | |
3129 | ||
3130 | TextButton_2.Parent = Frame | |
3131 | TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0) | |
3132 | TextButton_2.Position = UDim2.new(0, 50, 0, 330) | |
3133 | TextButton_2.Size = UDim2.new(0, 50, 0, 50) | |
3134 | TextButton_2.Font = Enum.Font.SourceSansBold | |
3135 | TextButton_2.FontSize = Enum.FontSize.Size24 | |
3136 | TextButton_2.Text = "EXE" | |
3137 | TextButton_2.TextColor3 = Color3.new(1, 1, 1) | |
3138 | ||
3139 | TextButton_3.Parent = Frame | |
3140 | TextButton_3.BackgroundColor3 = Color3.new(0.666667, 0, 0) | |
3141 | TextButton_3.Position = UDim2.new(0, 300, 0, 330) | |
3142 | TextButton_3.Size = UDim2.new(0, 50, 0, 50) | |
3143 | TextButton_3.Font = Enum.Font.SourceSansBold | |
3144 | TextButton_3.FontSize = Enum.FontSize.Size24 | |
3145 | TextButton_3.Text = "CLR" | |
3146 | TextButton_3.TextColor3 = Color3.new(1, 1, 1) | |
3147 | ||
3148 | TextLabel.Parent = Frame | |
3149 | TextLabel.Text = "SCRIPT EXE GUI" | |
3150 | TextLabel.Size = UDim2.new(0, 380, 0, 20) | |
3151 | TextLabel.TextScaled = true | |
3152 | TextLabel.TextColor3 = Color3.new(255,255,255) | |
3153 | TextLabel.BackgroundTransparency = 1 | |
3154 | TextLabel.Selectable = true | |
3155 | TextLabel.Draggable = true | |
3156 | ||
3157 | TextButton.MouseButton1Click:connect(function() | |
3158 | if Frame.Size == UDim2.new(0, 400, 0, 400) then | |
3159 | Frame.Size = UDim2.new(0, 400, 0, 20) | |
3160 | TextButton.Text = "+" | |
3161 | TextBox.Visible,TextButton_2.Visible,TextButton_3.Visible = false,false,false | |
3162 | else | |
3163 | Frame.Size = UDim2.new(0, 400, 0, 400) | |
3164 | TextButton.Text = "-" | |
3165 | TextBox.Visible,TextButton_2.Visible,TextButton_3.Visible = true,true,true | |
3166 | end | |
3167 | end) | |
3168 | TextButton_2.MouseButton1Click:connect(function() | |
3169 | local success,errored = loadstring(TextBox.Text) | |
3170 | if success and not errored then | |
3171 | success() | |
3172 | else | |
3173 | TextBox.Text = "Error: "..errored | |
3174 | end | |
3175 | end) | |
3176 | ||
3177 | TextButton_3.MouseButton1Click:connect(function() | |
3178 | TextBox.Text = "" | |
3179 | end) | |
3180 | end | |
3181 | end) | |
3182 | ||
3183 | NewCommand("Stun","stun",3,"Stun a player",function(player,message) | |
3184 | for _,plr in next,GetPlayers(player,message) do | |
3185 | plr.Character.Humanoid.PlatformStand = true | |
3186 | end | |
3187 | end) | |
3188 | ||
3189 | ||
3190 | NewCommand("UnStun","unstun",3,"UnStun a player",function(player,message) | |
3191 | for _,plr in next,GetPlayers(player,message) do | |
3192 | plr.Character.Humanoid.PlatformStand = false | |
3193 | end | |
3194 | end) | |
3195 | ||
3196 | NewCommand("No tab player","ntp",3,"DNo a player's tab",function(player,message) | |
3197 | for _,plr in next,GetPlayers(player,message) do | |
3198 | Dismiss(plr) | |
3199 | end | |
3200 | end) | |
3201 | ||
3202 | NewCommand("Nuke a player","nuke",4,"Nuke a player",function(player,message) | |
3203 | for _,plr in next,GetPlayers(player,message) do | |
3204 | local Server = game | |
3205 | local Pos = CFrame.new(0,1,0) | |
3206 | if plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then Pos = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end | |
3207 | local Blast = Instance.new("Part", Server.Workspace) Blast.Name = "BlastEx" Blast.Anchored = true Blast.CanCollide = false Blast.Size = Vector3.new(1,1,1) Blast.CFrame = Pos | |
3208 | local BlastMesh = Instance.new("SpecialMesh", Blast) BlastMesh.MeshId = "rbxassetid://1290033" BlastMesh.TextureId = "rbxassetid://33145325" BlastMesh.Scale = Vector3.new(0,0,0) | |
3209 | local Wave = Instance.new("Part", Server.Workspace) Wave.BrickColor = BrickColor.new("Deep orange") Wave.Name = "WaveEx" Wave.Anchored = true Wave.CanCollide = false Wave.Size = Vector3.new(1,1,1) Wave.CFrame = Pos * CFrame.Angles(math.pi/2,0,0) | |
3210 | local WaveMesh = Instance.new("SpecialMesh", Wave) WaveMesh.MeshId = "rbxassetid://3270017" | |
3211 | local Light = Instance.new("PointLight", Blast) Light.Brightness = 1000 Light.Range = 10000 Light.Color = Color3.new(1,0.2,0.2) | |
3212 | ||
3213 | local Effect = Instance.new("ColorCorrectionEffect", Server.Lighting) Effect.Brightness = 0.2 Effect.Contrast = 0.4 Effect.Saturation = 1 Effect.TintColor = Color3.new(1,0.2,0.2) | |
3214 | ||
3215 | Service.Lighting.Brightness = 5 | |
3216 | Service.Lighting.Ambient = Color3.new(1,0.5,0.5) | |
3217 | Service.Lighting.OutdoorAmbient = Color3.new(1,1,1) | |
3218 | ||
3219 | local Exp = Instance.new("Explosion",Service.Workspace) | |
3220 | Exp.Position = Pos.p | |
3221 | Exp.BlastPressure = 10000000 | |
3222 | Exp.BlastRadius = 1000000 | |
3223 | Exp.Hit:connect(function(Part) | |
3224 | if Part.Name ~= "Base" and Part.Name ~= "BasePlate" and Part ~= Blast and Part ~= Wave and Part.Name ~= "BlastEx" and Part.Name ~= "WaveEx" then | |
3225 | ypcall(function() | |
3226 | Part.Anchored = false | |
3227 | Part.BrickColor = BrickColor.new("Black") | |
3228 | Part.Material = "Slate" | |
3229 | Part:BreakJoints() | |
3230 | end) | |
3231 | end | |
3232 | end) | |
3233 | ||
3234 | local BoomSound = Instance.new("Sound") | |
3235 | BoomSound.Parent = Service.ReplicatedStorage | |
3236 | BoomSound.SoundId = "rbxassetid://212389494" | |
3237 | BoomSound.Looped = false | |
3238 | BoomSound:Play() | |
3239 | for i = 0,100,0.5 do | |
3240 | Blast.Anchored = true | |
3241 | Wave.Anchored = true | |
3242 | BlastMesh.Scale = Vector3.new(i,i,i) | |
3243 | WaveMesh.Scale = Vector3.new(i^1.3,i^1.3,5) | |
3244 | Blast.CFrame = Pos | |
3245 | wait() | |
3246 | end | |
3247 | BoomSound:Stop() | |
3248 | Blast:Destroy() | |
3249 | Wave:Destroy() | |
3250 | wait() | |
3251 | BoomSound:Destroy() | |
3252 | Effect:Destroy() | |
3253 | for i = 10,5,-1 do | |
3254 | Service.Lighting.Brightness = (i-5) + 1 | |
3255 | Service.Lighting.Ambient = Color3.new(i/10,0.5,0.5) | |
3256 | Service.Lighting.OutdoorAmbient = Color3.new(i/10,i/10,i/10) | |
3257 | wait(0.05) | |
3258 | end end | |
3259 | end) | |
3260 | ||
3261 | ||
3262 | ||
3263 | NewCommand("Place Info","infop",0,"Info place you playing",function(player,message) | |
3264 | Output(player, 'Place ID:'..Service.PlaceId,'White') | |
3265 | Output(player, 'Place name:'..Service.MarketplaceService:GetProductInfo(Service.PlaceId).Name,'White') | |
3266 | Output(player, 'Place version:'..Service.PlaceVersion,'White') | |
3267 | Output(player, 'Place creator name:'..Service.MarketplaceService:GetProductInfo(Service.PlaceId).Creator.Name,'White') | |
3268 | Output(player, 'Place creator ID:'..Service.CreatorId,'White') | |
3269 | Output(player, 'Server ID:'..Service.GameId,'White') | |
3270 | end) | |
3271 | ||
3272 | for i,v in pairs(Service.Players:GetPlayers()) do | |
3273 | v.Chatted:connect(function(m) | |
3274 | Chatted(v, m) | |
3275 | end) | |
3276 | end | |
3277 | SetRank(ads, 7) |