--// Servic 

local rp = game:GetService('ReplicatedStorage')
local plr = game:GetService('Players').LocalPlayer
local UIS = game:GetService('UserInputService')

repeat task.wait() until plr.Character
local char = plr.Character
local hum,hroot = char:WaitForChild('Humanoid'), char:WaitForChild('HumanoidRootPart')

local remoteFold = rp.remoteFold


remoteFold['Client'].OnClientEvent:Connect(function(Data)
	-- Module ,  ModuleFunction(Passed Data)
	if Data.M and Data.F then
		local Module = require(Data.M) -- M -> Module, F -> Function
		Module[Data.F](Data)
	end
	--print('client', Data)
	--print(Data)
end)
