The following code is inserted into the player when they join, it is copied from the serverstorage, however the code never runs!
Here is the code:
local player = script.Parent
local playerfolder = game.Workspace:FindFirstChild(player.."Time")
local playertime = playerfolder:FindFirstChild("PlayerElapsedTime")
local playertimevalue = playertime.Value
while true do
playetimevalue = playertimevalue + 1
print("Value Updated")
wait(1)
end
The code is extremely simple, but doesn't run the loop when it is placed into the player.
Any suggestions?

2 comments
Try putting it in StarterPlayer.StarterPlayerScripts and see if it does anything then.
Disable the script inside ServerStorage, and when the time comes for the player to obtain it, enable the script there while it is being given to player.