player = {"WindowMall"}
local players = game:GetService("Players")
local replicatedstorage = game:GetService("ReplicatedStorage")
local hatsfolder = replicatedstorage:WaitForChild("Hats")
local Dominus = hatsfolder:WaitForChild("Dominus")
for i,plr in pairs(players:GetPlayers()) do
local check = false
if players.Name == player[1] then
return true
else
return false
end
print(check)
end****
also i had a gui when i click the text it will fire
