Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Y deletes map
- -- B places Baseplate
- -- N Brings map back and delete baseplate
- local Players = game:getservice'Players'
- local lp = Players.LocalPlayer
- local Mouse = lp:GetMouse()
- local bps = Instance.new("Part")
- bps.Position = Vector3.new(0,0,0)
- bps.Size = Vector3.new(1000,1,1000)
- bps.Name = "X5J0cGYs2HiPNaZb6"
- bps.Parent = game.ReplicatedStorage
- Mouse.KeyUp:connect(function(ken)
- if ken == "y" then
- workspace.Map.Parent = game.ReplicatedStorage
- end
- end)
- Mouse.KeyUp:connect(function(keb)
- if keb == "b" then
- bps.Parent = workspace
- end
- end)
- Mouse.KeyUp:connect(function(key)
- if key == "n" then
- game.ReplicatedStorage.Map = workspace
- bps.Parent = game.ReplicatedStorage
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement