Advertisement
zhiyan114

LanSchool v1.5 for roblox

Nov 17th, 2017
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.23 KB | None | 0 0
  1. --[[
  2. Yup this is not finished yet just some release for now.
  3. Gui is very ugly, i suck at making it (if you can please help me make one)
  4. This is LanSchool simulator, in case you dont know what this shit is. It basically a software allows teachers to watch you. I made this for fun btw
  5. Some simple stuff. I made this when im bored
  6. THIS IS A TRIAL/DEMO VERSION!!! NOT THE LATEST VERSION FOR TRY OUT
  7. IF YOU LIKE IT, PLEASE BUY IT AT https://selly.gg/p/293f3147
  8. --]]
  9.  
  10. local ScreenGui = Instance.new("ScreenGui")
  11. local Frame = Instance.new("Frame")
  12. local kill = Instance.new("TextButton")
  13. local TextLabel = Instance.new("TextLabel")
  14. local input = Instance.new("TextBox")
  15. local input2 = Instance.new("TextBox")
  16. local speed = Instance.new("TextButton")
  17. local Chat = Instance.new("TextButton")
  18. local unload = Instance.new("TextButton")
  19. local show = Instance.new("TextButton")
  20. local load = Instance.new("TextButton")
  21.  
  22. ScreenGui.Parent = game.CoreGui
  23.  
  24. Frame.Parent = ScreenGui
  25. Frame.BackgroundColor3 = Color3.new(0.0470588, 0.172549, 1)
  26. Frame.Draggable = true
  27. Frame.Position = UDim2.new(0, 200, 0, 100)
  28. Frame.Size = UDim2.new(0, 400, 0, 200)
  29. Frame.Visible = false
  30.  
  31. kill.Name = "kill"
  32. kill.Parent = Frame
  33. kill.BackgroundColor3 = Color3.new(0.831373, 0.160784, 0.0431373)
  34. kill.Position = UDim2.new(0, 0, 0, 30)
  35. kill.Size = UDim2.new(0, 68, 0, 50)
  36. kill.Font = Enum.Font.SourceSans
  37. kill.FontSize = Enum.FontSize.Size14
  38. kill.Text = "Kill"
  39. kill.TextSize = 14
  40.  
  41. TextLabel.Parent = Frame
  42. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  43. TextLabel.BackgroundTransparency = 1
  44. TextLabel.Position = UDim2.new(0, 200, 0, 0)
  45. TextLabel.Size = UDim2.new(0, 0, 0, 20)
  46. TextLabel.Font = Enum.Font.SourceSans
  47. TextLabel.FontSize = Enum.FontSize.Size18
  48. TextLabel.Text = "Server management tool (for hackers) by zhiyan114 (on v3rmillion) V1 (yah LanSchool simulator fuck that software)"
  49. TextLabel.TextColor3 = Color3.new(0.556863, 0.996078, 0.054902)
  50. TextLabel.TextSize = 15
  51.  
  52. input.Name = "input"
  53. input.Parent = Frame
  54. input.BackgroundColor3 = Color3.new(0.129412, 1, 0.752941)
  55. input.Position = UDim2.new(0, 0, 0, 150)
  56. input.Size = UDim2.new(0, 180, 0, 50)
  57. input.Font = Enum.Font.SourceSans
  58. input.FontSize = Enum.FontSize.Size14
  59. input.Text = "Player username"
  60. input.TextSize = 14
  61.  
  62. input2.Name = "input2"
  63. input2.Parent = Frame
  64. input2.BackgroundColor3 = Color3.new(0.0784314, 1, 0.105882)
  65. input2.Position = UDim2.new(0, 180, 0, 150)
  66. input2.Size = UDim2.new(0, 170, 0, 50)
  67. input2.Font = Enum.Font.SourceSans
  68. input2.FontSize = Enum.FontSize.Size14
  69. input2.Text = "Second input"
  70. input2.TextSize = 14
  71.  
  72. speed.Name = "speed"
  73. speed.Parent = Frame
  74. speed.BackgroundColor3 = Color3.new(0.447059, 0.447059, 1)
  75. speed.Position = UDim2.new(0, 70, 0, 30)
  76. speed.Size = UDim2.new(0, 70, 0, 50)
  77. speed.Font = Enum.Font.SourceSans
  78. speed.FontSize = Enum.FontSize.Size14
  79. speed.Text = "Speed"
  80. speed.TextSize = 14
  81.  
  82. Chat.Name = "Chat"
  83. Chat.Parent = Frame
  84. Chat.BackgroundColor3 = Color3.new(0.45098, 1, 0.498039)
  85. Chat.Position = UDim2.new(0, 140, 0, 30)
  86. Chat.Size = UDim2.new(0, 70, 0, 50)
  87. Chat.Font = Enum.Font.SourceSans
  88. Chat.FontSize = Enum.FontSize.Size14
  89. Chat.Text = "chat"
  90. Chat.TextSize = 14
  91.  
  92. unload.Name = "unload"
  93. unload.Parent = Frame
  94. unload.BackgroundColor3 = Color3.new(1, 0.0980392, 0.0666667)
  95. unload.Position = UDim2.new(0, 350, 0, 150)
  96. unload.Size = UDim2.new(0, 50, 0, 50)
  97. unload.Font = Enum.Font.SourceSans
  98. unload.FontSize = Enum.FontSize.Size14
  99. unload.Text = " UNLOAD"
  100. unload.TextSize = 14
  101.  
  102. show.Name = "show"
  103. show.Parent = ScreenGui
  104. show.BackgroundColor3 = Color3.new(0.0627451, 1, 1)
  105. show.Position = UDim2.new(0, 0, 0, 452)
  106. show.Size = UDim2.new(0, 50, 0, 50)
  107. show.Font = Enum.Font.SourceSans
  108. show.FontSize = Enum.FontSize.Size14
  109. show.Text = "OPEN"
  110. show.TextSize = 14
  111.  
  112. load.Name = "load"
  113. load.Parent = ScreenGui
  114. load.BackgroundColor3 = Color3.new(0.160784, 0.270588, 1)
  115. load.Position = UDim2.new(0, 0, 0, 200)
  116. load.Size = UDim2.new(0, 100, 0, 50)
  117. load.Font = Enum.Font.SourceSans
  118. load.FontSize = Enum.FontSize.Size14
  119. load.Text = "LOAD"
  120. load.TextSize = 14
  121. loaderid =game.Players.LocalPlayer.UserId
  122. function chatplr(plr, text, color)
  123.     game:GetService("Chat"):Chat(plr.Character, text,color)
  124. end
  125.  
  126. load.MouseButton1Click:connect(function()
  127.     load.Visible = false
  128.     Frame.Visible = true
  129.     Frame.Active = true
  130.     for i,v in pairs(game.Players:GetPlayers()) do
  131.         chatplr(v, "LanSchool loaded... V1 (Loaded by "..loaderid..")", "Green")
  132.     end
  133.    
  134. end)
  135.  
  136. unload.MouseButton1Click:connect(function()
  137.     load.Visible = true
  138.     Frame.Visible = false
  139.     Frame.Active = false
  140.     for i,v in pairs(game.Players:GetPlayers()) do
  141.         chatplr(v, "LanSchool unloaded... V1 (Unloaded by "..loaderid..")", "Red")
  142.     end
  143. end)
  144.  
  145. Chat.MouseButton1Click:connect(function()
  146.         chatplr(game.Players[input.Text], loaderid..": "..input2.Text, "Green")
  147. end)
  148.  
  149. kill.MouseButton1Click:connect(function()
  150.     chatplr(game.Players[input.Text], "LanSchool v1: "..loaderid.." has killed you", "Green")
  151.     game.Players[input.Text].Character.Humanoid.Health = 0
  152. end)
  153. speed.MouseButton1Click:connect(function()
  154.     chatplr(game.Players[input.Text], "LanSchool v1: "..loaderid.." has changed your speed to ".. input2.Text, "Green")
  155.     game.Players[input.Text].Character.Humanoid.WalkSpeed = tonumber(input2.Text)
  156. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement