I'm trying to make a RemoteEvent that prints out something when a server script is activated

--// Variables
local rs = game:GetService('ReplicatedStorage')
local events = rs.Events
--// Main
script.Parent.Touched:connect(function()
    events.Print:FireClient()
end)

Theres an error that says "Unable to cast value to Object" on line 6 but I have no idea what to put in there

2 comments

2

a player object

0

kthx