#code-discussion
1 messages Ā· Page 82 of 1
@weak radish i got prove I can
He was offering to help someone script something
I really hope you're talking to him not me otherwise the human race is cooked
nah
he is definitely a inspiring developer that cant develop anything
probly 12 or smth
can anyone tell me what is the difference between local function and function? Ive returned to making games and I forgot the difference between them
12 is an overstatement
Real
If local functions are in modules then scripts can't access them, if in scripts and nested then outside of the nest it can't be accessed
Local functions work the same way local variables do
You should always use local functions
local killbrick = script.Parent
local debounce = false
local originalcolor = killbrick.BrickColor
killbrick.Touched:Connect(function(hit)
local character = hit.Parent
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
if debounce == false then
debounce = true
humanoid:TakeDamage(100)
killbrick.BrickColor = BrickColor.new("Really red")
task.wait(0.5)
killbrick.BrickColor = originalcolor
task.wait(0.5)
debounce = false
end
end
end)
is this the most efficient way to make a kill brick?
I mean, it is yeah
yea sorry i know kill brick is noob level in scripting but i started 2-3 days ago so im curious if its a good way for making one
Just make sure it actually got the character. Since, sometimes, it could detect an instance other than the character.
theres like a million different ways to go about this so yours is just fine
alr ty
Like it might be a tool, instead.
local pressurePad = script.Parent
local door = workspace:WaitForChild("Door")
local debounce = false
local TweenService = game:GetService("TweenService")
-- How high the door should move when it opens
local openPosition = door.Position + Vector3.new(0, 15, 0)
local closePosition = door.Position
-- Create tweens (animations)
local openTween = TweenService:Create(door, TweenInfo.new(1), {Position = openPosition})
local closeTween = TweenService:Create(door, TweenInfo.new(1), {Position = closePosition})
pressurePad.Touched:Connect(function(hit)
local character = hit.Parent
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid and not debounce then
debounce = true
-- Open the door
openTween:Play()
print("Door opening!")
task.wait(3)
-- Close the door
closeTween:Play()
print("Door closing!")
task.wait(1)
debounce = false
end
end)
and what about this one? its for opening a door
yeah thats nice too
Perfect. I think this is even (way) better.
ty thats good to hear
is it possible to detect not only if I clicked the part, but also get the position of the click?
Paying 1 Robux Yearly for a coder I need help with random ore Gen
u can bu ferrari in indiaš¤š¤
dm if interested
what does export typeof and setmetatable do
no U didnāt validate the character variables type
brother š i have been learning for 2 days
didnt u ask for the most efficient way to make the script
Are you just flexing or do you actually want help
im not flexing im just saying its a small mistake because im very new to luau
ok then prop ur ears up im teaching u how to make it better
theres nothing wrong with this tho right?
no, its good, this would work in theory and not lag your game
on bigger scales of doors, dont put a script individually on each one, make one script that controls all of them
alr ty for the advice
Id probably remove the if not character part
And replace with IsA(āModelā)
Id also seperate the humanoid line and the debounce line too
i recommend doing if game.Players.GetPlayerFromCharacter(character) then
that just checks if its a player
idk then make an npc identifier
no all U have to do is verify if the hit.Parent is a model
yeah but if a model touches it that isnt an npc it would trigger
icl i just made it for practice with the syntax i already know and it turned out alright
Model isnāt touching it..
did u even read the script
why would a model touch it
idk
How do I make the tool compact with the animation?
Because the one in the video was converted from a tool into a model.
And it would be used as a tool in game though.
Can someone kindly give some advice?
Could anyone give some advice for how to start coding? I really want to start coding, and I would like to know how you all learned it.
How do we make a destroy tool like a shovel in grow a garden that destroys specific models
Iām really struggling on how to do this
And of course, the tool equipped event
Otherwise, there is not much you could do
Thanks
Would kindly appreciate an advice .
Change the grip on the tool so it aligns better like the animation, or alternatively a more complex method is to make the cup part of the rig with rigedit
Aight thanks.
But the cup was made a part of the rig using rigedit.
The one in the video was the tool converted to a model by just copying whatever there was inside the tool into a model.
It would work the same inside a model, or just the part itself inside of the character, as long as the motor6d join exist for the part to the arm. You can make the cup not the handle for a tool an just create the joint manually in a script, then apply the animation
Can anyone help me with rojo?
me and my team are making a game that's called "basic tower defense" and we will release it at the end of june (next month). If you could support us by joining the discord server and maybe even giving some ideas and MAYBE even apply to be a developer then dm me! if not have a great day!
With what
I am making a ragdoll, it works but when the ragdoll stops and the character is on the ground, it kinda flings up and spins around, is there any way to fix this issue?
did u set to true the platformstanding?
yeah i did
Send clip
is someone intrested to be a co-owner in a big project im gonna make we gonna split prices and i'll pay for the ads
thats probably because of unragdolled? thats why it fling
yeah but i want it to unragdoll and stand up after a certain time
how to check if player is holding something currently?
check if there is a tool inside his character
I did it but it said he has something all the time
even tho I dont have it in my hand
character.Childadded(child) if child:IsA("tool")
theres not a childadded function
yes there is
idk how I did not see that before
@tardy pasture is this good? ```char.ChildAdded:Connect(function(child)
if child:IsA('Tool') then item = child end
end)
char.ChildRemoved:Connect(function(child)
if child == item then item = nil end
end)```
Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
Does anyone need help coding for free
How to set model's position in script?
Now you can have read-only prompts which would be messages from the game and not from players.
https://gyazo.com/517b52e2e9e83b99ebea18951d4cfff7
ty it worked
Hello, me and my friend are building a game but we don't have scripting skills nor funds, so if you are willing to do scripting for 20% of the game, DM me
Thatās never gonna work
Lmao
I tried
U need funds to start a game start saving
I don't have any, that's the problem
Start saving
I can't even work in my country, so how will I save?
Btw respect for the dipper pfp
you can also learn some skillz on ur own too
True, true, but until I do, I cant
These two scripts do the same thing. which do yall prefer / think is more readable? Genuine question.
1st i use elseif, 2nd i use returns
I'm guessing you're probably pretty young, you could try saving birthday or holiday cash. You could also ask your parents if you can earn a bit by doing extra chores around the house, like cleaning, laundry, or yard work. Mowing lawns in your neighborhood or selling old toys and clothes you donāt use anymore.
Thanks for the advice, I will
š«”
SELLING A CANADIAN ARMY WITH ITS SYSTEM AND EVERYTHING!
- Comes with the logos
- Working systems
- A map worth 3.5k
- All the groups and divisions!
- Etc!
Selling it for cheap!!
4.5k Robux tax covered!!
fr
2nd much better imo
thanks for input
Less lines the better
return isn't that confusing
You just return something
If u are working with like beginners then they probbably will get confused but most scripters probbably already know what return is
guys what is a good way to make a plant growth system where also plants are different sizes ( no this is not a 1:1 grow a garden replicate, the only thing that is similiar is the growing system cuz I like it )
ask chat gpt
Ask grok
Selling EXACT pls donate copy, with scripts and everything for VERY cheap!! Contact me here ---> @lunar mist <---
is anyone here busy to help me out on some code? code-help was busy I think because they didnt respond to me
Tbh none..There's soo much if statements and make it annoying asf to read instead just run return statements incase it doesn't do something you want it to do and proper formatting
Made a function to run the DFU console
You can't sell here
I just had to modcall
@stiff ibex i need help
whats up
im boutta destroy my room to find this bug
is it here? is it there? oh yay! its NOWHERE????
what kind of bug is it lol
so what is it
whats the problem
sound and the Tweenservice
Like, do you want the song to fade in?
check the output
the song plays
local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint
repeat wait() until game:IsLoaded()
local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")
wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)
local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint
repeat wait() until game:IsLoaded()
local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")
wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)
You already sent the code
Cheers for sending it twice
tween service is killing me
Go to the View menu, then look for an icon that looks like a window with something like this >_ in it
That's the output
Local script in startergui is crazy
ight
nah
should look something like this
Yes it is
the olny thing that was broken was the team create hat pluginš
@stiff ibex WRONG
help me vro
local FrameToRotate = script.Parent
local FrameRotated = game.ReplicatedFirst.LoadingScript.ScreenGui.SFrame
local Framepoint = FrameToRotate.Parent.GUIpoint
repeat wait() until game:IsLoaded()
local MMsound = game.SoundService["Eitherium Boss fight"]
local tweenservice = game:GetService("TweenService")
wait(2)
MMsound.Playing = true
MMsound.Looped = true
FrameToRotate.Visible = true
FrameToRotate.Rotation = FrameToRotate.Rotation
wait(3)
FrameToRotate:TweenPosition(UDim2.new(Framepoint.Position),Enum.EasingDirection.InOut, Enum.EasingStyle.Quad,3)
hm let me evaluate
can I get a good/expert coder to dm me? Iām having a lot of trouble with a combat system Iām making, and Iād like to see if anyone could help. I have most of it set up, I just really need help putting a few pieces togeyher
what are you trying to fi
fix*
playing the song once the game loads?
like what
what exactly is the problem
right now Iām having issues with my block/parry system, and it also keeps breaking my light attacks too
Are there any alternatives for humanoids? I'm working on something tower defense related and I'm worried that there's a chance that too many humanoids could be spawned in at the same time and completely obliterate the server making it basically unplayable? all I really need is for the Mob to be able to move and have health and max health.
from what i know you don't need a humanoid to add hp to something
While yes that is true I more meant the functionality of humanoid:MoveTo
any errors or something, what kind of issues
oh well you would probably just need to do it manually, like pivoting a model to a point and playing the animation you want, add some states for more customization and etc... but i never tested if that is more performant than simply using humanoids
maybe, but its also a good question, if you already have a enemy spawning system done you could do alot of tests, it will get laggy when you reach a certain point no matter what you do though, just look at other tower defense games outside of roblox, like bloons tower defense, once you reach 3 digits+ waves, the game always starts to get laggy
someone put me onto vim motions in the native studio script editor and I'll love you forever
nah you should try to avoid using humanoids for this as early as possible, this will definitely become a real issue very quickly, to play animations use an AnimationController and instead of MoveTo you can replicate it pretty convincingly with just tweens
But wouldnāt tweens also like brick the server in a way
no
on a large scale everything is more performant than physics (which humanoids rely on)
running some code is very efficient compared to running a physics simulation
I see. So instead of using humanoid:MoveTo and instead just tween the enemies between positions?
yeah and a separate tween for the rotation if you wanted
Right, but then Iād have to make metatables no?
To store the hp
MaxHp
Speed etc
no
there are ways to do things but like
you could just have the health be attributes of the enemy model
Right I forgot those were a thing
you could have tables, you could have value objects
Attributes seem the most convient
true
Ok thanks for ur insight
You dont need meta tables
You can also use modules, a seperate one with all the values of ur stuff
And u can just require it to access it
Attributes seem more convient to access and itāll def be less like stressful on the server
Than humanoids
Yeah attributes are better
isnt bulkmoveto a solution? i think it will fit nicely but i am not sure
this is for baseparts and its not a humanoid method
a table of baseparts to be specific
somebody was using it for their TD game
havent really used it so i dont know how expensive it is, but im pretty sure its pretty performant 
i see, how would u handle animations for a lot of enemies?
depends if youre using humanoids or not
suppose you are not
it would be a lot harder
using joints and storing keyframes with cframes in modukes probably 
tyty
there are probably open sourced modules for animations outside of humanoids too 
What Is the best way to do a projectile hitbox? I mean ray casting would be good Just for a really small projectile but what about fireball for example?
am i going crazy or can i not edit the "R" value of a color3.fromrgb with script anymore
you never could
i mean it kinda depends how fast it goes
it it's decently slow, u can prob get away with spatial query hitboxes for those types of projectiles
just do spatial query hitboxes
can anyone help me fix all my bug in my game i might give somthing
Ah im going to use that i wont do really fast projectiles
Okk thanks
yo
if anyone has played jailbreak, do you think the mini game in powerplant is completly random or a preset generated?
what bugs?
Hey! Just asking but why is my Motor6D (connected to a sword) disconnecting from the players arm? The C0 or C1 isn't set here, just the Part1 and Part0 I have a video of it but HiddenDevs won't let it show here, and also how would I use C0 and C1 to make sure it stays conncted to the player?
preset i think
k thanks!
Random
But idk for sure
Anyone up for hire and willing to join a team and make a samurai tycoon game?
My team*
I think there might be a category for that, not sure though
LFG finally got it to do what its supposed to
Thatās pretty cool
thanks, it took me forever to make them orientate right
do you got a portofolio?
this will go on my portfolio when i polish it. Why?
oh just asking
š then no not really. my portfolio is mostly things like rng systems, inventory ect
iBoot is almost alive >:3
no, its a bootloader
oh.. well i made a bot
why does the player model tilt upwards as it goes up a slope and snap back to its normal rotation as soon as it goes airborne?
oh myyy
this is just a bootloader, not a bot
oh
for now its a bit incomplete
whats it for
It's for my iPhone in Roblox project
oo
damn this is badass
she learnt how to do this from me
what
im kidding
understood, ma'am 
@ruby cipher how do I make a playergui that the other clients canāt access that will be a developer only
a single remote event
not secure 
what
the only way to really make it secure it to store its reference on the server then clone it from the server based on playerID to that client
you can spoof your player data in a remote event?
no an exploiter can read their clients scripts
what
and just make the ui visible 
what are you referring to
ig like if you sent a command or something it would send a remote event and replicate the ui to your client if your player data matched
but you could just replicate it on join
No way, I was working on a tile based system that follows this exact same approach
oh shitt hell yea. yours is definetly more complex then mine
how long did it take you?
I made the basic frame for it in a day but overall the total time I've spent working on this system alone was around a week of work
The video I sent was relatively pretty old
your final challenge: no wasted space
it looks pretty crazy
ah well you see...i cant even making a overlapping system work right sooooo maybe in the future
Here, actually. It doesn't showcase the system directly, but it gives a pretty good idea of what I'm aiming for.
https://gyazo.com/f2830b328db7c15770fce9a7101d69cf
thats gonna be crazyy GL
Yeah well, keep at your project too it's such a cool thing to experiment with
It is pretty cool. hopefully i can get boundingboxes to work 𤣠did you use them for your overlap system?
Yes, actually
It checks the possible connections for each tile so it doesn't waste computation time
the problem im having with mine is its area is like way to wide, it detects rooms 2 rooms over
How are you getting the bounding box of the model?
mines just choas. everything is random other then the starting point š
I had a similar structure to yours before but I added weight to tiles later
If you can't connect a tile at all to this exit it'll never consider trying it again in the future for that exit
local cf, size = NextRoom:GetBoundingBox()
print(cf, size)
cf = PreviousExitCF * Rotation
local FoundParts = {}
local parts = workspace:GetPartBoundsInBox(cf, size)
for i, part in pairs(parts) do
if part.Name ~= "Baseplate" and not part:IsDescendantOf(NextRoom) and not part:IsDescendantOf(LastRoom) then
table.insert(FoundParts, part)
end
end
print(FoundParts)
if #FoundParts == 0 then
print("true")
return true
else
print("false")
return false
end``` I run the overlap check before i place the box, hence the need for previousexitcf and rotation
someone else suggested that but i want to get this system fully working before adding on.
I did this for mine
function TileLogic.GetExitsThatHaveSpace(Tile : Model, DesiredCF : BasePart, IgnoreParts : {Instance}?) : {Instance}
local Exits = {}
local OLParams = OverlapParams.new()
OLParams.FilterType = Enum.RaycastFilterType.Exclude
OLParams.FilterDescendantsInstances = if type(IgnoreParts) == "table" then IgnoreParts else {Tile}
for _,selfExit in ipairs(TileLogic.GetExits(Tile)) do
-- Pivot model so we can get the proper bounding box of the model
Tile:PivotTo(TileLogic.GetDesiredCF(Tile, selfExit, DesiredCF))
-- Query for parts spatially
local orientation, size = Tile:GetBoundingBox()
local parts = workspace:GetPartBoundsInBox(orientation, size, OLParams)
if #parts > 0 then continue end
-- Cool we can use this exit
table.insert(Exits, selfExit)
end
return Exits
end
DesiredCF was the position of the desired exit
if you have just a grid you can just keep track of the grid
i saw one similar to this in the dev forum
You lose a lot of scalability with a grid system
without doing any silly things
dont have a grid system
yeah im just saying if it's purely a grid you can skip a lot of work
Especially because I have my tiles designed in a way that doesn't depend on their size
You can have long tiles or short ones
indeed
the work is the whole point in me making this
That was my initial approach to a map generation system like that actually
I had a matrix grid system but I realized it didn't do me well with elevation changes too, it was too much to keep track of
I think i have mine designed like that too but i wont be sure until i test it
ill try something like this for mine, thanks
A lot of games on roblox that utilize tile based systems follow an approach similar to mine because you can connect parts from any of their connection points
Doors, etc.
DOORS?
I was aiming for a game similar to Minus Decendence
Similar idea
They use a weighted tile system
I took it a step further and my game allows you to input seeds (strings or numbers) to recreate runs
I'm trying to figure out a good way of having a node based patrol system
I'm not too certain on how it functions in MD or ME to a technical standpoint, I just know how to generate nodes and move NPCs between them
Something you should keep in mind is that every one of my tiles is dependent on their PrimaryPart, because I'm pivoting them to rotate them
You need to make sure they're oriented and positioned properly before getting their bounding box or it's going to give you some weird shape that's inaccurate to the tile
I had that issue with my tile system prior to that
Same here. My rooms primary part is in the entry door. I pivot them 180 degrees. It took me like 4 hours to figure out because my model was setup wrong š¤¦āāļø
really? ive been trying to get the bounding box from the size and faking its cframe
ill try moving the function call lower, maybe thatll work
I tried to do something similar by adjusting the values after to save on performance but that apparently was the source of my offset/size issue
It's not a bad hit to your performance, I only spent an additional 0.2 seconds generating a larger floor
1000 ish tiles
Fortunately for you it doesn't have to be parented to the workspace to get its bounding box so definitely do not parent your tile until it's in a good spot to be placed
I just moved my function call and its working now. on a small scale atleast
That's good
oh shit it doesnt?? gonna do that too š¤£
Yeah, I've seen some games with a system like that which have them physically in the workspace (even for a split second)
Especially in a place where you're generating tiles dynamically it's super important you keep those tiles out of the view of a player at all times until they're ready
shit studio crashed š
I got ragdolled because one of the map generators I've seen was placing tiles and it happened to overlap with my character for a split second
I have my dungeon generator structured like this:
I'm working on a new structure for the modules because I'm looking to add support for props outside of the dynamic objects (like vending machines, tasks, clipboards, etc)
Each of the sub modules underneath the Maps ("DEVELOPER","LIBRARY","MINESHAFT") has a model underneath them which is the base tile
Yeah that looks pretty right
damnnn thats alot of modules
I store data for the tiles because some of them have unique behavior
Weight, Whitelisted Tiles (so it can only connect to certain ones)
I am trying to simplify my code more but my Dungeon Generator is 409 lines
It covers Tiles (but the tile logic is in a module instead)
Entities
Tasks
All three of these things have their own separate modules because I don't want the monster behavior to be in the same script as the dungeon generator
whens the release š
I'd like to release this in the next week or two but I just need to sort out the AI and upgrade system
yea mines about š¤ 6 months from release š
almost there bro š ts gonna be fire
tuff
Yall im learning Scripting I already Got good at building and Modeling
Any suggestions to me as a Beginner Scripter ?
People in here suggest hietas but i suggest thedevking for basic learning. if youve got questions shoot me a dm
Finally , a possitive Reply , ty
sure i will !
yw, most people are trolls in here ngl
Fr
you trynna be aang or sum? masting all 4 elements š
wot ?
good at builidng, modeling (ui is basically the same thing js 2d), and scripting
yes i need to be Full-stack
Ye im learning ui too
š¤ thats what a full stack dev is?? thought it was backend and frontend shi
Yes the dev who know all the Roles
oh cool, GL
Ya Ty
Fullstack differs by the category, front-end and backend is fullstack for web development while ui,scripting,building,etc is fullstack for roblox development
ahh makes sense, thanks for the clarification
I tried messing around with the curve settings
wtf is that??
Messing around with bezier curve
No clue what that is
for throwing stuff later on
Holy shit it's the TARDis
yeah I love doctor who
My granny before she passed loved that show so I watched it with her a lot
I only see it spammed in my youtube shorts 
Though atp I know the plot of a few episodes from it
I dont inderstand how these clip channels make money
lol yeah I understand I see "The boys' on facebook a lot
Like theyre directly stealing from a movie
so I know a lot from it
I have no idea I should start doing that if they're actually making money..
I assume they are
Unlikely to break copyright for passion
Watch a movie
Take 50 clips from it
Upload over the next month
Excluding the step where they AI generate captions without checking them
yeah and people sub to those channels because its also their favorite show as well
Maybe theres even an AI to find interesting scenes
lol I've noticed that as well some clips dont make sense
Shouldnt be that hard if you can proccess the transcript with timestamps
yeah thats no problem
Download movie
Run program
Upload
Ive been stuck on my bezier curve for awhile now the bezier curve itself was easy but the beam took me awhile
you know anything about beams?
What's wrong with it
Oh youre using the default curve?
Yeah just increase the res with the beams
res?
more beam
Resolution, the amount of beams you use
I wish I could just use 2 though and curve it somehow
you can't
Are beams laggy?
oh there's a beam primitive
having like 5-10 beams would be fine if you only have a few of those things
Yeah if it isnt anything permanent or stackable it's fine
imma try messing around with the curve settings and see if I can do it by magnitude
You could save a few beams but you still need to have more in the point where its curving
Since the two beams would split there
oh alright I guess ill have a few
gameplay vs reality 
This is so smart
local ray = Ray.new(camera.CFrame.Position, camera.CFrame.LookVector * range)
local rayParams = RaycastParams.new()
rayParams.FilterDescendantsInstances = {player.Character}
rayParams.FilterType = Enum.RaycastFilterType.Blacklist
rayParams.IgnoreWater = true
local result = workspace:Raycast(ray.Origin, ray.Direction, rayParams)
if result then
local model = result.Instance
local position = result.Position
else
end
hm how i fix the blacklist deprecated issue
Use Exclude
need somene who can script a timer for me with some additional stuff, paying robux, dm š
now would it be made more efficient
Bro stop using chatgpt
can someone help me make a script for everyone who join to be r6 blocky character
need help w a require script gng
can someone help me make a script for everyone who join to be forced to be a r6 blocky character
file > game settings > avatar
in studio
i tryed and it still doesnt work
try reopening the place sometimes it doesnt work till you do
okk
didnt work chat
if I animate weapons for an fps game
should I control animations within one script
or should I creep it into other things
Learning skills from open source coding
Bc it deprecated
So I'm looking for a way to solve yhis
replace Enum.RaycastFilterType.Blacklist to Enum.RaycastFilterType.Exclude
it has been renamed
because the word blacklist is racist!!!!!!!!!!!!
Me
I got you fam
Hold up
@graceful jackal umm
I think I did something wrong
@graceful jackal you canāt make a script for that you have to modify the game settings
Iāve tried but
It doesnāt work
Every time I load I still load as
And I wanna load in as a blocky character
it doesn't matter btw
blacklist and exclude are same
Rate
It can be "correct" in terms of code but wrong in terms of logic
This error literally means that there is no child with the name Main of the donation board model
have you tried thinking?
it helps a lot
mate ik what it means
but the workspace and cod is all correct
and the button wont work cus it doesnt register as a child
? wdym
did you forget to parent it?
its alr parented
is your button called "Main"?
the entire workspace config is correct
no main is the board its self
with the guis as children of it
Is the Main located inside of the donation board model*?
yes
this exact donation board model works in another game of mine but it doesnt work when i import it into anything else
Are you sure that there is only one model called Donation Board by @...?
u mean in the game or as it donation board is a child of smth with the same name
maybe you have a lot of them and there is one that doesn't have such child inside
nah theres only one
Are you sure that this Main exists in the scope of the script?
Main may not exist on the server side and exist only on client side
But your server script might look for it
how do i check that
in studio there should be a button to switch from client to server
It should be inside the test bar
if explorer is still showing the main inside it then it should be ok
i clicked it whilst testing and it didnt work either way
i can send the client and server scripts if u want
from the ss above
but whats confusing me the most is that i copied and pasted this from another game of mine which works perfectly fine
oh wait
there could be a replication problem too
For example if you have a local script and then you go far away from the donation board then this whole model with local script may disappear
That can be only if you have Streaming enabled
icl i have no idea what that means and how to test it but you spawn next to the board and idk abt streaming enabled
u want in dms or right here?
local script couldn't find part of the model because streaming enabled was on
anyone able to code & do gui dm me
Is learning module scripts really worth it
yeah
it allows you to use oop
Can you recommend a YouTube channel that actually teaches it and not just says itās really useful for 10 minutes
oop is needed in several cases
Ye
No, I was learning it by myself so I am of no help here
I was learning c++ oop
then I learned python and it's oop
and only after that I needed oop in lua and found on devforum how it is implemented
ive never made a plugin, but is it possible to make a plugin that imports text files to studio? ik you can import shi with studioservice but im not sure how it would work with text files
how do i make a working gamepass, i want it to give a speed coil when the gp is bought but it does not seem to be working, can anyone help
whats the best scripting layout
i am not sure if roblox allows to fetch text from a text file
a possible way is by using a 3rd party app
Ui shifts itself to left when hatching help
?
Ui shifts itself to left when hatching help
hi guys, what are the possible way to optimize my game if my game only has 6 players per server but each players pond maximum fish is 40 but my players said that if all players spawn 40 fish the server is lagging, i cant reduce the limit.
profile it
can anyone help me
help with what
oh ty
can you add me so i can show its called slogo44211
just send a vid
possible, :PromptImportFiles(exts)
exts is array with string of extensions allowed
returns array of Files
then can read with :GetBinaryContents() as string
why do people have scripts named "RunTime"
i need an investor for an 800k visit game (must have atleast 30K robux) dm me for more information
its a runservice
in ro devs there is a channel to find people for stuff like these in a channel called "other"
u could ask there
ok
Is it possible to equip the avatar with an ugc that they dont own?
GUYSS I NEED TIPS HOW DID YALL LEARN SCRIPTING/CODING AND HOW LONG DID IT TAKE
watch tutorials,cods, play around in studio
thats all
About 2 months
start by learning the syntax
then everything else comes natrually
on what website i can make pictures for my games like cartoon pictures
use ai
which one
Any coders that are also therapists
you could use microsoft bing its bad but ut makes good ai pictures
i see ty
the gun or whatever that is is cursed af ā ļø
yo i made an obby but i need someone to help me debug it https://www.roblox.com/share?code=db9d75f596b7ad4e84928945f0a20c17&type=ExperienceDetails&stamp=1748628402807
bet
function mobModule.Move(Mob : Model, Map : Folder)
local Waypoints = Map.Waypoints:GetChildren()
for i = 1, #Waypoints do
end
end
What approach would be the best way for me to move a model from one waypoint to another? Without using Humanoid:MoveTo() because there could be upwards of 100+ Mobs at single moment.
wdym its fire
I have watched 2 different tutorial series and I still barley understand anything
ts takes too much time to create a fuckingpicture š„
I tried leading for 2 months but I canāt under stand anything 4 months ago I quit and now I came back and watched another tutorial and still donāt understand anything
yeh
CFrame
Usually commonly by interpolation
i learned scripting and other by watching 6devs with no communication or sum like that
Between one waypoint to another
heres my favorite pathfinding script, works with any mob.
Yeah Ik what your talking about but they just fun videos they donāt really teach anything
That's not what he's asking for
Whatās the best or the easiest way to learn
when we join we cant understand what we have to do
is there a difference between the two
im working on the tuts, but you can click the info above
yeah i guess
the ui are terrible you could add a shark image or smth
put a text label infront of the 3 imagebuttons at the right so we can easily see what it is
like SELL MARKET POND
or sum like that
the little deck should be bigger
you could add a little popup that disappear in a fade to show how much we get @grizzled parcel
anyone know if there is a way to get roblox games --> rojo --> visual studio code, instead of visual studio code --> rojo --> roblox? I have a game made in roblox which I would like to further make in an IDE but right now it seems to only work from IDE to roblox.
there's ways to convert just search
it can be tedious
bro what the fuckits been 40mins
someone in another channel provided me with a git, but I think it looks like im gonna have to do it manually
no worries, thaanks for the help
?
scripting is not meant for everyone
Yeah but I really wanna learn scripting
Best option for me rn
Why do you really want to learn scripting
Idk I have some friends that got me into this whole being a dev thing they are scripters (most of them) and I just see them script and it seems fun and I wanna get into there script war one day xd
But itās to hard I have been trying over and over agian I fail every time but at least Iām not giving up
How old are you
your reason is not strong enough
it has to be personal if you want to make it far in the world
Yeah but Idc Iām not gonna give up any way
you have to wake up everyday and say "I am closer to my goal now"
it has to be personal
what do you not understand?
bro is not escaping the matrix ššš„š„
@echo carbon
matter of fact I am
what do you not understand?
Bro idgaf what your saying Iām not gonna quit I came here to get help
Why do you quit? You're embarassing yourself
You literally just told me itās not a good reason to continue
In that time 6 months you could've been an expert scripter
Im doing commissions for 1k robux with tax covered for not too complex tasks as I would be under payed. DM me if you want some more info.
I said I quit 4 months ago
Came back like 4 days ago
Hm
Hm alright
cold š„¶š„¶š„¶š„¶š„¶š„¶
Not really
ong
with that mindset you're never gonna reach the peak of this engine coding organization also known as the ĆØlites
its cold in here there must be some alphas in the atmosphere š„¶š„¶š„¶š„¶š„¶
Gulp
it's motivating him though
go on king
šāļø
Aight bro I get it
the lion inside of you
vro r u assuming his gender š”š”
your majesty
Whatās going on rnšāļø
just do some scripting a day consistency is key
Yeah but I donāt got any ideas
Idk what to do
begin with brawl dev
they make fun of what I say because my messages are too powerful. The media has taught them to respond with these gifs to make people laugh and drive them away to realizing the deep message in my words
google his scripting guide
I watched hes full series
ok then make something, anything
Hmm
there isnt hmm š just open studio and go do something
Iām thinking broš
Why only watch?
Not only watching
you think you're gonna be the best only by watching? that's too basic
u could ask chatgpt to give u a mission š like script a spinning laser
this is 2025
I was following him vro
I even noted what the scripts doš
you have to rival with me
you're never gonna surpass me
like that
everyone is your enemy here
everyone is fighting for commissions and renown
Idk if your giving me motivation or your trying to say something elseš
he is either on 3 am motivation or fentanyl
just go script
Aight broš
gl
like I said you need to make it personal to truly embrace the system
don't just script
bring the script in real life
Bet
ITS NOT OVER UNTIL I WIN
Okay bro Iām hopping off discord
it's slavery
Ong
š„
@vale prism
unfortunately you need to have a good intellect with pattern recognition
but that's trainable
remember every year people are getting dumber and dumber
because of social media
At this point tell me to get a job instead of working on scripting brošāļø
and the same society that is influenced by the media adapts the actions the same media wants them so they can spread the procrastination virus to everyone else that has not been contaminated yet
You know Iām gonna be to good so your trying to take me out early
ur so wise
how to be like u
š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶āļøāļøāļøāļø
you will become so dangerous that people will make fun of you and your energy. comments like "sigma" and "š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶š„¶āļøāļøāļøāļø"
tuff icl
that's an effect of the procrastination virus
šššš I can't bro
it is real
lmao
"once you really learn it, there is no coming back"
- aestherchosen
ts gotta be a new level of ragebait
every classmate of mine for example have the virus. In the break they're all drawn to their phones like zombies that need the phone to live.
ur so right
dude I thought it's only in the videos I watch in yourhbe
you guys are REAL
In front of my eyes
how do i become better
ur missing out on wisdom
they can't control the older generation so they're implanting a newly developed brain controlling virus to the new generation. Like genZ and genα
it's not false, but it's a corny way of saying
yea bro u got nice stuff to say but, please can u speak normally š
like no hate
they call me paranoid I call it awareness
see all these responses and actions they are all planned by the 20 year plan by the ĆØlites to control the population to a point of no return
š
see how 6 year olds are already addicted to them tablets
genZ is also dependent on social medias
there will come a time when people don't know what to do without their electronics
there are people already like this
That time is already here. And I'm wondering why you're complaining about this ... while using an electronic to do so.
I am using an electronic to spread awareness
and get money
That's not going to work.
Same here.
tell me do you believe in god?
I do not believe in God.
@turbid torrent
isn't that how ages work
shut the fuck up cooper
atheist sigma
Brain rot.
whatever dude, it's actually my fault for responding though (taking the bait), mb
your profile is an anime
the sigma has spoken u have to be quiet
no my profile is manga
it's rage bait 100
aren't anime based on manga
but watch the new gen animes
DanDaDan for example
it's the product of globalization
the ultimate consumer brainrot product
target for kids
they have that cartoony style to attract new brains and promote adult content in a restricted manner
along with social media
every 7 year old knows about s3 x in our time
do you think that's normal?
no this is brainrot
and like I said every year they go heavier and heavier with the control
with the development of the virus
next year gta6 will release
first thing everyone thought about was s3 x
are you good bro? ššš
geeked
they are now teaching kids to hate studying and reading
Tf are we slandering Dan da Dan
so the kids can create the thought of "studying is a school thing only"
its ragebait š
this is why our friend @echo carbon can't learn scripting
It is tho
When would I ever study besides school
because he developed the procrastination virus
Caught a legendary stray
Heās not trust
Iām not a stray Iām a human
Go to sleep bro it looks like you need it
you're either free or slave
especially u
Youāre either locked or chopped
That was already a thing
Let's take studying scripting for example. Boring right?
Studying is objectively boring
predicted
Im an intellectual too
studying something you have no interest in is boring
no
that is the ultimate goal of the "future society"
you stupid fk have you learnt anything from what I gave you
Explain globalization in 20 words or less
everything that doesn't contain the elements of the "addictive stuff" is boring to the subjects of the virus
Ts taking too long im bored unc
not globalization wrong word
Maybe
YES PLS
Whatās the bug
dm me
Thatās too much work
bruh
Just say it here
ok when player join the game they get the same tycoon name and colour
Do u use an array for tycoons and stuff
literally the goal of games is to entertain. To entertain means to distract. To distract means to avoid intellectual growth. and to avoid intellectual growth means to lose independence over your individual.
Wrong on the second sentence
can you do it?
entertainment is not the same as distraction š
Idk
?
the more you are entertained/ consume the more you are giving yourself to them
Send a snippet of ur code
ok
no
ok yeah depends. If you come to my level of consciousness then you can develop a "self-entertainment". That means enjoying doing something that must be productive. Unfortunately if you have the virus, productive and entertainment can't be together
reaching this level of entertainment brings your productivity and intellectual power far beyond the normal state
is it overkill even for very large games to have one separate script for every function and shi
Depends
and it is subjective
typically having a function for a loading screen in the same as a combat isn't preferred
nah, maybe not literally every function but you should seperate code based on its function
and you should use modules for everything
š¦
Does anyone know how to make shift to run code? (iam not a scripter)
who here is really experienced with physics?
dude nobody is gonna help you for 20 robux
either ask a question in #code-help and put the effort in yourself, or shut up
why tf is it so hard finding someone whos good at scripting physics
been trying for 3 days smhh
you could have spent those 3 days learning it yourself
it doesnt work like that...
most scripters dont know how to script physics
and im not a scripter
be the change you want to see in the world
i dont want to tho..
bro im even willing to make it a $120 comm
suprised no one is interested..
depends on the person tbh
do you think someone could get it done in 4 hours
there's like 30 bike obbys
Even chatgpt would be faster than this
the popular one
would hitboxes or the sword touching npcs be better in a PVE game
obby but you're on a bike?
yeah
ehh this isn't really advanced physics
i found scripters who knows how to do it, but they are all busy with comms
well it seems like it, cause 5 scripters failed on replicating it
how much do you expect
wdym?
like full 1 to 1?
wdym by that
like do you want it to look EXACTLY the same
that's annoying more than anything
the movement itself is pretty basic
but all the animations and tilting and whatnot would be tedious
not the animations. just the movement
local Hitbox = game.Workspace.ReadInfoHitbox
local OpenedGUI = game.Players.LocalPlayer.PlayerGui.PlayerGUI.ReadInfo
local TweenService = game:GetService("TweenService")
Hitbox.Touch:Connect(function()
TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
["Position"] = UDim2.new(0.431, 0, 0.01, 0)
}):Play()
end)
Hitbox.TouchEnded:Connect(function()
TweenService:Create(OpenedGUI,TweenInfo.new(0.07,Enum.EasingStyle.Quart,Enum.EasingDirection.Out),{
["Position"] = UDim2.new(0.431, 0, -0.2, 0)
}):Play()
end)
This code used to work but after i changed 1 or 2 things it stopped working, anyone knows what's wrong?
the rotation of the bike and player are completely cosmetic
they have no impact on the game
the bike is not simulated
yeah but you also have acceleration and slows down when u let go of acceleration
yea that's literally so basic lol
then why are they failing smhh
wdym by failing?
do they give up or are they providing something you think is subpar?
ye im curious
to me it just seems like basic acceleration and just ... less air control
it might have some amount of turning logic but not much
like seriously... what is this
keep in mind, this is probably the best one i got
haha
