Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I get an error when using a value to call a player name please can I get some help?

Asked by
orcazate 170
5 years ago
game.ReplicatedStorage.PermissionToSpeak.OnServerEvent:Connect(function(player, name, seatnumber)
    local speakernow = game.Players:FindFirstChild(game.Workspace.SpeakerChair.Speaker.Value)
    if game.Players.speakernow.PlayerGui.spaker_panel.RequestOne.InUse == false then
        game.Players.speakernow.PlayerGui.spaker_panel.RequestOne.name.Text = "Name: "..player.Name
        game.Players.speakernow.PlayerGui.spaker_panel.RequestOne.seat.Text = "Seat No: "..seatnumber
    end
end)

I get this error when I press my button to request permission to speak. https://gyazo.com/2930880e6e52d20cfd4a90e5452386ee

Help would be appreciated

0
i fixed orcazate 170 — 5y

1 answer

Log in to vote
0
Answered by
orcazate 170
5 years ago

i figured it out

Ad

Answer this question