Im trying to make a Gamepass that once you buy it you will be granted a Grenade Launcher made by Roblox (rbxassetid://4842201032). It all works fine except the Grenade launcher doesn't do any damage to the player. I have the Gun cloned from ReplicatedStorage into the players backpack. I have done the Setup roblox has told me to do with the gun.

local player =game.Players.LocalPlayer local ownsGamepass =game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 13440876)

if ownsGamepass then local GrenadeLauncher = game:GetService("ReplicatedStorage"):WaitForChild("Grenade Launcher"):Clone() GrenadeLauncher.Parent = player.Backpack end

Here is the script i used To clone the Grenade Launcher into the players Backpack

1 comment

0

Here, the issue is the gun, and not actually the putting into the players backpack. Also i really recommend you use code blocks since it makes your text look like lua.