You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? stop time
What is the issue? I,ve got a script which break glass, And another to anchor everything, then i looked from the client, The glass has not broke, But from the server , It has, Tested only in studio
Nope Its a small testing place, Nothing but a Anchor everything script, A coplicated script that uses lots of math to compute wedge size for glass breaking and another script to execute them
This is not the full one since im doing something else, And its a psudo code
--Module script
local module = {}
function module.GlassBreak(glass,velocity,parent)
local breakpoint = math.random(something,something)
wedge1 = something
wedge2 = something
wedge3 = something
wedge4 = something
local wedgetable = {wedge1,wedge2...}
local m = instance.new(Model)
for _,v in pairs(wedgetable) do
v.Parent = m
end
m:SetPivotTo(GlassCFrame)
m.Parent = workspace
for _,v in pairs(m:GetChildren() do
v:SetNetworkOwner(nil)
v.AssemblyLinearVelocity = vel
end
function module.StopTime()
for _,v in pairs(workspace.Something)
if v:IsA(BasePart) then
v.Anchored = true
end
end
end
--script
module.BreakGlass(glass,velocity,workspace.Something)
module.BreakGlass(glass2,velocity,workspace.Something)
module.StopTime()