#Playscreen bugging out, new to developing.

1 messages · Page 1 of 1 (latest)

real flax
#

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

wary rampart
#

workspace:waitforchild(camfront

real flax
rocky shard
#

What are you trying to do?

real flax
wary rampart
#

the part probably doesnt exist on the client when the script runs in fact this may be throwing an error

#

hence waitforchild

rocky shard
real flax
#

whats that

#

??

rocky shard
#

I always use it when I want to animate by script.

#
local TweenService = game:GetService("TweenService")
rocky shard
real flax
ashen martenBOT
#

studio** You are now Level 1! **studio

real flax
#

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

rocky shard
#

Do you want a key that changes from first to third and vice versa?

real flax
rocky shard
#

wdym?

wary rampart
real flax
#

most of it

#

aaand when it didnt work i asked the assistant thing

#

and that changed

#

a lot

#

and i got lost from there

deep cloud
#

Can’t you see all the comments in his script

#

Its clearly generated by his good old friend

deep cloud
#

Conclusion: learn the basics and stop walking the losers’ path (AI)

real flax
# deep cloud He didn’t bruh

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

deep cloud
#

Thats why you should learn

#

Generating code will never be beneficial

#

Especially for beginners

real flax
#

yeah im in the process of learning

#

i started about 2 weeks ago i think as of today

#

thanks though

deep cloud
real flax
#

any tips specifically for beginners

#

???

deep cloud
#

Practicing

#

Avoiding AI

noble trail
deep cloud
#

And practicing

real flax
noble trail
#

practicing is a better word but yeah just do it yk

real flax
#

ai is the key to everything

#

got it

#

lmao

#

thanks chat

deep cloud
#

Practice, practice, practice

#

FUCK AI

noble trail
#

just experiement and if things dont work, fix it and thats how you learn

wary rampart
deep cloud
deep cloud
noble trail
#

real quick tho, adding coments on what each block of code does, is ai the one doing that?

ashen martenBOT
#

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

noble trail
#

👀

deep cloud
#

Who else would explain code as if they were talking to a 5 y/o ?

noble trail
#

uhhh

deep cloud
#

Good scripters don’t need comments at each lines to know what the code executes

noble trail
#

ah damnnnn, maybe in the future but i dont even remember what i had for breakfast let alone remembering giant blocks of code

wary rampart
noble trail
#

you would hate to see my code if you dont like comments

real flax
deep cloud
#

Its the opposite

#

Theyre fantastic

#

But commenting like AI does is ABSOLUTELY useless

#

(No debate)

real flax
#

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

wary rampart
#
-- 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

deepsigh

noble trail
#

😂😂

deep cloud