Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pos = Vector(-9903, -266, -9345)
- local rad = 2000
- local url = "http://www.infinitelooper.com/?v=EQb_InkS7L8&p=n"
- mars_music_html = mars_music_html or NULL
- timer.Create("mars_music", 1, 0, function()
- local origin = LocalPlayer():EyePos()
- if origin:Distance(pos) < rad then
- if not mars_music_html:IsValid() then
- local html = vgui.Create("DHTML")
- html:OpenURL(url)
- html:SetSize(1,1)
- html:SetPos(ScrW(), ScrH())
- mars_music_html = html
- end
- else
- if mars_music_html:IsValid() then
- mars_music_html:Remove()
- end
- end
- end)
Add Comment
Please, Sign In to add comment