Advertisement
Stefanuk12

Robloxian High School | Auto Farm

Mar 26th, 2020
2,364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.35 KB | None | 0 0
  1. local ActivityPlace = game:GetService("ReplicatedStorage").Models.ActivityLocations
  2. schooltable = {
  3.     ["Math Class"] = ActivityPlace.Math.Bounding.CFrame,
  4.     ["Lunch"] = ActivityPlace.Cafeteria.Bounding.CFrame,
  5.     ["Drama Class"] = ActivityPlace.Auditorium.Bounding.Part.CFrame,
  6.     ["Histroy Class"] = ActivityPlace.History.Bounding.CFrame,
  7.     ["Music Class"] = ActivityPlace.Music.Bounding.Music.CFrame,
  8.     ["Art Class"] = ActivityPlace.Art.Bounding.CFrame,
  9.     ["Library Class"] = ActivityPlace.Library.Bounding.CFrame,
  10.     ["Cooking Class"] = ActivityPlace.Cooking.Bounding.Cooking.CFrame,
  11.     ["Science Class"] = ActivityPlace.Science.Bounding.CFrame,
  12.     ["Gym Class"] = ActivityPlace.Gym.Bounding.CFrame,
  13.     ["Track & Field Class"] = ActivityPlace.TrackAndField.Bounding.CFrame,
  14.     ["Weight Room Class"] = ActivityPlace.WeightRoom.Bounding.CFrame,
  15.     ["Pool Class"] = ActivityPlace.SchoolPool.Bounding.CFrame
  16. }
  17. function getActivity()
  18.     local Activity = game:GetService("Players").LocalPlayer.PlayerGui.GUI.Large.Core.Notifications.Frame.Nodes:WaitForChild("Window").Content.WindowTitle
  19.     return Activity.Text
  20. end
  21. spawn(function()
  22.     while wait(1) do
  23.         if _G.Autofarm then
  24.             for i,v in pairs(schooltable) do
  25.                 if getActivity() == i then
  26.                     game:GetService("Workspace")[game:GetService("Players").LocalPlayer.Name].HumanoidRootPart.CFrame = v  
  27.                 end
  28.             end
  29.         end
  30.     end
  31. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement