Homestyle_chicken

farming and friends

Aug 22nd, 2020 (edited)
7,206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 1 1
  1. getrawmetatable(game)
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local TextLabel = Instance.new("TextLabel")
  5. local prices = Instance.new("TextButton")
  6. local delprices = Instance.new("TextButton")
  7. local sellmilk = Instance.new("TextButton")
  8. local delsellmilk = Instance.new("TextButton")
  9. local a = workspace.SellValues.SellValues
  10. local saved = a.CFrame
  11. local b = game.Workspace.MilkDropOffs:FindFirstChild("MilkArea")
  12. local saved2 = b.CFrame
  13.  
  14. function ripple(button)
  15. mouse = game.Players.LocalPlayer:GetMouse()
  16. button.MouseButton1Down:connect(function()
  17. local circle = Instance.new("ImageLabel")
  18. circle.AnchorPoint = Vector2.new(0.5, 0.5)
  19. circle.BackgroundTransparency = 1
  20. circle.BorderSizePixel = 0
  21. circle.Position = UDim2.new(0, mouse.X - button.AbsolutePosition.X, 0, mouse.Y - button.AbsolutePosition.Y)
  22. circle.Size = UDim2.new(0, 0, 0, 0)
  23. circle.Image = "rbxassetid://2515336148"
  24. circle.ImageColor3 = Color3.new(100,100,100)
  25. circle.Transparency = 0.8
  26. circle.Parent = button
  27. circle:TweenSize(UDim2.new(0, 200, 0, 200), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.5)
  28. for i = 0, 1, 0.05 do
  29. circle.ImageTransparency = i
  30. wait()
  31. end
  32. circle:Destroy()
  33. end)
  34. end
  35.  
  36. function Type(text)
  37. local count = string.len(text)
  38. for i = 1, count, 1 do
  39. game.CoreGui.cheese.Frame.TextLabel.Text = string.sub(text, 1, i)
  40. wait(0.05)
  41. end
  42. wait(2)
  43. for i = count, 0, -1 do
  44. game.CoreGui.cheese.Frame.TextLabel.Text = string.sub(text, 1, i)
  45. wait(0.05)
  46. end
  47. return Type()
  48. end
  49.  
  50. ScreenGui.Parent = game.CoreGui
  51. ScreenGui.Name = "cheese"
  52.  
  53. Frame.Parent = ScreenGui
  54. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55. Frame.Position = UDim2.new(0.79306829, 0, 0.663588405, 0)
  56. Frame.Size = UDim2.new(0, 119, 0, 178)
  57. Frame.Active = true
  58. Frame.Visible = true
  59. Frame.Draggable = true
  60.  
  61. TextLabel.Parent = Frame
  62. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  63. TextLabel.BorderColor3 = Color3.fromRGB(255, 0, 0)
  64. TextLabel.Size = UDim2.new(0, 119, 0, 42)
  65. TextLabel.Font = Enum.Font.SourceSans
  66. TextLabel.Text = ""
  67. TextLabel.TextScaled = true
  68. TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  69. TextLabel.TextSize = 14.000
  70.  
  71. prices.Name = "prices"
  72. prices.Parent = Frame
  73. prices.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  74. prices.BorderColor3 = Color3.fromRGB(255, 0, 0)
  75. prices.ClipsDescendants = true
  76. prices.Text = "Bring prices"
  77. prices.Position = UDim2.new(0, 0, 0.23595506, 0)
  78. prices.Size = UDim2.new(0, 119, 0, 34)
  79. prices.AutoButtonColor = false
  80. prices.Font = Enum.Font.SourceSans
  81. prices.TextColor3 = Color3.fromRGB(255, 0, 0)
  82. prices.TextSize = 14.000
  83. ripple(prices)
  84. prices.MouseButton1Click:connect(function()
  85. a.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,4,0)
  86. a.CanCollide = false
  87. a.Transparency = 0.9
  88. Type("Brought the price screen")
  89. end)
  90.  
  91. delprices.Name = "delprices"
  92. delprices.Parent = Frame
  93. delprices.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  94. delprices.BorderColor3 = Color3.fromRGB(255, 0, 0)
  95. delprices.ClipsDescendants = true
  96. delprices.Position = UDim2.new(0, 0, 0.42696631, 0)
  97. delprices.Size = UDim2.new(0, 119, 0, 34)
  98. delprices.AutoButtonColor = false
  99. delprices.Text = "remove prices"
  100. delprices.Font = Enum.Font.SourceSans
  101. delprices.TextColor3 = Color3.fromRGB(255, 0, 0)
  102. delprices.TextSize = 14.000
  103. ripple(delprices)
  104. delprices.MouseButton1Click:connect(function()
  105. a.CFrame = saved
  106. Type("Brought the sell screen to it's original location")
  107. end)
  108.  
  109. sellmilk.Name = "sellmilk"
  110. sellmilk.Parent = Frame
  111. sellmilk.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  112. sellmilk.BorderColor3 = Color3.fromRGB(255, 0, 0)
  113. sellmilk.ClipsDescendants = true
  114. sellmilk.Position = UDim2.new(0, 0, 0.61797756, 0)
  115. sellmilk.Size = UDim2.new(0, 119, 0, 34)
  116. sellmilk.AutoButtonColor = false
  117. sellmilk.Text = "Bring milk seller"
  118. sellmilk.Font = Enum.Font.SourceSans
  119. sellmilk.TextColor3 = Color3.fromRGB(255, 0, 0)
  120. sellmilk.TextSize = 14.000
  121. ripple(sellmilk)
  122. sellmilk.MouseButton1Click:connect(function()
  123. b.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  124. b.Transparency = 0.6
  125. b.CanCollide = false
  126. Type("Brought a milk seller area")
  127. end)
  128.  
  129. delsellmilk.Name = "delsellmilk"
  130. delsellmilk.Parent = Frame
  131. delsellmilk.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  132. delsellmilk.BorderColor3 = Color3.fromRGB(255, 0, 0)
  133. delsellmilk.ClipsDescendants = true
  134. delsellmilk.Position = UDim2.new(0, 0, 0.80898881, 0)
  135. delsellmilk.Size = UDim2.new(0, 119, 0, 34)
  136. delsellmilk.AutoButtonColor = false
  137. delsellmilk.Font = Enum.Font.SourceSans
  138. delsellmilk.TextColor3 = Color3.fromRGB(255, 0, 0)
  139. delsellmilk.TextSize = 14.000
  140. delsellmilk.Text = "Delete milk seller"
  141. ripple(delsellmilk)
  142. delsellmilk.MouseButton1Click:connect(function()
  143. b.CFrame = saved2
  144. Type("Returned milk seller area to it's original location")
  145. end)
  146.  
  147. wait(2)
  148. Type("Loaded up succesfully")
  149.  
  150. while wait() do
  151. c = game.Lighting
  152. c.Ambient = Color3.new(1,1,1)
  153. c.ColorShift_Bottom = Color3.new(1,1,1)
  154. c.ColorShift_Top = Color3.new(1,1,1)
  155. c.Brightness = 2
  156. c.FogEnd = 100000
  157. c.FogStart = 100000
  158. c.OutdoorAmbient = Color3.new(1,1,1)
  159. end
Add Comment
Please, Sign In to add comment