Advertisement
Waffle212

Untitled

Mar 25th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local main = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9. --Properties:
  10. main.Name = "main"
  11. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  13.  
  14. Frame.Parent = main
  15. Frame.BackgroundColor3 = Color3.new(0, 1, 0)
  16. Frame.Position = UDim2.new(0.0807600915, 0, 0.231332392, 0)
  17. Frame.Size = UDim2.new(0, 729, 0, 509)
  18.  
  19. TextLabel.Parent = Frame
  20. TextLabel.BackgroundColor3 = Color3.new(0.0392157, 0.87451, 1)
  21. TextLabel.BackgroundTransparency = 1
  22. TextLabel.Size = UDim2.new(0, 729, 0, 50)
  23. TextLabel.Font = Enum.Font.SourceSans
  24. TextLabel.Text = "Choose the game"
  25. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  26. TextLabel.TextScaled = true
  27. TextLabel.TextSize = 14
  28. TextLabel.TextWrapped = true
  29.  
  30. TextButton.Parent = Frame
  31. TextButton.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  32. TextButton.Position = UDim2.new(-0.00137174211, 0, 0.141453832, 0)
  33. TextButton.Size = UDim2.new(0, 200, 0, 50)
  34. TextButton.Font = Enum.Font.SourceSans
  35. TextButton.Text = "Prison Life"
  36. TextButton.TextColor3 = Color3.new(0, 0, 0)
  37. TextButton.TextScaled = true
  38. TextButton.TextSize = 14
  39. TextButton.TextWrapped = true
  40.  
  41. TextButton_2.Parent = Frame
  42. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  43. TextButton_2.BackgroundTransparency = 1
  44. TextButton_2.Position = UDim2.new(0.938271582, 0, 0, 0)
  45. TextButton_2.Size = UDim2.new(0, 45, 0, 38)
  46. TextButton_2.Font = Enum.Font.SourceSans
  47. TextButton_2.Text = "X"
  48. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  49. TextButton_2.TextScaled = true
  50. TextButton_2.TextSize = 14
  51. TextButton_2.TextWrapped = true
  52. -- Scripts:
  53. function SCRIPT_FAYD75_FAKESCRIPT() -- Frame.LocalScript
  54. local script = Instance.new('LocalScript')
  55. script.Parent = Frame
  56. local UserInputService = game:GetService("UserInputService")
  57.  
  58. local gui = script.Parent
  59.  
  60. local dragging
  61. local dragInput
  62. local dragStart
  63. local startPos
  64.  
  65. local function update(input)
  66. local delta = input.Position - dragStart
  67. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  68. end
  69.  
  70. gui.InputBegan:Connect(function(input)
  71. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  72. dragging = true
  73. dragStart = input.Position
  74. startPos = gui.Position
  75.  
  76. input.Changed:Connect(function()
  77. if input.UserInputState == Enum.UserInputState.End then
  78. dragging = false
  79. end
  80. end)
  81. end
  82. end)
  83.  
  84. gui.InputChanged:Connect(function(input)
  85. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  86. dragInput = input
  87. end
  88. end)
  89.  
  90. UserInputService.InputChanged:Connect(function(input)
  91. if input == dragInput and dragging then
  92. update(input)
  93. end
  94. end)
  95.  
  96. end
  97. coroutine.resume(coroutine.create(SCRIPT_FAYD75_FAKESCRIPT))
  98. function SCRIPT_UHLB73_FAKESCRIPT() -- TextButton.LocalScript
  99. local script = Instance.new('LocalScript')
  100. script.Parent = TextButton
  101. script.Parent.MouseButton1Click:Connect(function()
  102. loadstring(game:HttpGet(('https://pastebin.com/raw/ReHLcp28'),true))()
  103. end)
  104.  
  105.  
  106. end
  107. coroutine.resume(coroutine.create(SCRIPT_UHLB73_FAKESCRIPT))
  108. function SCRIPT_BRJK80_FAKESCRIPT() -- TextButton_2.LocalScript
  109. local script = Instance.new('LocalScript')
  110. script.Parent = TextButton_2
  111. script.Parent.MouseButton1Click:Connect(function()
  112. script.Parent.Parent.Visible = false
  113. end)
  114.  
  115. end
  116. coroutine.resume(coroutine.create(SCRIPT_BRJK80_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement