#Bug Damage
33 messages · Page 1 of 1 (latest)
Try doing
Coins.Value = Coins.Value + CoinRewards.Value
Also, if this is a local script PLEASE use game.Players.LocalPlayer instead of script.Parent.Parent.Parent.Parnt
I think the problem is that the player isn’t found, as it responds with “nil” to print(player)
If he would use local script it will change the value on client and on server will still the same value from when he joined, BRUH
BRUH, that’s what remote events are for
@naive sandal if I’m not mistaken, this script is inside of a tool correct?
What if this was supposed to be a training dummy that doesn’t necessarily need to be updated for all players?
yes
Ah I seee what you did now
actually, are tools stored inside of the players' backpack or inside of the character?
Is this script inside of the tool's handel?
** You are now Level 4! **
check how many times you say ".Parent" in the GetPlayerFromCharacter line, I'm assuming that's where you made a mistake
yes
** You are now Level 1! **
local player = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent.Parent)
it would be local player = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent)
Handle > SwordS > Character
sorry I responded late
ty work
tysm
ur welcome!
🫶
do u are good at creating swords?
my sword is bugged
rlly bugged
@glad mist
are u good to create swords?
my english so bad
sry
nah