
Description
Reliable and customisable for placing and burst placing with physics
Code Preview
-- SPAWN PART FUNCTION
-- ============================================================
local function spawnPart(position, addRandomForce)
-- Pick next colour in palette
State.colorIndex = (State.colorIndex % #CONFIG.Colors) + 1
local color = CONFIG.Colors[State.colorIndex]
local part = Instance.new("Part")
part.Shape = CONFIG.Shapes[State.shapeIndex]
part.Material = CONFIG.Materials[State.materialIndex]
part.Color = color
part.Size = State.partSize
part.Anchored = State.anchored
part.CastShadow = true
part.Position = positionReviews (0)
0.0
0 reviews
5
0
4
0
3
0
2
0
1
0
No reviews yet
Compatibility
Category
scripts
Rig
R6 + R15
Script Type
client
File Type
.rbxm







