#Help#

1 messages · Page 1 of 1 (latest)

silver girder
#

Doesn't work !!!!!!!;

#

Can anyone colab and help

autumn salmon
#

What doesnt work

proven dome
#

you messed it up

silver girder
#

How

#

Hjälp please

silver girder
# autumn salmon What doesnt work

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local BuyEvent = ReplicatedStorage:WaitForChild("BuyItemEvent")

script.Parent.MouseButton1Click:Connect(function()
BuyEvent:FireServer("Dirt Bike") -- change this string to item name
end)

I've change waitforchild to findfirstchild and still doesn't work

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Items = require(ReplicatedStorage:WaitForChild("ShopItems"))
local BuyEvent = ReplicatedStorage:WaitForChild("BuyItemEvent")

BuyEvent.OnServerEvent:Connect(function(player, itemName)
local coins = player:WaitForChild("leaderstats"):WaitForChild("Coins")
local price = Items[itemName]

if price and coins.Value >= price then
    coins.Value = coins.Value - price
    print(player.Name .. " bought " .. itemName)

    -- Give them the item (example: a Tool stored in ServerStorage)
    local tool = game.ServerStorage:FindFirstChild(itemName)
    if tool then
        tool:Clone().Parent = player.Backpack
    end
else
    print(player.Name .. " doesn’t have enough Coins for " .. itemName)
end

end)
Server side purchase logic It looks good but someone suggested to me that the remote doesn' work

somber rockBOT
#

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

silver girder
#

Nothing works

#

NOTHING WORKS AND NO ONE CAN HELP WHAT KIND OF CHAT IS THIS

proven dome
silver girder
#

What

#

You didn't even check these scripts

proven dome
#

are there errors in output

silver girder
#

No

#

I didn't have any errors

#

I've been doing this for 4 hours, I've entered it all several times and nothing works

#

This is a crisis

proven dome
#

every time something happens put a print() line

#

with a unique message

silver girder
#

I need a different sales system, I don't know lua that well and python is not compatible

marble patio
silver girder
#

This script doesn't work. Can someone write me a script to sell 3 items

#

This is embarrassing

#

But I'm tired

#

Why is this script not working?

#

??

autumn salmon
#

Mayb u spelled it wrong @silver girder

silver girder
#

It's correct

obtuse roost
#

you put dirt bike

#

but bike is uncapitalized?

#

idk

#

@silver girder

#

yes

silver girder
#

What is wrong

obtuse roost
#

i don't even know

#

ur script is weird

marble patio
marble patio
silver girder
#

Ai which I corrected

#

Modified*

obtuse roost
#

bro we giving you answer

#

and you brushing it off

silver girder
#

How.?

obtuse roost
#

THE capitalization

silver girder
#

I read what you write and check

proven dome
#

i feel like im talking to an infant rn

#

the answer is right there

obtuse roost
silver girder
obtuse roost
#

See

silver girder
#

🤦🏻‍♂️

obtuse roost
#

b vs B

#

the capitalization on bike

proven dome
silver girder
obtuse roost
#

bro

#

can you listen

silver girder
#

And who is the infant here if you don't even understand the chronology of the answers

proven dome
silver girder
#

And stop spamming stupid gifs, it's annoying

obtuse roost
#

We not spamming

#

bro

proven dome
#

@obtuse roost delete the answers this guy doesnt deserve it

marble patio
marble patio
#

can't help those who don't actually want it

silver girder
proven dome
silver girder
#

It's a waste of time to talk to someone who doesn't understand who I'm addressing

proven dome
#

😭

obtuse roost
#

bro anyone can help

#

Do you want help

#

or to argue

proven dome
silver girder
#

You started calling me names just because you don't understand that I wasn't even talking to you.

silver girder
#

Barking machine

#

Scammer

#

Js go

#

With your stupid gifs

obtuse roost
proven dome
autumn salmon
#

