Doing a few checks on the server.
Am I thinking this is going to do what I want it too right? I have not touched tick really so I don’t exactly understand it however I understand people do some math like: tick() - x > y
Code:
if engineNitro ~= 0 and NitroEnabled == true and tick() - NitroTime > 1 then
continue
else
if speed > MaxSpeed and speed == NitroMaxSpeed then
if speed == NitroMaxSpeed or speed == NitroMaxAccel then
player:Kick("exploit test")
local co = coroutine.running()
if engine.Parent ~= nil then
engine:SetAttribute("_speed", 0)
engine.Parent:Destroy()
else
print("destroyed cheater car")
end
if co ~= nil then
coroutine.yield(co)
coroutine.close(co)
end
end
end
end