So this code is meant to stop the player moving by pressing g and after 5 seconds return the players speed. ``
function Remove() game.Workspace.Player1.Humanoid.WalkSpeed = 1 end
function Go() game.Workspace.Player1.Humanoid.WalkSpeed = 16 end
function time() remove() wait(5) Go() end local function onKeyDown( key ) print("g", key, " time:", string.byte(key)) end ``

2 comments
Use the god damn code block.
I cannot understand the code properly as it hasn't been put in a code block.