Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I want to add fireball but when i try to use it it says attempt to index nil with 'Position'. Why?

Asked by 2 years ago
Edited 2 years ago

local punch2 = character:FindFirstChild(player.Name.."'s Energy Punch")

punch2.Position += mouse / Vector3.new(1000,1000,1000)

0
It means that FindFirstChild doesn't find anything, and it's result is nil SuperPuiu 497 — 2y

Answer this question