Pcall With Firing Remotes

Hey, short question: How do I use pcall with :FireServer()?
(Sorry for not posting code, should be a simple question)

This question is unclear. Please explain what you are trying to achieve!

success = false
while not success do
	pcall(function() -- so it doesn't error
		remote:FireServer()
	end)
	if success then 
		print("Fired!")
	else 
		
	end
end

(Thats my basic idea)

Firing a remote event won’t error therefore it’s useless to wrap :FireServer() in a pcall.

4 Likes