Hi,
I use heartbeart for my car raycast suspension as it’s the best solution to make the car stable but i’ve noticed that it causes sometimes freezes and in the worst case crashing the game. So in my script i tried to use While game:GetService("RunService").HeartBeat:Wait() do and the direct game:GetService("RunService").HeartBeat:connect(function() but both causes the same thing.
if you have past experience or an explanation feel free to write it down.
And Thank you for all your support!!
It shouldn’t crash your game with a wait. Do this game:GetService(“RunService”).HeartBeat:connect(function()
task.wait()
end
1 Like
Also I’m pretty sure getservices doesn’t work. It has to be “GetService”
1 Like