UIS.InputBegan:Connect(function(s,U)if U then return end if s.KeyCode==Enum.KeyCode.F and(Enabled==true and Usable==true)then ButtonDown=true Key="\070"script.Function:FireServer("\077\111\099\104\105 \082\111\108\108",mouse.Hit.Position)local s=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121")s.MaxForce=Vector3.new(25000,0,25000)s.Parent=c.HumanoidRootPart while ButtonDown==true do c.HumanoidRootPart.CFrame=CFrame.new(c.HumanoidRootPart.Position,Vector3.new(mouse.Hit.Position.X,c.HumanoidRootPart.Position.Y,mouse.Hit.Position.Z))s.Velocity=c.HumanoidRootPart.CFrame.lookVector*75 RS.Heartbeat:Wait()end Enabled=true s:Destroy()end end)UIS.InputEnded:Connect(function(s,U)if U then return end if s.KeyCode==Enum.KeyCode.F and Key=="\070"then script.Function:FireServer("\082\101\108\101\097\115\101",mouse.Hit.Position)ButtonDown=false Key=nil end end)
--Functions--

UIS.InputBegan:Connect(function(input, isTyping)
	if isTyping then
		return
	end
	if input.KeyCode == Enum.KeyCode.F and Enabled == true and Usable == true then
		ButtonDown = true
		Key = "F"
		script.Function:FireServer("Mochi Roll", mouse.Hit.Position)

		local BV = Instance.new("BodyVelocity")
		BV.MaxForce = Vector3.new(25000, 0, 25000)
		BV.Parent = c.HumanoidRootPart

		while ButtonDown == true do
			c.HumanoidRootPart.CFrame = CFrame.new(
				c.HumanoidRootPart.Position,
				Vector3.new(mouse.Hit.Position.X, c.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z)
			)
			BV.Velocity = c.HumanoidRootPart.CFrame.lookVector * 75
			RS.Heartbeat:Wait()
		end
		Enabled = true
		BV:Destroy()
	end
end)

UIS.InputEnded:Connect(function(input, IsTyping)
	if IsTyping then
		return
	end
	if input.KeyCode == Enum.KeyCode.F and Key == "F" then
		--FireServer--
		script.Function:FireServer("Release", mouse.Hit.Position)
		ButtonDown = false
		Key = nil
	end
end)
