local module = {} function module.test(player) if player ~= nil then local player1 = game.Players:WaitForChild(player) local mousescript = script.MOUSE mousescript.Module.Value = script mousescript.Parent = player.Character mousescript.Disabled = false end end return module
When I look in the explorer I see the localscript is gone but when I look in the character I dont see the localscript.
This is the following code I used for requiring the module. the script is located in workspace and is a server sided script.
wait(4) require(workspace.ModuleScript).test("antoniorigo4")
what's its supposed to do: When it gets required it parents a localscript to the players character then enabling it and the localscript fires a remoteevent when the player presses the f key on their keyboard
Sorry if I cannot explain it properly.