Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local leakaudio = Instance.new("ScreenGui")
- local background = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local radioouthelp = Instance.new("TextLabel")
- local helpatend = Instance.new("TextLabel")
- local button = Instance.new("TextButton")
- local namebox = Instance.new("TextBox")
- local radioouthelp_2 = Instance.new("TextLabel")
- -- Properties
- leakaudio.Name = "leakaudio"
- leakaudio.Parent = game.CoreGui
- leakaudio.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- background.Name = "background"
- background.Parent = leakaudio
- background.BackgroundColor3 = Color3.new(1, 1, 1)
- background.BorderColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- background.BorderSizePixel = 2
- background.Position = UDim2.new(0.5, -228, 0.5, -123)
- background.Size = UDim2.new(0, 457, 0, 246)
- title.Name = "title"
- title.Parent = background
- title.BackgroundColor3 = Color3.new(1, 1, 1)
- title.BackgroundTransparency = 1
- title.Position = UDim2.new(0, 0, -0.0040650405, 0)
- title.Size = UDim2.new(0, 457, 0, 49)
- title.Font = Enum.Font.SourceSansLight
- title.Text = "Leak Radio ID Gui"
- title.TextColor3 = Color3.new(0, 0, 0)
- title.TextScaled = true
- title.TextSize = 14
- title.TextWrapped = true
- radioouthelp.Name = "radioouthelp"
- radioouthelp.Parent = background
- radioouthelp.BackgroundColor3 = Color3.new(1, 1, 1)
- radioouthelp.BackgroundTransparency = 1
- radioouthelp.Position = UDim2.new(-0.00218818383, 0, 0.227642283, 0)
- radioouthelp.Size = UDim2.new(0, 457, 0, 17)
- radioouthelp.Font = Enum.Font.SourceSansLight
- radioouthelp.Text = "To leak a audio please make sure the person you entered has the radio out."
- radioouthelp.TextColor3 = Color3.new(0, 0, 0)
- radioouthelp.TextScaled = true
- radioouthelp.TextSize = 14
- radioouthelp.TextWrapped = true
- helpatend.Name = "helpatend"
- helpatend.Parent = background
- helpatend.BackgroundColor3 = Color3.new(1, 1, 1)
- helpatend.BackgroundTransparency = 1
- helpatend.Position = UDim2.new(0, 0, 0.321138233, 0)
- helpatend.Size = UDim2.new(0, 457, 0, 17)
- helpatend.Font = Enum.Font.SourceSansLight
- helpatend.Text = "Once leaked a audio, the numbers at the end of the link you got is the sound id."
- helpatend.TextColor3 = Color3.new(0, 0, 0)
- helpatend.TextScaled = true
- helpatend.TextSize = 14
- helpatend.TextWrapped = true
- button.Name = "button"
- button.Parent = background
- button.BackgroundColor3 = Color3.new(1, 1, 1)
- button.BorderColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- button.BorderSizePixel = 2
- button.Position = UDim2.new(0.280087531, 0, 0.821138203, 0)
- button.Size = UDim2.new(0, 200, 0, 31)
- button.Font = Enum.Font.SourceSansLight
- button.Text = "leak"
- button.TextColor3 = Color3.new(0, 0, 0)
- button.TextScaled = true
- button.TextSize = 14
- button.TextWrapped = true
- namebox.Name = "namebox"
- namebox.Parent = background
- namebox.BackgroundColor3 = Color3.new(1, 1, 1)
- namebox.BorderColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- namebox.BorderSizePixel = 2
- namebox.Position = UDim2.new(0, 0, 0.524390221, 0)
- namebox.Size = UDim2.new(0, 457, 0, 50)
- namebox.Font = Enum.Font.SourceSansLight
- namebox.PlaceholderText = "enter players name"
- namebox.Text = "enter players name"
- namebox.TextColor3 = Color3.new(0, 0, 0)
- namebox.TextScaled = true
- namebox.TextSize = 14
- namebox.TextWrapped = true
- namebox.TextXAlignment = Enum.TextXAlignment.Left
- radioouthelp_2.Name = "radioouthelp"
- radioouthelp_2.Parent = background
- radioouthelp_2.BackgroundColor3 = Color3.new(1, 1, 1)
- radioouthelp_2.BackgroundTransparency = 1
- radioouthelp_2.Position = UDim2.new(0.881838083, 0, 0.930894315, 0)
- radioouthelp_2.Size = UDim2.new(0, 54, 0, 17)
- radioouthelp_2.Font = Enum.Font.SourceSansLight
- radioouthelp_2.Text = "3vpl"
- radioouthelp_2.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
- radioouthelp_2.TextScaled = true
- radioouthelp_2.TextSize = 14
- radioouthelp_2.TextWrapped = true
- local function leak(plr)
- local player
- player=plr;for i,v in pairs(workspace:GetChildren())do
- if v.Name==plr then
- for i,x in pairs(v:GetChildren())do
- if x:IsA"Tool"then
- for i,v in pairs(x:GetChildren())do
- if v.Name=="Handle"then
- for i,v in pairs(v:GetChildren())do
- if v.Name=="Sound"and v:IsA"Sound"then
- namebox.Text=v.SoundId
- end
- end
- end
- end
- end
- end
- end
- end
- end
- local players
- function FindPlayerFromCurrentText(str)
- players=game.Players;for _,v in pairs(players:GetPlayers())do
- if string.sub(v.Name,1,#str)==str then
- return v
- end
- end
- return nil
- end
- button.MouseButton1Click:connect(function()
- leak(namebox.Text)
- end)
- namebox.FocusLost:connect(function()
- namebox.Text=FindPlayerFromCurrentText(namebox.Text).Name
- end)
- local UserInputService,gui,dragging,dragInput,dragStart,startPos=game:GetService("UserInputService"),background
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement