Issue with module scripts

I need to find a way to get variables from a module script using a local script, Whenever I try to run require on the module script just can’t find it even though its there. This only is happening on this local script

local SS = game:GetService("ServerScriptService")
local HammerModule = require(SS.Hammers)
local Tool = script.Parent
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local Utility = Tool:WaitForChild("Utility")
local Hitbox = Tool.Hit

The client can’t access ServerSctiptService, you should use ReplicatedStorage for shared objects.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.