Basically there is a function inside of a button. Said function is supposed to send the texture ID that is typed into a textbox to display on a decal. But for some reason i'm getting this error: Text is not a valid member of Player
Can someone please help?
Client
local textboxtext = script.Parent.Parent.TextBox
script.Parent.MouseButton1Click:Connect(function(textboxtext)
game.ReplicatedStorage.LoadDecal:FireServer(textboxtext)
end)
Server
game.ReplicatedStorage.LoadDecal.OnServerEvent:Connect(function(textboxtext)
game.Workspace.TVTron.Decal = "rbxassetid://"..textboxtext.Text
print("event fired!")
end)

2 comments
Not fully working but I was able to edit all of the remaining errors and make it work. I forgot to make add the texture property after decal as well as remove the textboxtext from the function in the client.
I hope I helped you!