Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Can somebody help me script a computer that gives out tickets? [closed]

Asked by 4 years ago

Hi guys! I am wondering if I can have some help? I have a game but I am struggling to make this thing, this 'thing' is a computer, I'd like it so that only certain group members can click it, when they click it, I'd like a gui to pop up that has a box where you type in a username, so you'd type in a username and if they are in the game it'll send a custom tool but not just that, you can type a time, so the card will have the player name and the time underneath.

This is a big job so if you can do it for me I'll be so happy!

Love mimiio9 xx

0
I would like to. But I don't have time for it. antoniorigo4 117 — 4y
0
i am making TheMaleWhale_png 82 — 4y
1
This is a help site, not a request site. Don't expect others to give you code. maumaumaumaumaumua 628 — 4y

Closed as Not Constructive by hiimgoodpack and compUcomp

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago
Group = {"Player1","mimiio9","pastel_joga"}
script.Parent.ClickDetector.MouseClick:Connect(function(Player)
    for i,v in pairs(Group) do
        if v == Player.Name then
            if not Player.PlayerGui:FindFirstChild("ScreenGui") then
                script.Parent.ScreenGui:Clone().Parent = Player.PlayerGui
            end
        end
    end
end)
Ad