Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local ChangeB = Instance.new("TextButton")
- local IDBox = Instance.new("TextBox")
- local plr = game:GetService("Players").LocalPlayer
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.fromRGB(4, 4, 4)
- Main.Position = UDim2.new(0.523201942, 0, 0.503253818, 0)
- Main.Size = UDim2.new(0, 265, 0, 150)
- Main.Visible = true
- Main.Draggable = true
- Title.Name = "Title"
- Title.Parent = Main
- Title.Active = true
- Title.BackgroundColor3 = Color3.fromRGB(145, 145, 145)
- Title.Size = UDim2.new(0, 265, 0, 35)
- Title.Font = Enum.Font.Michroma
- Title.Text = "Gui Made by: Meldrednyx"
- Title.TextColor3 = Color3.fromRGB(13, 13, 13)
- Title.TextSize = 15.000
- ChangeB.Name = "ChangeB"
- ChangeB.Parent = Main
- ChangeB.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- ChangeB.Position = UDim2.new(0.138418287, 0, 0.622170627, 0)
- ChangeB.Size = UDim2.new(0, 189, 0, 35)
- ChangeB.Font = Enum.Font.Michroma
- ChangeB.Text = "Change Sound"
- ChangeB.TextColor3 = Color3.fromRGB(255, 255, 255)
- ChangeB.TextSize = 14.000
- IDBox.Name = "IDBox"
- IDBox.Parent = Main
- IDBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- IDBox.Position = UDim2.new(0.138418317, 0, 0.304341078, 0)
- IDBox.Size = UDim2.new(0, 190, 0, 35)
- IDBox.Font = Enum.Font.Michroma
- IDBox.Text = "Sound ID"
- IDBox.TextColor3 = Color3.fromRGB(254, 254, 254)
- IDBox.TextSize = 14.000
- local function play()
- local id = tostring(IDBox.Text)
- A_1 =
- {
- ["Clap"] =
- {
- ["SoundId"] = id,
- ["SoundLooped"] = true,
- ["Priority"] = Enum.AnimationPriority.Action,
- ["R15"] = 868638275,
- ["R6"] = 868730451,
- ["Volume"] = 1
- }
- }
- plr.Character.Humanoid.Health = 0
- end
- plr.CharacterAdded:Connect(function()
- local Event = game:GetService("Workspace").Main.LoadSoundsIntoHead
- Event:FireServer(A_1)
- wait(.05)
- print("Done!")
- end)
- ChangeB.MouseButton1Click:Connect(function()
- play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement