function levit ()
while true do
local pard = Instance.new("Part",workspace)
pard.Anchored = true
pard.Position = script.Parent.Parent.LowerTorso.Position - Vector3(0,3,0)
wait (1)
pard:Destroy()
end
end
script.Parent.Equipped:Connect(levit)
I'm a novice and just tinkering to really reinforce what I've been learning; that being said I've attempted a sort of "levitation" script (similar to the path scripts of obby's in the olden days). It is located in a tool in the StarterPack, and it's intended that when the user equips the tool, a loop starts making parts spawn under their feet for a second and then be destroyed. I've been tinkering for quite some while now and the output and script analysis have cleared me of syntax errors but it's still not processing properly. Thank you.

1 comment
Btw try not to use the Instance.new's second argument. "Instance.new("Part",workspace)<---- it's better to set the parent afterwards