#code-discussion
1 messages · Page 36 of 1
they are the same thing
if you look at the document workspace gets Raycast from world root
it inherits that method
i don't know what do you want to make
they are both the same method
???
workspace inherits that from worldroot
worldmodel also exists and is also a child of worldroot
you can't even create a worldroot
theres one
used mainly for viewport frames
so it can run animations
then don't worry about those
while true do
local random = math.random(1,2)
local monster = game.replicatedstorege.MOSNMTA2
if random == 1 then
local Cloning = monster:Clone(game.Workspace)
else
print("No Monster")
end
end
and put monster in replicatedstorage
i think this should work
oh, so i don't know how to do this then
i was just trying to help
i did this wrong, true?
so i said i ,, so i don't know how to do this then''
not making in studio
most of the time i use tab to fix
???
i just use built up features
that can help me
using tab i think is not embarassing
- after writing this script i corrected myself
RunService:IsStudio() is this the correct way to check if the client is running on studio ?
RunService:IsClient() exists.
whats the best way to go about handling beam/drag moves with the mouse on mobile
why you hating for no reason
I cant be asked to fight 500 MOSNMTA2s
is it possible to switch my script from script to module? im importing lua files from python and i need them to be module, copy and pasting the script breaks the game
Alright so what naming convention should I acc be using cuz some people say camel, pascal, and school says snake case
most common is camel case but pascal or snake case aren't terrible
So what about kebab case
you can't use kebab case on Roblox i'm pretty sure
🙀 no
That's depressing
very 😩
anyone have character resize module that works for r15 and r6?
i lowkey forgot abt this server
cuz u asss
yo I need help on how to do a skip script that works in a guess the type game
need a Scripter for easy system will pay 200 rbx if it works
did the guy named pi ever rejoin btw, he had a monsters inc pfp
why are you using remoteevents??
I'm just learning about URE right now and deciding to change it.
update the head orientation on the client
im looking to start scripting, anyone wanna help me out?
60 dollars an hour
aint got allat 
I got u dawg

