-- Functions


workspace.Gravity = gravity

soundService.AmbientReverb = amientReverb

chat.BubbleChatEnabled = bubbleChatEnabled

players.RespawnTime = respawnTime

lighting.ClockTime = clockTime
lighting.FogColor = fogColor
lighting.FogEnd = fogEnd
lighting.FogStart = fogStart

local function onPlayerAdded(player : Player)
	
	local function onCharacterAdded(character : Model)
		local humanoid = character:FindFirstChildOfClass("Humanoid")

		humanoid.WalkSpeed = walkSpeed
		humanoid.JumpPower = jumpPower
	end

	player.CharacterAdded:Connect(onCharacterAdded)	
end

game.Players.PlayerAdded:Connect(onPlayerAdded)
