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
#problem with scripting
1 messages · Page 1 of 1 (latest)
Show lines
ive edited it a lil and i ha to record it sorry cuz it dosent lemme take ss on swift
i just wanna fix my stuff so no one can hack my seeds
heres what i got rn in the console
** You are now Level 9! **
yehh im on my alt account (its fake korblox btw) cuz i have admin on my main plus i dont wanna get banned and idc cuz dont use the acc much
yeah
These comments are useless and just clutter your code
You have that line that goes back to the next after CandyBlossomGrow
And stop using acronyms for variable names
lol ok
(i use chatgpt cuz i got no experience)
You have a function called give item and you comment “try to give the item”
(its taking me in a loop so i asked here)
Thats why it looked weird
Line 5 doesnt have “)
At the end
Why are you making a scripting help post for debugging chat gpt’d code
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?
because i hit the free plan im broke af 💀
Same on line 9
also @storm crystal
PLS HELP
Hmm idrk honestly
Sybau
aso this??
o
wdym
You have a string bracket at the end of those lines
OHH I NEED IT AT THE START
Its text, a string is when you want to write something or reference something named with text
Delete the “)
End of line 6 and 10
ohh ok
i added a (" at the start do i remove that aswel @storm crystal
is this looking good
said this again
Yeah because you already defined blossom with a variable on line 5
Just put blossom i think
so what do i dooo
Delete local
put blossom on all of them except line 5?
Yes because you already defined it but before that wait one sec alr?
Wait
oki
what is happening here
Hacks
Lol
Jk
On line 13 you dont have the closing bracket already
At the end
hacking my own game to fix stuff
so fix your game?
from earlier comments you seem to have no experience
yeh so ppl cant hack it
chatggpt
He might be better than me @scenic brook, im just a beginner in lua
oki
if your not planning to give access to anyone you don't need to worry about loading strings
im scared itl happen tho
some hackers are good
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
u think i can do that?
cough cough chatgpt
well
if you stop depending on chatgpt and learn how to script, without a doubt
ai is a tool meant for advanced users
just help me with it man omg
What help do you even need now
gurl ive been trying this for like 2 hours now
it's pointless, if you don't understand the garbage chatgpt threw at you, i doubt there's solid code to begin with, no offence
you're better off actually learning
i aint wasting myhard earned time
@storm crystal can u just help me in DMs
ur helping tho
goodluck crimson, salt won't fix this dish 
I mean i can try
