AlphaSploit

Prison Royale GUI

Jan 29th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. -- Objects
  2.  
  3. local PrisonRoyale = Instance.new("ScreenGui")
  4. local GUI = Instance.new("Frame")
  5. local Bighead = Instance.new("TextButton")
  6. local Spawning = Instance.new("TextButton")
  7. local info = Instance.new("TextBox")
  8. local ClickE = Instance.new("TextButton")
  9.  
  10. -- Properties
  11.  
  12. PrisonRoyale.Name = "PrisonRoyale"
  13. PrisonRoyale.Parent = game.CoreGui
  14.  
  15. GUI.Name = "GUI"
  16. GUI.Parent = PrisonRoyale
  17. GUI.Active = true
  18. GUI.BackgroundColor3 = Color3.new(1, 0, 1)
  19. GUI.Draggable = true
  20. GUI.Position = UDim2.new(0, 20, 0, 361)
  21. GUI.Selectable = true
  22. GUI.Size = UDim2.new(0, 155, 0, 72)
  23.  
  24. Bighead.Name = "Bighead"
  25. Bighead.Parent = GUI
  26. Bighead.BackgroundColor3 = Color3.new(0, 0, 1)
  27. Bighead.Position = UDim2.new(0, 0, 0, 27)
  28. Bighead.Size = UDim2.new(0, 46, 0, 27)
  29. Bighead.Font = Enum.Font.SourceSans
  30. Bighead.FontSize = Enum.FontSize.Size14
  31. Bighead.Text = "Big Heads"
  32. Bighead.TextColor3 = Color3.new(1, 0, 1)
  33. Bighead.TextSize = 14
  34. Bighead.TextWrapped = true
  35.  
  36. Spawning.Name = "Spawning"
  37. Spawning.Parent = GUI
  38. Spawning.BackgroundColor3 = Color3.new(0, 0, 1)
  39. Spawning.Position = UDim2.new(0, 55, 0, 28)
  40. Spawning.Size = UDim2.new(0, 46, 0, 26)
  41. Spawning.Font = Enum.Font.SourceSans
  42. Spawning.FontSize = Enum.FontSize.Size14
  43. Spawning.Text = "Item Spawn"
  44. Spawning.TextColor3 = Color3.new(1, 0, 1)
  45. Spawning.TextSize = 14
  46. Spawning.TextWrapped = true
  47.  
  48. info.Name = "info"
  49. info.Parent = GUI
  50. info.BackgroundColor3 = Color3.new(0, 0, 1)
  51. info.Position = UDim2.new(0, 0, 0, -4)
  52. info.Size = UDim2.new(0, 155, 0, 21)
  53. info.Font = Enum.Font.SourceSans
  54. info.FontSize = Enum.FontSize.Size14
  55. info.Text = "Prison Royale GUI, kekguy"
  56. info.TextColor3 = Color3.new(1, 0, 1)
  57. info.TextSize = 14
  58.  
  59. ClickE.Name = "ClickE"
  60. ClickE.Parent = GUI
  61. ClickE.BackgroundColor3 = Color3.new(0, 0, 1)
  62. ClickE.Position = UDim2.new(0, 109, 0, 28)
  63. ClickE.Size = UDim2.new(0, 46, 0, 26)
  64. ClickE.Font = Enum.Font.SourceSans
  65. ClickE.FontSize = Enum.FontSize.Size14
  66. ClickE.Text = "E - TP"
  67. ClickE.TextColor3 = Color3.new(1, 0, 1)
  68. ClickE.TextSize = 14
  69. ClickE.TextWrapped = true
  70.  
  71.  
  72. --THE SHIT
  73.  
  74. Bighead.MouseButton1Down:connect(function()
  75. _G.HeadSize = 40
  76. _G.HeadOffset = 20
  77. _G.Enabled = true
  78. game:service'RunService'.Stepped:connect(function()
  79. if _G.Enabled then
  80. for i,v in pairs(game:service'Players':GetPlayers()) do
  81. if v.Name ~= game:service'Players'.LocalPlayer.Name then
  82. pcall(function()
  83. v.Character.Head.CanCollide = false
  84. v.Character.Head.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
  85. v.Character.Head.CFrame = v.Character.Torso.CFrame * CFrame.new(0,_G.HeadOffset,0)
  86. end)
  87. end
  88. end
  89. end
  90. end)
  91. end)
  92.  
  93. Spawning.MouseButton1Down:connect(function()
  94. for i,v in pairs(game.workspace.Loot:GetChildren()) do
  95. for i,v in pairs(v:GetChildren()) do
  96. if string.match(v.Name, "Asset") then
  97. else
  98. if string.match(v.name, "Melee") then
  99. else
  100. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame+Vector3.new(math.random(-2,2),5,math.random(-2,2))
  101. end
  102. end
  103. end
  104. end
  105. end)
  106.  
  107. ClickE.MouseButton1Down:connect(function()
  108. plr = game.Players.LocalPlayer
  109.  
  110. hum = plr.Character.HumanoidRootPart
  111.  
  112. mouse = plr:GetMouse()
  113.  
  114.  
  115.  
  116. mouse.KeyDown:connect(function(key)
  117.  
  118. if key == "e" then
  119.  
  120. if mouse.Target then
  121.  
  122. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  123.  
  124. end
  125.  
  126. end
  127. end)
  128. end)
Add Comment
Please, Sign In to add comment