Advertisement
Diep8328Paster

Untitled

May 15th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1.  
  2.  
  3. local Yeah = 0
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local TextBox = Instance.new("TextBox")
  6. local ScreenGui_2 = Instance.new("ScreenGui")
  7. local TextButton = Instance.new("TextButton")
  8. local Do = 1
  9.  
  10.  
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  13.  
  14. TextBox.Parent = ScreenGui
  15. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  16. TextBox.BorderSizePixel = 3
  17. TextBox.Position = UDim2.new(0.583427906, 0, 0.726998508, 0)
  18. TextBox.Size = UDim2.new(0, 200, 0, 29)
  19. TextBox.Font = Enum.Font.SourceSansBold
  20. TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  21. TextBox.Text = "Player name here"
  22. TextBox.TextSize = 18
  23.  
  24. ScreenGui_2.Parent = game.Players.LocalPlayer.PlayerGui
  25.  
  26. TextButton.Parent = ScreenGui_2
  27. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  28. TextButton.BorderSizePixel = 3
  29. TextButton.Position = UDim2.new(0.810442686, 0, 0.726998508, 0)
  30. TextButton.Size = UDim2.new(0, 45, 0, 29)
  31. TextButton.Font = Enum.Font.SourceSansBold
  32. TextButton.Text = "Error!"
  33. TextButton.TextSize = 18
  34.  
  35.  
  36.  
  37. TextButton.MouseButton1Down:connect(function()
  38. Yeah = 1
  39. while Yeah == 1 do
  40. local name = TextBox.Text
  41. local player = game.Players:WaitForChild(name,0.1)
  42. if player == nil then
  43. warn("Player not found,Did you put the correct username?")
  44. else
  45. local HI = Instance.new("ScreenGui",player.PlayerGui)
  46. local h2 = Instance.new("ImageLabel",HI)
  47. h2.Image = "http://www.roblox.com/asset/?id=367208302"
  48. h2.Size = UDim2.new(0, 224,0, 135)
  49. h2.Position = UDim2.new(math.random(0,743),math.random(0,743),math.random(0,743),math.random(0,743))
  50. local error2 = Instance.new("Sound",player.Character.Torso)
  51. error2.SoundId = "rbxassetid://970428619"
  52. error2.Volume = 10
  53. error2:Play()
  54. wait(0.1)
  55. end
  56. wait()
  57. end
  58. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement