So i want text to appear when someone clicks. It should display this: "[name of the player who clicked] asks you to open the gate." But instead it shows only the "asks you to open the gate" part. Help?
My most recent attempt: (it is a normal script)
local sign = script.Parent.Parent.P_cel.SurfaceGui.TextLabel
local cd = script.Parent.ClickDetector
cd.MouseClick:Connect(function(plr)
sign.Text = plr.Name and "asks you to open the gate.
end)
What went wrong? And, it doesn't display any errors.
