Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- if not plr then
- return
- end
- mouse = plr:GetMouse()
- function epress(key)
- if key == "e" then
- sk = Instance.new("Sky", game.Lighting)
- sk.SkyboxBk = "rbxassetid://96705493"
- sk.SkyboxDn = "rbxassetid://96705493"
- sk.SkyboxFt = "rbxassetid://96705493"
- sk.SkyboxLf = "rbxassetid://96705493"
- sk.SkyboxRt = "rbxassetid://96705493"
- sk.SkyboxUp = "rbxassetid://96705493"
- s = Instance.new("Sound", game.Workspace)
- s.SoundId = "rbxassetid://130828985"
- s.Looped = true
- s.PlayOnRemove = true
- s:Play()
- end
- end
- function dpress(key)
- if key == "d" then
- sk:remove()
- s:remove()
- end
- end
- mouse.KeyDown:connect(epress)
- mouse.KeyDown:connect(dpress)
Add Comment
Please, Sign In to add comment