Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local Stats = player.PlayerGui.Stats
- --Stats.Corner.Return:Destroy()
- Stats.BuyEnemies.Visible = false
- Stats.EnemyArrow.Visible = false
- Stats.BlueLives.Wave.bar.Selectable = false
- Stats.BlueLives.Wave.label.Selectable = false
- Stats.BlueLives.Wave.red.Selectable = false
- Stats.RedLives.Wave.bar.Selectable = false
- Stats.RedLives.Wave.label.Selectable = false
- Stats.RedLives.Wave.red.Selectable = false
- local b1 = Instance.new("TextButton")
- b1.Size = UDim2.new(0, 60,0, 60)
- b1.BackgroundTransparency = 0.4
- b1.BackgroundColor3 = Color3.new(0, 0, 0)
- b1.Text = "Camera Reset"
- b1.TextWrapped = true
- b1.Name = "Return"
- b1.Parent = Stats.Corner
- Stats.Corner.BackgroundTransparency = 1
- game.Lighting.Buildings.DJ.Tower.Torso.Music.MaxDistance = 500
- game.Lighting.Buildings.DJ4.Tower.Torso.Music.MaxDistance = 500
- game.Lighting.Buildings.DJ5.Tower.Torso.Music.MaxDistance = 500
- function RedLives()
- game.Workspace.Camera.CameraType = Enum.CameraType.Attach
- game.Workspace.Camera.CameraSubject = workspace.red
- end
- function BlueLives()
- game.Workspace.Camera.CameraType = Enum.CameraType.Attach
- game.Workspace.Camera.CameraSubject = workspace.blue
- end
- function Return()
- game.Workspace.Camera.CameraType = Enum.CameraType.Follow
- game.Workspace.Camera.CameraSubject = player.Character.Humanoid
- end
- Stats.Corner.Return.MouseButton1Click:Connect(Return)
- Stats.BlueLives.Wave.MouseButton1Click:Connect(BlueLives)
- Stats.RedLives.Wave.MouseButton1Click:Connect(RedLives)
Add Comment
Please, Sign In to add comment