#code-discussion
1 messages Β· Page 155 of 1
the video file just shows the obs screen
I think you need to download the video file.
The video file is how it looks in moon animator, the youtube video is how it looks when played in-game
yeah i think my discord is glitched
You most likely need to install the video file, happens to some people who can't see it.
its like that for me too lol
k
Else we are desparete in getting this bug fixed, It's causing pain for us.
yea it should be more random
in which axis
@somber vault Do you know what could be the issue?
nope
idk coding
is there any way i can create a tuple without some table.unpack shit? i need to return a tuple but any of the given values can be nil, but nil values are not unpacked from tables
maybe share an ss of the code that plays the cutscene so that ppl can fix the code
and maybe share it in #code-help instead of here
Alright then.
also share it a few times (dont spam so u dont get moderated) so that more ppl can see it
I am aware of it.
kk
how much to script odm aot gear
Does it have to be a tuple?
Why not have it as a dictionary
do it manually on a for loop?
Anyone script
Blame me: ```lua
local SharedModule = {}
-- Services --
SharedModule.Players = game:GetService("Players")
SharedModule.ReplicatedStorage = game:GetService("ReplicatedStorage")
SharedModule.ServerScriptService = game:GetService("ServerScriptService")
-- Variables --
SharedModule.remoteEventsRep = SharedModule.ReplicatedStorage:WaitForChild("RemoteEvents")
SharedModule.clientToServerEventsFolder = SharedModule.ReplicatedStorage.RemoteEvents:WaitForChild("ClientToServer")
SharedModule.serverToClientEventFolder = SharedModule.ReplicatedStorage.RemoteEvents:WaitForChild("ServerToClient")
SharedModule.remoteFunctionsRep = SharedModule.ReplicatedStorage:WaitForChild("RemoteFunctions")
SharedModule.clientToServerFunctionsFolder = SharedModule.ReplicatedStorage.RemoteFunctions:WaitForChild("ClientToServer")
SharedModule.serverToClientFunctionsFolder = SharedModule.ReplicatedStorage.RemoteFunctions:WaitForChild("ServerToClient")
SharedModule.moduleFolderRep = SharedModule.ReplicatedStorage:WaitForChild("Modules")
function SharedModule.Request()
return SharedModule
end
return SharedModule
a client sent me a rig (character) which hadnt been rigged im guessing since it doesnt have any parts like Head, LeftLeg, etc.. instead, its just a bunch of parts and it even has animations and it uses an AnimationController since it doesn't have a humanoid.. how would i put this on to the player? would i have to get a humanoid for it or what?
π
thays ur client man figure it out
or give me the job π
is there a way for when you touch a part it automatically ranks you to a role in your group?
I dont think games can affect a community role on the roblox website
if i play the cframes on the client can i give it a most module?
what
@left ginkgo that is not spoofing read only properties #βcreations
Awesome
whats usually the types of games or systems that devs hire for?
ok so dose anyone know if it would be possible to make a 2d game through this with the right camera placement and changing the decal to animate it such as walking??
Guys how much will it cost to create steal a... game? (In robux)
bro at this point just find the file online
and edit it urself
Too lazy
i can help you
THE TEXT IS NOT UPDATING CAN SOME1 HELP ME PLS
move the part when you change the text into the while loop
lemme try
still not working 
wait ill show u the whole script
under the part when you change the count value
ok wait
it only change it once
Is Region3 depricated?/what do I use instead?
are you setting self.current_game to nil then checking if its nil
begin.OnClientEvent:Connect(function()
if not self.current_game then
self.current_game = self:init_game()
end
end)
wouldnt the logic be like this instead
you could just use ui
yea put it in the while loop?
spatialquery
whats the right way to animate R6 with weapons so that it doesnt break when i change character after scripting sm systems? right now it uses a motor6d between the handle and the right arm.
are there any beginner scripters in this server? i cant find any
should i do pathfinding on the client or server? ive been doing it on the server, but im not sure how i should be checking the distance from the enemy to the player to determine whether to keep chasing or not
how does it being client/server change that?
i need to retrieve the position of the enemy
i can check distance from waypoint to player, but i feel like that would be jank
okay? but how does it being in client matter
i can directly retrieve the position of the enemy on the client
and how do you think calculating the path in client would work in multiplayer
why can't you do that in server
i mean u can just use a targetting system
and then you would need a server authorative system
im using waypoints for pathfinding
if you are controlling the path in client, its bound to be exploited
is constantly updating the position on the server efficient
since i thought the purpose of waypoints is to
only store the destination
position of the npc?
ye
well if u r having only a single npc its fine
im trying to allow like 30-50 npcs
oh well no
otherwise it wouldnt be a question
well then you should handle it in client, cull it accordingly
but the authority of the npc should be within server
client should just handle the rendering
yea thats what im doing
then yeah its fine
wait but my issue is storing the position of the enemy
im looking for a better method than jsut storing the position of the waypoint
elaborate
if i am making waypoints and storing that position as the enemy, then when the player turns the enemy doesnt work properly
its just really stupid
i have no idea what you mean
How would you script player being shot from Human Cannon? Body Velocity doesnt do it for me
AssemblyLinearVelocity maybe?
aight thx
Also make button bigger when mouse hovers over it
And increase the light when it hovers aswell
i was planning on making the color change to green
Ye works aswell
and there are outlines on the texts, its just barely there, l
any scripters know any good tutorials or dev forum posts that can help me make a cutscene system with camera movement and multi-rig movement?
i want a sort of specific style similar to in-game cutscenes
like COD or RDR2
free if u make it yourself
.
you know how to type it into youtube. Noone else is going to get different anwsers.
tru, do you have any specific video recommendations or no
Why do some people use vscode for scripting on lua?
cuz you can use vscode tooling
as for the other reply, you can still code in studio and use git
How to learn scripting? is it like yt tutorials or? forums?
Anyone used openai's codex for roblox game development and it turned out good?
Youtube for basics and Google anything you don't know
yo chat did any of yall uh
use brawldev to get better at scripting
i got sum questions
Who can help me with lighting
is there a big performance difference between playing animations on the server vs client?
animations are always replicated through the character humanoid ,so thats why u only do it in the client.
you could but if the server is already under heavy load it will be laggy, even for the player that uses the animation.
so again, no point.
eh mine wont be heavy i'll just use the server
k
players = client animations, npcs = server animations
hi again
wsp'
decided to use client
more efficient, and performant
quite possibly the best:
In this video I show you how to make cutscenes on Roblox Studio for your Roblox games, how to use the Codes Otaku Cutscene plugin and how to easily make cutscene on Roblox in 1 minute! This can improve the experience and feeling of your Roblox games and could work well for adventure and horror genre games on Roblox!
βΊWatch: https://youtu.be/y...
or you can just use moon animator's camera which is extremely good
- git
ibr git is the main reason i use vscode
especially working with a large team
i use moon i just never found out how to make the camera animation play
but thanks for the link
oh, for that you will need to export the camera folder. you will see FOVs and Frames. make a custom camera player
where you use runservice to render every frame that is inside the frames folder, updating the camera's cframe
Where do people really find these math formulas
?
do u guys be code discussing sometimes
like projectile physics and stuff.
they just know it like simple math or do they search up for it most of the time
9/10 simple algebra, but you can search wikipedia
basic maths mostly
physics stuff mainly suvat
you can always search it up tho
gotcha, thanks bro
Hey π
Quick question for my Project Architecture for a MMORPG / Battlegrounds Type Game.
Currently im Handling my Data this way.
Server -> InitiateDataStore -> LoadServiceModules -> PlayerDataStoreLoaded -> LoadCustomCharacterObject -> Replicate CharacterObject to client. -> Trigger CharacterAdded function in the Loaded Service Modules
Client -> Wait for Loaded Data Store -> Wait for Custom Character Object -> Create Client Replicated Character Object -> Load Client Modules.
Are there any Problems that could occur with this setup that i dont rly see rn?
Google, physicists have done the hard part for you
why do you load client modules last
Anyone used openai's codex for roblox game development and it turned out good?
Guys im really new to coding and is there any websites or apps or tutorials you learned with that could help me?
So i dont need to wait for the Character Object to load. Everything will be fully Initiated
Seems fine
Aight ty π
What should I use to tween model by primary part?
Set CFrame of primary part in loop with low angle to make it smooth?
That reminded me of the OG days playing TNT run on Roblox

do yk what timebomb duels is
he's jsp
These new gens be killing me
I'm smarter then you
No I didnt
past tense "then"
u did π
Nah
ok lol
i have more robux THEN you
Agree, its TNT run
Nobody even has that here
Go back to code help
this was a joke btw
code help is like an open sourced diary
Hidden devs is a place of misery and false hopes where the rich roblox devs come to toy and play around with newbies in a very biased and critically stupid arguments
Erm actually ur making stuff in the studio
ok smartass
And most of it outside of studio
how is most of it outside of studio
what if i dont use those
Whatever people will use
huh
lollllll
Ur best game after 1 year will be a obby
ur funny
love you
says who
love u too β€οΈ
Get out
Thats a joke
its not
some people do growing systems like that
i used to do it like that a year ago
Why does my client script catch an event only the 2nd time it is fired ?
oop wrong channel
try adding wait(0.1)
at the beggining of the script
from whr u receive
Yeah uh it still persists
client might have not loaded the first time
bro where do i find good scripters. It's so diffuclt to find one

how do you know that im not good
Is it possible to send instances using remote events from server to client?, because when i try to check the name or something then it just says "Attempt to index nil with 'FindFirstChild'
its possible, but if u send a recently created instance it might have not replicated to client yet
hence becoming nil in the client
i usually use tags to wait until its replicated
in server I add a tag of unique id to the instance, i send that id to client and then just fetch the instance from the tag
is this sprint system good everyone
Basic sprint system, it is okay
chat im tryna make rope like 2 player obby games. but its not working propely. either my movement lags or other players does. i even tried making beam instead of rope still not working. what can i do ( to get rid of physics ownership )
script :
Anyone know why this is happening.. Both making my characters walking weird and teleporting me back to the pad even after the animation stops
https://medal.tv/games/roblox-studio/clips/kPojTwqqxb2UZMRvC?invite=cr-MSxOdUssMjY5MDUxNjY0
Watch Untitled by aidenw12 and millions of other Roblox Studio videos on Medal. Tags: #robloxstudio
you can't move the character using animations ( or at least not easily )
you'll have to position the character right before the animations ends using an animation event
https://devforum.roblox.com/t/keep-characters-position-after-an-animation/3015433
What do you want to achieve? Keep a characterβs position after an animation. If you play Boxing League, You know what I mean. What is the issue? The character going back to its original position after an animation. I donβt want that. What solutions have you tried so far? Did you look for solutions on the Developer Hub? Iβve looked fo...
greatly appreciated buddy
So im guessing what it is im trying to do isnt easy lol..
Doesnt seem the simplest π€£
See my logic was once the faling animation was played it teleports the player into the exact position where the animation ended.
Which would be a teleport pad.
Hmmmm, sorry I tried to find a post that have better explanation but didn't find any
just create an animation event right before the last keyframe in your animation
then teleport the player character to the torso position when the animation reaches the event
Animation:GetMarkerReachedSignal("EventHere"):Connect(function()
HumanoidRootPart:PivotTo( CFrame.new( Torso.Position ) )
end)
can someone tell me whats wrong with this im new at scripting and im trying to make 5 hits but its spamming and not working??
why do people dont want their scripts coded with chatgpt
I'm making a game through vs code(rojo) and I'm kinda new to this. So firstly what I need to script is character selection.
I have characteres models done. If I was in the Roblox Studio then I would just create a folder that would contain them and character the player, but I'm not in the studio and i don't know how to access these models through vs code. Do I have to save-to-file each model to .rbxmx file and insert to the vs code?
I've also heard about fully managed rojo but I don't understand whats the benefit of it. It just creates an .rbxl file in the project folder and that's it
show the client code
now why are you doing that render stepped thing? render step event waits a very little time and then fires again.
And once you started holding you mouse button1 :ismouvebuttonperssed is true.
do
userinputsrvice.InputBegan:Connect(funtion(arg1,arg2)
if arg2 then return end
if arg1.UserInputType == Enum.UserInputType.MouseButton1 then
--do the fire
end)```
anyone
oh right i forgot the second end
girl theres are the red underlines, place your mouse over it and it will show u the error explanation
i really do not know how to fix these
It tells you if u put your mouse over it
sugar did u literally just copy paste the userinputsrvice
you need to learn more basic things before that
yea i do but adhd would not let me sit throuh a tut
Mf first time using a text editor βοΈ
i fixed the errors but now output wont do anything
ohh
nvm wait
ohh yea
it works but the reason i used renderstepped is bc i want to hold it
like hold
until it gets to 5
then repeats
now its just 1
@ancient halo help
what is it
use Heartbeat or RenderStepped
then disconnect the connection on UIS.InputEnded
dont do hold like this
instead make it detect when the button is pressed and then released
firing the server many times isnt good
fire the server as less as u can
how do i do that ;-;
just do same but user .InputEnded event
you're trying to be a mountain climber, while doing it using ladders
it might work for the first few meters, but you can't keep using ladders for the whole mountain + that's not a mountain climbing
TLDR: don't skip the basics
fr
but i wanna help my friends make this game and i need to make them a combat system thats why i am trying to rush thi
pick one
I started with the first one
most ppl now start with BrawlDev
and the TheDevKing is the most popular one
https://www.youtube.com/playlist?list=PLsbxI7NIoTth8CE_os8sog72YTMLPhDSf
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC
https://www.youtube.com/playlist?list=PLhieaQmOk7nIfMZ1UmvKGPrwuwQVwAvFa
But shouldnt it be building first if we go in a logical sequence?
No
im very confused
Because if you want to build you should use something else like blender
But what is the sense of scripting if we dont have any structure
What
i mean scripting is like back-end and we cant do back-end without front-end
Sure, if u mean getting used to the Roblox datamodel
guys is it possible to give player a tool on the 99th index so if i give someone a tool, they dont see it because it's numbered as 99th tool in their inventory but they find it if they scroll down in their inventory
Itβs very simple tho
maybe, ( imo + I'm not a builder ) but building is easier if you're going for a low poly/simple art style
try asking the ppl in #building on how to start
thanks for the opinion
can you control what numbers would the tool have in a player's inventory?
yes i have spent more than 1000 hours on Roblox Studio and i pretty much know everything about it
You cant know eveything btw
yes it mixes up all
?
only if you made your own custom inventory
you can't specify the item index using Roblox's one ( without weird tricks )
i mean ur right we cant know everything but we can know the essentials
weird tricks? how would you weirdly solve this
Yea prettymuch eveyone that is a decent dev knows the essentials tbh
maybe something like adding tools as placements so it is forced to go to the lkast one
something weird like that
so like adding tools to their inv so it pushes the new tool down to th ebottom if it makes sense
something like that
Ah I def dont want that
idk if that woul even work
Just make a custom inventory atp
lol
pay someone to do it
Add 9 tools and then add the desired tool, then instantly destroy the first 9
If you do it without yielding, it will not show up on the player's screen at all
You can know most things
Oh thanks, that sounds good
Pretty easily actually
u cant know eveything
but it doesn't make create empty slots in the backpack idk why
local last
for i=1,99 do
local tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
last = tool
end
for i,v in game.Players.LocalPlayer.Backpack:GetChildren() do
if v == last then
continue
end
v:Destroy()
end
there are alot of things people dont know in roblox and they think they know eveything
when they dont
Well the backpack doesn't have slots
Ah you're talking about skids
you both are using 2 different words π
eveything != most
Only the hotbar has slots
Im talking about them both
why do you say != thats in pythion lol
lua is ~=
Nah u can know most pretty easily
!= is nearly every language
hey guys does any1 know how i can find people willing to sponsor games or buy em
cool to know
There's a channel for that I'm pretty sure
so u know animationg sfx modelling building scriptting and all those mostly
i dont see it
Except sfx yh
plus "most" of the api and stuff in roblox
Philosophical ahh debate βcan you know everythingβ
Yh
if you think you do then there is no point arguing
Thanks!
because it's true lol
if thats what u think then sure
that's weird and doesn't make sense, most languages/ppl use ! to say false
true i agree
All it takes is a bit of time to read the documentation to know most of the api
idk why lua even uses that
even if you read it u wont know them
u might not understand or even rember half of them
Why not π
@thorn arch there are so many undefined behaviors within the Roblox engine
You donβt know ball
thatr too
If you read it properly then you can understand it
Humanoid instance alone has like a gazillion undefined behaviors
Roblox api itself not the engine
i could ask u 10 random questions baout it and i can bet u wouldnt get more than 2 correct
but love the confidence!
I didnβt say api
Ask
How can it be
I did lol
Yeah you also said you know most things in Roblox studio
how old are you
Nah that was someone else
That's not a roblox studio question bro π
13
and us till cant answer it
im just asking
Determined
No
and he knows most things about roblox
if you knew most thign su would have a game or work for a very succefull game
Just ask brother
u woldnt be arguing on hjd
Just ask bro
Who does
this guy @thorn arch
Name all instance classes that are not access locked but cannot be created in Roblox studio, and only in runtime
Show me 1 of your scripts
That isn't a question π
We have no mutuals he canβt be that important
Hm ok
If I say βwhat are the instance classesβ¦β
Thatβd be a question
What is the true internal difference between MemoryStoreQueue and MemoryStoreSortedMap in how Roblox handles underlying data sharding and latency in datacenters?
Anything but making successful games ππ
LOL
None Iβm a loser man
Nah Iβm just too busy to own smth rn
Ngl if your game is successful on Roblox then itβs probably still dogshit quality
he dipped after 1 question
βSteal a brainrotβ
who cares
Pet sim 99, pets go, pet sim x, a lot more but those carry
It is quite bad
u made vfx for them?
Yup
As long as they make money idc
thats tuff icl
Eh I donβt do vfx much anymore
Would u either work for a high quliaty game that doesnt make much money or a low quality game that makes millions
its a no. brainer
u dont hav eto ur porobabnly rich
and have thousands of players
same
Obv the latter but thatβs like winning the lottery
I mean tru but i want to be extremely rich, like filthy rich
not alwyas good ur gonna be assinated
any1 wanna invest in my cashgrab lmk
it is
dms
πainβt nobody assasinating a Roblox dev
thats you tho
Send me a document
I invest all the time
jandle probab;l. gets death threats every day
o
well do i gave some games for u
can u play some rn?
go in dms
Well tru but I highly doubt anyone goes any further than just threats
true
wym doc?
I canβt play rn cs im in bed but if u have any docs or something where I can see the preview thatβd be nice
Document for ur game
sure ig ot a vid
Like a dev doc
bro i can js show u the game
Not professional
right?
Mhm everything
Tbh the game is like 2 days in developement so i havent made a doc yet
vro who cares
Including how much ur looking for, where the money would be going towards everything
Not wasting robux on someone who ainβt serious
alr ill send you what i can in dms and make a doc for u in a few days?>
Or usd
Yes allg
i am, i worked everyday 9 hrs
for a while
Then spend 3 hours out of ur day and make a detailed document
Ur game braπeven if its the dumbest shii u wonβt find a investor without some sort of visual idea in their head
Look up what it takes to get investors and youβll see what Iβm saying
dawg js look at the game, if u like it invest if not ok
Or just ask around
Nty bra, not investing into someone too lazy to make a document
And I wonder why u still havenβt found one π
i aint lazy dawg i js dont know what to DOCUMENT
Ask chat gpt or something then bra
U sound like a pain in the ass to work with
Not a pain in the ass itβs just Iβm not working with someone who has no idea what they are doing
i do
U didint even know what a document was bra
i know what it is i just dont know what to document
Ur clearly lost in the sauce
sent it in dms
yes algorithm picks up
after 2 wks of consistent ccu
you still need good stats
Iβll take a look
yea
π Welcome to the Prize Glass Bridge! Will you cross the Glass Bridge to reach the treasure and WIN? π
β¨ Features:
π Reach the End for a Prize!
π Use Cash to purchase a Helicopter and more in the future!
π Race other players to the end!
π 1k Likes Goal for exciting new updates!
β 1k Group Members to unlock special in-game...
I lowk get dogshit games on my home page
sponsoring won't work if all your benchmarks are shit
thats @visual ruin game
yes
ur cooked bro noone investing in an obby
how would u know w/out trying
π₯I got declined by hiddendevs to become a scripter
okay man
cause roblox doesn't recommend your game unless your analytics are good
eh
the game is a bunch of parts and some kill bricks with a bunch of cashgrabby ui
i wouldnt say dead
i would
what do u suggest i make
where can i do so
i have other ideas that would work
i just dont have sponsor money
Slave labor wages
20?
The code is literally the most important thing in the game, youβre basically asking someone to make the whole game for you in exchange for 20%?
30%?

no good scripter taking percentage
Or offer a higher percentage
ur just jelly π
if i do percent, its bc the person hiring has proof of previous successful projects lol
how much i take depends on the effort to make / maintain the game. if its low effort, its low percent, as im not doing much in the scheme of things
how hard would it be for a programmer who hasn't got any experience of roblox to get started and get to a good level? Are there any specific things that are needed to be known
if yk other langs it should be pretty easy
Looking for 1 more guy for my tower defense game:
its called basic tower defense and we are 7 atm, the game is literally releasing next month and we just need 1 gfx in order to pretty much have an intire team.
Payment is a % of the game tho because we are new devs who aren't really rich. So let me know by dming me
i regret not taking a percentage when i was working on a game
i would get alot
i meant for a unfinished game from a broke person that has no experience
obviosuly u would if the game has potential

thank you
Hello Gentlemen, Ladies. Models, Builds and a few simple scripts can be used to create GUIs for your work. Please send us a DM to get in touch.
what
500r
anybody know a good font for scripting
maple mono
game.ReplicatedStorage.Remotes.ChangeBoothText.OnServerEvent:Connect(function(plr, text)
local TextService = game:GetService("TextService")
local textinstance = TextService:FilterStringAsync(text,plr.UserId)
local filtered = textinstance:GetNonChatStringForBroadcastAsync()
local booth = FindBooth(plr.UserId)
print(textinstance)
booth.Sign.SurfaceGui.SIGN.Text = filtered
end)
can someone tell me
why it prints true
every single time
@fierce hearth
how are we supposed to know it
if you ONLY gave this script
nothing else
when its used,how its used
No context to work on
Making cheap games
lets say i have a 30 min long vid, where can i upload it (on some sort of web) for free and ewvery1 can view it
youtube
yo i wanna learn to script for free which is the best channel to learn from
anyone can fix this, willin to pay(robux tax covered just name a price) i wanna get it fixed asap cause ads already runnin i have to paused it lmao
I'm using npc's and I have the option to use tween service to move the npc's or humanoid:MoveTo(). Which one is likely to be more efficient?
Does everyone playing the game get this error ? Slide me the name of the game or smth I'll see if I get it too
Or actually just dm me I'll try to help ya
ye whenever they rejoin, but for first timers it works perfecly fine
No need to pay me if I can figure it out easily
Moveto
267?
did u check ur game for backdoors
did u figure it out
not over 15mins
is the data serialized
if so, do you actually deserialize saved data
or is it accidentally kept as a string and you're trying to access it as such
verify your account
google drive could work too, but theres an issue of storage there
does anyone have any idea how build a planes map system is like inifnite?
Looking for cheap bug fixer i just got 1bug iam trying to fix but i cant
looking for scripters (must have portfolio) - paying
this good chat ? i just started scripting today
local message = "bye"
print("Hello!")
print(message)
ive learned timing variables if statements but only with using print
yes
hey is anyone interested in joining a dev team? the whole game is done but we need a scripter to finish it off, there is a lot of stuff to do and there will be up front payment involved that is negotiable (DM if interested)
whats the gam abt
dms
Also made this just now
local time = 5
task.wait(1)
time = time - 1
print(time)
task.wait(1)
time = time - 1
print(time)
task.wait(1)
time = time - 1
print(time)
task.wait(1)
time = time - 1
print(time)
task.wait (1)
time = time - 1
print(time)
print("countdoen has ended!")
would any1 now how to fix my game will pay u if u are i bnasically inserted free models not nowing they were malacious and now none of my gamepasses work i deleted the models and thety still gamepasses dont work
local time = 5
while time > 0 do
print(time)
time -= 1
task.wait(1)
end
print("countdown has ended")
What kind of function should I use when character moving speed (in ragdol state) gets to 0?
but it wont stop at 5
oh nvm
understood the logic
use for loops
for CurrentTime =Time,1,-1 do
print(CurrentTime)
Task.Wait(1)
end
print("Countdown ended")
Learned a turning Kill Brick:
Local Part = Workspace.part
If Part.parent.touched(Function(Otherpart) then
Otherpart.Parent.Touched:FindFirstChild("Humanoid") do
Otherpart.Humanoid.Health = 0
While true do
Part.Orientation = Part.Orientation + Orientation.new(0,1,0)
Task.wait(0.01)
End
(Correct me if I made any mistakes)
Nice
For i = 1, 10 do
Local Part = Instance.new("Part",Workspace)
End
This will spawn 10 parts if you run the code
Just a basic for beginners like me and u
Well im just learning variables, timing, syntax with prints so its easier for me to understand
I started only today tho
I started 3 days ago
Thx
Np
would any1 now how to fix my game will pay u if u are i bnasically inserted free models not nowing they were malacious and now none of my gamepasses work i deleted the models and thety still gamepasses dont work
hey is anyone interested in joining a dev team? the whole game is done but we need a scripter to finish it off, there is a lot of stuff to do and there will be up front payment involved that is negotiable (DM if interested)
what are you struggling with?
i want to learn how to make vehicles but dont know how to
specifically a boat
like the ones from shark bite
does anyone have any clue how the build a plane map works, like its infinite but it alternates between 3-4 different map styles, how can i implement a system like this?
is 3,482 clicks on a $40 ad a good feat or not, idk if that is good to impress investors or not
Hey guys if i hire a scripter to implement a gun system will they do the vfx and animation or not
nuh thats the job of an animator
hell no so i have to hire 3 people to make ONE gun?
ive made atleast double your robux lil bro
Just find a developer that can do all 3 roles
lol
there we go
chances?
no u can do the animation yourself its really simple and basically just idle
never saw a person w all those roles
did u start like yesterday?
If it's someone really works specifically with gun systems, chances are high they're good with gun vfx and sfx
or they know where to look
thank you
fym
chances r low sho w me 1 rn
never saw a person doing scripting animations and vfx
Ima just watch a yt tut on how to implement guns honestly
I don't need to, I just know they exist
Those are called game developers
obv They exist never saw any of em
not just scripters
Solo Developers Mby
fr abobao is just sad all he knows is scripting and isnt even good at it
first of all i got portfolio 10x better Than urs. and i mainly do in unity
where i got actual games unlike u
bro fell for the rage bait π
unity is so ass its because a pit for mobile games that target 6 year olds
ur website legit google slides xd. i learned basics of the htm l to Make my
Rust was created
3rd biggest steam
rust is for people who dont go outside
yeah and its made more robux then you have
highly advanced Game
proof???
and im charing usd not robux
im not a big loser Like u
xd
I can see you're good tbh - there's nothing wrong with being a scripter purely focused on backend
Lol advanced?
i am not jus a scripter im Also solodev
da hell is those uis
But the industry expects most scripter to be somewhat able to do frontend cause games are primary frontend
never Said anything being advanced in lua . on top of it its commision
40k pounds in the last 7 months
includes 10k lines of script on all systems
ill show u
i am not a ui designer those r placeholders dummy
lemme log into paypal
beat that then
yeah and my bank account with hsbc is already at 64k
ur google slides legit got a Free roblox model
proof
yeah those are place holders
XDDDDDDDDD
Wait omd i actaully have a real bank account
u got no proof of ur works in ur website
Check when the website was uploaded lmao
i know basic HTML its just too sllow
its f not
my portfolio i did in ab 2 hrs looks better tha n ur studio
It's pointless fighting over here 
still made more than u at 14 bahaha
do you have any pointers on how to learn basic web dev?
cuz my brain just shuts off when trying to do CSS for some reason
Tbh don't do just pure CSS
there are frameworks there if you want to make it look good
only do CSS if you're aiming for a very specific look or stylistic look
but if you just want a generic modern looking website - use frameworks and libraries
alright, thx!
question. Would it be better if i make a custom type for the inventory or should i just make a normal dictionary?
What do you mean with custom type?
like type Inventory = {
--stuff to add
}
I think you meant type annotations
yea
Depends if the inventory will have dynamic or strict values
is it similar to making objects with object oriented?
No
well every inventory will be the same
You only use types for autocompletion and intellisense
there's no actual logic to it
U can use a type then
Yall, what is oop used for and how do you use it?
does lua even support oop?
Yes
I wouldnβt be able to live without pop in Luca lol
Oop*
obviously not with the traditional class tho?
Wdym
like using classes
Like pytho
yea
Yh thatβs in Roblox
or any other language
Roblox Oop uses classes
100%
Well kind off - it's not like built for OOP
but it can do OOP
so how do u declare a class?
In lua, class is just a table
OOP in Lua is just a syntactic sugar
with the magic of metatables (though not strictly required)
u did not i asked u to do proof u showed 0. if u had the amount of money u yapped ab u wouldnt be doign google slides. or not wanting to hir e three people xd
so doing things like inventory.items is like accessing an attribute from an object??
courcess/tutorials
Iβll show u one sec
Yes, that's right
@fast drum
local Inventory = {}
Inventory.__index = Inventory
function Inventory.new(player: Player)
local self = setmetatable({}, Inventory)
self.Player = player
self.Items = {}
return self
end
function Inventory:AddItem(name: string)
return table.insert(self.Items, name)
end
return Inventory```
this is how u would use classes
what is self π
One sec Iβll draw an explanation
Is qptr very important for algorithms? If yes, is it more important than retention
just a way of assigning that attribute to the object
could someone give me something more advanced than OOP to learn
so when i call new on the inventory it returns me a table like this
{
Player: Player,
Items: { string },
AddItem: () => ?
}
with this table i can call add item through the metatable and then the metatable can access itself
like python
wat
My head is abt to explode
why
cant i just make a normal table then make an accessor function for stuff like additem?
Cuz of scripting
is there an advantage to this?
no because then the functions you call wont be able to access the data in the table unless you pass the data manually
You can
I offer q0%
what u need help with
Can we continue in DM?
when you can new it creates like an amazon package, it packs in all info and all functions and it stores all that info in the box, every time you make a new inventory it creates a new box with a new function for each box, so when you call the function its specific for each box meaning that function can access the data specific to its box
i dont need pay just wats wrong
@fossil pewter
I need a working plot system
at that point go to youtube
o
uh depends on
Nothing works
Auto Assign
cant i do something like this (Obviously the connected function to playeradded isnt good but u get the idea)
you can store a table with a list of all bases with an assigned value of 0, when a new player joins you can find a base with the value zero and assign the value to be their user id, when they leave change it back to 0
probably assign a plot when a player joins the game then
Yeah how do you do that?
I understood nothing
you can but its not effective
I wanna add that kinda of feature for like my steal game.
how come? is it for readability?
ok lememe think of a good way to explain this, cause it took me a decent while to learn oop, it aint easy not your fault, one sec
make an onplayeradded script on the server which manages the plots, could make a table which stores all the plots like plot 1 = 0, then if theres a plot with the value 0 you can set the plots value to player.UserId or something like that and then when they leave set it back to 0, thats the gist of it at least
Bro idk how to script
Okay that's not true, it doesn't make it less effective
if we're micro optimizing here - using metatables is more expensive than pure table
But there's no real difference - it just depends on how you want your OOP to look like
there is no strict rules for OOP in lua
when i said efficient i meant it in terms of organisation, oop isnt required or extremely performant increasing but its very very good for organisation
ok that i can agree on
why is there a catalog which isnt mentioned anywhere xD
There can be different kind of organizations so you can't say it's not effective
as long it's consistent - that's already being organized
thats also true
ive just googled the differences in efficiency and here it says
passing functions and data to functions is simple and functional, flexible but requires passign the same context repeatadly such as stateless, may caause garbage collection pressure such as clossures caputring data, slightly less cache friendly due to more indireciton
@tranquil wave can you help the guy?
using oop and classes have functions that are bound to objects, you avoid passing state around such as the data self is already attached, easier organisation for complex system, slightly more settup howveer, but is less functional style flexibility though not really a problem in roblox style oop
Well that's just wrong cause if you pass a table to a function - it's passed by reference
it's not being copied
that's how OOP with pure tables work
@tranquil wave
DOP on top
?
you wouldn't know
you arent wrong that passing tables is by reference, but passing data and functions over and over especailly via closures or function passing can be less efficient not because of table copying but because of closures and architecture, its not about reference vs copy its about function call design and object modelling at scale
thats why i asked.
data oriented programming
?
Dm pls
Tbh it doesn't really make sense that you're making that argument because again even the metatable OOP you sent over works like that behind the hood
there is not much difference
when you do semicolon call - it's just passing itself by default
there is no difference with you manually passing it - if that's how you want to do it
The only difference is how you wrote it so basically readability
it just depends on your preferene how you want your code to look
is there a way to make the moon like how it is at night but make the clock time to something else
Showing that the moon is fully up like it should be but using a diff clock time/ the lighting is more light then dark
what im reading here is
"It's not about the table. It's about the lifecycle of the functions you're creating and how often you're re-binding behaviour.
Metatable-based OOP avoids per-frame closure creation and excessive GC overhead - which does make a performance deifference at scale, even if the tables are passed by reference in both."
That does not even make sense to me tbh
Who is willing to help script my game
ok so what its saying is, if you use
passing a table to a function is fast as by reference which is no problem, but op aslo passes the table self by reference which is the same thing, but the difference is that when using oop, you are using the same function every time which uses no extra memory used and is fast and clean, but using a non oop function is more expensive because it uses a new closure every time, it creates a brand new function every time you call it and uses more memory which slows thing down at scale when done repeatadly
so metatable/oop is hiring one employee who already knows what to doe
but closure every time is like hiring a new freelancer every time you need a task done and not just keep the same freelancer, evenn if its the same task
wat is it
anyone know where to get anticheats. These randos keep exploiting my game, giving themselves billions of coins
Dm pls
getting a good anticheat is very hard for free
people pay loads for a good one
why not here?
yk where I could get one?
alright π€·
no, you either pay someone lots of money or theres another place that im not aware of
I see, makes sense
But I was actually refering to an OOP functions so it still stands
but yeah I get what you mean
Without the metatables
oh yh, in that case ill agree with you, without metatables tables are passed by reference so no performance issue, but my point was that your creating new closures every time, so both our points are valid just addressing different parts of the system which was my mistake
Yeah for sure
gamblinngg
syfm u larp
is there any way i can get color accuracy from surfaceguis without using the AlwaysOnTop property?
I want to make a leaderboard system, a teleport system where when you join the game you spawn in a box, then when the round starts you get teleported to the place, then a round system where everyone goes there when the game starts fights then when someone dies they get teleported to the box, then when everyone dies and only one player is still in the fighting area the server waits like 5 seconds and teleports everyone to the box, then it does a 10 second countdown at the top then after those 10 seconds everyone goes to the fighting area i wanna make some like that but idk if anyone wannna help, I can pay
uhh goodluck?
post on #scripter-hiring
wait thats actually fun to code me help
fr???
ye
dms
om sassy π
If you set an npcs health to 0 on client side, it will kill the npc on server side too. Which is how exploiters make kill aura. Anyone know how to fix?
I think I can do this because I have done a similar thing to this
yall when i use debris:additem(item, nil) does it destroy the item immediately?

whats the best way to make a bullet move forward
Use your knowledge of math or something
mine?
i aint the one who needs help
Ok
No hiring in #code-discussion , please read #marketplace-info
bro hit the "im the boss now" moment π
Why is it so hard to find a scripter that does vehicle systemsβ¦
You tell em brother
Anyone interested in helping consistently (like updating) with a passion project?
how is bro an app reader
im using kinematics or whatever its called
π΄
I forgot to clone the player model
how the hell does that work where it is a drain state cause i tried to replicate it and couldnt figure it out the rest i understand just not the drain state where if u get hit it activates
do discord webhooks now support traffic coming from roblox servers?
yea
In your portfolio, have you somewhat coded the animations?
Usut curious
