So this script is supposed to parent a part to workspace every 5 seconds, I was doing a test run to make sure the code works but nothing is printed when active is true. Here's my code;
local active = script.Parent.active
local donutfolder = game.ServerStorage.donuts
local donutcode = script.Parent.donutcode
while true do
if active.Value then
elseif donutcode.Value == 1 then --> This is the line of code I know is causing it.
print("peter 'allah' griffin")
else
warn('inactive11!!!!1!')
end
wait(5)
end
Check line 6. How can I change line 6 so the print below it works?

1 comment
Try getting rid of the else in the elseif I think