well its not spawning objects and for some odd reason the script:UpdateWorld() is not blue like it should be.
but function is blue.
Script.spawnObject = "" --entity "spawn object"
Script.spawnTime= 1.0 --float "Spawn time"
Script.timer = 0
function Script:UpdateWorld()
self.timer = self.timer + (Time:GetSpeed()/100)
if(self.timer > self.spawnTime) then
local newObject = self.spawnObject:Instance()
newObject:SetPosition(self.entity:GetPosition ())
self.timer = 0
end
end
thank you for mentioning that its good to know.