Here.lua (675 Bytes)
Wait, I changed something very quickly, cause I did something wrong, Iâll try again.
local Allowed = {[1130831331] = true, [0] = true} -- your User Id(s)
local ServerStorage = game:GetService("ServerStorage")
game.Players.PlayerAdded:Connect(function(Player)
if Allowed[Player.UserId] then
local UI = ServerStorage:FindFirstChild("Admin"):Clone()
UI.Parent = Player.PlayerGui
end
end)
local Function = game:GetService("ReplicatedStorage"):FindFirstChild("^&*")
Function.OnServerInvoke = function(Player, Username, Race)
print(Username, Race)
Player.Race.Value = tostring(Race)
print(Player.Name .. " changed " .. tostring(Race.Text) .. " " .. tostring(game.Players:FindFirstChild(Username).Race.Value) .. " to " .. Username)
end
It just doesnât work.
i cant import in studio (30 30 30 30)
Just copy and paste above, itâs a script anyways, not local. and itâs called âServerScriptâ
i forgor something, here;
Function.OnServerInvoke = function(Player, Username, Race)
print(Username, Race)
Player.Race.Value = Race.Text
print(Player.Name .. " changed " .. tostring(Race.Text) .. " " .. tostring(game.Players:FindFirstChild(Username).Race.Value) .. " to " .. Username)
end
Alright, Iâll try again, hopefully itâll work.
The GUI wonât open LOL, only the button moves down.
use visible in code im tired (30 30 30)
Also mind updating it slightly then, so it just goes visible?