just a few tips for your future projects: use task.wait() instead of wait(), since wait() is considerable slower and more innacurate than its counterpart for the first line of your script, theres a .CharacterAdded event which you can either hook up to a :Wait() or connect it to a function, just looks nicer :) in for loops, pairs() is deprecated, and doesnt really do anything, you can just loop directly through a table with for i,v in table do also i noticed you don't make use of serverscripts at all, which can be quite detrimental for security, i'd say put any logic onto the servre and only handle inputs on the client for a small afternoon project like this i wouldn't reccommend it, but you could use a framework like knit if you're aiming for code scalability. just some tips, cool video, hope this helps! :)
thanks for that, i've never heard of task.wait but i've used task.spawn, its better than coroutine.wrap(), thanks for that, where did i put CharacterAdded? there is repeat wait() until character, how do i hook that up to a :wait()? also, im not 100% sure which for loop you are talking about, the one with getchildren()? wdym use a table. but yeah i know its not coded that well, i actually made it in about 3 days spending maybe a 1-2 hours each day, thanks for the tips!
@@bestcake2076 I wasn't entirely suggesting to you what you should do with your code, I was informing @alex-jp7vq of what the difference is, :Wait() is always useable and works such as a "wait until", so using :Wait() is better than repeat wait, this is due to repeat wait causing memory leaks after prolonged use where :Wait() is a roblox provided essential
a tip for you you might wanna check the ignoreguilnset box in the screen gui so it look way better the the gui wont be laggy like it can fill the whole screen try it
Here before 100k
just a few tips for your future projects:
use task.wait() instead of wait(), since wait() is considerable slower and more innacurate than its counterpart
for the first line of your script, theres a .CharacterAdded event which you can either hook up to a :Wait() or connect it to a function, just looks nicer :)
in for loops, pairs() is deprecated, and doesnt really do anything, you can just loop directly through a table with for i,v in table do
also i noticed you don't make use of serverscripts at all, which can be quite detrimental for security, i'd say put any logic onto the servre and only handle inputs on the client
for a small afternoon project like this i wouldn't reccommend it, but you could use a framework like knit if you're aiming for code scalability.
just some tips, cool video, hope this helps! :)
I believe that task.wait() is somewhere from 60hz - 120hz while wait() is a consistent 30hz, both can have a use at the right uses
thanks for that, i've never heard of task.wait but i've used task.spawn, its better than coroutine.wrap(), thanks for that, where did i put CharacterAdded? there is repeat wait() until character, how do i hook that up to a :wait()? also, im not 100% sure which for loop you are talking about, the one with getchildren()? wdym use a table. but yeah i know its not coded that well, i actually made it in about 3 days spending maybe a 1-2 hours each day, thanks for the tips!
@@bestcake2076 I wasn't entirely suggesting to you what you should do with your code, I was informing @alex-jp7vq of what the difference is, :Wait() is always useable and works such as a "wait until", so using :Wait() is better than repeat wait, this is due to repeat wait causing memory leaks after prolonged use where :Wait() is a roblox provided essential
@@bestcake2076 player.CharacterAdded:Wait()
really underated fr
Underrated
a tip for you you might wanna check the ignoreguilnset box in the screen gui so it look way better the the gui wont be laggy like it can fill the whole screen try it
yeah, thanks for that
@@bestcake2076 ofc np
make that the gui is copied to player gui's because it will be fullscreen not going down or smth like this
AMAZING 👌👌🤗🤗
underated
true
this is like the poltergeist watcher game
Why are you so underrated it doesn't even make sense😭
A real challange is 1 day
It was about like 12 hours in total
The static is so loud
IK right?!
Hi, I’m a Roblox developer with 6 years of experience in game development. Let me know if you’re interested in collaborating.
Do you have a Discord? You can join my Discord in link in comments and we can talk there!?
@@THAT_BloxDev101 I got you
Hey
Hi