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

How do you make a give GUI?

Hello, I am building a cafe for someone for free. I'd like to out in a give tool GUI so the Baristas won't have to use admin? If you know how may you help me with this?

1 answer

  1. Put a script into a part
  2. Put a gui into that script and name it Gui 3.Change the scripts code to this:
script.Parent.Touched:connect(function(t)
if game.Players:FindFirstChild(t.Parent.Name) then
local player = game.Players:FindFirstChild(t.Parent.Name)
local gui = script.Gui:Clone()
if player.PlayerGui:FindFirstChild(gui.Name) == nil then
gui.Parent = player.PlayerGui
end
end
end)

1 comment

0

Wow, Thank you!

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