fork-K

S

Jul 5th, 2023
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local FieldTripZ = Instance.new("ScreenGui")
  7. local ItemFrame = Instance.new("Frame")
  8. local Donut = Instance.new("TextButton")
  9. local Bandage = Instance.new("TextButton")
  10. local Medkit = Instance.new("TextButton")
  11. local God = Instance.new("TextButton")
  12. local NOGOD = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local Open = Instance.new("TextButton")
  15.  
  16. --Properties:
  17.  
  18. FieldTripZ.Name = "Field Trip Z"
  19. FieldTripZ.Parent = game.CoreGui
  20. FieldTripZ.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. ItemFrame.Name = "ItemFrame"
  23. ItemFrame.Parent = FieldTripZ
  24. ItemFrame.BackgroundColor3 = Color3.fromRGB(11, 11, 11)
  25. ItemFrame.BorderColor3 = Color3.fromRGB(255, 0, 4)
  26. ItemFrame.Position = UDim2.new(0.308490276, 0, 0.0614973269, 0)
  27. ItemFrame.Size = UDim2.new(0, 358, 0, 340)
  28.  
  29. Donut.Name = "Donut"
  30. Donut.Parent = ItemFrame
  31. Donut.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  32. Donut.BorderColor3 = Color3.fromRGB(255, 0, 4)
  33. Donut.Position = UDim2.new(0.247937441, 0, 0.261764705, 0)
  34. Donut.Size = UDim2.new(0, 179, 0, 50)
  35. Donut.Font = Enum.Font.SourceSans
  36. Donut.Text = "Donut"
  37. Donut.TextColor3 = Color3.fromRGB(255, 0, 4)
  38. Donut.TextScaled = true
  39. Donut.TextSize = 14.000
  40. Donut.TextWrapped = true
  41. Donut.MouseButton1Down:connect(function()
  42. local A_1 = "PICKUP_ITEM"
  43. local A_2 = "Donut"
  44. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  45. Event:InvokeServer(A_1, A_2)
  46. end)
  47.  
  48. Bandage.Name = "Bandage"
  49. Bandage.Parent = ItemFrame
  50. Bandage.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  51. Bandage.BorderColor3 = Color3.fromRGB(255, 0, 4)
  52. Bandage.Position = UDim2.new(0.246751577, 0, 0.0588235259, 0)
  53. Bandage.Size = UDim2.new(0, 179, 0, 50)
  54. Bandage.Font = Enum.Font.SourceSans
  55. Bandage.Text = "Bandage"
  56. Bandage.TextColor3 = Color3.fromRGB(255, 0, 4)
  57. Bandage.TextScaled = true
  58. Bandage.TextSize = 14.000
  59. Bandage.TextWrapped = true
  60. Bandage.MouseButton1Down:connect(function()
  61. local A_1 = "PICKUP_ITEM"
  62. local A_2 = "Bandage"
  63. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  64. Event:InvokeServer(A_1, A_2)
  65. end)
  66.  
  67. Medkit.Name = "Medkit"
  68. Medkit.Parent = ItemFrame
  69. Medkit.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  70. Medkit.BorderColor3 = Color3.fromRGB(255, 0, 4)
  71. Medkit.Position = UDim2.new(0.247937441, 0, 0.455882341, 0)
  72. Medkit.Size = UDim2.new(0, 179, 0, 50)
  73. Medkit.Font = Enum.Font.SourceSans
  74. Medkit.Text = "Medkit"
  75. Medkit.TextColor3 = Color3.fromRGB(255, 0, 4)
  76. Medkit.TextScaled = true
  77. Medkit.TextSize = 14.000
  78. Medkit.TextWrapped = true
  79. Medkit.MouseButton1Down:connect(function()
  80. local A_1 = "PICKUP_ITEM"
  81. local A_2 = "MedKit"
  82. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  83. Event:InvokeServer(A_1, A_2)
  84. end)
  85.  
  86. God.Name = "God"
  87. God.Parent = ItemFrame
  88. God.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  89. God.BorderColor3 = Color3.fromRGB(255, 0, 4)
  90. God.Position = UDim2.new(0.245144144, 0, 0.65882355, 0)
  91. God.Size = UDim2.new(0, 179, 0, 50)
  92. God.Font = Enum.Font.SourceSans
  93. God.Text = "God Mode"
  94. God.TextColor3 = Color3.fromRGB(255, 0, 4)
  95. God.TextScaled = true
  96. God.TextSize = 14.000
  97. God.TextWrapped = true
  98. God.MouseButton1Down:connect(function()
  99. _G.Heal = true
  100. while _G.Heal do
  101. wait(0.1)
  102. local A_1 = "HEAL_PLAYER"
  103. local A_2 = game:GetService("Players").LocalPlayer
  104. local A_3 = 999999999
  105. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  106. Event:InvokeServer(A_1, A_2, A_3)
  107. wait(0.1)
  108. end
  109. end)
  110.  
  111. NOGOD.Name = "NOGOD"
  112. NOGOD.Parent = ItemFrame
  113. NOGOD.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  114. NOGOD.BorderColor3 = Color3.fromRGB(255, 0, 4)
  115. NOGOD.Position = UDim2.new(0.247937441, 0, 0.852941215, 0)
  116. NOGOD.Size = UDim2.new(0, 179, 0, 50)
  117. NOGOD.Font = Enum.Font.SourceSans
  118. NOGOD.Text = "Stop God Mode"
  119. NOGOD.TextColor3 = Color3.fromRGB(255, 0, 4)
  120. NOGOD.TextScaled = true
  121. NOGOD.TextSize = 14.000
  122. NOGOD.TextWrapped = true
  123. NOGOD.MouseButton1Down:connect(function()
  124. _G.Heal = false
  125. while _G.Heal do
  126. wait(0.1)
  127. local A_1 = "HEAL_PLAYER"
  128. local A_2 = game:GetService("Players").LocalPlayer
  129. local A_3 = 999999999
  130. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  131. Event:InvokeServer(A_1, A_2, A_3)
  132. wait(0.1)
  133. end
  134. end)
  135.  
  136. Close.Name = "Close"
  137. Close.Parent = ItemFrame
  138. Close.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  139. Close.BorderColor3 = Color3.fromRGB(255, 0, 4)
  140. Close.Position = UDim2.new(0.83468765, 0, 0, 0)
  141. Close.Size = UDim2.new(0, 59, 0, 48)
  142. Close.Font = Enum.Font.SourceSans
  143. Close.Text = "X"
  144. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  145. Close.TextScaled = true
  146. Close.TextSize = 14.000
  147. Close.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  148. Close.TextWrapped = true
  149.  
  150. Open.Name = "Open"
  151. Open.Parent = FieldTripZ
  152. Open.BackgroundColor3 = Color3.fromRGB(64, 255, 30)
  153. Open.Position = UDim2.new(-0.0150150154, 0, 0.43315509, 0)
  154. Open.Size = UDim2.new(0, 152, 0, 50)
  155. Open.Font = Enum.Font.SourceSans
  156. Open.Text = "OPEN"
  157. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  158. Open.TextScaled = true
  159. Open.TextSize = 14.000
  160. Open.TextWrapped = true
  161.  
  162. -- Scripts:
  163.  
  164. local function PCSAEX_fake_script() -- Close.LocalScript
  165. local script = Instance.new('LocalScript', Close)
  166.  
  167. script.Parent.MouseButton1Down:Connect(function()
  168. script.Parent.Parent.Visible = false
  169. end)
  170. end
  171. coroutine.wrap(PCSAEX_fake_script)()
  172. local function VASEMB_fake_script() -- Open.LocalScript
  173. local script = Instance.new('LocalScript', Open)
  174.  
  175. script.Parent.MouseButton1Down:Connect(function()
  176. script.Parent.Parent.ItemFrame.Visible = true
  177. end)
  178. end
  179. coroutine.wrap(VASEMB_fake_script)()
  180. local function VOJLEI_fake_script() -- FieldTripZ.Drag Gui Script
  181. local script = Instance.new('Script', FieldTripZ)
  182.  
  183. frame = script.Parent.ItemFrame
  184. frame.Draggable = true
  185. frame.Active = true
  186. frame.Selectable = true
  187. end
  188. coroutine.wrap(VOJLEI_fake_script)()
Add Comment
Please, Sign In to add comment