This is my server script:


applyFromServer.OnServerEvent:connect(function(Player, currentModule, activated, currentFoot)
	
	-- blablaba
	

	print(Player.Name) -- prints fine

	module.TouchedFunction(Player, activated, currentFoot, 30, firedFromClient)


	
end)

And this is my module script:

module.TouchedFunction = function(Player, activated, currentFoot, limit, firedFromClient)


	print("triggered") -- prints fine	

	print(Player.Name) -- does not print, errors


	-- blablabla
	
end

So I am assuming that this must be something to do with carrying the parameters over but I would like someone elses insight

Any help is appreciated

2 comments

0

Tahnsk for including the error! I now see what the problem is!

0

lool what a low life