Nah he used ai to script it he doesnt know what hes doing

obtuse roost
#

did you fix it bro?

#

we have gave answers

proven dome
#

@marble patio you seein this

silver girder
#

I said 2 hours ago that I use AI because I'm learning and I don't understand everything

proven dome
#

mf calling me a scammer for trying to help

somber rockBOT
#

studio** You are now Level 5! **studio

proven dome
#

LOLLL

marble patio
silver girder
#

Are you stupid or do you have a problem with logical understanding of the text you read?

waxen plank
marble patio
#

in fact no reason for me to be responding either since i already gave correct answer over an hour ago

waxen plank
#

nice answer

silver girder
#

Thank you, I tried to do it but nothing works

marble patio
obtuse roost
#

show code

somber rockBOT
#

studio** You are now Level 13! **studio

silver girder
#

I don't understand everything as well as u

marble patio
silver girder
#

I think I was there

waxen plank
#

Oh my god

#

is this an index error?

marble patio
waxen plank
#

I read nothing other than the last 4 messages

#

😆

silver girder
marble patio
waxen plank
#

AI cannot give you a brain

marble patio
# obtuse roost

pretty concise 'where' given right here, but you were a bit too busy arguing with kyo to notice it seems 👍

silver girder
#

Dumb byarch

obtuse roost
#

dude

waxen plank
silver girder
#

Who tries to be cold and funyyyyyy

waxen plank
#

you hypocrite

silver girder
# waxen plank you hypocrite

That's what I do, but I also do other things in parallel? And? If you don't have anything constructive to say, why not waste my time and energy? Read up on physics?

#

Maybe?

#

Instead.?

#

If you are so optimized

waxen plank
#

Man is trying to add everything he learned in 5th grade to this conversation

silver girder
#

Conclusion

mighty prawn
#

Is this off YouTube

silver girder
#

No

autumn salmon
#

46 subscriber ahh 🥀

silver girder
#

And?

marble patio
#

