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

What do I put inside this FireClient arguement?

Asked by 5 years ago

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
a player object theking48989987 2147 — 5y
0
kthx Bloxulen 88 — 5y

Answer this question