local Player = game.Players.LocalPlayer
local ProxomityProm = script.Parent.ProximityPrompt
local change = script.Parent.Parent.IDK.SurfaceGui.TextLabel
ProxomityProm.Triggered:Connect(function()
change.Text = "IDK"..Player.Name.."HEH"
end)
COMMUNITY QUESTION
ProximityPrompt Changes the text?
1 answer
cant use local scripts in workspace, you can replace it with a script and change the script a bit like this.
local ProxomityProm = script.Parent.ProximityPrompt
local change = script.Parent.Parent.IDK.SurfaceGui.TextLabel
ProxomityProm.Triggered:Connect(function(Player)
change.Text = "IDK"..Player.Name.."HEH"
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
