SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --This Removed Part with a Gui to Control This |
| 1 | + | while true do |
| 2 | - | |
| 2 | + | local ServerPlayers = game.Players:GetChildren() |
| 3 | - | -- Objects |
| 3 | + | for i, v in pairs(ServerPlayers) do |
| 4 | - | |
| 4 | + | -- Objects |
| 5 | - | local PlrName = "Username" |
| 5 | + | local plr = game.Players:FindFirstChild(v.Name) |
| 6 | - | |
| 6 | + | local Screen = Instance.new("ScreenGui")
|
| 7 | - | local plr = game.Players:FindFirstChild(PlrName) |
| 7 | + | local Frame = Instance.new("Frame")
|
| 8 | - | local RemoveRandomThingsGui = Instance.new("ScreenGui")
|
| 8 | + | -- Properties |
| 9 | - | local Frame = Instance.new("Frame")
|
| 9 | + | Screen.Name = "Screen" |
| 10 | - | local RemoveButton = Instance.new("TextButton")
|
| 10 | + | Screen.Parent = plr.PlayerGui |
| 11 | - | local UnRemoveButton = Instance.new("TextButton")
|
| 11 | + | Screen.ResetOnSpawn = false |
| 12 | - | local StoredParts = Instance.new("Folder")
|
| 12 | + | |
| 13 | - | |
| 13 | + | Frame.Parent = Screen |
| 14 | - | -- Properties |
| 14 | + | Frame.BackgroundColor3 = Color3.new(50, 250, 150) |
| 15 | - | |
| 15 | + | Frame.Position = UDim2.new(0, 0, 0, 0) |
| 16 | - | RemoveRandomThingsGui.Name = "RemoveRandomThingsGui" |
| 16 | + | Frame.Size = UDim2.new(1, 0, 1, 0) |
| 17 | - | RemoveRandomThingsGui.Parent = plr.PlayerGui |
| 17 | + | Frame.Active = false |
| 18 | - | RemoveRandomThingsGui.ResetOnSpawn = false |
| 18 | + | Frame.Draggable = false |
| 19 | - | |
| 19 | + | end |
| 20 | - | Frame.Parent = RemoveRandomThingsGui |
| 20 | + | wait(0.1) |
| 21 | - | Frame.BackgroundColor3 = Color3.new(1, 1, 1) |
| 21 | + | end |