RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"proximity prompt script"
local part = script.Parent local prompt = script.Parent.Prompt local canPrompt = true local function showPrompt(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player and canPrompt then canPrompt = false prompt.Visible = true wait(2) prompt.Visible = false canPrompt = true end end part.Touched:Connect(showPrompt)