Skip to content

Instantly share code, notes, and snippets.

@ImNotABotIPromise
Last active September 12, 2021 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ImNotABotIPromise/3a9f6fdd30bbedb7bd2e4ee0dfdda50e to your computer and use it in GitHub Desktop.
Save ImNotABotIPromise/3a9f6fdd30bbedb7bd2e4ee0dfdda50e to your computer and use it in GitHub Desktop.
local App = loadstring(game:HttpGet("https://pastebin.com/raw/KU8iBSH3"))()
local LocalPlayer = game:GetService("Players").LocalPlayer
App, Gui = App.Load({
Name = "StandsAwakening";
Title = "Stands Awakening | Item Sniper";
})
local Home = App.New({
Title = "Items";
Active = true;
})
local Items = {}
for _,obj in pairs(workspace:GetChildren()) do
if obj:IsA("Tool") and obj:FindFirstChild("Handle") then
local Button = Home.Button({
Title = obj.Name
}, function()
LocalPlayer.Character.HumanoidRootPart.CFrame = obj.Handle.CFrame
end)
Items[#Items + 1] = {
Btn = Button.Object,
Obj = obj
}
end
end
workspace.ChildAdded:Connect(function(obj)
if Gui then
if obj:IsA("Tool") then
obj:WaitForChild("Handle")
local Button = Home.Button({
Title = obj.Name
}, function()
LocalPlayer.Character.HumanoidRootPart.CFrame = obj.Handle.CFrame
end)
Items[#Items + 1] = {
Btn = Button.Object,
Obj = obj
}
end
end
end)
workspace.ChildRemoved:Connect(function(o)
if Gui then
for _,Item in pairs(Items) do
if Item.Obj == o then
Item.Btn:Destroy()
end
end
end
end)
local Filter = App.New({
Title = "Filter";
})
Filter.Label("Filters")
local Filters = {
["Dio's Skull"] = false,
["Camera"] = false,
["Pot Platinum's Diary"] = false,
["Solar Diary"] = false,
["Ornstein's Spear"] = false,
["True Requiem Arrow"] = false,
["Aja Mask"] = false,
["Hell Arrow"] = false,
["Volcanic Rock"] = false,
["Ender Pearl"] = false,
["Samurai Diary"] = false,
["Bone"] = false,
["Toxic Chemicals"] = false,
["Requiem Arrow"] = false,
["DIO'S Diary"] = false,
["Vampire Mask"] = false,
["Frog"] = false,
["Arrow"] = false,
["Rokakaka Fruit"] = false,
["Banknote"] = false
}
local ItemTable = {}
function updateList()
for _,Item in pairs(ItemTable) do Item.Btn:Destroy() end
ItemTable = {}
for _,obj in pairs(workspace:GetChildren()) do
if obj:IsA("Tool") and obj:FindFirstChild("Handle") and Filters[obj.Name] == true then
local Button = Filter.Button({
Title = obj.Name
}, function()
LocalPlayer.Character.HumanoidRootPart.CFrame = obj.Handle.CFrame
end)
ItemTable[#ItemTable + 1] = {
Btn = Button.Object,
Obj = obj
}
end
end
end
workspace.ChildAdded:Connect(function(obj)
if Gui then
if obj:IsA("Tool") and Filters[obj.Name] == true then
obj:WaitForChild("Handle")
local Button = Filter.Button({
Title = obj.Name
}, function()
LocalPlayer.Character.HumanoidRootPart.CFrame = obj.Handle.CFrame
end)
ItemTable[#ItemTable + 1] = {
Btn = Button.Object,
Obj = obj
}
end
end
end)
workspace.ChildRemoved:Connect(function(o)
if Gui then
for _,Item in pairs(ItemTable) do
if Item.Obj == o then
Item.Btn:Destroy()
end
end
end
end)
for FilterToggle,FilterValue in pairs(Filters) do
Filter.Toggle({
Title = FilterToggle
}, function(toggled)
Filters[FilterToggle] = toggled
updateList()
end)
end
Filter.Label("Items")
local Settings = App.New({
Title = "Settings";
})
Settings.Label("Auto-Use")
local Banknote = false
Settings.Toggle({
Title = "Banknote"
}, function(toggled)
Banknote = toggled
end)
LocalPlayer.Character.ChildAdded:Connect(function(obj)
if Gui then
if Banknote == true then
if obj.Name == "Banknote" then
wait(.02)
obj:Activate()
end
end
end
end)
Settings.Label("Other")
Settings.Button({
Title = "Destroy GUI";
}, function()
Gui:Destroy()
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment