Universal Script 📌
77 Views
540 Executions

3D voxel image loader

Universal Script 📌
Sweeper
SweeperFirst script
6 days ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

its where u can load images as voxels and if u wanna know how to convert images to into hexrows u need to find a site or me to convert the image to f3x you could ask me i dms for the site to convert the image into hex grids

View Raw
-- LocalScript inside a ScreenGui (StarterGui)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Locate F3X SyncAPI ServerEndpoint (adjust path if your game renames BuildingTools)
local function getSyncEndpoint()
	local tool = player.Backpack:FindFirstChild("Building Tools")
		or (player.Character and player.Character:FindFirstChild("Building Tools"))
		or ReplicatedStorage:FindFirstChild("BuildingTools")

	if tool then
		local syncApi = tool:FindFirstChild("SyncAPI")
		if syncApi and syncApi:FindFirstChild("ServerEndpoint") then
			return syncApi.ServerEndpoint
		end
	end

	-- Fallback search across workspace/ReplicatedStorage if nested
	for _, container in ipairs({ workspace, ReplicatedStorage, playerGui }) do
		local found = container:FindFirstChild("ServerEndpoint", true)
		if found and found:IsA("RemoteFunction") then
			return found
		end
	end
	return nil
end

-- Sample 12x12 voxel color map (nil/space = transparent/skip)
local SAMPLE_VOXELS = {
	{ nil, nil, "FF595E", "FF595E", nil, nil, nil, nil, "FF595E", "FF595E", nil, nil },
	{ nil, "FF595E", "FFCA3A", "FF595E", "FF595E", nil, nil, "FF595E", "FF595E", "FF595E", "FF595E", nil },
	{ "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E" },
	{ "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E" },
	{ "FF595E", "FF595E", "1982C4", "1982C4", "FF595E", "FF595E", "FF595E", "FF595E", "1982C4", "1982C4", "FF595E", "FF595E" },
	{ "FF595E", "FF595E", "1982C4", "FFFFFF", "FF595E", "FF595E", "FF595E", "FF595E", "1982C4", "FFFFFF", "FF595E", "FF595E" },
	{ "FF595E", "FF595E", "FF595E", "FF595E", "FF595E", "8AC926", "8AC926", "FF595E", "FF595E", "FF595E", "FF595E", "FF595E" },


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
200.8k
2.3M
Bumped 1 hour ago
Key System

Script hub

#21 this week

Verified script badgeAirflow HUB

Script hub
3.7M
905.6k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeFlow Hub | 73 Games | Updated

Universal Script 📌
37
16
Approved 4 hours ago
Paid
Universal Script 📌
112
508
Approved 5 hours ago