Advertisement
EPRX

api

Mar 12th, 2020
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10.  
  11. --Properties:
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. Frame.Parent = ScreenGui
  17. Frame.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  18. Frame.Position = UDim2.new(0.0764604807, 0, 0.194103196, 0)
  19. Frame.Size = UDim2.new(0, 363, 0, 96)
  20.  
  21. TextLabel.Parent = Frame
  22. TextLabel.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  23. TextLabel.BorderSizePixel = 0
  24. TextLabel.Position = UDim2.new(0.223140493, 0, 0, 0)
  25. TextLabel.Size = UDim2.new(0, 200, 0, 27)
  26. TextLabel.Font = Enum.Font.Gotham
  27. TextLabel.Text = "text here"
  28. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  29. TextLabel.TextSize = 14.000
  30.  
  31. TextButton.Parent = Frame
  32. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  33. TextButton.Position = UDim2.new(0.223140493, 0, 0.489583313, 0)
  34. TextButton.Size = UDim2.new(0, 200, 0, 26)
  35. TextButton.Font = Enum.Font.SourceSans
  36. TextButton.Text = "Execute"
  37. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  38. TextButton.TextSize = 14.000
  39.  
  40. -- Scripts:
  41.  
  42. local function AVZYU_fake_script() -- TextLabel.LocalScript
  43. local script = Instance.new('LocalScript', TextLabel)
  44.  
  45. print("Hello world!")
  46.  
  47. end
  48. coroutine.wrap(AVZYU_fake_script)()
  49. local function WYBCIMK_fake_script() -- TextButton.LocalScript
  50. local script = Instance.new('LocalScript', TextButton)
  51.  
  52. print("Hello world!")
  53.  
  54. end
  55. coroutine.wrap(WYBCIMK_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement