Hello, I'm very new to scripting as I've just started learning it yesterday. I'm currently learning functions and events right now. I need help getting this script working properly in the way I want it to.
game.Workspace.TouchPart.Touched:Connect(function(hit)
while do true
Instance.new("Part", game.Workspace)
wait (1)
end
end)
What this script is supposed to do, is when your character walks on/touches a specific pre-existing part already placed in Workspace, objects would continuously be created at the center of the Baseplate, and you can no longer stop it. That's a basically the whole gist of the script I'm attempting to make.
Any help is useful.

2 comments
Ooohhhhh, whoops, didn't notice that typo. Thanks for helping, it works now.
If this answered your question be sure to accept it :)