SHOW:
|
|
- or go back to the newest paste.
| 1 | local GUIAsset = Instance.new("Folder",game.Workspace) GUIAsset.Name = "GUIAsset For Admin Tablet"
| |
| 2 | local _SBKSG = Instance.new("ScreenGui", GUIAsset)
| |
| 3 | local _SBKF = Instance.new("Frame", _SBKSG)
| |
| 4 | _SBKF.BackgroundColor3 = Color3.new(0,0,0) | |
| 5 | _SBKF.BackgroundTransparency = 0.1 | |
| 6 | _SBKF.Size = UDim2.new(1,0,1,0) | |
| 7 | local _SBKTL = Instance.new("TextLabel", _SBKF)
| |
| 8 | _SBKTL.BackgroundTransparency = 1 | |
| 9 | _SBKTL.BackgroundColor3 = Color3.new(0,0,0) | |
| 10 | _SBKTL.Position = UDim2.new(0,300,0,0) | |
| 11 | _SBKTL.Size = UDim2.new(0,200,0,50) | |
| 12 | _SBKTL.FontSize = "Size60" | |
| 13 | _SBKTL.Text = "Admin Tablets Loaded" | |
| 14 | _SBKTL.TextColor3 = Color3.new(0,255,0) | |
| 15 | for i,v in pairs(game.Players:GetChildren())do | |
| 16 | if v:IsA("Player")then
| |
| 17 | - | _SBKSG:Clone().Parent = v.PlayerGui |
| 17 | + | _SBKSG:Clone().Parent = v.chucky_100 |
| 18 | end | |
| 19 | end | |
| 20 | wait() | |
| 21 | ||
| 22 | -- VARIABLES | |
| 23 | script.Parent = __SHTablets__ | |
| 24 | LocalPlayer = game.Players.LocalPlayer | |
| 25 | Tabs = {}
| |
| 26 | Cmds = {}
| |
| 27 | Bypass = true | |
| 28 | probemode = false | |
| 29 | connection = nil | |
| 30 | key = ";" | |
| 31 | banlist = {}
| |
| 32 | ||
| 33 | print(game.Players.LocalPlayer.Name .." Own This Admin Tablets") | |
| 34 | ||
| 35 | function NewS(SourceValue, Parent) | |
| 36 | if NewScript then | |
| 37 | local scr = NewScript:Clone() | |
| 38 | if scr:FindFirstChild(SourceName) then | |
| 39 | if scr:FindFirstChild(SourceName) then | |
| 40 | scr:FindFirstChild(SourceName).Value = SourceValue | |
| 41 | scr.Parent = Parent | |
| 42 | wait() | |
| 43 | scr.Disabled = false | |
| 44 | return scr | |
| 45 | end | |
| 46 | end | |
| 47 | else | |
| 48 | end | |
| 49 | end -- New Server Script Function End | |
| 50 | ||
| 51 | ||
| 52 | ||
| 53 | function Crash(name) | |
| 54 | name = tostring(name or "nil") | |
| 55 | local t = Instance.new("StringValue")
| |
| 56 | t.Name = "DISC: "..name | |
| 57 | t.Parent = game.Lighting | |
| 58 | game:GetService("Debris"):AddItem(t,1)
| |
| 59 | end | |
| 60 | ||
| 61 | ||
| 62 | function Output(text, func) | |
| 63 | local prt = Instance.new("Part")
| |
| 64 | prt.CanCollide=false | |
| 65 | prt.Anchored=true | |
| 66 | prt.Locked=true | |
| 67 | prt.Parent=TabModel; | |
| 68 | prt.Transparency=0.2 | |
| 69 | prt.Name="Tablets" | |
| 70 | prt.BrickColor=BrickColor.new("Really Black")
| |
| 71 | prt.Size=Vector3.new(2,2,2) | |
| 72 | prt.TopSurface="Smooth" | |
| 73 | prt.BottomSurface="Smooth" | |
| 74 | if probemode==false then | |
| 75 | if LocalPlayer.Character.Torso then | |
| 76 | prt.Position=LocalPlayer.Character.Torso.Position | |
| 77 | elseif LocalPlayer.Character.Torso==nil then return end | |
| 78 | elseif probemode==true then | |
| 79 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
| 80 | prt.Position=game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").Position | |
| 81 | elseif game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe")==nil then return end | |
| 82 | else | |
| 83 | return | |
| 84 | end | |
| 85 | wait() | |
| 86 | local s = Instance.new("SelectionBox")
| |
| 87 | s.Color = BrickColor.new(0, 0, 0.3) | |
| 88 | s.Adornee = prt | |
| 89 | s.Parent = prt | |
| 90 | s.Transparency = (0.4) | |
| 91 | local pl = Instance.new("PointLight", prt)
| |
| 92 | prt.Parent=TabModel; | |
| 93 | pl.Name="PointLight" | |
| 94 | pl.Color = Color3.new(25, 25, 65) | |
| 95 | bg = Instance.new("BillboardGui", prt)
| |
| 96 | bg.Adornee = tab | |
| 97 | bg.Size = UDim2.new(8, 0, 7.5, 0) | |
| 98 | bg.StudsOffset = Vector3.new(0, 1, 0) | |
| 99 | tl = Instance.new("TextLabel", bg)
| |
| 100 | tl.Size = UDim2.new(1, 0, 0.2, 0) | |
| 101 | tl.FontSize = "Size18" | |
| 102 | tl.BackgroundTransparency = 1 | |
| 103 | tl.Font = "Legacy" | |
| 104 | tl.TextStrokeTransparency = 0 | |
| 105 | tl.TextColor3 = Color3.new(25, 25, 0) | |
| 106 | tl.Text = text | |
| 107 | Click=Instance.new("ClickDetector", prt)
| |
| 108 | Click.MaxActivationDistance=(math.huge) | |
| 109 | Click.MouseClick:connect(function(Plr) | |
| 110 | if Plr.Name == LocalPlayer.Name then | |
| 111 | Dismiss() | |
| 112 | if func~=nil then | |
| 113 | func=func | |
| 114 | func() | |
| 115 | end | |
| 116 | end | |
| 117 | end) | |
| 118 | table.insert(Tabs,prt) | |
| 119 | end | |
| 120 | ||
| 121 | function Crash(Player) | |
| 122 | Player=tostring(Player or ("nil"))
| |
| 123 | local Value=Instance.new("StringValue")
| |
| 124 | Value["Name"]=("DISC: "..Player)
| |
| 125 | Value["Parent"]=Game["Lighting"] | |
| 126 | Game["Debris"]:AddItem(Value,1) | |
| 127 | end | |
| 128 | ||
| 129 | function enter(p) | |
| 130 | for i,v in pairs(banlist) do | |
| 131 | if p.Name == v then | |
| 132 | p:remove() | |
| 133 | Output("Banned Player: "..p.Name.." has tried to join the game!", __)
| |
| 134 | end | |
| 135 | end | |
| 136 | end | |
| 137 | ||
| 138 | ||
| 139 | TabModel = Instance.new("Model", workspace)
| |
| 140 | TabModel.Name = "CROWN Tabs by aymant50" | |
| 141 | ||
| 142 | function AddCmd(Name,Say,Desc,Func) | |
| 143 | table.insert(Cmds,{["Name"]=Name,["Say"]=Say,["Desc"]=Desc,["Func"]=Func})
| |
| 144 | end | |
| 145 | ||
| 146 | function getPlayers(msg) | |
| 147 | local plrs = {}
| |
| 148 | if msg == "me" then | |
| 149 | table.insert(plrs, LocalPlayer) | |
| 150 | elseif msg == "all" then | |
| 151 | plrs = game:GetService("Players"):GetChildren()
| |
| 152 | elseif msg == "noobs" then | |
| 153 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 154 | if plr.AccountAge > 364 then | |
| 155 | table.insert(plrs, plr) | |
| 156 | end | |
| 157 | end | |
| 158 | elseif msg == "veterans" then | |
| 159 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 160 | if plr.AccountAge > 364 then | |
| 161 | table.insert(plrs, plr) | |
| 162 | end | |
| 163 | end | |
| 164 | elseif msg == "others" then | |
| 165 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 166 | if v ~= LocalPlayer then | |
| 167 | table.insert(plrs, v) | |
| 168 | end | |
| 169 | end | |
| 170 | else | |
| 171 | for i,v in pairs(game:GetService("Players"):GetChildren()) do
| |
| 172 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
| 173 | table.insert(plrs, v) | |
| 174 | end | |
| 175 | end | |
| 176 | end | |
| 177 | return plrs | |
| 178 | end | |
| 179 | ||
| 180 | LocalPlayer.Chatted:connect(function(m) | |
| 181 | for i,v in pairs(Cmds) do | |
| 182 | if v["Say"]..key == m:sub(1, #v["Say"]+#key) then | |
| 183 | v["Func"](getPlayers(m:sub(#v["Say"]+#key+1)), m:sub(#v["Say"]+#key+1)) | |
| 184 | end | |
| 185 | end | |
| 186 | end) | |
| 187 | ||
| 188 | AddCmd("Commands","cmds","Show the list of commands",
| |
| 189 | function() | |
| 190 | Dismiss() | |
| 191 | for i, v in pairs(Cmds) do | |
| 192 | Output(v["Name"], | |
| 193 | function() | |
| 194 | Output("Description: "..v["Desc"], __)
| |
| 195 | Output("Usage: "..v["Say"], __)
| |
| 196 | Output("Name: "..v["Name"], __)
| |
| 197 | end) | |
| 198 | end | |
| 199 | end | |
| 200 | ) | |
| 201 | ||
| 202 | ||
| 203 | AddCmd("Shutdown the game","sd","Shutdown the game",
| |
| 204 | function() | |
| 205 | Output("Shutting down! #abuserdetectedbutwotever","Very Black")
| |
| 206 | for k,v in pairs(game:GetService("Players"):GetPlayers()) do v:Destroy() end
| |
| 207 | game.Workspace.Terrain:Clear() | |
| 208 | wait(1) | |
| 209 | game.Workspace:ClearAllChildren() | |
| 210 | game:GetService("Players").PlayerAdded:connect(function(p) p:Destroy() end)
| |
| 211 | end | |
| 212 | ) | |
| 213 | ||
| 214 | AddCmd("Remove The Admin","shremove","Remove The Admin",
| |
| 215 | function() | |
| 216 | Output("Click if you want to get rid of our admin",
| |
| 217 | function() | |
| 218 | Output("Why? was it not good enough? ;~; Click again for confirmation",
| |
| 219 | function() | |
| 220 | Output("Click again for confirmation! ;~~; PLS SAY dt; TO STOP THIS OPERATION",
| |
| 221 | function() | |
| 222 | for i,v in pairs(getfenv(1)) do | |
| 223 | getfenv(1)[i] = nil | |
| 224 | end | |
| 225 | script.Disabled = true | |
| 226 | LocalPlayer = NO_PLAYER | |
| 227 | script:findFirstChild(SourceName).Value = " " | |
| 228 | script.Disabled = true | |
| 229 | tabmodel:ClearAllChildren() | |
| 230 | tabmodel:Destroy() | |
| 231 | connection:disconnect() | |
| 232 | Tabs = {}
| |
| 233 | Cmds = {}
| |
| 234 | Banlist = {}
| |
| 235 | fukhed.all = true | |
| 236 | coroutine.resume(coroutine.create(function() | |
| 237 | while wait(0.1) do | |
| 238 | Dismiss() | |
| 239 | end | |
| 240 | end)) | |
| 241 | end) | |
| 242 | end) | |
| 243 | end) | |
| 244 | end) | |
| 245 | ||
| 246 | Services = {
| |
| 247 | game:GetService("Workspace"),
| |
| 248 | game:GetService("Players"),
| |
| 249 | game:GetService("Lighting"),
| |
| 250 | game:GetService("StarterPack"),
| |
| 251 | game:GetService("StarterGui"),
| |
| 252 | game:GetService("Teams"),
| |
| 253 | game:GetService("SoundService"),
| |
| 254 | game:GetService("Debris"),
| |
| 255 | game:GetService("InsertService"),
| |
| 256 | game:GetService("RunService"),
| |
| 257 | game:GetService("Chat"),
| |
| 258 | game:GetService("TeleportService"),
| |
| 259 | game:GetService("Geometry"),
| |
| 260 | game:GetService("MarketplaceService"),
| |
| 261 | game:GetService("BadgeService"),
| |
| 262 | game:GetService("NetworkClient"),
| |
| 263 | game:GetService("FriendService"),
| |
| 264 | } | |
| 265 | ||
| 266 | ||
| 267 | ||
| 268 | AddCmd("#Commands", "#cmds", "Shows how many commands there are",
| |
| 269 | function() | |
| 270 | Output(#Cmds, __) | |
| 271 | end) | |
| 272 | ||
| 273 | ||
| 274 | ||
| 275 | function Explore(Item) | |
| 276 | Dismiss() | |
| 277 | if(Item==nil)then | |
| 278 | for _,v in pairs(Services)do | |
| 279 | Output(tostring(v),function() wait() Explore(v) end) | |
| 280 | end; | |
| 281 | else | |
| 282 | f={
| |
| 283 | ['View children']=function() | |
| 284 | Dismiss() | |
| 285 | for _,v in pairs(Item:children())do | |
| 286 | Output(v.Name,function() | |
| 287 | wait() | |
| 288 | Explore(v) | |
| 289 | end); | |
| 290 | end; | |
| 291 | end; | |
| 292 | ['View parent']=function() | |
| 293 | wait() | |
| 294 | Explore(Item.Parent) | |
| 295 | end; | |
| 296 | ['Destroy']=function() | |
| 297 | Item:Destroy(); | |
| 298 | Explore(Item.Parent); | |
| 299 | end; | |
| 300 | ['Clear']=function() | |
| 301 | Item:ClearAllChildren() | |
| 302 | end; | |
| 303 | ['Clone']=function() | |
| 304 | pcall(function() | |
| 305 | cloneableObj = Item:clone() | |
| 306 | end) | |
| 307 | end; | |
| 308 | ['Remove']=function() | |
| 309 | Item:remove() | |
| 310 | end; | |
| 311 | ['Paste']=function() | |
| 312 | if cloneableObj then | |
| 313 | cloneableObj.Parent = Item | |
| 314 | end | |
| 315 | end; | |
| 316 | ['Ki'..'ck Item']=function() | |
| 317 | NewLS("local plr = game:service'Players'.LocalPlayer; plr:Ki".."ck()", Item)
| |
| 318 | end; | |
| 319 | }; | |
| 320 | for i,v in pairs(f)do | |
| 321 | Output(tostring(i),v); | |
| 322 | end; | |
| 323 | Output('Item Name: \''..tostring(Item.Name)..'\'',nil);
| |
| 324 | Output('Class: \''..tostring(Item.ClassName)..'\'',nil);
| |
| 325 | if cloneableObj then | |
| 326 | Output('Currently Cloning: \''..tostring(cloneableObj.Name)..'\'',nil);
| |
| 327 | end | |
| 328 | end; | |
| 329 | end; | |
| 330 | ||
| 331 | AddCmd("Explore","explore","Explore the game",
| |
| 332 | function() | |
| 333 | Explore() | |
| 334 | end | |
| 335 | ) | |
| 336 | ||
| 337 | AddCmd("Dismiss","dt","Dismiss all tablets",
| |
| 338 | function() | |
| 339 | Dismiss() | |
| 340 | end) | |
| 341 | ||
| 342 | AddCmd("AFK","afk","Ping yourself as afk",
| |
| 343 | function() | |
| 344 | Dismiss() | |
| 345 | for i = 1,8 do | |
| 346 | wait() | |
| 347 | Output("AFK", __)
| |
| 348 | end | |
| 349 | end | |
| 350 | ) | |
| 351 | ||
| 352 | AddCmd("Ping","ping","Ping something",
| |
| 353 | function(plrs, msg) | |
| 354 | if msg == "" then | |
| 355 | Output("Pong", __)
| |
| 356 | else | |
| 357 | Output(msg, __) | |
| 358 | end | |
| 359 | end | |
| 360 | ) | |
| 361 | ||
| 362 | ||
| 363 | ||
| 364 | AddCmd("Ban a player","ban","Kicks a player when he enters",
| |
| 365 | function(plrs, msg) | |
| 366 | for _,v in pairs(plrs) do | |
| 367 | if v then | |
| 368 | table.insert(banlist,v.Name) | |
| 369 | v:remove() | |
| 370 | Output('Banned | '..v.Name,__)
| |
| 371 | end | |
| 372 | end | |
| 373 | end) | |
| 374 | AddCmd("Sparkles","sparkles","Give the Selected Player Sparkles.",
| |
| 375 | function(Plrs) | |
| 376 | for _,Plr in pairs(Plrs) do | |
| 377 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 378 | Instance.new("Sparkles",Plr["Character"].Torso)
| |
| 379 | end | |
| 380 | end | |
| 381 | end) | |
| 382 | ||
| 383 | AddCmd("Un-Sparkles","unsprkles","Removes Sparkles from a Selected Player.",
| |
| 384 | function(Plrs) | |
| 385 | for _,Plr in pairs(Plrs) do | |
| 386 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 387 | pcall(function() | |
| 388 | for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do | |
| 389 | if Child:IsA("Sparkles") then
| |
| 390 | Child:Destroy() | |
| 391 | end | |
| 392 | end | |
| 393 | end) | |
| 394 | end | |
| 395 | end | |
| 396 | end) | |
| 397 | AddCmd("Fire","fire","Give the Selected Player Fire.",
| |
| 398 | function(Plrs) | |
| 399 | for _,Plr in pairs(Plrs) do | |
| 400 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 401 | Instance.new("Fire",Plr["Character"].Torso)
| |
| 402 | end | |
| 403 | end | |
| 404 | end) | |
| 405 | ||
| 406 | AddCmd("Un-fire","unfire","Removes Fire from a Selected Player.",
| |
| 407 | function(Plrs) | |
| 408 | for _,Plr in pairs(Plrs) do | |
| 409 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 410 | pcall(function() | |
| 411 | for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do | |
| 412 | if Child:IsA("Fire") then
| |
| 413 | Child:Destroy() | |
| 414 | end | |
| 415 | end | |
| 416 | end) | |
| 417 | end | |
| 418 | end | |
| 419 | end) | |
| 420 | AddCmd("Smoke","smoke","Gives a player smoke.",
| |
| 421 | function(Plrs) | |
| 422 | for _,Plr in pairs(Plrs) do | |
| 423 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 424 | Instance.new("Smoke",Plr["Character"].Torso)
| |
| 425 | end | |
| 426 | end | |
| 427 | end) | |
| 428 | ||
| 429 | AddCmd("Remove Smoke","unsmoke","Removes a player's smoke",
| |
| 430 | function(Plrs) | |
| 431 | for _,Plr in pairs(Plrs) do | |
| 432 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 433 | pcall(function() | |
| 434 | for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do | |
| 435 | if Child:IsA("Smoke") then
| |
| 436 | Child:Destroy() | |
| 437 | end | |
| 438 | end | |
| 439 | end) | |
| 440 | end | |
| 441 | end | |
| 442 | end) | |
| 443 | ||
| 444 | ||
| 445 | AddCmd("Banlist","bl","Show the Current Banned Players.",
| |
| 446 | function() | |
| 447 | Dismiss() | |
| 448 | for _,BannedPlr in pairs(banlist) do | |
| 449 | Output(BannedPlr, __) | |
| 450 | end | |
| 451 | end) | |
| 452 | ||
| 453 | ||
| 454 | ||
| 455 | ||
| 456 | ||
| 457 | ||
| 458 | ||
| 459 | ||
| 460 | AddCmd("ForceField","ff","Give a player a ForceField",
| |
| 461 | function(Plrs) | |
| 462 | for _,Plr in pairs(Plrs) do | |
| 463 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 464 | Instance.new("ForceField",Plr["Character"].Torso)
| |
| 465 | end | |
| 466 | end | |
| 467 | end) | |
| 468 | ||
| 469 | ||
| 470 | AddCmd("Remove ForceField","unff","Removes a player's forcefield(s)",
| |
| 471 | function(Plrs) | |
| 472 | for _,Plr in pairs(Plrs) do | |
| 473 | if Plr~=nil and Plr["Character"]~=nil and Plr["Character"].Torso~=nil then | |
| 474 | pcall(function() | |
| 475 | for _,Child in pairs(Plr["Character"].Torso:GetChildren()) do | |
| 476 | if Child:IsA("ForceField") then
| |
| 477 | Child:Destroy() | |
| 478 | end | |
| 479 | end | |
| 480 | end) | |
| 481 | end | |
| 482 | end | |
| 483 | end) | |
| 484 | ||
| 485 | ||
| 486 | ||
| 487 | ||
| 488 | AddCmd("Create base","base","Create the base",
| |
| 489 | function() | |
| 490 | a = Instance.new("Part")
| |
| 491 | a.Parent = Workspace | |
| 492 | a.Name = "Base" | |
| 493 | a.Position = Vector3.new(0, 0.6, 0) | |
| 494 | a.Size = Vector3.new(1002, 0, 1002) | |
| 495 | a.Material = "Grass" | |
| 496 | a.Anchored = true | |
| 497 | a.BrickColor = BrickColor.new("Black")
| |
| 498 | end | |
| 499 | ) | |
| 500 | ||
| 501 | ||
| 502 | ||
| 503 | ||
| 504 | ||
| 505 | ||
| 506 | ||
| 507 | AddCmd("Toogle ChatGUI","chat","Toogle ChatGUI on/off",
| |
| 508 | function(plrs, msg) | |
| 509 | if msg == "off" then | |
| 510 | chatgui = false | |
| 511 | elseif msg == "on" then | |
| 512 | chatgui = true | |
| 513 | end | |
| 514 | end | |
| 515 | ) | |
| 516 | ||
| 517 | ||
| 518 | ||
| 519 | ||
| 520 | AddCmd("God player","god","Make the player immortal",
| |
| 521 | function(plrs) | |
| 522 | for _, plr in pairs(plrs) do | |
| 523 | if plr and plr.Character and plr.Character.Humanoid then | |
| 524 | plr.Character.Humanoid.MaxHealth = math.huge | |
| 525 | end | |
| 526 | end | |
| 527 | end | |
| 528 | ) | |
| 529 | ||
| 530 | AddCmd("Ungod player","ungod","Make the player mortal",
| |
| 531 | function(plrs) | |
| 532 | for _, plr in pairs(plrs) do | |
| 533 | if plr and plr.Character then | |
| 534 | plr.Character.Humanoid.MaxHealth = 100 | |
| 535 | end | |
| 536 | end | |
| 537 | end | |
| 538 | ) | |
| 539 | ||
| 540 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do
| |
| 541 | end | |
| 542 | ||
| 543 | ||
| 544 | ||
| 545 | ||
| 546 | function Dismiss() | |
| 547 | for i = 1, 10 do | |
| 548 | for i = 1, #Tabs do | |
| 549 | table.remove(Tabs, i) | |
| 550 | if TabModel then | |
| 551 | TabModel:ClearAllChildren() | |
| 552 | end end end | |
| 553 | end | |
| 554 | ||
| 555 | AddCmd("Admin a player","admin","Give admin to a player",
| |
| 556 | function(plrs) | |
| 557 | for _, plr in pairs(plrs) do | |
| 558 | if plr and plr.Backpack then | |
| 559 | script.Parent = plr.Backpack | |
| 560 | Output("You gave admin to: "..plr.Name, __)
| |
| 561 | end | |
| 562 | end | |
| 563 | end | |
| 564 | ) | |
| 565 | ||
| 566 | AddCmd("Kick player","kick","Kick a player",
| |
| 567 | function(plrs) | |
| 568 | for _, plr in pairs(plrs) do | |
| 569 | if plr and plr.Backpack then | |
| 570 | NewS("game:service'StarterGui':SerCoreGuiEnabled(3,false)", plr.Backpack)
| |
| 571 | plr:Destroy() | |
| 572 | end | |
| 573 | end | |
| 574 | end | |
| 575 | ) | |
| 576 | ||
| 577 | AddCmd("Script","script","Execute a Script",
| |
| 578 | function(plrs, msg) | |
| 579 | NewS(msg, workspace) | |
| 580 | end | |
| 581 | ) | |
| 582 | ||
| 583 | ||
| 584 | ||
| 585 | ||
| 586 | ||
| 587 | AddCmd("Swagify", "swag",
| |
| 588 | function(plrs) | |
| 589 | for i,v in pairs(plrs) do | |
| 590 | if v.Character:FindFirstChild("Shirt") then
| |
| 591 | v.Character.Shirt:remove() | |
| 592 | end | |
| 593 | if v.Character:FindFirstChild("Pants") then
| |
| 594 | v.Character.Pants:remove() | |
| 595 | end | |
| 596 | for j,b in pairs(v.Character:children()) do | |
| 597 | if b:IsA("BasePart") then
| |
| 598 | Instance.new("Sparkles", b).SparkleColor = Color3.new(1,0,1)
| |
| 599 | Instance.new("Fire", b).Color = Color3.new(1,0,1)
| |
| 600 | local sb = Instance.new("SelectionBox", b)
| |
| 601 | sb.Color = BrickColor.new(Color3.new(1,0,1)) | |
| 602 | sb.Adornee = sb.Parent | |
| 603 | b.BrickColor = BrickColor.new(Color3.new(1,0,1)) | |
| 604 | end | |
| 605 | end | |
| 606 | end | |
| 607 | end | |
| 608 | ) | |
| 609 | ||
| 610 | ||
| 611 | ||
| 612 | ||
| 613 | ||
| 614 | ||
| 615 | function chatgui(msg) | |
| 616 | if not chatgui then return end | |
| 617 | if probemode == false then | |
| 618 | if LocalPlayer.Character:findFirstChild("Head") then
| |
| 619 | mainPart = LocalPlayer.Character:findFirstChild("Head")
| |
| 620 | end | |
| 621 | end | |
| 622 | if probemode == true then | |
| 623 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
| 624 | mainPart = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") | |
| 625 | end | |
| 626 | end | |
| 627 | local bg = Instance.new("BillboardGui", mainPart)
| |
| 628 | bg.Adornee = mainPart | |
| 629 | bg.Name = "CHATGUIBG" | |
| 630 | bg.Size = UDim2.new(4, 0, 2.5, 0) | |
| 631 | bg.StudsOffset = Vector3.new(-4, 2, 0) | |
| 632 | local bg2 = Instance.new("BillboardGui", mainPart)
| |
| 633 | bg2.Adornee = mainPart | |
| 634 | bg2.Name = "CHATGUIBG2" | |
| 635 | bg2.Size = UDim2.new(4, 0, 2.5, 0) | |
| 636 | bg2.StudsOffset = Vector3.new(-4, 4.5, 0) | |
| 637 | local text = Instance.new("TextLabel", bg)
| |
| 638 | text.Size = UDim2.new(3, 0, 0.5, 0) | |
| 639 | text.FontSize = "Size18" | |
| 640 | text.TextScaled = true | |
| 641 | text.TextTransparency = 0 | |
| 642 | text.BackgroundTransparency = 1 | |
| 643 | text.TextTransparency = 0 | |
| 644 | text.TextStrokeTransparency = 0 | |
| 645 | text.Font = "Arial" | |
| 646 | text.TextColor = BrickColor.new("White")
| |
| 647 | text.Text = " " | |
| 648 | Message = msg:sub(1) | |
| 649 | if #Message >50 then return end | |
| 650 | for i = 0, #Message, 1 do | |
| 651 | wait(0.01) | |
| 652 | text.Text = string.gsub(""..LocalPlayer.Name..": "..Message:sub(0, i),'fk','fk')
| |
| 653 | end | |
| 654 | wait() | |
| 655 | coroutine.resume(coroutine.create(function() | |
| 656 | for i = 0, 5, 0.05 do | |
| 657 | if bg ~= nil then | |
| 658 | if bg2 ~= nil then | |
| 659 | wait() | |
| 660 | bg2.StudsOffset = bg2.StudsOffset + Vector3.new(0, 0.05, 0) | |
| 661 | end | |
| 662 | bg.StudsOffset = bg.StudsOffset + Vector3.new(0, 0.05, 0) | |
| 663 | end | |
| 664 | end | |
| 665 | end)) | |
| 666 | for i=text.TextTransparency,1,0.02 do | |
| 667 | wait() | |
| 668 | text.TextTransparency = i | |
| 669 | text.TextStrokeTransparency = i | |
| 670 | end | |
| 671 | if bg == nil then return end | |
| 672 | bg:Destroy() | |
| 673 | if bg2 == nil then return end | |
| 674 | bg2:Destroy() | |
| 675 | end | |
| 676 | ||
| 677 | LocalPlayer.Chatted:connect(chatgui) | |
| 678 | ||
| 679 | ||
| 680 | AddCmd("Probe mode", "probe", "Be a ball and fly around",
| |
| 681 | function() | |
| 682 | probemode = true | |
| 683 | Dismiss() | |
| 684 | if LocalPlayer.Character then LocalPlayer.Character = nil end | |
| 685 | if workspace.CurrentCamera == nil then return end | |
| 686 | local camera = workspace.CurrentCamera | |
| 687 | local probe = Instance.new("Part", game.Workspace)
| |
| 688 | probe.TopSurface = 0 | |
| 689 | probe.Anchored = true | |
| 690 | probe.Shape = "square" | |
| 691 | probe.BottomSurface = 0 | |
| 692 | probe.Name = LocalPlayer.Name.."'s probe" | |
| 693 | local rotation = 0 | |
| 694 | local bbg = Instance.new("BillboardGui", probe)
| |
| 695 | bbg.Size = UDim2.new(3, 0, 3 ,0) | |
| 696 | bbg.ExtentsOffset = Vector3.new(0, 2, 0) | |
| 697 | local txt = Instance.new("TextLabel", bbg)
| |
| 698 | txt.FontSize = "Size24" | |
| 699 | txt.Font = "SourceSansBold" | |
| 700 | txt.Text = LocalPlayer.Name | |
| 701 | txt.BackgroundTransparency = 1 | |
| 702 | txt.TextColor = BrickColor.new("Very Black")
| |
| 703 | txt.TextStrokeTransparency = 0 | |
| 704 | txt.Size = UDim2.new(1,0,1,0) | |
| 705 | local pl = Instance.new("PointLight", probe)
| |
| 706 | pl.Shadows = true | |
| 707 | pl.Range = 20 | |
| 708 | coroutine.wrap(function() | |
| 709 | while pl ~= nil do | |
| 710 | pl.Color=Color3.new(math.random(),math.random(),math.random()) | |
| 711 | wait(0.8) | |
| 712 | end | |
| 713 | end)() | |
| 714 | coroutine.wrap(function() | |
| 715 | while LocalPlayer.Character == nil and probe.Parent == workspace and probe ~= nil and game:service'RunService'.Stepped:wait() do | |
| 716 | probe.CFrame = camera.Focus * CFrame.Angles(0, rotation, 0) | |
| 717 | rotation = rotation + 0.1 | |
| 718 | end | |
| 719 | if camera then | |
| 720 | camera:Destroy() | |
| 721 | end | |
| 722 | probe:Destroy() | |
| 723 | end)() | |
| 724 | end | |
| 725 | ) | |
| 726 | ||
| 727 | ||
| 728 | rot = 0 | |
| 729 | coroutine.resume(coroutine.create(function() | |
| 730 | game:GetService("RunService").Stepped:connect(function()
| |
| 731 | if probemode == false then | |
| 732 | if LocalPlayer.Character then | |
| 733 | if LocalPlayer.Character:findFirstChild("Torso") then
| |
| 734 | rot = rot + 0.0001 | |
| 735 | for i,v in pairs(Tabs) do | |
| 736 | ypcall(function() | |
| 737 | local pos = LocalPlayer.Character.Torso.CFrame | |
| 738 | local radius = 4 + (#Tabs * 0.5) | |
| 739 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
| 740 | local y = 0 | |
| 741 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
| 742 | local arot = Vector3.new(x, y, z) + pos.p | |
| 743 | local brot = v.CFrame.p | |
| 744 | local crot = (arot * .1 + brot * .9) | |
| 745 | v.CFrame = CFrame.new(crot, pos.p) | |
| 746 | end) | |
| 747 | end | |
| 748 | end | |
| 749 | end | |
| 750 | end | |
| 751 | if probemode == true then | |
| 752 | if game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe") then | |
| 753 | rot = rot + 0.001 | |
| 754 | for i,v in pairs(Tabs) do | |
| 755 | ypcall(function() | |
| 756 | local pos = game.Workspace:findFirstChild(LocalPlayer.Name.."'s probe").CFrame | |
| 757 | local radius = 4 + (#Tabs * 0.5) | |
| 758 | local x = math.sin((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
| 759 | local y = 0 | |
| 760 | local z = math.cos((i / #Tabs - (0.5 / #Tabs) + rot * 2) * math.pi * 2) * radius | |
| 761 | local arot = Vector3.new(x, y, z) + pos.p | |
| 762 | local brot = v.CFrame.p | |
| 763 | local crot = (arot * .1 + brot * .9) | |
| 764 | v.CFrame = CFrame.new(crot, pos.p) | |
| 765 | end) | |
| 766 | end | |
| 767 | end | |
| 768 | end | |
| 769 | end) | |
| 770 | end)) | |
| 771 | ||
| 772 | while wait() do | |
| 773 | for i,v in pairs(game:service("Players"):GetPlayers()) do
| |
| 774 | enter(v) | |
| 775 | end | |
| 776 | end |