
1.2k Views
2.6k Executions
F3x Map Convertor
Universal Script 📌
2 months ago
Reviewed by ThunderModsScriptBlox staffon How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Faster generating may left some part unloaded
local Players=game:GetService("Players")local Workspace=game:GetService("Workspace")local StarterGui=game:GetService("StarterGui")local CoreGui=game:GetService("CoreGui")_G.ConvertedLuaCode=""
local function sendNotification(title,message)pcall(function()StarterGui:SetCore("SendNotification",{Title=title,Text=message,Duration=5})end)end
local function serializeValue(v)if typeof(v)=="Vector3" then
return string.format("Vector3.new(%.3f, %.3f, %.3f)",v.X,v.Y,v.Z)elseif typeof(v)=="Color3" then
return string.format("Color3.new(%.3f, %.3f, %.3f)",v.R,v.G,v.B)elseif typeof(v)=="CFrame" then
local components={v:GetComponents()}for i,comp in ipairs(components)do components[i]=string.format("%.3f",comp)end
return string.format("CFrame.new(%s)",table.concat(components,", "))elseif typeof(v)=="number" then
return string.format("%.3f",v)elseif typeof(v)=="boolean" then
return v and "true" or "false"
elseif typeof(v)=="string" then
return string.format("%q",v)end
return "nil"
end
local function getF3XPartType(obj)if obj.Name=="Head" then
return "Normal"
elseif obj:IsA("SpawnLocation")then
return "Spawn"
elseif obj:IsA("VehicleSeat")then
return "VehicleSeat"
elseif obj:IsA("Seat")then
return "Seat"
elseif obj:IsA("TrussPart")then
return "Truss"
elseif obj:IsA("WedgePart")then
return "Wedge"
elseif obj:IsA("CornerWedgePart")then
return "Corner"
elseif obj:IsA("Part")then
if obj.Shape==Enum.PartType.Cylinder then
return "Cylinder"
elseif obj.Shape==Enum.PartType.Ball then
return "Ball"
else
return "Normal"
end
end
return nil
end
local function isPlayerCharacterPart(obj)for _,plr in ipairs(Players:GetPlayers())do
if plr.Character and obj:IsDescendantOf(plr.Character)then
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






