Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local wl = {Usernames = {"imfrbest201", "TsbmodsCANTBXANME", "ilikebirdhshsjs"}, UserIDs = {7626371490, 7618632479, 7624248305}}
- local p = game.Players.LocalPlayer local c = p.Character or p.CharacterAdded:Wait() local h = c:WaitForChild("Humanoid")
- local function isWhitelisted(pl) for _, u in pairs(wl.Usernames) do if pl.Name == u then return true end end for _, id in pairs(wl.UserIDs) do if pl.UserId == id then return true end end return false end
- local g = Instance.new("ScreenGui", p:WaitForChild("PlayerGui")) g.Name = "StandScreen"
- local t = Instance.new("TextLabel", g) t.Size = UDim2.new(0.5, 0, 0.2, 0) t.Position = UDim2.new(0.25, 0, 0.4, 0) t.TextScaled = true t.BackgroundTransparency = 0.5 t.BackgroundColor3 = Color3.new(0, 0, 0)
- t.TextColor3 = Color3.new(1, 1, 1) t.Font = Enum.Font.SourceSansBold
- t.Text = isWhitelisted(p) and "Welcome, " .. p.Name .. " You are whitelisted." or "Sorry, " .. p.Name .. ". get whitelist from discord.gg/standOfficial-tsb"
- game:GetService("RunService").RenderStepped:Connect(function() if h.MoveDirection.Magnitude > 0 then g:Destroy() end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement