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'

1 comment
You should post on the developer forum you request scripts but this website is for helping programmers with their errors in their code