
Key Required VerifiedUniversal

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 250, 0, 200)
frame.Position = UDim2.new(0.05, 0, 0.2, 0)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.Parent = screenGui
-- Перетаскивание GUI
local dragging = false
local dragStart, startPos
local function updateInput(input)
local delta = input.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
end
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
updateInput(input)
end
end)
-- Настройки платформы
local platformTime = 2
local platform = nil
-- GUI элементы
local function createLabel(text, posY)
local label = Instance.new("TextLabel")
label.Text = text
label.Size = UDim2.new(0, 230, 0, 20)
label.Position = UDim2.new(0, 10, 0, posY)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(255,255,255)
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
return label
end
local function createTextBox(text, posY, callback)
local box = Instance.new("TextBox")
box.PlaceholderText = text
box.Size = UDim2.new(0, 230, 0, 25)
box.Position = UDim2.new(0, 10, 0, posY)
box.BackgroundColor3 = Color3.fromRGB(60,60,60)
box.TextColor3 = Color3.fromRGB(255,255,255)
box.ClearTextOnFocus = false
box.Parent = frame
box.FocusLost:Connect(function()
callback(box.Text)
end)
return box
end
local function createButton(text, posY, callback)
local button = Instance.new("TextButton")
button.Text = text
button.Size = UDim2.new(0, 230, 0, 30)
button.Position = UDim2.new(0, 10, 0, posY)
button.BackgroundColor3 = Color3.fromRGB(60,60,60)
button.TextColor3 = Color3.fromRGB(255,255,255)
button.Parent = frame
button.MouseButton1Click:Connect(callback)
return button
end
-- Создание GUI элементов
createLabel("Seconds:", 10)
createTextBox(tostring(platformTime), 30, function(text)
local t = tonumber(text)
if t then platformTime = t end
end)
createButton("Create Platform", 70, function()
if platform then platform:Destroy() end
local char = player.Character or player.CharacterAdded:Wait()
local root = char:WaitForChild("HumanoidRootPart")
platform = Instance.new("Part")
platform.Anchored = true
platform.CanCollide = true
platform.Size = Vector3.new(10,1,10)
platform.Color = Color3.fromRGB(0,200,0)
platform.Position = root.Position - Vector3.new(0,3,0)
platform.Parent = workspace
task.spawn(function()
local startTime = tick()
while tick() - startTime < platformTime do
if platform and platform.Parent and root then
platform.Position = root.Position - Vector3.new(0,3,0)
end
task.wait(0.05)
end
if platform and platform.Parent then platform:Destroy() end
end)
end)
createButton("Stop Platform", 110, function()
if platform and platform.Parent then
platform:Destroy()
platform = nil
end
end)
-- Tutorial button (копирует ссылку один раз)
local copied = false
createButton("Tutorial: How to Use", 150, function()
if not copied then
UserInputService:SetClipboard("https://youtu.be/gKVNvtZdA3Q?si=fxJj4zfAUf2nvyeV")
copied = true
print("Link copied to clipboard!")
end
end)



Stop dislike my scripts
made by chatgpt lol
Bad
scam