#Bug Damage

33 messages · Page 1 of 1 (latest)

austere raptor
#

First of all, for your own good (and my eyes), please use dark mode... Go to File (top right) > Studio Settings > Theme > Dark

And about the script, try using a few prints at line 8-9, 15-16 and 10-11 To see where does the script stop working

glad mist
#

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)

austere raptor
#

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

glad mist
#

BRUH, that’s what remote events are for

#

@naive sandal if I’m not mistaken, this script is inside of a tool correct?

glad mist
glad mist
#

Ah I seee what you did now

#

actually, are tools stored inside of the players' backpack or inside of the character?

glad mist
near chasmBOT
#

studio** You are now Level 4! **studio

glad mist
#

check how many times you say ".Parent" in the GetPlayerFromCharacter line, I'm assuming that's where you made a mistake

naive sandal
near chasmBOT
#

studio** You are now Level 1! **studio

naive sandal
#

local player = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent.Parent)

glad mist
#

it would be local player = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent)

#

Handle > SwordS > Character

#

sorry I responded late

glad mist
#

ur welcome!

naive sandal
#

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

glad mist