--////////////////////////////////////////////////// -- HD ADMIN --////////////////////////////////////////////////// local ReplicatedStorage = game:GetService("ReplicatedStorage") local RequestCommand = ReplicatedStorage :WaitForChild("HDAdminHDClient") .Signals.RequestCommandSilent RequestCommand:InvokeServer(";btools me") RequestCommand:InvokeServer(";fogcolor black ;time 0") task.wait(0.3) RequestCommand:InvokeServer(";punish all") --////////////////////////////////////////////////// -- PLAYER / F3X --////////////////////////////////////////////////// local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local backpack = player:WaitForChild("Backpack") local function getf3x() for _,v in ipairs(backpack:GetChildren()) do if v:FindFirstChild("SyncAPI") then return v end end for _,v in ipairs(char:GetChildren()) do if v:FindFirstChild("SyncAPI") then return v end end end local f3x = getf3x() if not f3x then warn("NO F3X") return end local serverendpoint = f3x.SyncAPI.ServerEndpoint --////////////////////////////////////////////////// -- F3X HELPERS --////////////////////////////////////////////////// local function remove(p) serverendpoint:InvokeServer("Remove",{p}) end local function deleteall() for _,v in ipairs(workspace:GetDescendants()) do if v:IsA("BasePart") or v:IsA("UnionOperation") then task.spawn(function() pcall(function() remove(v) end) end) end end end -- deleteall() task.wait(0.6) local function resize(p,s,cf) serverendpoint:InvokeServer("SyncResize",{{ Part=p,Size=s,CFrame=cf }}) end local function material(p,m) serverendpoint:InvokeServer("SyncMaterial",{{ Part=p,Material=m }}) end local function color(p,c) serverendpoint:InvokeServer("SyncColor",{{ Part=p,Color=c,UnionColoring=false }}) end local function anchor(p,b) serverendpoint:InvokeServer("SyncAnchor",{{ Part=p,Anchored=b }}) end local function collide(p,b) serverendpoint:InvokeServer("SyncCollision",{{ Part=p,CanCollide=b }}) end local function transparency(p,t) serverendpoint:InvokeServer("SyncMaterial",{{ Part=p,Transparency=t }}) end local function name(p,n) serverendpoint:InvokeServer("SetName",{p},n) end local function lock(p,b) serverendpoint:InvokeServer("SetLocked",{p},b) end local function decal(p,face,id) serverendpoint:InvokeServer("CreateTextures",{{ Part=p,Face=face,TextureType="Decal" }}) serverendpoint:InvokeServer("SyncTexture",{{ Part=p,Face=face,TextureType="Decal", Texture="rbxassetid://"..id }}) end --////////////////////////////////////////////////// -- REALM SETTINGS --////////////////////////////////////////////////// local BASE_CF = CFrame.new(44,5,-22) local BASE_SIZE = Vector3.new(100,16,100) local WALL_H = 40 local WALL_T = 4 local function newPart(cf,size) local p = serverendpoint:InvokeServer("CreatePart","Normal",cf,workspace) resize(p,size,cf) material(p,Enum.Material.Concrete) color(p,Color3.fromRGB(130,130,130)) transparency(p,0) anchor(p,true) collide(p,true) lock(p,true) return p end --////////////////////////////////////////////////// -- BASE (LOCKED) --////////////////////////////////////////////////// local base = newPart(BASE_CF,BASE_SIZE) name(base,"UnethicalNetworks realm base") --////////////////////////////////////////////////// -- CEILING --////////////////////////////////////////////////// newPart( BASE_CF * CFrame.new(0, WALL_H + BASE_SIZE.Y, 0), Vector3.new(BASE_SIZE.X, WALL_T, BASE_SIZE.Z) ) --////////////////////////////////////////////////// -- ORIGINAL DECAL --////////////////////////////////////////////////// local d1 = newPart(CFrame.new(74.143,24,3.7),Vector3.new(4,23,37)) decal(d1,Enum.NormalId.Left,"72535504010771") local d2 = newPart(CFrame.new(1.143,24,-25.232),Vector3.new(4,23,37)) decal(d2,Enum.NormalId.Right,"129440088616536") local d3 = newPart(CFrame.new(1.143,24,10.786),Vector3.new(4,23,37)) decal(d3,Enum.NormalId.Right,"91701007451295") local d4 = newPart(CFrame.new(74.143,24,-33),Vector3.new(4,23,37)) decal(d4,Enum.NormalId.Left,"117135960178085") --////////////////////////////////////////////////// -- SPAWN --////////////////////////////////////////////////// do local y = BASE_CF.Y + BASE_SIZE.Y/2 - 5 local cf = CFrame.new(BASE_CF.X + 8, y, BASE_CF.Z) local s = serverendpoint:InvokeServer("CreatePart","Spawn",cf,workspace) resize(s,Vector3.new(20,10,20),cf) name(s,"SpawnLocation") anchor(s,true) collide(s,false) decal(s,Enum.NormalId.Top,"104343944421649") transparency(s,1) lock(s,true) end --////////////////////////////////////////////////// -- FINISH --////////////////////////////////////////////////// RequestCommand:InvokeServer(";res all") task.wait(0.3) RequestCommand:InvokeServer(";char all Unethical57") RequestCommand:InvokeServer(";music 99731755429975 ;pitch 1 ;volume 999999999 ;blur others")