Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ActivityPlace = game:GetService("ReplicatedStorage").Models.ActivityLocations
- schooltable = {
- ["Math Class"] = ActivityPlace.Math.Bounding.CFrame,
- ["Lunch"] = ActivityPlace.Cafeteria.Bounding.CFrame,
- ["Drama Class"] = ActivityPlace.Auditorium.Bounding.Part.CFrame,
- ["Histroy Class"] = ActivityPlace.History.Bounding.CFrame,
- ["Music Class"] = ActivityPlace.Music.Bounding.Music.CFrame,
- ["Art Class"] = ActivityPlace.Art.Bounding.CFrame,
- ["Library Class"] = ActivityPlace.Library.Bounding.CFrame,
- ["Cooking Class"] = ActivityPlace.Cooking.Bounding.Cooking.CFrame,
- ["Science Class"] = ActivityPlace.Science.Bounding.CFrame,
- ["Gym Class"] = ActivityPlace.Gym.Bounding.CFrame,
- ["Track & Field Class"] = ActivityPlace.TrackAndField.Bounding.CFrame,
- ["Weight Room Class"] = ActivityPlace.WeightRoom.Bounding.CFrame,
- ["Pool Class"] = ActivityPlace.SchoolPool.Bounding.CFrame
- }
- function getActivity()
- local Activity = game:GetService("Players").LocalPlayer.PlayerGui.GUI.Large.Core.Notifications.Frame.Nodes:WaitForChild("Window").Content.WindowTitle
- return Activity.Text
- end
- spawn(function()
- while wait(1) do
- if _G.Autofarm then
- for i,v in pairs(schooltable) do
- if getActivity() == i then
- game:GetService("Workspace")[game:GetService("Players").LocalPlayer.Name].HumanoidRootPart.CFrame = v
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement