This is the basic gist of my script
local speed = Instance.new("NumberValue", script.Parent.Parent.Cannon.Cannon.Mouth) speed.Value = 1 function OnTouch(hit) speed:clone() end script.Parent.Touched:connect(OnTouch)
The output error is: "speed is not a valid member of Part"
Can someone help? I'm confused.
Maybe try using "local speed = Instance.new('NumberValue') [Next Line]: "speed.Parent = script.Parent.Parent.Cannon.Cannon.Mouth".