VOXEL
Setup Guide
Put Voxel into ReplicatedStorage
Create a local script and place it in
StarterPlayerScripts
Paste this template:
local replicatedStorage = game:GetService("ReplicatedStorage")
local voxelModule = require(replicatedStorage.Voxel)
segmentTable = {
{length = 20, opacity = 0.992, distance = 2, color = Color3.new(1,1,1)},
{length = 10, opacity = 0.992, distance = 3, color = Color3.new(1,1,1)},
{length = 20, opacity = 0.992, distance = 6, color = Color3.new(1,1,1)},
{length = 10, opacity = 0.994, distance = 8, color = Color3.new(1,1,1)},
}
voxelModule.Initiate(segmentTable, 0.2, 0, true, 0.5)
{length = 10, opacity = 0.992, distance = 3, color = Color3.new(1,1,1)},
This represents how many times the Billboard
duplicated, its opacity, its distance, and its
color.
voxelModule.Initiate(segmentTable, 0.2, 0, true, 0.5)
This gives the segment table, the billboard
LightInfluence, and the billboard Brightness.
True is to toggle particles, 0.5 is the particle
transparency.
voxelModule.Toggle(false, both)
False is if element is visible, "both" can be
"both", "particle", or "billboard" (element
being toggled)