So I made this module where it makes a part on the position That I put. But it doesn’t make the part. This is the module:
local ShockWave = {}
function ShockWave.MakePart(position)
local Sphere = Instance.new('Part')
Sphere.Name = "ShockWave"
Sphere.Shape = Enum.PartType.Ball
Sphere.Parent = workspace
Sphere.Position = position
end
return ShockWave
local RaycastHitbox = require(game.ReplicatedStorage.Remotes.Modules.RaycastHitbox)
local ShockWave = require(game.ServerScriptService.Modules.Visualiser.Modules.ShockWave)
local Hitbox = RaycastHitbox:Initialize(script.Parent.Weapon)