Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:service'Players'.LocalPlayer
- gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
- text.Text = "Click for the tower."
- text.Size = UDim2.new(0,200, 0,80)
- text.Position = UDim2.new(0,600, 0,600)
- function succ()
- local tow = Instance.new("Part", workspace)
- tow.Anchored = true
- tow.Material = "Brick"
- tow.Size = Vector3.new(50,2000,50)
- tow.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-1000,0)
- for i = 1,270 do
- wait()
- tow.CFrame = tow.CFrame * CFrame.new(0,0.7,0)
- end
- end
- text.MouseButton1Click:connect(succ)
- local plr = game:service'Players'.LocalPlayer
- gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- text = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui)
- text.Text = "Click to sing."
- text.Size = UDim2.new(0,200, 0,80)
- text.Position = UDim2.new(0,300, 0,600)
- function succ2()
- local f = Instance.new("Sound",char)
- f.SoundId="rbxassetid://176147722"
- f.Volume=math.huge
- f.Pitch=1
- f:Play()
- text.MouseButton1Click:connect(succ2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement