
Key RequiredUniversal

-- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879)
-- Instances:
local Converted = {
["_ScreenGui"] = Instance.new("ScreenGui");
["_Frame"] = Instance.new("Frame");
["_UIStroke"] = Instance.new("UIStroke");
["_Frame1"] = Instance.new("Frame");
["_TextButton"] = Instance.new("TextButton");
["_UIStroke1"] = Instance.new("UIStroke");
["_LocalScript"] = Instance.new("LocalScript");
["_Smooth GUI Dragging"] = Instance.new("LocalScript");
}
-- Properties:
Converted["_ScreenGui"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Converted["_ScreenGui"].Parent = game:GetService("CoreGui")
Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Converted["_Frame"].BorderColor3 = Color3.fromRGB(0, 0, 0)
Converted["_Frame"].BorderSizePixel = 0
Converted["_Frame"].Position = UDim2.new(0.356356978, 0, 0.311274499, 0)
Converted["_Frame"].Size = UDim2.new(0, 193, 0, 398)
Converted["_Frame"].Parent = Converted["_ScreenGui"]
Converted["_UIStroke"].Color = Color3.fromRGB(255, 0, 0)
Converted["_UIStroke"].Parent = Converted["_Frame"]
Converted["_Frame1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Converted["_Frame1"].BackgroundTransparency = 1
Converted["_Frame1"].BorderColor3 = Color3.fromRGB(0, 0, 0)
Converted["_Frame1"].BorderSizePixel = 0
Converted["_Frame1"].Size = UDim2.new(0, 193, 0, 48)
Converted["_Frame1"].Parent = Converted["_Frame"]
Converted["_TextButton"].Font = Enum.Font.SourceSans
Converted["_TextButton"].Text = "Decal Spam"
Converted["_TextButton"].TextColor3 = Color3.fromRGB(0, 0, 0)
Converted["_TextButton"].TextSize = 14
Converted["_TextButton"].BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Converted["_TextButton"].BorderColor3 = Color3.fromRGB(0, 0, 0)
Converted["_TextButton"].BorderSizePixel = 0
Converted["_TextButton"].Position = UDim2.new(0, 0, 1.66666663, 0)
Converted["_TextButton"].Size = UDim2.new(0, 94, 0, 50)
Converted["_TextButton"].Parent = Converted["_Frame1"]
Converted["_UIStroke1"].Color = Color3.fromRGB(255, 0, 4.000000236555934)
Converted["_UIStroke1"].Parent = Converted["_TextButton"]
-- Fake Module Scripts:
local fake_module_scripts = {}
-- Fake Local Scripts:
local function DVBYLRS_fake_script() -- Fake Script: StarterGui.ScreenGui.Frame.Frame.TextButton.LocalScript
local script = Instance.new("LocalScript")
script.Name = "LocalScript"
script.Parent = Converted["_TextButton"]
local req = require
local require = function(obj)
local fake = fake_module_scripts[obj]
if fake then
return fake()
end
return req(obj)
end
--rgrg
local player = game.Players.LocalPlayer
local char = player.Character
local tool
for i,v in player:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
for i,v in game.ReplicatedStorage:GetDescendants() do
if v.Name == "SyncAPI" then
tool = v.Parent
end
end
--craaa
remote = tool.SyncAPI.ServerEndpoint
function _(args)
remote:InvokeServer(unpack(args))
end
function SetCollision(part,boolean)
local args = {
[1] = "SyncCollision",
[2] = {
[1] = {
["Part"] = part,
["CanCollide"] = boolean
}
}
}
_(args)
end
function SetAnchor(boolean,part)
local args = {
[1] = "SyncAnchor",
[2] = {
[1] = {
["Part"] = part,
["Anchored"] = boolean
}
}
}
_(args)
end
function CreatePart(cf,parent)
local args = {
[1] = "CreatePart",
[2] = "Normal",
[3] = cf,
[4] = parent
}
_(args)
end
function DestroyPart(part)
local args = {
[1] = "Remove",
[2] = {
[1] = part
}
}
_(args)
end
function MovePart(part,cf)
local args = {
[1] = "SyncMove",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf
}
}
}
_(args)
end
function Resize(part,size,cf)
local args = {
[1] = "SyncResize",
[2] = {
[1] = {
["Part"] = part,
["CFrame"] = cf,
["Size"] = size
}
}
}
_(args)
end
function AddMesh(part)
local args = {
[1] = "CreateMeshes",
[2] = {
[1] = {
["Part"] = part
}
}
}
_(args)
end
function SetMesh(part,meshid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["MeshId"] = "rbxassetid://"..meshid
}
}
}
_(args)
end
function SetTexture(part, texid)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["TextureId"] = "rbxassetid://"..texid
}
}
}
_(args)
end
function SetName(part, stringg)
local args = {
[1] = "SetName",
[2] = {
[1] = part
},
[3] = stringg
}
_(args)
end
function MeshResize(part,size)
local args = {
[1] = "SyncMesh",
[2] = {
[1] = {
["Part"] = part,
["Scale"] = size
}
}
}
_(args)
end
function Weld(part1, part2,lead)
local args = {
[1] = "CreateWelds",
[2] = {
[1] = part1,
[2] = part2
},
[3] = lead
}
_(args)
end
function SetLocked(part,boolean)
local args = {
[1] = "SetLocked",
[2] = {
[1] = part
},
[3] = boolean
}
_(args)
end
function SetTrans(part,int)
local args = {
[1] = "SyncMaterial",
[2] = {
[1] = {
["Part"] = part,
["Transparency"] = int
}
}
}
_(args)
end
function CreateSpotlight(part)
local args = {
[1] = "CreateLights",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight"
}
}
}
_(args)
end
function SyncLighting(part,brightness)
local args = {
[1] = "SyncLighting",
[2] = {
[1] = {
["Part"] = part,
["LightType"] = "SpotLight",
["Brightness"] = brightness
}
}
}
_(args)
end
function Color(part,color)
local args = {
[1] = "SyncColor",
[2] = {
[1] = {
["Part"] = part,
["Color"] = color --[[Color3]],
["UnionColoring"] = false
}
}
}
_(args)
end
function SpawnDecal(part,side)
local args = {
[1] = "CreateTextures",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal"
}
}
}
_(args)
end
function AddDecal(part,asset,side)
local args = {
[1] = "SyncTexture",
[2] = {
[1] = {
["Part"] = part,
["Face"] = side,
["TextureType"] = "Decal",
["Texture"] = "rbxassetid://".. asset
}
}
}
_(args)
end
function Sky(id)
e = char.HumanoidRootPart.CFrame.x
f = char.HumanoidRootPart.CFrame.y
g = char.HumanoidRootPart.CFrame.z
CreatePart(CFrame.new(math.floor(e),math.floor(f),math.floor(g)) + Vector3.new(0,6,0),workspace)
for i,v in game.Workspace:GetDescendants() do
if v:IsA("BasePart") and v.CFrame.x == math.floor(e) and v.CFrame.z == math.floor(g) then
--spawn(function()
SetName(v,"Sky")
AddMesh(v)
--end)
--spawn(function()
SetMesh(v,"8006679977")
SetTexture(v,id)
--end)
MeshResize(v,Vector3.new(50,50,50))
SetLocked(v,true)
end
end
end
Sky("16629898629")
-----------------------------------
end
local function UPQJD_fake_script() -- Fake Script: StarterGui.ScreenGui.Frame.Smooth GUI Dragging
local script = Instance.new("LocalScript")
script.Name = "Smooth GUI Dragging"
script.Parent = Converted["_Frame"]
local req = require
local require = function(obj)
local fake = fake_module_scripts[obj]
if fake then
return fake()
end
return req(obj)
end
local UserInputService = game:GetService("UserInputService")
local runService = (game:GetService("RunService"));
local gui = script.Parent
local dragging
local dragInput
local dragStart
local startPos
function Lerp(a, b, m)
return a + (b - a) * m
end;
local lastMousePos
local lastGoalPos
local DRAG_SPEED = (8); -- // The speed of the UI darg.
function Update(dt)
if not (startPos) then return end;
if not (dragging) and (lastGoalPos) then
gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED))
return
end;
local delta = (lastMousePos - UserInputService:GetMouseLocation())
local xGoal = (startPos.X.Offset - delta.X);
local yGoal = (startPos.Y.Offset - delta.Y);
lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal)
gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED))
end;
gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position
lastMousePos = UserInputService:GetMouseLocation()
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
runService.Heartbeat:Connect(Update)
end
coroutine.wrap(DVBYLRS_fake_script)()
coroutine.wrap(UPQJD_fake_script)()



Yoooo made my f3x gui pls