im getting this error ServerScriptService.award:6: attempt to concatenate local 'awardd' (a nil value)
im trying to make a thing where u put text in textboxes then when u press submit ur text comes up on a surface gui
heres my code
client::
local remote = game.ReplicatedStorage.award
script.Parent.MouseButton1Click:Connect(function()
remote:FireServer(script.Parent.Parent.Name.Text, script.Parent.Parent.Award.Text)
end)
server:
local remote = game.ReplicatedStorage.award
remote.OnServerEvent:Connect(function(player, awardd)
game.Workspace.Screen.MainScreen.SurfaceGui.StartPage.Visible = false
game.Workspace.Screen.MainScreen.SurfaceGui.Award.Visible = true
game.Workspace.Screen.MainScreen.SurfaceGui.Award.TextLabel.Text = "Congratulations, "..player.." you have won the "..awardd
print(player, awardd)
end)

1 comment
that doesnt fix it