So I was scripting today when I got this bug, did you forget to close 'then' at line 7? I closed the "then" function with end and it did nothing, can somebody help:?
Code:
local ProximityPromt = script.Parent.ProximityPrompt
--- Code Made By usmaniusmangamer15
local SelfOrderGUI = game.StarterGui.DeliveringUI.Frame
ProximityPromt.Triggered:Connect(function()
ProximityPromt.ActionText = "Self-Order"
if ProximityPromt.ActionText == "Self-order" then
SelfOrderGUI.visible = true
ProximityPromt.Enabled = false
wait(1)
ProximityPromt.Enabled = true
end

1 comment
Thanks, Im gonna try this.