Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can anyone PLEASE Check my Script? Its not accesing the Gun in Roblox Player

I need help with this Local Script! Its not loading Properly in the Player Mode! The gun "Burst" is located in Rep Storage (Becuase I think that it will not work in Server Storage), What did I do wrong? Its loading the Tool name, but not the Name or any of the Functions i Scripted it to do!

player = game.Players.LocalPlayer

if not player.leaderstats then wait() end

money = player.leaderstats.Captures
price = 0
tool = game.ReplicatedStorage:findFirstChild("Burst")
function buy()
if money.Value >= price then
money.Value = money.Value - price
local a = tool:clone()
a.Parent = player.Backpack
local b = tool:clone()
b.Parent = player.StarterGear

end
end
script.Parent.MouseButton1Down:connect(buy)

1 comment

0

This is not a request site. The best way to get better help is to make your question as clear and easy to follow as possible.

1 answer

First Thing I would check If I was you would be to make sure the script is not disabled and make sure its located in the Tool or Gun. Also make sure Tool is Enabled Go to Properties->State->Enabled make sure the Box to the right of it is showing check mark, If not then click the box and then test it out. If nothing what I said did not help you in any way then Down Vote this Answer. If it helped then Up Vote it.

This discussion is preserved as it was. New answers, comments, and votes are closed.