I am trying to make a wind gust in my game that launches you up into the air. Any idea on how to do it?
Here is my script currently
function partTouched(obj) if obj.Parent:findFirstChild("Humanoid") then script.Parent:findFirstChild("Humanoid").Position = script.Parent:findFirstChild("Humanoid").Position + Vector3.new(0,1,0) end end script.Parent.Touched:connect(partTouched)
when i test this it comes up with an error
Workspace.IceFX.Script:3: attempt to index nil with 'Position'
Closed as Not Constructive by awfulszn, MarkedTomato, and JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?