just go to Hiatus on youtube he has very good tutorial and then go to more tutorials 😄
got it
ty
im using him rn
fs bro
Is there already a plugin/library for making irregular ui button hitboxes? I want to make one but not if there’s already one which exists
@timber hawk im the one brought in to clean this up apparently
uh yea good luck with that codebase :P
does someone does websites or idk uses js or sum?
well its not related to js but if im creating a project can i add the libraries later and modify the code or do you add it first? Ik it might sound lil dumb but i just started
wdym
I don't think it matters what time you add a library. But if you think you're probably going to use it might as well add it and remove it later if needed
ohh okk that answers my question thx so much
im seeing comments straight up begging for help i might be cooked here
you can code an entire app without libraries, then install them aftrer, and it works just fine
i think that codebase is beyond saving....
If I’m just coming back to studio after a year, is it better to relearn from the studio wiki or easy commissions
clicking on a script and seeing a comment equivalent to an elden ring bloodstain has to be a horrible feeling
check dms
can someone add me on dc and call me tommorow and help me do textures in blender and import them to roblox with the color and texture still there i can add you rn but call tommorow if so thank you so so much!
Use an unreliable remote event and keep the debounce
Hey! Im a dev new to coding and need help with something: So I'm creating a lobby with queues so people can play the main game with other people. My problem is that I starting building the main game with terrain in the lobby instead of a place within the game. Do I need to make the telepprtamtion queue go to the place within the game to work or can I make another game and just make that the lobby. Im not sure if that made sense but yeaa.
how do you have 2 accounts running at the same time in studio
team test
that's not a studio test account, it's a whole other real player account?
also try givving the other player admin permission in the group (old group not new communites thing)
yeah, team test when using team create
on mac i added another acc to studio and switching accs on mac opens a new window
local lastFiredTime = {}
local debounceTime = 0.125
local spamThreshold = 50
updateMousePosRemote.OnServerEvent:Connect(function(player, mousePosition: Vector3)
if not Validator:validateVector3(mousePosition) then
return
end
local currentTime = os.clock()
if not lastFiredTime[player] then
lastFiredTime[player] = currentTime
end
-- If the client fires any faster then they're just lagging themselves out, not the server
if ((currentTime - lastFiredTime[player]) >= debounceTime) then
lastFiredTime[player] = currentTime
fireAllClientsExcept(replicateMousePosRemote, player, mousePosition)
end
end)
```This is nice, only the client lags if they try to spam (I've tested it).
This is not that important so it uses `UnreliableRemoteEvent`s
fuck you scripters
im joking im totally not saying this to force one of you unlucky people into my scheme of percentage
coding pmo so much omg
i have to use waitforchild for everything
I just spent an hour debugging a simple concept since I forgot to use waitforchild a few times
why cant the client just replicate faster
fuck ts
basic terrain system
that’s so cool
hi!! i got a question on how to commission scripters
im genuinely unsure how this process works and been wanting to commission someone to script a full visual novel type game demo — they’d be mostly working with ui’s
how much the average price for that would be both in robux or usd? or like should i be mentioning the budget or ask the scripter on how much thatd cost?
thoughts?
Yo this is fire
ty
can someone help me learn lua
Anybody tryna make a project together
learn
no
chat how do i lock the mouse to shiftlock?
made a breathing system for my game what do yall think and what should i add to it if you have ideas? also turn sound on
suffocation
it doesnt have a like holding breath button its a skkill check so if u hit in the green it holds it for you sadly
well not sadly but
are u shaking the camera with ur mouse
no its a module
use ez camera shake cuh
thats literally what im using
oh then the preset is silly
thats so good wtf
reminds me of the sanity mod for minecraft lol
thx
oo u could like make the screen shaking start small and then gradually get faster and more extreme
ill try that
5 elixir
5 elixir
no breathing
Guys
I need help
How do I find this gun system does any of this look familiar
You can prone look left and right and eject the weapon and break glass
And u can hold like 6 weapons at a time plus they drop
make your own system it is good for learning
I’m a builder not a coder
Do you recognize it?
Are local functions are better than anonymous functions
it can be the fe gun kit but edited
These are good enough right? When the player looks up or down, it gets replicated.
It updates every 0.1 seconds so there is a very subtle choppiness.
how did u guys learn to make combat systems
best way would be youtube
anyone a bot dev
a what?
Discord bot probably.
how do I tween a model without doing primary part method
how do i use the humanoid
how can i learn scripting? do i watch a tutorial playlist and start scripting or are there better ways
any scripter would be interested to work with me in a mmorpg project inspired by that time i got reincarnated as a slime ?
i have worked on approximately every ideas of the game including lvling system so no bandit beating, a immersive storyline and gpod grinding making people play in the long-term
it took me like 2 months but atleast i can say i have cooked with those
i can animate and build
for the moment in SCRIPT term there's only basic systems such as custom basic animation,and dashes
and as a scripter you’ll have to make ui systems,pvp system,race system,datastore,ai mobs, and some tween service
im with a builder and vfx man for the moment and i have contacts that im sure that can join but i just wanna finish the sword combat system atleast to know i have a trusted scripter with me before hiring other devs
the tutorial map is done (only the main map left) all the basic,punch,dash, katana,greatsword and dagger animations are made
so if you're interested dm me ill show you the game progress
Yo Ive been holding it for a while man help
am i tweaking or was self highlighted before in variables
ion think it was
cause ur defining a new variable
not self
i hear a lot of developers prefer body velocity over linear velocity for their combat systems but is body velocity still better even though it is deprecated?
YO
SOMEONE EXPLAIN TO ME BECAUSE SOMEONE JUST SAID THERE A SCRIPTER AND I FEEL LIKE THERE STUPID
IT MIGHT JUST BE ME
BUT CAN SOMEBODY HELP ME RQ?
also thats a w i cant wait to play it whats it called?
Oh if you wanna hire me for animations i gotchu
It 100% was
in functions only
probably the syntax thingy is thinking u are naming it as a variable :)
Theyve changed it recently which has really annoyed me looking at ma code
can a scripter help me with my script with tween service and change hover size etc
Dont think so. I think devs just don't want to create an Attachment, just apply to Parts directly
Anyone wanna learn roblox scripting w me I'm tryna lear it with someone so it isn't boring doing it alone
yo im looking for a scripter to partner and make a horror game
It was
well you set it up in gamesettings from r16 to r6 hope it help
would yall play a single player horror game based off donnie darko?
wait bro
quite quit
u do scripting too?
s_mog39 is RoBuilder
did u remake
u remade this from some1
did they send hte assets
and what module did u use to do the ui tweening
also how does that cap work?
I feel like that doesnt make sense since you can just edit assembly velocity like that for the same result.
Is typechecking usefull or is it just "good practice"
Send me a message if you need an investor for Ads for your completed / near completed game ($2000 budget)
yo i leant basic lua ik java + javaScript + a bit of sql and stuff like that so i have knowledge and all of the tutorials i found for advanced scripting talk to me like im a 5 year old and explain things that i could learn in 2 minutes and i couldnt find a proper docs for it
anyoen knows by chance a tutorial thats actually helpful or any good docs?
if you have any tips for my learning that would be helpful too
is there a rich text property for the send notification ui core from roblox? So you can send text with colors?
it can make luau faster so it's pretty useful
that is if you are using --!native
create page probably has everything you could ever need
devforum is okayish
I don't think so
is it possible to change the send notification core ui to a custom one? cause you can change the proximity prompts to a custom one too by changing the style
maybe not to a custom one, but you could just remake the system and use your custom gui for that
but im too lazyyyyyyyyyyyyyyyyyyy
but youre prolly right
or search it up because I'm pretty certain someone has already remade a version of that supports that you could just take
does anyone else get http 502(bad gateway)
for like, what?
restart roblox studio i guess
server location
it dont happen in studio
only the main game
oh
its just something simple for getting the location of a server
is it a api?
yea
Would not using that make it slowrr
what type of api
lemme get it rq
no difference without using --!native other than you code being a bit more correct
Alr ty :DD
local HTTPService = game:GetService("HttpService")
local api = "http://ip-api.com/json/"
local info = HTTPService:JSONDecode(HTTPService:GetAsync(api))
in studio it works scrumptiously
but in game bro
issue?
it prints in the server when it tries to get the server info Http 502(Bad Gateway)
and it seriously messes up the mission system because its how messaging service gets the server info so people can invade other peoples missions
i tried coroutine wrapping it and putting it in a task.spawn function but nothing seems to wkrk
bro like
did you eevn try to open the api???? it literally says a error
you need to get your own
Hey HD who wants to do work and get paid
what kind of work
script a tycoon
ight
I was just attaching what you meant
not for me
show screenshot
oh wait
yea I know
if it works from your ip, it'll work when you run roblox studio locally
i got my own region system too and you need your own api to do that
but since roblox studio servers can have any ip, it won't work
if it runs from your current ip your pc it will only work in studio
if it has to be your specific ip
shit now i gotta search up how to do thay
and when you play a game on roblox its on their servers
i suppose you watched a tutorial on that, why dont you just look the api the guy was using in that tutorial?
nah i didny use one i found this api online
lemme look for another one ig
well but you cant just use that api raw
I'd screenshot the result if it didn't dox me
yea if you use that it probably will work
bro, i was just thinking of something nice to do and i got an ai text thing and it was what i wanted so i accepted it and this is what it said 😭
fart? really?
How would a flight script work, how can i allow the character to mive around in the air without gravity pulling them down
im starting to getting back into scripting what should i learn.i have one project completed and i want to start a new one what should i make?
Idk if that is right but maybe try to set gravity to zero local sided ( inside of workspace properties )
But then how can they fly in any direction
Idk sorry I never did smth like that
All I know is that for my old fly script I did so that a part spawn under my feet with 1 transparency (local sided so other player cannot walk on the part as the other guy flying) then when I press F again it stop
@carmine tapir
Any scripters looking for cut out of our prof game?
do i always need to use a for loop to acces things inside a table i made from saying get children??
access'
example
so am tryna make a calculator but i dont wana make a variable for each button
make ui framework
But if i use getchildren i get confused by how am going to acess each individual button
if the childs name is ___ then if its clicked do this
How do these doodle obby games make a script that lets you draw to spawn in doodles for the obby
whatt?.Btw am just a begginner i just leanrt module scripts and i thought this was a ggod way to test them out
basically how I do this is I have a function which runs inside a frame with buttons and then I have a table with what each button does when clicked
you should get into frameworks
I am not the best when it comes to some types of frameworks
hmm okay
yea man I am not good at ui frameworks
I mostly make combat frameworks
am so confused lol
theres frameworks??
i thought i had this shit down but uhmm guess not
guys im making a space fiction game and im using a sphere with a gravity point in the center but on mobile the screen is constantly flicking around has anyone had this problem or does anyone know how to fix it]
fr its crap at everything studio
fr so ass u should start to learn!
i js use it when i cant find the bugs
and when i troubleshoot using print and it doesnt work
i dont use gpt unless im rlly lazy but yeah i shouldnt
What are some good ways to start learning code as a complete beginner
okay cool now can you help me with the code
by starting
ig
Ok
im already doing the building, interface, lighting, vfx, ideas, organising, bug troubleshooting, animating, and publishing for my game
js for a sec i think i can make an incremental game if i learn how to script it since i can do all the visual/sound stuff too
i just use align orientation and linear velocity
I was speaking with the emoji guy.
yea
if an animation is ran on the client side can the server see it?
body velocity
just ask iy to do very specific simple things
esp things thatd be repetitive
like tweening
You could have each condition on a new line
I know but am looking if their Scripter in this sever
idk what language this is so :/
Its c++
What are some ways I can check if the player is moving or not?
I need to play a crouch animation on a crouched player but I use a remote event to run the animation so if I put code in there it wont be able to update until it's fired again, I don't think using runservice is a good idea because of how much preformance it might take up
MoveDirection
humanoid.statechanged?
local Children = Instance:GetChildren() -- This gets every instance that you see once you expand a folder/in your case the Frame.
for i, v in pairs(Children) do -- it will look through everything that you have inside an istance that has multiple shit inside of it, whether its a table or a folder, v is the instance that this loop is currently on, i is the number of that instance, if the instance would've been 2nd in that folder and you'd print out "Print(I, V)", it'd be something like "2 Instance". If u wanna check if the "V" value is something, u just gotta use regular "if" statement.
if v.Name == "7" then
ChooseValue:(7)
end
end
Yes
Check the magnitude and then you know if hes moving or not
theres not an idle state tho
if humanoid.MoveDirection.Magnitude == 0 then
print("Still")
else
print("Moving")
end
end)```
doesnt fire unless I change my state
idk why running isnt accounted for but it js isnt
if I'm in place and I jump it prints still
if I jump whilst running it prints moving
If a player has pressed the W input, send a signal which will fire a function that'll check whether the player is moving or not (humanoidrootpart.Magnitude). If he is then he'll cast an anim.
but if he pressed W then he'll move
yeah?
so If theres no input I'd js constantly play the anim
that makes sense
I'll try that
yeah nah
cause its either enabled or disabled
no input ended here sadly
when I fire it I'm crouched, if I fire it again I'm uncrouched
??
so I'd need something that checks for my magnitude when I'm crouched
typa function is this
isCrouched = not isCrouched
only thing I'm struggling with is playing the idle anim 😭
I'd use adjust speed but idk how to make it work
so I'm thinking of other ways
in my code "local basePlate = game.Workspace.Baseplate
game.Workspace.Baseplate.Transparency = 0.03
game.Workspace.Baseplate.Material = "Brick"
if basePlate.Transparency == 0.03 then
print("yes gang it is")
else
print("nope it isnt lol")
end"
for some reason its printing nope it isnt, but even though i printed 0.03 as the transparency??
AnimationTrack:AdjustSpeed(0)
it'll stop the animation
yeah thats true
but the code only runs when I fire the event
w conquest pfp btw
use the same variable in every sentence
if active then
animTrack = player.Character.Humanoid.Animator:LoadAnimation(anim)
animTrack:Play()
else
animTrack:Stop()
end
end)
hm ok why is that?
ts gets weird sometimes
ok so I've figured out that when I fire the remote event I can enable a function, I did it with runservice but Ion wanna use it
been working on an OOP system, but ran into a problem when trying to pass a function that is related to the created object to BindActionAtPriority. The function gets ran but self just returns the binded actions name. Anyone got an idea how to correctly pass the function so i can reference self without a problem in the function?
function Tool:BindKey()
print("Binding "..self.ToolInfo.Name)
local Priority = self.ComboKey and 2001 or 2000
CAS:BindActionAtPriority(self.ToolInfo.Name, self.HandleTool, false, Priority, self.PrimaryKey)
end
function Tool:HandleTool(actionName, inputState, inputObject, test)
print(self)
if not Humanoid:GetAttribute("Ragdoll") and not self:GetActive() then
if inputState == Enum.UserInputState.Begin then
local isComboDown = true
if self.ComboKey then
isComboDown = self.ComboKey.EnumType == Enum.KeyCode and UIS:IsKeyDown(self.ComboKey) or self.ComboKey.EnumType == Enum.UserInputType and UIS:IsMouseButtonPressed(self.ComboKey)
end
if not isComboDown then
return Enum.ContextActionResult.Pass
end
end
Util:SetActive(true)
self:Activate(inputState)
return Enum.ContextActionResult.Sink
end
return Enum.ContextActionResult.Pass
end
Looking for scripter/animator/ui maker/dev/modeler! DM ME or REPLY!
what
when you reference a method like self.HandleTool it doesnt automatically bind self, it just passes the function itself
so it loses context about the original object
sorry for the late response
what do you need scripting for
its a rpg dm
well do you have like a team
yes not a big one tho we just started!
yeah i sort of just made it a function call and just checked if the inputstate is begin or end since it runs once when u bind an action and it passes cancel for that one
YO can i get help here pls
Looking for scripter/animator/ui maker/dev/modeler! DM ME or REPLY!
Does anyone know how to connect a morph to a rank in a group
If so can someone show me how?
groupservice
might not even need it
look into methods related to player objects too
can anyone help me with teleportation service
Do you want the morph to be automatic or have a button or something that checks?
Either way youre going to want to have a table with ranks and have a seperate script that calls for that table when prompted by the player
What specifically
im using teleport async and i have teleport options set up with it too however when the player teleports the data is nil and i cant figure out why
Have you tried debugging. I assume your problem is when you go to call Player it doesnt recongize and player and returns nil
To confirm, when you call the teleport command, take each instance and print it back and check console
wym
print placeId, player, and teleportData (? i tihnk its teleportData)
So you see in your script where you go Teleport(place, Player, data?)
print all 3 and see which ones returning nil
or wrap the function in a pcall
placeid and players should be fine since the player is gettign teleported
but the data is nil when your retrieve it
The teleportData is nil?
both the things that get teleport data return nil
wtf
partydata is nil
this is the script retrieving the data
it shows me printing both teleportdata and teleportoptions...
Are either showing you a table or are both nil?
TeleportOptions should return the instace, TeleportData should return a table
but Data is nil TeleportOptions will fail
could be a race condition, maybe try coroutine and task.wait(2)?
so do like
local function Teleport(Player, Info)
if Info.LobbyType == "Casual" then
if CasualQueue[Info.Name] and tonumber(CasualQueue[Info.Name].PartyLeader) == Player.UserId then
local PlayersToTeleport = {}
local function prepareTeleportData()
task.wait(2)
for i, v in pairs(CasualQueue[Info.Name].Players) do
local player = Players:GetPlayerByUserId(tonumber(i))
if player then
table.insert(PlayersToTeleport, player)
end
-- add something to check that everyone has instrument
end
if #PlayersToTeleport == #CasualQueue[Info.Name].Players then
local success, errorMessage = pcall(function()
local TeleportOptions = Instance.new("TeleportOptions")
local teleportData = CasualQueue[Info.Name]
print(teleportData)
TeleportOptions:SetTeleportData(teleportData)
print(TeleportOptions)
TS:TeleportPartyAsync(Concert, PlayersToTeleport, TeleportOptions)
end)
if not success then
warn("Teleport failed: " .. errorMessage)
end
else
warn("Not all players are ready for teleport!!")
end
end
coroutine.wrap(prepareTeleportData)()
CasualQueue[Info.Name] = nil
end
elseif Info.LobbyType == "Ranked" then
if RankedQueue[Info.Name] then
--do same here as you did above basically
end
end
end
try something like that. I took out your pcall and used a coroutine instead and did task.wait(2) to slow down to prevent race condition.
all the data im sending over is not nil and shows its in a table but when i try to retrieve it it prints as nil
okay so now you know CasualQueue is the problem
really?
yeah its gotta be returning nil, tahts why prepareTeleportData failed presumably
print it to confirm
if not queueData then
warn("Casual queue data is nil for: " .. Info.Name)
return -- Exit the function early if data is missing
end
like that
so when its missing youll get the warn in console and itll exit the function instead of throwing a stack error
where do i put that?
does queueData.Players also return nil?
in the function
local function prepareTeleportData()
task.wait(2)
local queueData = CasualQueue[Info.Name]
if not queueData then
warn("Casual queue data is nil" .. Info.Name)
return
end
if not queueData.Players then
warn("Players data is missing" .. Info.Name)
return
end
---rest of ur shit here
now you should see in console
Casual queue data is nil nil
so replace the old function of prepareteleportdata with this?
ok
put it right under the task.wait(2)
now after 2 seconds you should see in console either queue data nil or player data nil
if i put it under the old prepareteleportdata function it just errors and doesnt run your new code
or mabye im slow
how do you do that code block
local function prepareTeleportData()
task.wait(2)
local queueData = CasualQueue[Info.Name]
if not queueData then
warn("Casual queue data is nil" .. Info.Name)
return
end
if not queueData.Players then
warn("Players data is missing" .. Info.Name)
return
end
local PlayersToTeleport = {}
for i, v in pairs(queueData.Players) do
local player = Players:GetPlayerByUserId(tonumber(i))
if player then
table.insert(PlayersToTeleport, player)
end
end
if #PlayersToTeleport == #queueData.Players then
local success, errorMessage = pcall(function()
local TeleportOptions = Instance.new("TeleportOptions")
TeleportOptions:SetTeleportData(queueData)
TS:TeleportPartyAsync(Concert, PlayersToTeleport, TeleportOptions)
end)
if not success then
warn("Teleport fail" .. errorMessage)
end
else
warn("Not all players are ready")
end
end
so something is wrong with casual queue?
would the problem be like it cant be serialized properly?
@cunning trail
im actually confused on this
how can it warn that the data is nil when theres an if statement before it saying the data must be true or not nil to run
@cunning trail dont give up on me please😭 🙏
yes
CasualQueue is nil
so youre passing nothing into it
youre passing "asd" into it
how did it get past the if statement???
it should be a table
becaes if not means its not and if it isnt itll warn
thats why you got the warn instead of Stack Error
find CasualQueue and pass a table into it instead of "asd"
youre literally passing the string "asd" into it
So just track that down and you win
idk why the string is being put in it instead of the table
@cunning trail
the data in casual isnt nil but after the task.wait(2) it is
then when i remove that it says not all players are ready
how to fix 😭 https://gyazo.com/e1e9683fc347bee051e75295d77e76c4
size is already 1,0,1,0
how much would a global matchmaking system cost?
ignoreguiinset is also on
thats odd
thats better
I have the same but the gap is on the top of the screen
set anchorpoint to .5,.5
yeah i think youre right i wa sjust looking over it
iterate over it instead
Looking for a scripter
they should be equal because of this anyway
yea
so something like this
good afternoon chat
can anyone like help twach me to script for free?
I am a scripter
Dm
k
100 usd per variable
cap
do if not player then return end instead
Guys how are all these tiktokers making insane flight systems for their invincible games. They just buying it?
for key, playerData in pairs(queueData.Players) do
local player = Players:GetPlayerByUserId(tonumber(key))
if player then
table.insert(PlayersToTeleport, player)
else
warn("Player not found " .. key)
end
end
if table.length(PlayersToTeleport) == table.length(queueData.Players) then
local success, errorMessage = pcall(function()
local TeleportOptions = Instance.new("TeleportOptions")
TeleportOptions:SetTeleportData(queueData)
TS:TeleportPartyAsync(Concert, PlayersToTeleport, TeleportOptions)
end)
if not success then
warn("Teleport failed" .. errorMessage)
end
else
warn("Not all players are ready")
end
end
nice save ty
@whole solar try this instead of #Players
ok
your table is a dictionary im an idiot for trying to index it nummerically
table.length will basically get a count of your table.Players
ng;
ngl
nothings happening
if CasualQueue[Info.Name] and tonumber(CasualQueue[Info.Name].PartyLeader) == Player.UserId then
local PlayersToTeleport = {}
local function prepareTeleportData()
--task.wait(2)
print(CasualQueue)
local queueData = CasualQueue[Info.Name]
if not queueData then
warn("Casual queue data is nil" .. Info.Name)
return
end
print(queueData)
if not queueData.Players then
warn("Players data is missing" .. Info.Name)
return
end
local PlayersToTeleport = {}
for key, playerData in pairs(queueData.Players) do
local player = Players:GetPlayerByUserId(tonumber(key))
if player then
table.insert(PlayersToTeleport, player)
else
warn("Player not found " .. key)
end
end
if table.length(PlayersToTeleport) == table.length(queueData.Players) then
local success, errorMessage = pcall(function()
local TeleportOptions = Instance.new("TeleportOptions")
TeleportOptions:SetTeleportData(queueData)
TS:TeleportPartyAsync(Concert, PlayersToTeleport, TeleportOptions)
end)
if not success then
warn("Teleport failed" .. errorMessage)
end
else
warn("Not all players are ready")
end
end
coroutine.wrap(prepareTeleportData)
CasualQueue[Info.Name] = nil
end
@cunning trail
You guys know those white streaks you see through the air in games sometimes to simulate the effect of wind? they kind of like like curvy waves? anyone know what those are called or how to do those or at least where to start with that sort of thing? I'm trying to figure out how to do it but I'm trying to avoid doing some bootleg solution if there's an easy way to do it
babe our kids miss you
local animation = Instance.new("Animation")
animation.AnimationId = animationId
print(animationId)
local track = animator:LoadAnimation(animation)
print(animation.AnimationId)
track:Play()
animaionID and animator are already defined. for some reason its not playing
what warn are you getting?
Nothing?
Because at this point thats a good thing
do a print statement after the ifTablelength part and if it prints youre good
Now try teleporting some players
it doesnt print
Is scripting harder than modeling I’m a modeler
change the property
which one
Yes
@cunning trail ?
scripting is the harder job
Anyone here a dev and wanna make an obby game? (I have $1000 budget with 50K - 100k allocated towards ads)
ok
why isnt my while loop working
hmm
oh wait i figured it out
basicly you need to remove the two little -- things
bc
thats a note not a script
Wat
Bruh
when i put print under the table length thing
Nothing prints at all? You’re not calling the function anymore?
if table.length(PlayersToTeleport) == table.length(queueData.Players) then
print("hi")
local success, errorMessage = pcall(function()
local TeleportOptions = Instance.new("TeleportOptions")
TeleportOptions:SetTeleportData(queueData)
TS:TeleportPartyAsync(Concert, PlayersToTeleport, TeleportOptions)
end)
if not success then
warn("Teleport failed" .. errorMessage)
end
else
warn("Not all players are ready")
end
hi will not print
Nah its not so difficult to make a destruction system but idk abt the flight
The invincinle games ive played are hella buggy
Its like a bunch of toolbox items scrapped together
someone help this gentelman
why hes doing good
while true do
wait(1)
print(activehelmcams)
end
i just realized his script was almost 8k lines
what could possibly be in that script
Here's a refurbished version of his code
i wonder the same
they say you can destroy the world with your code
lmao
but with what he's showing, he's destroying his reputation instead 💀 😂
i wonder whats in the remaining 7959 lines
it prolly has a 7959 print functions
workspace:Destroy()
Guys I'm working on my website, how is the design?
print('H')
print('e')
print('l')
print('l')
print('o')
😭 💀
mb idk why i was being so slow but theres different error now
NOOOOOOOOOOO
thats a lot of nest
you should reset your character with that level of nesting
he should be abolished from the tech industry
he's a disgrace!!
Anyways please rate 
6/10
6/10
wont elaborate

