If you want the tool to replicate to all players, yes.
1 Like
I guess change it up do you want it to give him the tool every time he spawns or when he clicks equip
I’d prefer the
“give him the tool every time he spawns”
but idk how to do that.
use character added not player added character added fires every time a character spawns/respawns
1 Like
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if not game.MarketplaceService:UserOwnsGamePassAsync(player.UserId, 236958295) then return end
game.ReplicatedStorage.Mega:Clone().Parent = player.Backpack
end)
end)
Do this on server.
Kind of a stupid question, where do i put this script? (btw thanks for the help)
1 Like
Put this code in a script under ServerScriptServuce
It worked, thank you so much. (also thanks Winged_earth for trying to help)
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.