How do I add a kicking system for a football game?

I am updating my football training game and I wanted to add a kicking system. I want it like #footballfusions is; there is a football 25(+) yards away from the field goal. When you get close to the football there is a start button which appears over it. When you click start it teleports you a few yards back and a few yards left. It will also bring up a Gui for power and accuracy. When you click or tap it goes the sliding bar inside the Gui goes up. The higher it is when you click it to stop, the more power. Then the sliding bar will go downward and you click it to stop it. In the bar there are arrows for best power and best accuracy. When clicking both you can run up and kick it. Once you touch the football it goes forward and is affected by where you stopped the sliding bar for both power and accuracy. Here is what I have:

image


image

image

‘’'script.Parent.Football.OnTouched = true
script.Parent.OnTouched:Connect(“Football1”)
function onTouched(m)
p = m.Parent:FindFirstChild(“Humanoid”)
if p ~= nil then
p.Torso.CFrame = CFrame.new(450.698, 37.487, 318.368)

	end
end
script.Parent.Touched:Connect(onTouched)

end