
Key RequiredUniversal

--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- Gui to Lua
-- Version: 3.2
-- Instances:
local c00lhub = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local ImageLabel = Instance.new("ImageLabel")
local c00lgui = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local RevizAdminV3 = Instance.new("TextButton")
local UICorner_2 = Instance.new("UICorner")
local Harked = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local ProjectLigmaClient = Instance.new("TextButton")
local UICorner_4 = Instance.new("UICorner")
local T0PK3K = Instance.new("TextButton")
local UICorner_5 = Instance.new("UICorner")
local TextLabel_2 = Instance.new("TextLabel")
local UICorner_6 = Instance.new("UICorner")
--Properties:
c00lhub.Name = "5x5x5x50s script"
c00lhub.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
c00lhub.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = c00lhub
Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.Position = UDim2.new(0.228334561, 0, 0.113580234, 0)
Frame.Size = UDim2.new(0.373775512, 0, 0.008641975, 15)
ImageLabel.Parent = Frame
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 0.200
ImageLabel.Position = UDim2.new(0, 0, 0.960000277, 0)
ImageLabel.Size = UDim2.new(0, 718, 0, 351)
ImageLabel.Image = "http://www.roblox.com/asset/?id=79668268373816"
-- Make Frame draggable
local UserInputService = game:GetService("UserInputService")
local dragToggle = nil
local dragSpeed = 0.15
local dragStart = nil
local startPos = nil
local function updateInput(input)
local delta = input.Position - dragStart
local position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
Frame.Position = position
end
Frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragToggle = true
dragStart = input.Position
startPos = Frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragToggle = false
end
end)
end
end)
Frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement
or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragToggle then
updateInput(input)
end
end)No comments yet for this script.



