Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why isn't this remote event working, it's a server script?

It's a server script

while true do
	script.Parent.Touched:connect(function(hit)
		game.ReplicatedStorage.Events.TradeEvent:FireServer()
end)

1 answer

✓ Accepted answer

Why are you using a server script for running a Server event? And why are you running a while true do loop on a function? And the fixed script is below.

script.Parent.Touched:connect(function(hit)
	--Do trade stuff here
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.