--//White List

local settings = require(module)
game.Players.PlayerAdded:Connect(function(player)
	local canUse = true
	if #settings.WhiteList > 0 then --There is a whitelist
		canUse = false
		for _,id in pairs(settings.WhiteList) do
			if id == player.UserId then
				canUse = true
				break
			end
		end
	end

	--Give player the local script
	if canUse then
		player.CharacterAdded:Connect(function(char)
			script["DoubleJump - Local"]:Clone().Parent = char
		end)
		if player.Character then
			script["DoubleJump - Local"]:Clone().Parent = player.Character
		end
	end
end)
