I'm trying to make a fireball generator to make it look like bowser did it but it doesn't work :/
Here's the code:
local function createFirebolt()
local firebolt = Instance.new("Part")
firebolt.Position = bowser.HumanoidRootPart.Position + Vector3.new(-2,0,0) --Error
firebolt.Shape = "Ball"
firebolt.Size = Vector3.new(1,1,1)
firebolt.BrickColor = BrickColor.Red()
firebolt.CanCollide = false
firebolt.Parent = workspace

2 comments
HumanoidRootPart is not a valid member of Humanoid, it's a valid member of the Character (humanoid.Parent)
thanks that helped alot! It works now