can someone help me, im making a game rn and im trying to script a playscreen with a moving camera background, and it worked the first time. but then i moved the camera and everything just stopped working. now when you join the game you just sit still at spawn with the play button on ur screen and u dont go to the camera
#Playscreen bugging out, new to developing.
1 messages · Page 1 of 1 (latest)
workspace:waitforchild(camfront
thank you! where should i put this?
What are you trying to do?
make a play screen with a moving background
the part probably doesnt exist on the client when the script runs in fact this may be throwing an error
hence waitforchild
Have you tried using TweenService?
I always use it when I want to animate by script.
local TweenService = game:GetService("TweenService")
You're trying to make an animation, right?
ehhh, kind of
** You are now Level 1! **
yes but no
i would rather have just a playscreen with a camera facing somewhere else
thats what i was going for but i got the idea to have the camera spin
but now im kinda stuck
Do you want a key that changes from first to third and vice versa?
sounds easy enough right
liike wdym?
wdym?
yep, not sure why you don't understand where to put it. you wrote this code yourself, didn't you?
most of it
aaand when it didnt work i asked the assistant thing
and that changed
a lot
and i got lost from there
He didn’t bruh
Can’t you see all the comments in his script
Its clearly generated by his good old friend
Obviously
Conclusion: learn the basics and stop walking the losers’ path (AI)
well, to be fair i did. i just ran it through the roblox ai assistant on studio and it added those after the first time i asked it to help
aaand it did nothing for me
Thats why you should learn
Generating code will never be beneficial
Especially for beginners
yeah im in the process of learning
i started about 2 weeks ago i think as of today
thanks though
Practicing
Avoiding AI
just do it
And practicing
nike ahh
practicing is a better word but yeah just do it yk
okay so i think what ur trying to say here is:
ai is the key to everything
got it
lmao
thanks chat
just experiement and if things dont work, fix it and thats how you learn
you got it!
you gonna go far
frontpage when?
Key to failure
Gonna buy a house at LoserVille after generating a whole grow a garden copy
real quick tho, adding coments on what each block of code does, is ai the one doing that?
** You are now Level 2! **
Yuh
👀
Who else would explain code as if they were talking to a 5 y/o ?
uhhh
Good scripters don’t need comments at each lines to know what the code executes
ah damnnnn, maybe in the future but i dont even remember what i had for breakfast let alone remembering giant blocks of code
good scripters don't need comments. great scripters know that comments are more important than the code itself.
thanks 😁 !
Thats your pov
you would hate to see my code if you dont like comments
boy spitting some unheard wisdom on a thread 💔
I mean comments are not bad
Its the opposite
Theyre fantastic
But commenting like AI does is ABSOLUTELY useless
(No debate)
yeah even if there was room for debate youd still be right cause even when looking at the ss the ai was not helping at all
whatsoever
ai tends to be very generous with really dumb and pointless comments
-- code handler for when a button was clicked by the player
button.Activated:Connect(function()
-- print hello world
print("hello world")
-- end the button function
end)
-- do nothing else

😂😂
well isnt that grand
Only ai would waste its time like that