Universal Script 📌
30 Views
5 Executions

OCsim v3 - OpenComputers OS para Roblox

Universal Script 📌
pmiguel10766
pmiguel1076610K executions
17 hours ago

Reviewed by QueueSpeedDemonPaid 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

Simulador gráfico e terminal OpenComputers v3. Inclui gestor de ficheiros, comandos de sistema, ecrãs customizados e otimização total para executores mobile.

Updates

  1. Script edited: Edited during review before approval

View Raw
local Players = game:GetService("Players")
local HttpService = game:GetService("HttpService")
local RunService = game:GetService("RunService")
local TextService = game:GetService("TextService")
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local ex = (getgenv and getgenv()) or _G
if ex.OCSimStop then pcall(ex.OCSimStop) end
local TOTAL_MEM = 2097152
local T = {
	panel = Color3.fromRGB(24, 26, 38), btn = Color3.fromRGB(44, 48, 68), accent = Color3.fromRGB(88, 166, 255),
	ok = Color3.fromRGB(70, 200, 110), bad = Color3.fromRGB(225, 80, 80), text = Color3.fromRGB(235, 238, 245),
}
local function guiParent()
	local ok, h = pcall(function() return gethui() end)
	if ok and typeof(h) == "Instance" then return h end
	return player:WaitForChild("PlayerGui")
end
local old = workspace:FindFirstChild("OC_Sim") if old then old:Destroy() end
local oldg = guiParent():FindFirstChild("OC_SimGui") if oldg then oldg:Destroy() end
local function mk(class, props, parent)
	local o = Instance.new(class)
	for k, v in pairs(props) do o[k] = v end
	o.Parent = parent
	return o
end
local function guid() return HttpService:GenerateGUID(false):lower() end
local model = mk("Model", {Name = "OC_Sim"}, workspace)
local groundY = hrp.Position.Y - 3
local lv, rv = hrp.CFrame.LookVector, hrp.CFrame.RightVector
local flat = Vector3.new(lv.X, 0, lv.Z).Unit
local rightV = Vector3.new(rv.X, 0, rv.Z).Unit
local base = Vector3.new(hrp.Position.X, groundY, hrp.Position.Z) + flat * 10
local function facing(pos) return CFrame.new(pos, Vector3.new(hrp.Position.X, pos.Y, hrp.Position.Z)) end
local function part(name, size, cf, color, mat)
	return mk("Part", {
		Name = name, Size = size, CFrame = cf, Color = color,
		Material = mat or Enum.Material.SmoothPlastic, Anchored = true,
		TopSurface = Enum.SurfaceType.Smooth, BottomSurface = Enum.SurfaceType.Smooth,


Comments

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

Tags

More universal scripts

See all
Universal Script 📌
5.5k
10.5k
Bumped 2 hours ago
Universal Script 📌#23 this week

KeylessProject UAI 2.0

Universal Script 📌
906
1.7k
Bumped 3 hours ago
Universal Script 📌
15.3k
12.9k
Bumped 5 hours ago
Universal Script 📌
3.5k
1.7k
Bumped 9 hours ago
Script hub
75.6k
259.2k
Bumped 10 hours ago
Key System
Script hub
437
501
11 hours ago
Key System
Script hub
884
1.6k
Bumped 11 hours ago