My magicsphere is supposed to fire out a lot of spheres and then if a player touches the sphere they die.This is the script
Player = game.Players.LocalPlayer
LazerSphear = script.Parent
Mana = 10
mouse = Player:GetMouse()
function Magic()
Mana = Mana -0.6
for MagicAffects = 1,20 do
script.Parent.Handle:Clone()
if script.Parent.Handle:FindFirstChild("Humanoid") ~= nil and Humanoid.Health not == 0 then
Humanoid.Health = 0
end
end
end

3 comments
Is this the whole script? What calls
Magic?Line 9: Attempt to call 'Humanoid' (a nil value) Line 10: Attempt to call 'Humanoid' (a nil value)
This is the whole script BlueTaslem.I forgot to call the function