Well i made a health bar but now i want to make a sprint bar , anybody can help me with the script for it?
wait(1)
function onPlayerEntered(player)
repeat wait () until player.Character ~= nil
local s = script.SprintScript:clone()
s.Parent = player.Character
s.Disabled = false
player.CharacterAdded:connect(function (char)
local s = script.SprintScript:clone()
s.Parent = char
s.Disabled = false
end)
end
game.Players.PlayerAdded:connect(onPlayerEntered)
So i don't know how to connect the script to the Sprint GUI frame overlay...

1 comment
Although this was nice optimisation, this was not the answer. I recommend you at least tell him early on in the answer if you are only giving an optimisation.