it keep erroring "attempt to call a string value"
local rep = game:GetService("ReplicatedStorage")
local userinput = game:GetService("UserInputService")
local Print = function(p)
print("Lazy")
end
remotes = {
Print = rep:WaitForChild("RemoteEvent")
}
game.Players.PlayerAdded:Connect(function(p)
p.CharacterAdded:Connect(function(c)
for name, event in pairs (remotes) do
event.OnServerEvent:Connect(name)
end
end)
end)

6 comments
Oh! I see now. Thanks for the help! This site is really proving of its support. It works! ;D
You're welcome! Oh, don't forget to accept the answer.
How?
Doesn’t have to accept
But, he solve it so i acept.
O. Someone told me, that you need more than 0 rep to accept answer. But, thanks for trying