Here what i tried

local PlayerName = game.Players.LocalPlayer.Name
local part = game.Workspace.PlayerLife.LifeBar
local x = 2
game:GetService("RunService").RenderStepped:connect(function()
part.Size = Vector3.new(x, part.Size.Y, part.Size.Z)
part.CFrame = CFrame.new(part.CFrame.X - x/2, part.CFrame.Y, part.CFrame.Z)
	
end)

And the part just escaped away far far away

2 comments

0

If FE is on, just do it on the client side.

0

Yes it is but i want it only to be on the client side