#how can i reduce lag in this script?
1 messages · Page 1 of 1 (latest)
figure out what context onground should be true and only run the logic while that is happening instead of all the time
yeah also dont iterate through the entire workspace every frame
jesus
why is bro using a while loop lmao
real
It’s for tornado
** You are now Level 10! **
while wait() do
if script.Parent.Scripts.OnGround.Value == true then
for i,v in pairs(game.Workspace:GetDescendants()) do
``` lol there's yer problem 
if script then