Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted by basstracker1970
- --Orignal TV by SunRaysEffect
- function part(parent,size,form,material,transparency,reflectance,cf,anchored,collide,name,color)
- local p = Instance.new('Part',parent)
- p.Size = size
- p.FormFactor = form or Enum.FormFactor.Custom
- p.Material = material
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CFrame = cf
- p.BrickColor = color
- p.Name = name or "Part"
- p.Anchored = anchored
- p.CanCollide = collide
- return p
- end
- function weld(parent,part0,part1,c0,c1,name)
- local w = Instance.new('Weld',parent)
- w.Part0 = part0
- w.Part1 = part1
- w.C0 = c0
- w.C1 = c1
- w.Name = name or ""
- end
- function wedgepart(parent,size,form,material,transparency,reflectance,cf,anchored,collide,name,color)
- local p = Instance.new('WedgePart',parent)
- p.Size = size
- p.FormFactor = form or Enum.FormFactor.Custom
- p.Material = material
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CFrame = cf
- p.BrickColor = color
- p.Name = name or "Part"
- p.Anchored = anchored
- p.CanCollide = collide
- return p
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=Instance.new(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- local m=Instance.new("Model")
- m.Parent = workspace
- m.Name = "TV"
- Head=part(m,Vector3.new(13.7600079, 9.75000095, 0.0500000007),nil,Enum.Material.Neon,0,0,CFrame.new(-54.25, 6.98176861, -8.16000366, 1.00000763, 7.44498418e-09, 9.53678182e-07, 7.44498374e-09, 1.00000381, 9.53150447e-10, 9.53678182e-07, 9.53150447e-10, 1.00000024),false,true,"Head",BrickColor.new("Steel blue"))
- HumanoidRootPart=part(m,Vector3.new(8.66000462, 0.579999983, 1.81999946),nil,Enum.Material.Metal,0,0,CFrame.new(-54.0103989, 0.297982514, -7.48110771, 1.00001049, -1.1384591e-09, 0.00135615468, -1.18063763e-05, 0.999980628, 0.00872192346, -0.00135347247, -0.00872187875, 0.999974787),false,true,"HumanoidRootPart",BrickColor.new("Smoky grey"))
- Torso=part(m,Vector3.new(14.4399967, 10.5999994, 1.55000019),nil,Enum.Material.Metal,0,0,CFrame.new(-54.2201538, 6.97657204, -7.35995483, 1.00000381, 3.72530007e-09, 4.76838181e-07, 3.72257158e-09, 1.00000191, -6.10155985e-06, 4.76838238e-07, 6.10250208e-06, 1.00000012),false,true,"Torso",BrickColor.new("Smoky grey"))
- Rod=part(m,Vector3.new(0.940000236, 1.29999995, 0.859999955),nil,Enum.Material.Metal,0,0,CFrame.new(-53.9555664, 1.23930025, -7.33740664, 0.61014998, -8.45952419e-10, 0.792295575, -0.00691022631, 0.999972284, 0.00532161118, -0.792263806, -0.00872182194, 0.610127687),false,true,"Rod",BrickColor.new("Smoky grey"))
- m:MakeJoints()
- for i,v in next,m:GetChildren() do
- v.Anchored = true
- end
- m.PrimaryPart = HumanoidRootPart
- local Sound = Instance.new("Sound",Head)
- Sound.SoundId = "rbxassetid://1463560946"
- local ClickDetector = Instance.new("ClickDetector",Head)
- local ids = {
- 5670802294,
- 5608304953,
- 5608297917,
- 5608410985,
- 5608327482,
- 5608369138,
- 5608368298,
- 5608403837,
- 5608359401,
- 5608321996,
- 5608292559, -- skidded
- 5608281849,
- 5670794788,
- 5608360493,
- 5608398904,
- 5670824523,
- 5608402438,
- 5608290551,
- 5608410019,
- 5608268502,
- 5670869502,
- 5608333583,
- 5608384572,
- 5608310319,
- 5608370112,
- 5670799859,
- 5670809466,
- 5608309393,
- 5608392925,
- 5608411652,
- 5608339667,
- 5608250999,
- 5608390467,
- 5608412605,
- 5608349310,
- 5670826209,
- 5608389672,
- 5608330602,
- 5608400507,
- 5608285055,
- 5670806798,
- 5608337069,
- 5670822962,
- 5608386285,
- 5608342423,
- 5608381934,
- 5608303923,
- 5608413286,
- 5670785995,
- 5608422571,
- 5670804538
- }
- ClickDetector.MouseClick:Connect(function()
- Head.Sound.Volume = 1
- Head.SurfaceGui.VideoFrame.Video = 'rbxassetid://'..ids[math.random(#ids)]
- Head.SurfaceGui.VideoFrame.TimePosition = 0
- Head.SurfaceGui.VideoFrame.Loaded:Wait()
- Head.SurfaceGui.VideoFrame.Looped = true
- Head.SurfaceGui.VideoFrame.Playing = true
- Head.SurfaceGui.VideoFrame.Volume = 5
- Head.Sound.Volume = 0
- end)
- local SurfaceGui = Instance.new("SurfaceGui",Head)
- local VideoFrame = Instance.new("VideoFrame",SurfaceGui)
- VideoFrame.Size = UDim2.new(0, 800,0, 600)
- local plr = owner
- local root = plr.Character.HumanoidRootPart
- local tv = m
- local pos = root.CFrame*CFrame.new(Vector3.new(0,0,-5))
- tv:SetPrimaryPartCFrame(CFrame.lookAt(pos.Position,root.Position));
- tv.Parent = workspace
Add Comment
Please, Sign In to add comment