Hello,
I’m trying to make it so a players name will show up when they join a party by changing the text from a table but it is not working… am I making an obvious mistake?
local PlayerOneAdded = game.ReplicatedStorage.RemoteEvents.PlayerOneAdded
local PlayerTwoAdded = game.ReplicatedStorage.RemoteEvents.PlayerTwoAdded
local CrewMembers = require(game.Workspace.CrewModuleScript)
PlayerOneAdded.OnClientEvent:Connect(function(player)
wait(.5)
script.Parent.Parent.PlayerOneName.Text = ""..CrewMembers[1]..""
end)
PlayerTwoAdded.OnClientEvent:Connect(function(player)
script.Parent.Text = game.Players.LocalPlayer.Name
end)