Advertisement
SalatBlitz123

Field Trip Z Scirpt

Jun 13th, 2020
28,463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 268.68 KB | None | 0 0
  1. --[[
  2. game - https://www.roblox.com/games/4954096313/Field-Trip-Z-NEW-ENDING?refPageId=21891a03-8979-4e6c-980f-8349602c98f3
  3. by SalatBlitz
  4. discord - https://discord.gg/Dpa6CaA
  5. ]]
  6. -- Gui to Lua
  7. -- Version: 3.2
  8.  
  9. -- Instances:
  10.  
  11. local ScreenGui = Instance.new("ScreenGui")
  12. local Open = Instance.new("TextButton")
  13. local Close = Instance.new("TextButton")
  14. local Main = Instance.new("Frame")
  15. local by = Instance.new("TextLabel")
  16. local Items = Instance.new("TextLabel")
  17. local Donut = Instance.new("TextButton")
  18. local Bandage = Instance.new("TextButton")
  19. local Medkit = Instance.new("TextButton")
  20. local Items_2 = Instance.new("TextLabel")
  21. local Heal = Instance.new("TextButton")
  22. local Godmode = Instance.new("TextButton")
  23. local StopGod = Instance.new("TextButton")
  24.  
  25. --Properties:
  26.  
  27. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  28. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29. ScreenGui.Parent = game.CoreGui
  30.  
  31. Open.Name = "Open"
  32. Open.Parent = ScreenGui
  33. Open.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
  34. Open.Position = UDim2.new(0, 0, 0.533834577, 0)
  35. Open.Size = UDim2.new(0, 82, 0, 40)
  36. Open.Font = Enum.Font.SciFi
  37. Open.Text = "Open"
  38. Open.TextColor3 = Color3.fromRGB(0, 0, 0)
  39. Open.TextSize = 25.000
  40. Open.MouseButton1Down:connect(function()
  41. Open.Visible = false
  42. Close.Visible = true
  43. Main.Visible = true
  44. end)
  45.  
  46. Close.Name = "Close"
  47. Close.Parent = ScreenGui
  48. Close.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
  49. Close.Position = UDim2.new(0, 0, 0.533834577, 0)
  50. Close.Size = UDim2.new(0, 82, 0, 40)
  51. Close.Visible = false
  52. Close.Font = Enum.Font.SciFi
  53. Close.Text = "Close"
  54. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  55. Close.TextSize = 25.000
  56. Close.MouseButton1Down:connect(function()
  57. Open.Visible = true
  58. Close.Visible = false
  59. Main.Visible = false
  60. end)
  61.  
  62. Main.Name = "Main"
  63. Main.Parent = ScreenGui
  64. Main.BackgroundColor3 = Color3.fromRGB(91, 91, 91)
  65. Main.Position = UDim2.new(0.319062173, 0, 0.206766918, 0)
  66. Main.Size = UDim2.new(0, 372, 0, 484)
  67. Main.Visible = false
  68. Main.Draggable = true
  69. Main.Active = true
  70.  
  71. by.Name = "by"
  72. by.Parent = Main
  73. by.BackgroundColor3 = Color3.fromRGB(113, 113, 113)
  74. by.Size = UDim2.new(0, 372, 0, 40)
  75. by.Font = Enum.Font.GothamSemibold
  76. by.Text = "Script V1 by SalatBlitz"
  77. by.TextColor3 = Color3.fromRGB(0, 0, 0)
  78. by.TextSize = 29.000
  79.  
  80. Items.Name = "Items"
  81. Items.Parent = Main
  82. Items.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  83. Items.BackgroundTransparency = 1.000
  84. Items.BorderSizePixel = 0
  85. Items.Position = UDim2.new(0.153225809, 0, 0.161157027, 0)
  86. Items.Size = UDim2.new(0, 257, 0, 28)
  87. Items.Font = Enum.Font.GothamBold
  88. Items.Text = "Items"
  89. Items.TextColor3 = Color3.fromRGB(0, 0, 0)
  90. Items.TextSize = 29.000
  91.  
  92. Donut.Name = "Donut"
  93. Donut.Parent = Main
  94. Donut.BackgroundColor3 = Color3.fromRGB(113, 113, 113)
  95. Donut.Position = UDim2.new(0.03763441, 0, 0.252066135, 0)
  96. Donut.Size = UDim2.new(0, 150, 0, 31)
  97. Donut.Font = Enum.Font.SciFi
  98. Donut.Text = "Donut"
  99. Donut.TextColor3 = Color3.fromRGB(0, 0, 0)
  100. Donut.TextSize = 29.000
  101. Donut.MouseButton1Down:connect(function()
  102. --Donut
  103. local A_1 = "PICKUP_ITEM"
  104. local A_2 = "Donut"
  105. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  106. Event:InvokeServer(A_1, A_2)
  107. end)
  108.  
  109.  
  110. Bandage.Name = "Bandage"
  111. Bandage.Parent = Main
  112. Bandage.BackgroundColor3 = Color3.fromRGB(113, 113, 113)
  113. Bandage.Position = UDim2.new(0.559139788, 0, 0.252066135, 0)
  114. Bandage.Size = UDim2.new(0, 150, 0, 31)
  115. Bandage.Font = Enum.Font.SciFi
  116. Bandage.Text = "Bandage"
  117. Bandage.TextColor3 = Color3.fromRGB(0, 0, 0)
  118. Bandage.TextSize = 29.000
  119. Bandage.MouseButton1Down:connect(function()
  120. local A_1 = "PICKUP_ITEM"
  121. local A_2 = "Bandage"
  122. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  123. Event:InvokeServer(A_1, A_2)
  124. end)
  125.  
  126. Medkit.Name = "Medkit"
  127. Medkit.Parent = Main
  128. Medkit.BackgroundColor3 = Color3.fromRGB(113, 113, 113)
  129. Medkit.Position = UDim2.new(0.295698941, 0, 0.450413227, 0)
  130. Medkit.Size = UDim2.new(0, 150, 0, 31)
  131. Medkit.Font = Enum.Font.SciFi
  132. Medkit.Text = "Medkit"
  133. Medkit.TextColor3 = Color3.fromRGB(0, 0, 0)
  134. Medkit.TextSize = 29.000
  135. Medkit.MouseButton1Down:connect(function()
  136. local A_1 = "PICKUP_ITEM"
  137. local A_2 = "MedKit"
  138. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  139. Event:InvokeServer(A_1, A_2)
  140. end)
  141.  
  142. Items_2.Name = "Items"
  143. Items_2.Parent = Main
  144. Items_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  145. Items_2.BackgroundTransparency = 1.000
  146. Items_2.BorderSizePixel = 0
  147. Items_2.Position = UDim2.new(0.15053764, 0, 0.59710741, 0)
  148. Items_2.Size = UDim2.new(0, 257, 0, 28)
  149. Items_2.Font = Enum.Font.GothamBold
  150. Items_2.Text = "Other"
  151. Items_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  152. Items_2.TextSize = 29.000
  153.  
  154. Heal.Name = "Heal"
  155. Heal.Parent = Main
  156. Heal.BackgroundColor3 = Color3.fromRGB(113, 113, 113)
  157. Heal.Position = UDim2.new(0.03763441, 0, 0.702479362, 0)
  158. Heal.Size = UDim2.new(0, 150, 0, 31)
  159. Heal.Font = Enum.Font.SciFi
  160. Heal.Text = "Heal"
  161. Heal.TextColor3 = Color3.fromRGB(0, 0, 0)
  162. Heal.TextSize = 29.000
  163. Heal.MouseButton1Down:connect(function()
  164. local A_1 = "HEAL_PLAYER"
  165. local A_2 = game:GetService("Players").LocalPlayer
  166. local A_3 = 999999999
  167. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  168. Event:InvokeServer(A_1, A_2, A_3)
  169. end)
  170.  
  171. Godmode.Name = "Godmode"
  172. Godmode.Parent = Main
  173. Godmode.BackgroundColor3 = Color3.fromRGB(0, 113, 3)
  174. Godmode.Position = UDim2.new(0.559139788, 0, 0.702479362, 0)
  175. Godmode.Size = UDim2.new(0, 150, 0, 31)
  176. Godmode.Font = Enum.Font.SciFi
  177. Godmode.Text = "GodMode"
  178. Godmode.TextColor3 = Color3.fromRGB(0, 0, 0)
  179. Godmode.TextSize = 29.000
  180. Godmode.MouseButton1Down:connect(function()
  181. Godmode.Visible = false
  182. StopGod.Visible = true
  183. _G.Heal = true
  184. while _G.Heal do
  185. wait(0.1)
  186. local A_1 = "HEAL_PLAYER"
  187. local A_2 = game:GetService("Players").LocalPlayer
  188. local A_3 = 999999999
  189. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  190. Event:InvokeServer(A_1, A_2, A_3)
  191. wait(0.1)
  192. end
  193. end)
  194.  
  195.  
  196. StopGod.Name = "StopGod"
  197. StopGod.Parent = Main
  198. StopGod.BackgroundColor3 = Color3.fromRGB(113, 3, 3)
  199. StopGod.Position = UDim2.new(0.559139788, 0, 0.702479362, 0)
  200. StopGod.Size = UDim2.new(0, 150, 0, 31)
  201. StopGod.Visible = false
  202. StopGod.Font = Enum.Font.SciFi
  203. StopGod.Text = "Stop!"
  204. StopGod.TextColor3 = Color3.fromRGB(0, 0, 0)
  205. StopGod.TextSize = 29.000
  206. StopGod.MouseButton1Down:connect(function()
  207. Godmode.Visible = true
  208. StopGod.Visible = false
  209. _G.Heal = false
  210. while _G.Heal do
  211. wait(0.1)
  212. local A_1 = "HEAL_PLAYER"
  213. local A_2 = game:GetService("Players").LocalPlayer
  214. local A_3 = 999999999
  215. local Event = game:GetService("ReplicatedStorage").NetworkEvents.RemoteFunction
  216. Event:InvokeServer(A_1, A_2, A_3)
  217. wait(0.1)
  218. end
  219. end)
  220.  
  221.  
  222. -- Scripts:
  223.  
  224. local function KMOUSP_fake_script() -- by.LocalScript
  225. local script = Instance.new('LocalScript', by)
  226.  
  227. local r = {
  228. Color3.fromRGB(254, 0, 0); --red
  229. Color3.fromRGB(255, 127, 0); --orange
  230. Color3.fromRGB(255, 221, 1); --yellow
  231. Color3.fromRGB(0, 200, 0); --green
  232. Color3.fromRGB(0, 160, 199); --light blue
  233. Color3.fromRGB(0, 55, 230); --dark blue
  234. Color3.fromRGB(129, 16, 210)} --purple
  235. local info = TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0)
  236. script.Parent.TextColor3 = r[1]
  237. i = 1
  238. while true do
  239. local tween = game:GetService("TweenService"):Create(script.Parent, info, {
  240. TextColor3 = r[i]})
  241. tween:Play()
  242. repeat wait() until tween.Completed
  243. wait(0.1)
  244. if i == #r then i = 1 else i = i + 1 end
  245. end
  246. end
  247. coroutine.wrap(KMOUSP_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement