hello - this is from a tutorial i'm trying to work through. Currently, I get one instance of the fireball, then Roblox throws error, "Torso is not valid a member of Model". I have this LocalScript is placed in StarterPack:
Enabled = true Mouse.KeyDown:connect (function(key) if Enabled == false then return end key = key:lower() if key =="q" then Enabled = false Fireball = Instance.new("Part") Fireball.Shape = ("Ball") Fireball.Material = "Neon" Fireball.Parent = Character Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-5) print("q") end Enabled = true end)
Thanks for looking at this, Micy852
First of all, do not use KeyDown. It is deprecated. Use UserInputService instead.
But more importantly, it is likely you are using R15, which do not have a Torso. Use Character.UpperTorso or Character.LowerTorso instead.