8f56
(alu)
1
My script that makes a script appear after using proxmity prompt doesn’t work help. It doesn’t print anything either
local plr = game.Players.LocalPlayer
local detect = script.Parent
detect.Triggered:Connect(function()
print(plr, plr.PlayerGui:FindFirstChild("Terminal Gui"))
plr.PlayerGui:FindFirstChild("Terminal Gui").Enabled = true
end)
4667hp
(Account Info)
2
try this
local detect = script.Parent
detect.Triggered:Connect(function(plr)
print(plr, plr.PlayerGui:FindFirstChild("Terminal Gui"))
plr.PlayerGui:FindFirstChild("Terminal Gui").Enabled = true
end)
put the script in your proximity prompt

8f56
(alu)
3
I am using local script, and it still doesn’t work
4667hp
(Account Info)
4
you need to use a server script
8f56
(alu)
5
But i want it to appear for one person
4667hp
(Account Info)
6
when you trigger the proximity prompt it gets the player that triggered it in this line
detect.Triggered:Connect(function(plr)