Advertisement
Eproq012

10381dkq

Nov 30th, 2024 (edited)
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. local wl = {Usernames = {"imfrbest201", "TsbmodsCANTBXANME", "ilikebirdhshsjs"}, UserIDs = {7626371490, 7618632479, 7624248305}}
  2. local p = game.Players.LocalPlayer local c = p.Character or p.CharacterAdded:Wait() local h = c:WaitForChild("Humanoid")
  3. 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
  4. local g = Instance.new("ScreenGui", p:WaitForChild("PlayerGui")) g.Name = "StandScreen"
  5. 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)
  6. t.TextColor3 = Color3.new(1, 1, 1) t.Font = Enum.Font.SourceSansBold
  7. t.Text = isWhitelisted(p) and "Welcome, " .. p.Name .. " You are whitelisted." or "Sorry, " .. p.Name .. ". get whitelist from discord.gg/standOfficial-tsb"
  8. game:GetService("RunService").RenderStepped:Connect(function() if h.MoveDirection.Magnitude > 0 then g:Destroy() end end)
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement