I've tried detecting the player backpack for the tool name and if it does detect it I made it to where the Proximity Prompt should be allowed to be triggered. I may be going in a completely wrong direction. Here's my code:
local ProximityPromptService = game:GetService("ProximityPromptService") local ToolName = "Wrench" local core = script.Parent.Parent.Effect.Core local coreMiniSparks = script.Parent.Parent.Effect.CoreMiniSparks local miniSparks = script.Parent.Parent.Effect.MiniSparks local sparks = script.Parent.Parent.Effect.Sparks game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if player.Backpack:FindFirstChild(ToolName) then script.Parent.Triggered:Connect(function() core.Enabled = false coreMiniSparks.Enabled = false miniSparks.Enabled = false sparks.Enabled = false end) end end)
end)
local ProximityPromptService = game:GetService("ProximityPromptService") local ToolName = "Wrench" local core = script.Parent.Parent.Effect.Core local coreMiniSparks = script.Parent.Parent.Effect.CoreMiniSparks local miniSparks = script.Parent.Parent.Effect.MiniSparks local sparks = script.Parent.Parent.Effect.Sparks game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if player.Backpack:FindFirstChild(ToolName) then script.Parent.Triggered:Connect(function() core.Enabled = false coreMiniSparks.Enabled = false miniSparks.Enabled = false sparks.Enabled = false end) end end) end)
here's his script ina code block if anyone wants to help
local ToolName = "Wrench" local core = script.Parent.Parent.Effect.Core local coreMiniSparks = script.Parent.Parent.Effect.CoreMiniSparks local miniSparks = script.Parent.Parent.Effect.MiniSparks local sparks = script.Parent.Parent.Effect.Sparks script.Parent.Triggered:Connect(function(player) local backpack,char=player:FindFirstChild"Backpack",player.Character local tool=backpack and backpack:FindFirstChild(ToolName)or char and char:FindFirstChild(ToolName) if tool then coreMiniSparks.Enabled = false miniSparks.Enabled = false sparks.Enabled = false end end)