Advertisement
SalatBlitz123

Adopt me script

Mar 15th, 2020
67,687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.28 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local City = Instance.new("TextButton")
  10. local House = Instance.new("TextButton")
  11. local School = Instance.new("TextButton")
  12. local Hospital = Instance.new("TextButton")
  13. local Cup = Instance.new("TextButton")
  14. local Sleeppicn = Instance.new("TextButton")
  15. local Beach = Instance.new("TextButton")
  16. local Playground = Instance.new("TextButton")
  17. local Close = Instance.new("TextButton")
  18. local Open = Instance.new("TextButton")
  19.  
  20. --Properties:
  21.  
  22. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  23. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  24.  
  25. Main.Name = "Main"
  26. Main.Parent = ScreenGui
  27. Main.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  28. Main.Position = UDim2.new(0.398976982, 0, 0, 0)
  29. Main.Size = UDim2.new(0, 236, 0, 477)
  30. Main.Active = true
  31. Main.Draggable = true
  32. Main.Visible = false
  33.  
  34. TextLabel.Parent = Main
  35. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  36. TextLabel.Position = UDim2.new(-0.0630252138, 0, 0, 0)
  37. TextLabel.Size = UDim2.new(0, 268, 0, 34)
  38. TextLabel.Font = Enum.Font.GothamBold
  39. TextLabel.Text = "FARM HELPER"
  40. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  41. TextLabel.TextSize = 14.000
  42.  
  43. City.Name = "City"
  44. City.Parent = Main
  45. City.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  46. City.Position = UDim2.new(0.0589303523, 0, 0.102190502, 0)
  47. City.Size = UDim2.new(0, 208, 0, 30)
  48. City.Font = Enum.Font.SciFi
  49. City.Text = "To city"
  50. City.TextColor3 = Color3.fromRGB(0, 0, 0)
  51. City.TextSize = 20.000
  52. City.MouseButton1Down:connect(function()
  53. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-8000, 3995, -5999)
  54. end)
  55.  
  56. House.Name = "House"
  57. House.Parent = Main
  58. House.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  59. House.Position = UDim2.new(0.0550847463, 0, 0.203354299, 0)
  60. House.Size = UDim2.new(0, 208, 0, 32)
  61. House.Font = Enum.Font.SciFi
  62. House.Text = "To house"
  63. House.TextColor3 = Color3.fromRGB(0, 0, 0)
  64. House.TextSize = 20.000
  65. House.MouseButton1Down:connect(function()
  66. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-254, 19, -1832)
  67. end)
  68.  
  69. School.Name = "School"
  70. School.Parent = Main
  71. School.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  72. School.Position = UDim2.new(0.0550847463, 0, 0.314465404, 0)
  73. School.Size = UDim2.new(0, 208, 0, 30)
  74. School.Font = Enum.Font.SciFi
  75. School.Text = "To school"
  76. School.TextColor3 = Color3.fromRGB(0, 0, 0)
  77. School.TextSize = 20.000
  78. School.MouseButton1Down:connect(function()
  79. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-185, 20, -1439)
  80. end)
  81.  
  82. Hospital.Name = "Hospital"
  83. Hospital.Parent = Main
  84. Hospital.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  85. Hospital.Position = UDim2.new(0.0550847463, 0, 0.408805043, 0)
  86. Hospital.Size = UDim2.new(0, 208, 0, 32)
  87. Hospital.Font = Enum.Font.SciFi
  88. Hospital.Text = "Hospital"
  89. Hospital.TextColor3 = Color3.fromRGB(0, 0, 0)
  90. Hospital.TextSize = 20.000
  91. Hospital.MouseButton1Down:connect(function()
  92. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-311, 20, -1435)
  93. end)
  94.  
  95. Cup.Name = "Cup"
  96. Cup.Parent = Main
  97. Cup.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  98. Cup.Position = UDim2.new(0.0550847463, 0, 0.513626814, 0)
  99. Cup.Size = UDim2.new(0, 208, 0, 34)
  100. Cup.Font = Enum.Font.SciFi
  101. Cup.Text = "A cup"
  102. Cup.TextColor3 = Color3.fromRGB(0, 0, 0)
  103. Cup.TextSize = 20.000
  104. Cup.MouseButton1Down:connect(function()
  105. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-276, 18, -1771)
  106. end)
  107.  
  108. Sleeppicn.Name = "Sleeppicn"
  109. Sleeppicn.Parent = Main
  110. Sleeppicn.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  111. Sleeppicn.Position = UDim2.new(0.0550847463, 0, 0.628930807, 0)
  112. Sleeppicn.Size = UDim2.new(0, 208, 0, 33)
  113. Sleeppicn.Font = Enum.Font.SciFi
  114. Sleeppicn.Text = "sleep and picnic"
  115. Sleeppicn.TextColor3 = Color3.fromRGB(0, 0, 0)
  116. Sleeppicn.TextSize = 20.000
  117. Sleeppicn.MouseButton1Down:connect(function()
  118. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-55, 22, -1069)
  119. end)
  120.  
  121. Beach.Name = "Beach"
  122. Beach.Parent = Main
  123. Beach.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  124. Beach.Position = UDim2.new(0.0550847463, 0, 0.731656194, 0)
  125. Beach.Size = UDim2.new(0, 208, 0, 36)
  126. Beach.Font = Enum.Font.SciFi
  127. Beach.Text = "Beach"
  128. Beach.TextColor3 = Color3.fromRGB(0, 0, 0)
  129. Beach.TextSize = 20.000
  130. Beach.MouseButton1Down:connect(function()
  131. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-577, 29, -1459)
  132. end)
  133.  
  134. Playground.Name = "Playground"
  135. Playground.Parent = Main
  136. Playground.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  137. Playground.Position = UDim2.new(0.0593220331, 0, 0.840670884, 0)
  138. Playground.Size = UDim2.new(0, 208, 0, 36)
  139. Playground.Font = Enum.Font.SciFi
  140. Playground.Text = "Playground"
  141. Playground.TextColor3 = Color3.fromRGB(0, 0, 0)
  142. Playground.TextSize = 20.000
  143. Playground.MouseButton1Down:connect(function()
  144. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-410, 19, -1749)
  145. end)
  146.  
  147. Close.Name = "Close"
  148. Close.Parent = Main
  149. Close.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  150. Close.BorderSizePixel = 0
  151. Close.Position = UDim2.new(0.936440706, 0, -0.00419287197, 0)
  152. Close.Size = UDim2.new(0, 32, 0, 36)
  153. Close.Font = Enum.Font.GothamBold
  154. Close.Text = "X"
  155. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  156. Close.TextSize = 14.000
  157. Close.MouseButton1Down:connect(function()
  158. Main.Visible = false
  159. Open.Visible = true
  160. end)
  161.  
  162. Open.Name = "Open"
  163. Open.Parent = ScreenGui
  164. Open.BackgroundColor3 = Color3.fromRGB(255, 228, 116)
  165. Open.Position = UDim2.new(0, 0, 0.500990093, 0)
  166. Open.Size = UDim2.new(0, 120, 0, 34)
  167. Open.Font = Enum.Font.SciFi
  168. Open.Text = "Open"
  169. Open.TextColor3 = Color3.fromRGB(0, 0, 0)
  170. Open.TextSize = 38.000
  171. Open.MouseButton1Down:connect(function()
  172. Open.Visible = false
  173. Main.Visible = true
  174. end)
  175.  
  176. local function TEDZ_fake_script() -- Main.LocalScript
  177. local script = Instance.new('LocalScript', Main)
  178.  
  179. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  180. counter=0
  181.  
  182. while wait(0.1) do
  183. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  184. counter = counter + 0.01
  185. end
  186. end
  187. coroutine.wrap(TEDZ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement