Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Module assetid cannot be required from the client? Anyway to fix?

Asked by
LuaDLL 253 Moderation Voter
6 years ago
local InfinityModule = require(1340177549)

InfinityModule.infinity(game.Players.LocalPlayer.Name,"Kill","Respawn")

Anyway to fix?

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

require() can only be used on the server.

I don't think there is any way around that.

I would simply require on the server, and somehow recode what ever you working on to go from client > server.

Ad

Answer this question