Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GGG = Instance.new("ScreenGui")
- local GGF = Instance.new("Frame")
- local GGFUI = Instance.new("UICorner")
- local GGT = Instance.new("TextBox")
- local GGTUI = Instance.new("UICorner")
- local GGGB = Instance.new("TextButton")
- local GGC = Instance.new("TextButton")
- local GGM = Instance.new("TextButton")
- local GGOM = Instance.new("ImageButton")
- local UIClick = Instance.new("Sound")
- local ECCSGEAR = Instance.new("TextLabel")
- local UserInputService = game:GetService("UserInputService")
- GGG.Parent = game.CoreGui
- UIClick.Parent = game.Workspace
- UIClick.SoundId = "rbxassetid://6972137633"
- UIClick.Playing = true
- UIClick.Looped = false
- UIClick.Volume = 1
- UIClick:Stop()
- GGOM.Visible = false
- GGF.Name = "GGF"
- GGF.Parent = GGG
- GGF.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- GGF.Position = UDim2.new(0.4, 0, 0.25, 0)
- GGF.Size = UDim2.new(0, 150, 0, 150)
- GGF.BorderSizePixel = 0
- GGFUI.Parent = GGF
- GGOM.Name = "GGOM"
- GGOM.Parent = GGG
- GGOM.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GGOM.Position = UDim2.new(0.95, 0, 0.4, 0)
- GGOM.Size = UDim2.new(0, 45, 0, 45)
- GGOM.Image = "rbxassetid://15728617725"
- GGOM.Transparency = 1
- GGOM.MouseButton1Click:Connect(function()
- UIClick:Play()
- GGF.Visible = true
- GGOM.Visible = false
- writefile("GGGG.ECCS", ""..GGT.Text)
- end)
- ECCSGEAR.Name = "ECCSGEAR"
- ECCSGEAR.Parent = GGF
- ECCSGEAR.BackgroundTransparency = 1
- ECCSGEAR.Position = UDim2.new(0.35, 0, 0.1, 0)
- ECCSGEAR.Size = UDim2.new(0, 1, 0, 1)
- ECCSGEAR.Font = Enum.Font.SourceSansBold
- ECCSGEAR.Text = "ECCS•GearGiver"
- ECCSGEAR.TextColor3 = Color3.fromRGB(255, 255, 255)
- ECCSGEAR.TextTransparency = 0.5
- ECCSGEAR.TextSize = 17
- GGC.Name = "GGC"
- GGC.Position = UDim2.new(0.85, 0, 0, 0)
- GGC.Parent = GGF
- GGC.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- GGC.BackgroundTransparency = 1
- GGC.LayoutOrder = 1
- GGC.Size = UDim2.new(0, 25, 0, 25)
- GGC.AutoButtonColor = false
- GGC.Font = Enum.Font.SourceSansBold
- GGC.Text = "X"
- GGC.TextColor3 = Color3.fromRGB(255, 255, 255)
- GGC.TextScaled = true
- GGC.TextSize = 14.000
- GGC.TextWrapped = true
- GGC.MouseButton1Click:Connect(function()
- UIClick:Play()
- GGF:Destroy()
- writefile("GGGG.ECCS", ""..GGT.Text)
- end)
- GGM.Name = "GGM"
- GGM.Position = UDim2.new(0.7, 0, -0.02, 0)
- GGM.Parent = GGF
- GGM.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- GGM.BackgroundTransparency = 1
- GGM.LayoutOrder = 1
- GGM.Size = UDim2.new(0, 25, 0, 25)
- GGM.AutoButtonColor = false
- GGM.Font = Enum.Font.SourceSansBold
- GGM.Text = "-"
- GGM.TextColor3 = Color3.fromRGB(255, 255, 255)
- GGM.TextSize = 50
- GGM.MouseButton1Click:Connect(function()
- UIClick:Play()
- GGF.Visible = false
- GGOM.Visible = true
- writefile("GGGG.ECCS", ""..GGT.Text)
- end)
- GGT.Name = "GGT"
- GGT.Parent = GGF
- GGT.BackgroundColor3 = Color3.new(255, 255, 255)
- GGT.Position = UDim2.new(0.10, 0, 0.25, 0)
- GGT.Size = UDim2.new(0, 120, 0, 50)
- GGT.Font = Enum.Font.SourceSansBold
- GGT.FontSize = Enum.FontSize.Size18
- GGT.PlaceholderText = "Gear ID Here"
- GGT.Text = ""
- GGT.ClearTextOnFocus = false
- GGT.TextColor3 = Color3.new(0, 0, 0)
- GGT.TextSize = 15
- GGT.TextXAlignment = Enum.TextXAlignment.Center
- GGT.TextYAlignment = Enum.TextYAlignment.Center
- GGT.TextWrapped = true
- GGTUI.Parent = GGT
- GGGB.Name = "GGGB"
- GGGB.Position = UDim2.new(0.13, 0, 0.6, 0)
- GGGB.Parent = GGF
- GGGB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- GGGB.LayoutOrder = 1
- GGGB.Size = UDim2.new(0, 110, 0, 40)
- GGGB.AutoButtonColor = false
- GGGB.Font = Enum.Font.SourceSansBold
- GGGB.Text = "Get Gear"
- GGGB.TextColor3 = Color3.fromRGB(255, 255, 255)
- GGGB.TextSize = 40
- GGGB.BorderSizePixel = 0
- GGGB.MouseButton1Click:Connect(function()
- UIClick:Play()
- _G.Gear = game:GetObjects('rbxassetid://'..GGT.Text)[1]
- _G.Gear.Parent = game.Players.LocalPlayer.Backpack
- writefile("GGGG.ECCS", ""..GGT.Text)
- end)
- GGG.GGF.GGT.FocusLost:Connect(function(enterPressed)
- if enterPressed then
- UIClick:Play()
- _G.Gear = game:GetObjects('rbxassetid://'..GGT.Text)[1]
- _G.Gear.Parent = game.Players.LocalPlayer.Backpack
- writefile("GGGG.ECCS", ""..GGT.Text)
- end
- end)
- if not isfile("GGGG.ECCS") then
- writefile("GGGG.ECCS", ""..GGT.Text)
- end
- local GGGGR = readfile("GGGG.ECCS")
- GGT.Text = ""..GGGGR
- local gui = GGF
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- 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
- 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)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- local gui = GGOM
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- 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
- 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)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
Add Comment
Please, Sign In to add comment