Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

3 comments

0

I would like to. But I don't have time for it.

0

i am making

1

This is a help site, not a request site. Don't expect others to give you code.

1 answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.