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.

2 comments
I believe you meant ("NumberValue")
Thanks guy!