he has skill issue
great minds do mind:Clone()
so deep
if you call that nesting then i have a termite mound
great minds copy from stack overflow and reddit
😭
great minds watch and learn
i just watched and learned this method
thanks
Bro cooked
someones helping me bug test bruh this is not what its gonna look like after the bug is gone 😭
@keen bloom do hidden staffs get paid?
idk
ask a staff member
aint reading this till u unnest
Bro your roles say otherwise 💀
these right?
new block culling algorithm vs old one. (they are slowed down to show it in action and i am planning on making my new one faster)
purple
alr bet
debugging
how you gonna debug without putting warns and wrapping in coroutine
either you spam pcall or nest
so print playerstoteleport
queuedata returns a table still right?
you guys are fuckin mean bro lol
it prints the player with numerical index
but do i even need to if statement to check if playerstoteleport == queuedataplayers since im looping through queuedata players to get playerstoteleport
you know.. im something of an artist myself
https://gyazo.com/950c1c7a5b639a7f0eb8845facb18ae3
No I suppose not
Try removing it and see
i mean im getting teleported and the data seems fine
but on the other side retrieving the data it still prints nil
does collection service work with guis
does anyone know if its possible to have a TV screen that shows the perspective of a part in workspace
@cunning trail you think something is wrong with retreiving the data maybe?
YO i belivwe ii know the basics of coding but i am still confused as shit i know what diffrent things do but my brain doesnt connect them
can someone help
what do you mean
like i know basic things i can write a small script but i cant make anything out of what i know for some reason
i cant even make one of those 2 player obby tings
things
try breaking down the problem into smaller problems
like if you want to make a anime ability you'd:
check if the player pressed a certain key
create a hitbox
check if anyone is inside the hitbox
damage the people inside
do vfx stuff
thanks
Think about scripting in systems rather than individual scripts
so basicly i should do things in a planned order?
Yes
Take this example
So I know I need a local script to fire a remote event to check when a player hits a key, then I need to create a hit box that’s a system, then I need to function checkForPlayerInHitbox that’s a system
So think about it in systems instead of just individual scripts, plan ahead of what you’re doing and it’ll all come together
yea so for like a two player red or blue obby
assign one player a color and the other a color
make the player fall through the other teammates part
and make a way for them to become their color?
or should i do the last step as the second
because if its instant does it matter
So player queue and teleport data are printing fine now?
So you’re going to use onTouched
is code help even code help
code hasnt changed that much
Gotcha
would you want to see my screen share
Try doing
game:GetService("Players").PlayerAdded:Connect(function(player)
local teleportData = player:GetAttribute("TeleportData")
if teleportData then
print("Received teleport data:", teleportData)
else
warn("No teleport data received " .. player.Name)
end
end)
Try this on the receiving server
I’d you still get nil then it’s your teleport data that’s fucked up
welp that print nil too
this is what teleportdata prints as before it's set
@cunning trail
how to give a random player a wepon? tried to make it myself or find it online but did not work. i know this is simple but id appreciate if somone could provide me with a script for it.
depends on the political and economic state of the world
i can model this in blender]
we can help you find out what’s wrong with your script but we won’t do it for you
its fine i figured it out myself :/
fire
ty ty
a 1D 3D converter that can take three values and shorten it to one then it can be converted back to three values (credit goes to haotian2006 not sure why the @ is justs numbers it may be the user id but idk for sure)
so you're going with 16X16X16 chunks?
since thats what the size is fyi
i may go with something similar
alr
just fyi the formula is
x + z* xzSize + y* (xzSize*ySize)
although the order can be swapped
yeah i had to swap the y and the x but it works great even with negatives witch i was surprised about
yeah
but you usually don't want negatives
since the coords will be local space
and negatives will be determined by the chunk
well since the system is isometric the block cords are not negative because its also the layout order. though the chunk index can be negative its normally a vector 2 not vector 3 but i can still use vector 2s in the system as long as a add a place holder value
should still use vector3 for 2d values fyi
would be more optimized
as you could index them in an dict
and are faster to access as they are native to luau
while vector2 is native to roblox
yeah I would convert the x/z to local space with % which also gets rid of negatives
thanks for the suggestions this will really help with the optimization. i will make sure to credit you :]
np
here
hey do i need to learn coroutines
learn task.spawn first
yo guys i have question
will you guys use data store management system with its own data store language similar to sql
if its faster and lets you store more data and does all the safety shit for you stores your data in buffers and has very simple api to access and update data (not alter the structure)
Hey up for a easy commision that pays good?
percentage........
actaully nah
bro gon give up on his project no way!1
i mean nah cuz i alrdy found one
🙂
who here is a kfc crusader ?
?
hey what is a good inventory system ? i currently got a invntory in wich u have to drag ur item to be equiped or un equiped but my tester syas it could be confusing
Bro u gotta show for us to tell u 😭
I can show u a BAD inventory system
there is no code to know for this ? my current inventory uses a drag system to equip or unequip an item but my tester said for new players it could be confusing so i was wondering if there is a better way to do it ?
Many games do both click to equip and drag to equip
Like double click or whutever
Or right click showing options such as drop equip
Whats confusing abt that tho 😭
Its more about adding qol
bro idk he told me and i want the best system for my game
Qol newborn tier
muskets ?
like when you equip a gun, you can move freely
without the right click yk
and also the fov extends when you aim
with the gun
my gun system : https://www.youtube.com/watch?v=hBD-bL4WPoU
Welcome to the exciting journey of creating a ROBLOX game from scratch! In this Part 1 episode, follow along as I take on the solo developer challenge, striving to craft a unique gaming experience within the ROBLOX platform. I'll be sharing my progress, challenges, and insights as I work towards my goal of building a full-fledged world.
In this...
and no ur not getting the code
lmao okay
facts
why the hell would i make its fps ?
it's just the animaton you show
U know u could just say what it is and what the pay is HERE
i want the aiming system
And i want one bilion robux
its a whole ass musket system tf u mean animation
I can make that in under 30 minutes
go ahead have fun lemme know how it goes
one script I wrote this many lines of code just to discontinue it
zz
shit another one
dont forget about ammo reduction multiple shots etc etc
ammo - 1
oh and ye responsivnes
yea its not hard
If u wrote this many lines in just one script then its a good thing its discontinued
I'm in school
so am i ?
3rd person gun systems are easy
how do you make it so when you the gun equiped you can move like a first person view bro
I like it like that
Where's the inventory system
I just have to press ctrl f to find the name of the ability
all I see is u equipping a musket
autocomplete stops working after a while
ye ik its a old clip
Nope still works perfectly fine
not for me
I forgot waht it was but it was a beta feature that fucked it up
maybe the new typechecker
Ye it was that
Are you sure thats not just tnf lol
recreating it sort off
damn never knew i was gonna find another tnf player in here
Small world
facts
do you have tips for raycasting I was tryna make a gun but it doesn't detect all parts only baseplate unless I'm super close
Idk if you need that but yeah
did u blacklist certain parts ?
I mean I don't think so prob just bad code lol im kinda new 💀
lemmy load it up
local mouse = player:GetMouse()
local origin = handle.Position
local position = mouse.Target.Position
local direction = position
local raycast = RaycastParams.new()
raycast.FilterDescendantsInstances = {character}
raycast.IgnoreWater = false
local result = workspace:Raycast(origin, direction, raycast)
local ray = Instance.new("Part")
ray.Size = Vector3.new(5,1,5)
ray.CanCollide = false
ray.Anchored = true
ray.Color = Color3.fromRGB(255,0,0)
ray.Transparency = 0
ray.Position = origin
if result then
print(result.Instance)
else
print("No Part")
end
Ik getmouse is outdated but idk a better way
get mouse is decent i used it aswell
ah okay
dont forget to secure on server tough id say
I mean its a local script do you need server side I mean ig it makes sense but like idk 0_0
yes very mmuch or exploiters will go crazy with this
what does it print when u shoot ?
I mean does that help? Other than ping like idk how it would change it pov: braindead fr
u can spoof raycast results
at the benefit of it being like really responsive
it actually depends on ur use case
seems like ur clickin on the baseplate so what wrong ?
idk what you mean by that
if im sending the raycast result to the server i can lie and tell the server i hit something else
it only detects the baseplate unless your super closer like the gun is through the part idk maybe the gun part is blocking the ray or something but I wasnt super sure
i like what the roblox fps template does for detecting hits
Well I wanted to detect the part so I could detect if it hits another player aka there character for damage
ur trying to shoot a character or just a part ?
yeah the character i mean idk maybe it works on players better but I mean isnt it similar
from where do u get this character ? : raycast.FilterDescendantsInstances = {character}
well I didnt add it yet I think that was to like make sure it doesnt detect the localplayer's character
i mean if its not defined it wont ignore it
e
btw what is ur name mayby we played together in tnf ?
Well 96civ or I used to be excitedsummer
I think I recognize your user idk prob some clan leader fr
from wehn to when did u play or mayby island event or certain factions u were apart of
i had many names
11lolmantibo11,SirHolvoet,CrimsonVH
I mean I wasnt really apart of any big ones since smaller ones were more fun but I started playing sort of half way through the original games life I think or sort of wowards the end a little bit then I played a bunch of remakes
I mean I was in some hbc's and NFC but yeah nothing crazy
oh u didnt play the origina l ?
I did I said
I was in invictus for a while until someone was being toxic like the one from fire
he made that in a remake doe I think
Thats prob only more known one lol
I meant I didnt play the original from the very start I joined a little later on in its life but I still got to play for ages
miss the original game
fr
its so cringe the northwind owner brought the rights to tnf to just make it a cash grab
bros so cringe
thats why i decided to create my own version
Ah nice
I mean I wouldnt mind a remake lol
well its not an exact remake tough
u can quick switch etc
but the mouse is locked in the center for example
I mean it would be better if it wasnt the same lol every remake is like "we're gonna make the game better"
and oh yea ships and canons that goes boom
💀
Yeah that would be coolish idk ships are kinda mid but boarding ships coulkd be cool
oh yea its mad fun when u sink ur friend ship
lol
No
though yo said "racist" for a sec ngl 💀
why did you scroll up so far
Raycist
Detects only people of color
What game
Hard to explain
But are you really the pro dev
Ill work on it as long as its name will be blots fruix
whats the pay
lol
its a shame too he made a pretty good game but just didnt wanna finish
nah i cant figure it out
im no good as a coder i even asked him to teach me but hes a hopeless teacher
Looking for scripter/animator/ui maker/dev/modeler! DM ME or REPLY!
is there anything wrong with attributes
LMAOO
i saw that once at this job i was applying for
I can already guess payment is in %
a man with a dream
you guys know that like through getting payment through investors your practically just giviing free money to peoople with more money than you
Thats basically life
how do you earn the programmer roles?
Wsg long time
yoooo
Hru
good sorry about that game i guess harry got more busy with reaper 2
he abadoned the assignment
Yuh
Its sad 😢
But good for him
Looking for Investors for A Japanese Hangout Game
Hey guys! I am making a Japanese Hangout Game!
You can invest and make possible returns on the release of the game!
You will get a percentage of the game's revenue according to your investment, starting from 500 robux (without tax).
All investments without tax, for eg. If you want to invest 1k , I need 1k without the tax!
The robux will be used for sponsors and more!
DM me to let me know If you want to invest!
Max Limit: 7K Robux
Bahaha
I use chatgpt to make me a google extension and use the extension as an autocomplete for google docs to write my essay
How much % is 500 rouck

why
we can discuss in Dms
1%
So for 50k i can buy our ur entire game and have ur dev team as slaves?
yes
Ferb i know what we will be doing today
forgot to mention
Sad
gimme 10k as proof xD
U funni
its weird asf
So one entire day of dinners
grape the guy ?
💀
No beo this games flopping
why argue with someone who says its gonnna flop if you know what you want
whats ur game about
a japanese themed hangout
Looking for scripter/animator/ui maker/dev/modeler! DM ME or REPLY!
does using vs code for studio effective?
define effective
better tools, better error fixing and most importantly easy to setup/use
Looking for scripter/animator/ui maker/dev/modeler! DM ME or REPLY!
Never heard of effective in roblox studio only "if it works it works"
any body else has problems with the teleport service? it takes forever to teleport and works only if i close and re open the game
it is
oh, pretty sure theres 2 ways to use teleport service
no
ty
invest in me
Wdym
I will invest 200.000 robux in you brother
No wait ill invest 2 million
what do you mean?
pleas invest me 10000 million vbucks
Plss you sir
Nó module
Smartbone thing
hi is there someone available to help with a script
are there any coders that like wanna be my friend and make games with me im so bored

Yes
But it not me
🗣️

