Advertisement
scriptingtales

Recent Player Text

Jun 28th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Part0 = Instance.new("Part")
  20. SurfaceGui1 = Instance.new("SurfaceGui")
  21. TextLabel2 = Instance.new("TextLabel")
  22. Script3 = Instance.new("Script")
  23. Part0.Name = "In"
  24. Part0.Parent = mas
  25. Part0.CFrame = CFrame.new(26, 6.5, -14, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
  26. Part0.Orientation = Vector3.new(0, -180, 0)
  27. Part0.Position = Vector3.new(26, 6.5, -14)
  28. Part0.Rotation = Vector3.new(-180, 0, -180)
  29. Part0.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  30. Part0.Size = Vector3.new(18, 13, 1)
  31. Part0.Anchored = true
  32. Part0.BackSurface = Enum.SurfaceType.Studs
  33. Part0.BottomSurface = Enum.SurfaceType.Studs
  34. Part0.BrickColor = BrickColor.new("Really black")
  35. Part0.FrontSurface = Enum.SurfaceType.Studs
  36. Part0.LeftSurface = Enum.SurfaceType.Studs
  37. Part0.RightSurface = Enum.SurfaceType.Studs
  38. Part0.brickColor = BrickColor.new("Really black")
  39. SurfaceGui1.Parent = Part0
  40. SurfaceGui1.LightInfluence = 1
  41. SurfaceGui1.ClipsDescendants = true
  42. SurfaceGui1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  43. TextLabel2.Name = "Player"
  44. TextLabel2.Parent = SurfaceGui1
  45. TextLabel2.Position = UDim2.new(0, 50, 0, 250)
  46. TextLabel2.Size = UDim2.new(0, 800, 0, 100)
  47. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  48. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  49. TextLabel2.BackgroundTransparency = 1
  50. TextLabel2.Font = Enum.Font.SourceSans
  51. TextLabel2.FontSize = Enum.FontSize.Size14
  52. TextLabel2.TextColor = BrickColor.new("Institutional white")
  53. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  54. TextLabel2.TextScaled = true
  55. TextLabel2.TextSize = 14
  56. TextLabel2.TextWrap = true
  57. TextLabel2.TextWrapped = true
  58. Script3.Name = "User"
  59. Script3.Parent = TextLabel2
  60. table.insert(cors,sandbox(Script3,function()
  61. game.Players.PlayerAdded:Connect(function(plr)
  62. script.Parent.Text = "Player Joined: ".. plr.Name
  63. end)
  64. end))
  65. for i,v in pairs(mas:GetChildren()) do
  66. v.Parent = workspace
  67. pcall(function() v:MakeJoints() end)
  68. end
  69. mas:Destroy()
  70. for i,v in pairs(cors) do
  71. spawn(function()
  72. pcall(v)
  73. end)
  74. end
  75.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement