Hey, I’m trying to make a claimable sign although when you interact with the proximity prompt nothing happens. Any help is appreciated.
Script:
local Players = game:GetService("Players")
local Sign = script.Parent.Parent
local ClaimPrompt = Sign.Structure.Prompt:FindFirstChild("Claim")
local OwnerText = Sign.Structure.Signs.OwnerSign.SurfaceGui:FindFirstChild("Owner")
local OwnerValue = Sign.Values:FindFirstChild("Owner")
ClaimPrompt.Triggered:Connect(function(Trigger)
if Trigger.Parent:FindFirstChild("Humanoid") and OwnerValue.Value == nil then
local Player = Players:GetPlayerFromCharacter(Trigger.Parent)
OwnerValue.Value = Player
OwnerText.Text = Player.Name..("'s Sign")
end
end)
