#problem with scripting

1 messages · Page 1 of 1 (latest)

scenic brook
#

hey yall, im making a fan game of gag, and ive tried a command and it dosent work. ive got my code and the console there. im using swift on an alt to try give myself the candy bossom IN MY FANGAME so im able to find out the problems and fix them. im trying to get as many "sucsessful" hacks as ppossible so i can easily remove them

#

any1?

storm crystal
#

Show lines

scenic brook
#

in the console or the code

storm crystal
#

All

#

The code

#

Everything in that script with the lines

scenic brook
#

i just wanna fix my stuff so no one can hack my seeds

storm crystal
#

Alr np

#

So this is the hack to clone the seed into your backpack

scenic brook
steep sealBOT
#

studio** You are now Level 9! **studio

scenic brook
storm crystal
#

Alr

#

On line 5

scenic brook
#

yeah

hoary dagger
storm crystal
#

You have that line that goes back to the next after CandyBlossomGrow

hoary dagger
#

And stop using acronyms for variable names

scenic brook
#

(i use chatgpt cuz i got no experience)

hoary dagger
#

You have a function called give item and you comment “try to give the item”

scenic brook
#

(its taking me in a loop so i asked here)

storm crystal
#

Line 5 doesnt have “)

#

At the end

hoary dagger
#

Why are you making a scripting help post for debugging chat gpt’d code

scenic brook
#

also if i wanted to give for example a candy blossom seed to everyone in every server would i just remove the local and just make it player?

scenic brook
scenic brook
#

lemme try it again

#

@storm crystal

storm crystal
#

Same on line 9

scenic brook
#

the bottom is my most recent

#

OHH

scenic brook
#

its saying the same stuff still

rare slate
#

PLS HELP

storm crystal
#

Hmm idrk honestly

storm crystal
scenic brook
#

current code

storm crystal
#

Yo @scenic brook why on line 6 and 10 you have a str backet ?

#

At the end

storm crystal
#

Srry

scenic brook
#

o

storm crystal
#

You have a string bracket at the end of those lines

scenic brook
#

OHH I NEED IT AT THE START

scenic brook
storm crystal
#

Its text, a string is when you want to write something or reference something named with text

scenic brook
#

ohh

#

how do i fix

storm crystal
#

Delete the “)

scenic brook
#

at the start and end

#

?

#

@storm crystal

storm crystal
#

End of line 6 and 10

scenic brook
#

ohh ok

#

i added a (" at the start do i remove that aswel @storm crystal

#

is this looking good

#

said this again

storm crystal
#

Just put blossom i think

storm crystal
#

Delete local

scenic brook
#

put blossom on all of them except line 5?

storm crystal
#

Yes because you already defined it but before that wait one sec alr?

scenic brook
#

ohh delete local on all>

#

?

storm crystal
#

Wait

scenic brook
#

oki

solid crest
#

what is happening here

storm crystal
#

Hacks

#

Lol

#

Jk

#

On line 13 you dont have the closing bracket already

#

At the end

scenic brook
solid crest
#

from earlier comments you seem to have no experience

scenic brook
scenic brook
storm crystal
#

He might be better than me @scenic brook, im just a beginner in lua

solid crest
#

if your not planning to give access to anyone you don't need to worry about loading strings

scenic brook
#

some hackers are good

solid crest
#

just add sanity checks server side

#

if you're worried about stolen assets, don't, it's pointless protecting them

#

they have to be replicated to clients anyways if you want your game to function as intended

#

all you can do is make the game unplayable for them with good security

scenic brook
#

cough cough chatgpt

solid crest
#

well

#

if you stop depending on chatgpt and learn how to script, without a doubt

#

ai is a tool meant for advanced users

scenic brook
storm crystal
scenic brook
solid crest
#

you're better off actually learning

scenic brook
#

@storm crystal can u just help me in DMs

storm crystal
#

Aye im still learning yo 😭

#

Im no god of scripting

scenic brook
solid crest
#

goodluck crimson, salt won't fix this dish upvote

storm crystal
#

I mean i can try