Help me stats energy Fist

I want to make sure that a local player apnuly 10 forces he has a red fist energy and when he apnugates 100 forces he will have blue my script

   local Debris = game:GetService("Debris")
   local repStorage = 
   game:GetService("ReplicatedStorage")
    local TakeDamage = 
    repStorage.FireTakeDamage


   local function newPart(name, parent, 
    nidPoint, start, ray, pos)
local part = Instance.new("Part", parent)
part.Anchored = true
part.CanCollide = false
part.Name = name
if pos then
	part.CFrame = pos
	part.Transparency = 1
        else
	
	part.CFrame = CFrame.new(nidPoint, 
             start)
	part.Size = Vector3.new(1,1, 
            ray.Direction.Magnitude)
	part.Transparency = 0.5
	part.Material = 
            Enum.Material.SmoothPlastic
	part.Color = Color3.fromRGB(40,171,22)
        end

return part
end

local function newBeam(parent, start, endPart, 
curve)
local att0 = Instance.new("Attachment", 
   start)
local att1 = Instance.new("Attachment", 
    endPart)
local beam = Instance.new("Beam", parent)
beam.Attachment0 = att0
beam.Attachment1 = att1
beam.CurveSize0 = curve
	
return beam
   end

  local function energyFist(player, ray)
local char = player.Character
local nidPoint = ray.Origin + ray.Direction / 2
local rayStart = ray.Origin
local part = newPart(player.Name.."'s Energy 
    Fist", game.Workspace, nidPoint, rayStart, 
     ray, nil)
Debris:AddItem(part, 1)
    end