Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local group = Instance.new("Accessory", owner.Character)
- local base = Instance.new("Part", group)
- base.BrickColor = BrickColor.new("Pearl")
- base.Material = "Metal"
- base.Size = Vector3.new(3, 0.5, 3)
- base.Anchored = true
- local button= Instance.new("Part", group)
- button.BrickColor = BrickColor.new("Really red")
- button.Material = "Metal"
- button.Size = Vector3.new(2.5, 0.5, 2.5)
- button.Anchored = true
- local button2= Instance.new("Part", workspace)
- button2.BrickColor = BrickColor.new("Really red")
- button2.Transparency = 1
- button2.Material = "Metal"
- button2.Size = Vector3.new(2.5, 0.5, 2.5)
- button2.Anchored = true
- local cd = Instance.new("ClickDetector", button)
- local cd2 = Instance.new("ClickDetector", button2)
- local click = Instance.new("Sound", button)
- click.SoundId = "rbxassetid://421058925"
- click.Volume = 2
- local BillboardGui = Instance.new("BillboardGui")
- local Frame = Instance.new("Frame")
- local Text = Instance.new("TextBox")
- BillboardGui.MaxDistance = 50
- BillboardGui.Name = "Type"
- BillboardGui.Parent = button
- BillboardGui.Active = true
- BillboardGui.Size = UDim2.new(15.5, 0, 15, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
- local blacklisted = {"Dinoturto"}
- Frame.Name = "Framer"
- Frame.Parent = BillboardGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.209999993, 0, 0.209999993, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.Name = "Labeler"
- Text.Parent = Frame
- Text.BackgroundColor3 = Color3.new(0, 0, 0)
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = Color3.new(0, 0, 0)
- Text.Position = UDim2.new(0.200000003, 0, 0.150000006, 0)
- Text.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.ClearTextOnFocus = false
- Text.Text = "Weird Randomized Button"
- Text.TextColor3 = Color3.new(255, 255, 255)
- Text.TextSize = 100
- Text.TextScaled = true
- Text.Font = "Arcade"
- function wbtwe(Part0, Part1, C0)
- local weld = Instance.new("Weld", Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
- return weld
- end
- local f = 0
- anim = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- for i = 1, 25 do
- f = f +0.05
- game:GetService("RunService").Stepped:wait()
- base.CFrame = base.CFrame:lerp(owner.Character.Torso.CFrame *CFrame.new(-5, 0 +math.sin(f) *0.3, 0), 0.5)
- button.CFrame = button.CFrame:lerp(owner.Character.Torso.CFrame *CFrame.new(-5, 0.5 +math.sin(f) *0.3, 0), 0.5)
- button2.CFrame = button.CFrame:lerp(owner.Character.Torso.CFrame *CFrame.new(-5, 0.5 +math.sin(f) *0.3, 0), 0.5)
- end
- end
- end)anim()
- function onMouseClick(player)
- if player.Name ~= "Dinoturto" or player.UserId ~= "977157910" or player.Name ~= "Vulnerali" then
- click:Play()
- random = math.random(1, 8)
- if random == 1 then
- local fart = Instance.new("Sound", button)
- fart.SoundId = "rbxassetid://5164672146"
- fart:Play()
- Text.Text = "It is funny. Laugh."
- end
- if random == 2 then
- local burg = Instance.new("Sound", button)
- burg.SoundId = "rbxassetid://3217252760"
- burg:Play()
- Text.Text = "How about a burger?"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(1, 0.8, 1)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 2, 0)
- local mesh2 = Instance.new("SpecialMesh", mesh)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=16646125"
- mesh2.TextureId = "http://www.roblox.com/asset/?id=16432575"
- mesh2.Scale = Vector3.new(1, 1, 1)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- end
- if random == 3 then
- Text.Text = "You're*"
- end
- if random == 4 then
- Text.Text = "You are an amazing person, "..player.Name.."."
- wait(2)
- Text.TextColor = BrickColor.new("Really red")
- Text.Text = "So lets trade accounts."
- wait(0.1)
- Text.TextColor = BrickColor.new("Institutional white")
- Text.Text = "I didn't ask anything about trading accounts in that red flash."
- end
- if random == 5 then
- local burg = Instance.new("Sound", button)
- burg.SoundId = "rbxassetid://5752104931"
- burg:Play()
- Text.Text = "How about a burger?"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- local mesh2 = Instance.new("SpecialMesh", mesh)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=16646125"
- mesh2.TextureId = "http://www.roblox.com/asset/?id=16432575"
- mesh2.Scale = Vector3.new(3.79, 3.925, 3.45)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local cd3 = Instance.new("ClickDetector", mesh)
- local eat = Instance.new("Sound", mesh)
- eat.SoundId = "http://www.roblox.com/asset/?id=22593942"
- eat.Volume = 5
- function onMouseClick3(player)
- eat:Play()
- end
- cd3.MouseClick:connect(onMouseClick3)
- end
- if random == 6 then
- Text.Text = "Block. Push it around. Yay."
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- end
- if random == 7 then
- Text.Text = "Bobux"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- mesh.BrickColor = BrickColor.new("Bright green")
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local BillboardGui = Instance.new("BillboardGui")
- local Frame = Instance.new("Frame")
- local Text = Instance.new("TextBox")
- BillboardGui.MaxDistance = 50
- BillboardGui.Name = "Type"
- BillboardGui.Parent = mesh
- BillboardGui.Active = true
- BillboardGui.Size = UDim2.new(15.5, 0, 15, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
- Frame.Name = "Framer"
- Frame.Parent = BillboardGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.209999993, 0, 0.209999993, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.Name = "Labeler"
- Text.Parent = Frame
- Text.BackgroundColor3 = Color3.new(0, 0, 0)
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = Color3.new(0, 0, 0)
- Text.Position = UDim2.new(0.200000003, 0, 0.150000006, 0)
- Text.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.ClearTextOnFocus = false
- Text.Text = "500 Bobux"
- Text.TextColor3 = Color3.new(0, 255, 0)
- Text.TextSize = 100
- Text.TextScaled = true
- Text.Font = "Arcade"
- end
- if random == 8 then
- Text.Text = "Don't click it please."
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local cd3 = Instance.new("ClickDetector", mesh)
- function onMouseClick3(player)
- for i = 1,5 do
- mesh.Material = "Neon"
- wait(0)
- mesh.Material = "Plastic"
- wait(0)
- end
- Instance.new("Explosion", workspace).Position = mesh.Position
- mesh:Destroy()
- end
- cd3.MouseClick:connect(onMouseClick3)
- end
- end
- end
- function onMouseClick2(player)
- if player.Name == owner.Name then
- click:Play()
- random = math.random(1, 8)
- if random == 1 then
- Text.Text = "It is funny. Laugh."
- local fart = Instance.new("Sound", button)
- fart.SoundId = "rbxassetid://5164672146"
- fart:Play()
- end
- if random == 2 then
- local burg = Instance.new("Sound", button)
- burg.SoundId = "rbxassetid://3217252760"
- burg:Play()
- Text.Text = "How about a burger?"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(1, 0.8, 1)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 2, 0)
- local mesh2 = Instance.new("SpecialMesh", mesh)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=16646125"
- mesh2.TextureId = "http://www.roblox.com/asset/?id=16432575"
- mesh2.Scale = Vector3.new(1, 1, 1)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- end
- if random == 3 then
- Text.Text = "You're*"
- end
- if random == 4 then
- Text.Text = "..."
- end
- if random == 5 then
- local burg = Instance.new("Sound", button)
- burg.SoundId = "rbxassetid://5752104931"
- burg:Play()
- Text.Text = "Eat up!"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- local mesh2 = Instance.new("SpecialMesh", mesh)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=16646125"
- mesh2.TextureId = "http://www.roblox.com/asset/?id=16432575"
- mesh2.Scale = Vector3.new(3.79, 3.925, 3.45)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local cd3 = Instance.new("ClickDetector", mesh)
- local eat = Instance.new("Sound", mesh)
- eat.SoundId = "http://www.roblox.com/asset/?id=22593942"
- eat.Volume = 5
- function onMouseClick3(player)
- eat:Play()
- end
- cd3.MouseClick:connect(onMouseClick3)
- end
- if random == 6 then
- Text.Text = "Block. Push it around. Yay."
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- end
- if random == 7 then
- Text.Text = "Bobux"
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- mesh.BrickColor = BrickColor.new("Bright green")
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local BillboardGui = Instance.new("BillboardGui")
- local Frame = Instance.new("Frame")
- local Text = Instance.new("TextBox")
- BillboardGui.MaxDistance = 50
- BillboardGui.Name = "Type"
- BillboardGui.Parent = mesh
- BillboardGui.Active = true
- BillboardGui.Size = UDim2.new(15.5, 0, 15, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
- Frame.Name = "Framer"
- Frame.Parent = BillboardGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.209999993, 0, 0.209999993, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.Name = "Labeler"
- Text.Parent = Frame
- Text.BackgroundColor3 = Color3.new(0, 0, 0)
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = Color3.new(0, 0, 0)
- Text.Position = UDim2.new(0.200000003, 0, 0.150000006, 0)
- Text.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.ClearTextOnFocus = false
- Text.Text = "500 Bobux"
- Text.TextColor3 = Color3.new(0, 255, 0)
- Text.TextSize = 100
- Text.TextScaled = true
- Text.Font = "Arcade"
- end
- if random == 8 then
- Text.Text = "Don't click it please."
- local mesh = Instance.new("Part", workspace)
- mesh.Size = Vector3.new(3.79, 3.14, 3.45)
- mesh.Transparency = 1
- mesh.Anchored = true
- mesh.Position = button.Position +Vector3.new(0, 4, 0)
- for i = 1,10 do
- wait()
- mesh.Transparency = mesh.Transparency -0.1
- end
- mesh.Anchored = false
- local cd3 = Instance.new("ClickDetector", mesh)
- function onMouseClick3(player)
- for i = 1,5 do
- mesh.Material = "Neon"
- wait(0)
- mesh.Material = "Plastic"
- wait(0)
- end
- Instance.new("Explosion", workspace).Position = mesh.Position
- mesh:Destroy()
- end
- cd3.MouseClick:connect(onMouseClick3)
- end
- end
- end
- cd.MouseClick:connect(onMouseClick)
- cd2.MouseClick:connect(onMouseClick2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement