-
What do you want to achieve? Whenever I get the tool I want it so it loads the scripts
-
What is the issue? whenever I click with the tool it doesn’t shoot the gun for some reason (and I suspect it’s because it’s not loading the scripts?)
-
What solutions have you tried so far? I tried a lot of stuff but it didnt work
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function(click)
if player.leaderstats.Rings.Value >= 50 then
player.leaderstats.Rings.Value = player.leaderstats.Rings.Value - 50
game.ReplicatedStorage.Tools.ToyGun:Clone().Parent = player:WaitForChild("Backpack")
end
end)