Hi! So, I just started with this script (I've been playing around with different stuff for a bit) so I tried to make this script where if you stepped on it it would create a ScreenGui and place it in StarterGui. It does just that, however it will keep doing it each time I step on it. How do I make it only do it once?
function kill(part)
local sc = Instance.new("ScreenGui", game.StarterGui)
end
script.Parent.Touched:connect(kill)

1 comment
Take a look at this link: http://wiki.roblox.com/index.php?title=Debounce