Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How could you find a player in a ModuleScript?

I have this LocalScript that calls a module but it will not work ?

require(game:GetService("ServerScriptService").Modules.SwordModules.NormalSword).Run(script.Parent, game.Players.LocalPlayer)

It seems to work on "play solo" but not on real game? Not sure why.

local sword = {}
function sword.Run(tool, plyr)
repeat wait() until tool
	print(plyr.Name)
	print(tool.Name)
end
return sword

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.