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

Why isn't the tool going into the backpack?

You need to reset your player to get get the tool in your backpack. When the game starts if you go on explorer you can see the item in the backpack, but the player only gets it when you reset your player.

game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player)

    local Cash = player:FindFirstChild("RealMoney")

    if Cash.Value >= 10 then
        Cash.Value = Cash.Value - 10
            local RockLaunch = game.ReplicatedStorage.Spas12:clone()
            RockLaunch.Parent = player.Backpack
            local RockLaunch = game.ReplicatedStorage.Spas12:clone()
            RockLaunch.Parent = player.StarterGear
			



    end
end)

1 answer

I've fixed it

2 comments

0

Hello. Two things, first of all, if you already resolved this issue then please close this question. Second of all, If you want help please consider telling us more background info so we understand exactly what your trying to do. For example, what triggers the remote event?

0

Thats a bit rich coming from a person with a reputation of 13

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