local p = script.Parent
p.Touched:Connect(function()
game.ReplicatedStorage.WorldEvents.BoatShopEvent1:FireClient()
end)
p.TouchEnded:Connect(function()
game.ReplicatedStorage.WorldEvents.BoatShopEvent2:FireClient()
end)
I don't understand what I did wrong, I was told I could fire remote events from the server to the client. I attempted this, and can't find the error.

1 comment
This should most likely be a local script in which case you’d want OnClientEvent, but what is the function here? Who’s doing the touch? Where is the GUI stored?