I have an issue Exploiters keep managing to find this remote and firing it no matter how many times I move it

game:GetService("Lighting"):WaitForChild("Santa"):FindFirstChild(script.Name).OnServerEvent:connect(function(plr, key)
	if key == "Father" then

	if plr.stats.Level.Value <= 800 then
	
	if game:GetService("GamePassService"):PlayerHasPass(plr, 6797375) then	
	
	local add = plr.stats.Level.Value * 1

	

plr.stats.Level.Value = plr.stats.Level.Value + 1

if plr.stats.Level.Value % 5 == 0 then
plr.stats.Spins.Value = plr.stats.Spins.Value + 1
end
plr.stats.XP.Value = plr.stats.Level.Value * 10
	else
		
		local add = plr.stats.Level.Value * 1

	

plr.stats.Level.Value = plr.stats.Level.Value + 1

if plr.stats.Level.Value % 5 == 0 then
plr.stats.Spins.Value = plr.stats.Spins.Value + 1
end
plr.stats.XP.Value = plr.stats.Level.Value * 20
	end
	end
	end
end)

2 comments

0

You can allocate the RemoteEvent, then activate a thread to scramble it's name if it is that bad

0

How Does One do that?