local event = game.ReplicatedStorage.CameraEvent
-- removed more stuff that isnt needed
local function onReceived()
print("event fired")
-- unnecessary stuff removed
print("should be visible....")
end
event.OnClientEvent:Connect(onReceived)
Server (ServerScriptService):
local event = game.ReplicatedStorage.CameraEvent
local function onReceived(plr)
-- uneccesary stuff gone again
if speedover <= 10 then
event:FireClient(plr,amounts.amount1, limit, speed)
print("1")
end
end
event.OnServerEvent:Connect(onReceived)
I know the server script is running due to the presence of several print checks running - all of them work, until its transferred to the client. Any help appreciated.
It fires the event to trigger the server, sure. Apologies for the tart response, but we’re getting off topic - the issue is the localscript in StarterPlayerScripts isn’t running when the event is fired, not anything else.