You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
i want my script to wait 20 seconds and destroy my fortnite agency
What is the issue? Include screenshots / videos if possible!
it says expected function call arguments after (
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- wait(20)
script.Parent:Destroy
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
Notice how @Lyyrezim puts () after the Destroy. Destroy is a built in function, so to execute it you need to put () after. Hope that helped @Warrior15005.
// BaseScript.LuaSourceContainer extends Instance -- means any Lua Sources inherit members from the baseclass; Instance
void BaseScript.LuaSourceContainer::Destroy<:Instance>(); // Clears all connections and permanently removes all references from it.