#guys I need help because I have this problem where it doesnt print 1 and also the gui doesnt appear

1 messages · Page 1 of 1 (latest)

grave forum
#

This is the Data Script:

lethal garden
#

also

#

i dont think its hgow remotes work

grave forum
#

at line 21

lethal garden
#

unless thats bindable in replicated for some reason

lethal garden
grave forum
grave forum
lethal garden
#

and

#

remote right

grave forum
#

ye

#

Server to Server

lethal garden
#

so why is it in replicated storage

grave forum
#

I just sent player too

grave forum
lethal garden
#

so which one is line 21

lethal garden
#

is what am curious about

grave forum
#
sendAbility.Event:Connect(function(plr, roll)
    print(plr, roll)
    local plrInData = data[plr.UserId]
    if not plrInData then return end
    
    print("Roll received:", roll.name)

    if roll.name == "Healer" then
        print(1)
        if table.find(plrInData.AbilityOwned, roll.name) ~= nil or table.find(plrInData.AbilityEquipped, roll.name) ~= nil then
            plrInData.Money += 50
        end
        table.insert(plrInData.AbilityOwned, roll.name)
        local newAbility = ReplicatedStorage.Guis.Healer:Clone()
        newAbility.Parent = plr.PlayerGui.Shop.PowersFrame.UnlockedPowers
    end
end)```
#

thats the line

lethal garden
#

so the first print aint working?

grave forum
#

ye

lethal garden
#

do you ever

grave forum
#

no

lethal garden
#

fire it?

grave forum
#

where it says print(1)+

lethal garden
#

what does it say Roll recieved ...?

grave forum
#

ye but when I print the above one it says all the details

lethal garden
#

show me what it prints

grave forum
#

k wait

#

Azlanamanaz ▼ {
["name"] = "Healer",
["rarity"] = 30
} - Server - DataSave:14

#

here it is

lethal garden
#

so it doesnt even print that

grave forum
#

just analyze it

#

Imma have to go

grave forum
lethal garden
#

exactly what it says

#

in console

solemn arrow
# grave forum

even attempting to debug this gotta be hell @lethal garden 😭