You can just do a wait… no need for a runService
If all u need is a delay that is
You can add a 0.1 or even 10 second delay if u wanted.
If u dont want it too fast dont make it 0.1 tho
Then it’s already a loop? can i do like this?
local module = {}
--local RunService = game:GetService("RunService")
function module.Init()
local Lighthouse = workspace:FindFirstChild("LighthouseLight")
Lighthouse.PrimaryPart = Lighthouse.Center
-- RunService.Heartbeat:Connect(function()
wait(0.5)
Lighthouse:SetPrimaryPartCFrame(Lighthouse.PrimaryPart.CFrame * CFrame.Angles(0, 0.5, 0))
end
return module
Put it all in a while loop (not the best approach but meh)
Make a wait tho it will crash if u dont
local module = {}
--local RunService = game:GetService("RunService")
function module.Init()
local Lighthouse = workspace:FindFirstChild("LighthouseLight")
Lighthouse.PrimaryPart = Lighthouse.Center
-- RunService.Heartbeat:Connect(function()
while wait(1) do
Lighthouse:SetPrimaryPartCFrame(Lighthouse.PrimaryPart.CFrame * CFrame.Angles(0, 0.5, 0))
end
end
return module
like that?
Yeah… Hopefully it doesnt backfire if it does though u can always just bring back runservice