RS.RenderStepped:Connect(function()
print(math.floor((plr.Position - item.Position).Magnitude))
if (plr.Position - item.Position).Magnitude < 7.5 then
print("yes")
GUI:FireServer()
end
end)
I'm trying to make a BillboardGui appear with TweenService when a player walks near it, but I'm using RenderStepped for this case.
Do I need to change the function to a while loop? Thanks! -Zlurm

2 comments
You have to put it the Disconnect inside the function.
I thought you can put it anywhere? Be it inside the function or outside, no??