tbh the bigger problem with using ai is not the brainrot it causes, it is how it [deludes people into thinking they wrote the code](#📜︱scripting message) when in fact all they did was plagiarize the ai. makes it very hard to give helpful responses when you do that.

obtuse roost
#

You can use ai as long as you know what ur doing

#

Like for checking small errors

#

As long as you get the concept

hollow tulip
#

Ya I was gonna say. Ai isn't the issue. The issue is he has no idea what he's doing

marble patio
obtuse roost
#

But you are clueless when we tried to help

silver girder
#

I never wrote that I think I wrote this code - I keep repeating it and asking where I made a mistake

obtuse roost
#

We told you

#

its the spelling

#

on bike

hollow tulip
#

I'm pretty sure they told you the issue like 5x in this thread

obtuse roost
#

it all has to be the same

#

In your scripts too

hollow tulip
#

ATP if youre this slow I don't think you should be coding at all but going to school instead

marble patio
#

i've had it give working formulas sometimes too ... of course, after i already had the inputs ready and was about to google said formula

silver girder
hollow tulip
#

What i did when I first started learning was have it give me simple lines and comment each one then explain to me what every part of the code is doing

waxen plank
marble patio
#

you really need to already know what you need from the ai for it to be useful

#

it can't do anything you don't already know how to do

silver girder
#

I use AI many times and everything works

marble patio
#

i mean, technically it can, but it's like, if you don't know how to use a socket wrench then giving you an electric socket wrench isn't going to be at all helpful to you

obtuse roost
#

bro

#

show all code

marble patio
#

technically the socket wrench can wrench sockets but if you don't know how to use it what was the point giving it to you

silver girder
#

I don't even read anyone anymore, I'm just waiting for your answer

waxen plank
mighty prawn
#

Bro this is taking forever

obtuse roost
#

is server or localscript?

mighty prawn
#

200 comments in a hour

hollow tulip
#

There are so many factors that could be throwing off this script and he gave barely anything lol

obtuse roost
#

I don't have time rn

silver girder
#

Eh

hollow tulip
#

Are you communicating between multiple scripts? If so do you have events to speak between them?

somber rockBOT
#

studio** You are now Level 2! **studio

waxen plank
hollow tulip
#

I use ai code as well lol. But I can spot when the ai makes a mistake

waxen plank
#

Luau is a high level language, AI can often still make minor deviances and be right. Now try the same for a lower level language, and everything will just be going to shit as AI is just guessing shit

hollow tulip
#

a huge issue i've noticed with ai code is it never keeps track of names for scripts, models, or variables for too long

silver girder
#

Say something new

#

Or try to solve the problem with someone

#

Try to teach someone something

#

I would do it if I had your knowledge.

hollow tulip
#

there is no errors in output? no infinite waits?

waxen plank
silver girder
#

Instead of sitting and enlarging your hemorrhoids of hatred

marble patio
hollow tulip
#

ya if no errors are popping up you're going to have to debug it by addint print() statements on each part of it to make sure everything is working as intended

waxen plank
# silver girder Try to teach someone something

Eh fuck it

local Dumbass = "You"

print(dumbass)
--[[doesn't do shit, as vars are case sensitive.
 This isn't rocket science, this isn't some insanely low level language.
It's fucking luau, one of the easiest languages to fucking learn]]
silver girder
#

Barking machine

hollow tulip
#

luau is basically java almost and java is insanely easy

marble patio
#

this kind of thread is like half the threads on these roblox developer guilds, the public ones at least. you have to ask twice if there are errors. no information is given. and if you don't give correct and direct answer based on practically hopes, prayers, and a bit of telepathy, you're being rude and unhelpful and the thread devolves into what this one looks like. see it all the time.

silver girder
#

Zero logical response

proven dome
silver girder
#

Cya

hollow tulip
hollow tulip
# proven dome 🤔

like they're way more alike than if you tried to learn c++ from knowing only lua

marble patio
#

i think the problem is focusing too much on the ai. when you claim ai's code as your own, and then ask 'why it not worky', it becomes a problem as to what kind of answer to give you exactly - clearly just telling you the item name was wrong wasn't enough. putting the screenshots of the item name you're using, and the one in the table, wasn't enough.

#

that's why ai gets brought up.

proven dome
# silver girder

instead of putting all ur energy into arguing what if you actually just did what we are telling you to

silver girder
#

I did it!!!!!

marble patio
#

and the general consensus is, arguing against that is not helpful to anyone even yourself. always better to be honest and disclose

waxen plank
# marble patio this kind of thread is like half the threads on these roblox developer guilds, t...

The issue is the modern pace of these threads. It used to be that you would post a question on a forum. And then just had to wait, it could be 1 hour until somebody responds, it could be a few days. Now they just assume somebody will respond within 10 minutes. No need to google shit, no need to be precise. No need to even add any context. Sadly that is no longer the case so people just say shit like "my code is broken" with no additional information

hollow tulip
#

ya multiple people asked you to add debug print statements, no response.

silver girder
#

I'm closing the topic as usual I only get insults - Thank you to those who wrote anything to help me - I tried but it doesn't work that's all

marble patio
#

like "i took this ai code [script] and i tried changing x and y but cannot get it to work" that's going to get you specific answers that you can understand instead of "oh well if you wrote it, hm yes you spelled something wrong" which is what you got

silver girder
#

I'm dumb infant blonde bitch and amen

#

Topic close

#

!!!!!!!!

waxen plank
marble patio
#

back in my day, the only source of help was reading a book. if the answer wasn't in the book, or wasn't clear, you just had to sort of figure things out for yourself, or pay time and money out the wazoo to spend months doing courses in a physical classroom, online was not a thing, if you even get accepted in the first place.

waxen plank
marble patio
#

rip local communities