Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --How has no-one done this yet, sense we can't TECHNICALLY inject guis into other players PlayerGuis, why not position a part to do it
- --For Us?
- -- Love, Scappy
- local f = Instance.new("Folder", game.Workspace)
- f.Name = "Gui Handlers"
- for _,v in pairs(game.Players:GetChildren()) do
- v.CameraMode = "LockFirstPerson"
- local p = Instance.new("Part", f)
- p.Size = Vector3.new(6,4,0.2)
- p.CanCollide = false
- p.Name = v.Name.."'s Gui Part"
- p.Position = v.Character.Head.Position
- wait(0.03)
- local w = Instance.new("Weld", p)
- w.Part0 = v.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(0,0,-1)
- wait(0.03)
- local s = Instance.new("SurfaceGui", p)
- s.Face = "Back"
- local l = Instance.new("Frame", s)
- l.Size = UDim2.new(1,0,1,0)
- l.BackgroundColor3 = Color3.new(0,0,0)
- local t = Instance.new("TextLabel", l)
- t.Text = "Scapters Was Here"
- t.FontSize = "Size48"
- t.Font = "SourceSansBold"
- t.BackgroundTransparency = 1
- t.Position = UDim2.new(0.5,-250,0.5,-250)
- t.Size = UDim2.new(0,500,0,500)
- end
- game.Players.PlayerAdded:connect(function(player)
- player.CameraMode = "LockFirstPerson"
- local p = Instance.new("Part", f)
- p.Size = Vector3.new(6, 4, 0.2)
- p.CanCollide = false
- p.Name = player.Name.."'s Gui Part"
- p.Position = player.Character.Head.Position
- wait(0.03)
- local w = Instance.new("Weld", p)
- w.Part0 = player.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(0,0,-1)
- wait(0.03)
- local s = Instance.new("SurfaceGui", p)
- s.Face = "Back"
- local l = Instance.new("Frame", s)
- l.Size = UDim2.new(1,0,1,0)
- l.BackgroundColor3 = Color3.new(0,0,0)
- local t = Instance.new("TextLabel", l)
- t.Text = "Scapters Was Here"
- t.FontSize = "Size48"
- t.Font = "SourceSansBold"
- t.BackgroundTransparency = 1
- t.Position = UDim2.new(0.5,-250,0.5,-250)
- t.Size = UDim2.new(0,500,0,500)
- end)
- game.Players.PlayerAdded:connect(function(player)
- player.CameraMode = "LockFirstPerson"
- player.CharacterAdded:connect(function(character)
- local p = Instance.new("Part", f)
- p.Size = Vector3.new(6, 4, 0.2)
- p.CanCollide = false
- p.Name = player.Name.."'s Gui Part"
- p.Position = character.Head.Position
- wait(0.03)
- local w = Instance.new("ManualWeld", p)
- w.Part0 = player.Character.Head
- w.Part1 = p
- w.C0 = CFrame.new(0,0,-1)
- wait(0.03)
- local s = Instance.new("SurfaceGui", p)
- s.Face = "Back"
- local l = Instance.new("Frame", s)
- l.Size = UDim2.new(1,0,1,0)
- l.BackgroundColor3 = Color3.new(0,0,0)
- local t = Instance.new("TextLabel", l)
- t.Text = "Scapters Was Here"
- t.FontSize = "Size48"
- t.Font = "SourceSansBold"
- t.BackgroundTransparency = 1
- t.Position = UDim2.new(0.5,-250,0.5,-250)
- t.Size = UDim2.new(0,500,0,500)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement