Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

i build a shop tool gui when i click to get the tool he get the money but he didnt give me?

Asked by 3 years ago
Edited 3 years ago

  21:49:35.048 parent is not a valid member of Tool "Sword" - Server - Script:4

game.ReplicatedStorage.Toolevents.Swordevent.OnServerEvent:Connect(function(player) if player.leaderstats.Cash.Value >=10 then player.leaderstats.Cash.Value = player.leaderstats.Cash.Value - 10 (here is the problem --->) game.ServerStorage.Tools.Sword:Clone().parent = player.Backpack end end)

0
Put a capital letter for parent TheBeastMare 3 — 3y

Answer this question