#code-discussion
1 messages · Page 137 of 1
@celest cipher your teleport anticheat caused lag correct?
can u figure out whats an ai comment and whats not
oh wait your prob too old for ts
uhuh
It could work but I've seen tp exploits where it's possible to do it with alignposition which makes it a bit trickier to defend against
nah its js when the player loads in the game lags bc its loading shit
so my character lags and the script thinks i teleported
its a good thing most games on roblox have a loading period for when the player joins which allows their anticheats (if they have one) to not do anything until the games fully loaded
exempt yourself for the first 10 seconds?
no ones on your side except the other uncs who sit on code help all day js to rage bait and do put downs on new learners
get a life
uhuh
nerd
like anchor myself? maybe but id be weird
no he means except yourself for the first 10 seconds of ur character loading in
how do you think this tracer is made
why would he mean anchoring yourself
simple and nice
and i cant find the tracer
what specifically tho
script itself
Likely done with beams
"Tracer" or "Instance.new" maybe
what im doing fr
i forgot beams existed
tracer word isnt a thing
🥀
Can you search it up in the search bar
ill try to find beam
@glossy wave what did u mean by except yourself
Yep it's beams
Nvm 🥀I didn't read
like for the first 10-15 seconds make it so the anticheat doesn't check position
so js do wait
alr
if i put it inside of the runservice itll wait 5 seconds each frame
to do the anticheat
so
do i put the task.wait in the game.players.playeradded function
so b4 i do the runservice heartbeat function
it waits??
i cant find the tracer its not a beam 😭
this might be it
okay yeah it is thats fire
anyone knows how to fire InputEnded if i tab out?
windowfocusreleased
you can probably just create a function that runs whenever the input ends and whenever the window focus is lost
im using that
and it works
but
like
the thing is im tryna block so im using f to block
if i hold f and tab out
it stops blocking bc im using windowfocusreleased
but then if i press f again
it doesnt fire inputbegan
unless i press it twic
twice
i dont think that would be because of windowfocusreleased
ik its not
but idk what the problem is
you prob have a check with a variable or something, and you arent setting it to be false maybe
I encountered an error where a function in my script of mine seems to trigger multiple times and clone the same thing multiple times. I don't know the cause of it as it happens randomly and I cant consistently replicate it. It occurs from when my player activates a proximity prompt and on the server it fires a function to clone something into the serverstorage. When this bug was occuring, the duplicating stacked, so it would clone 2, then 4, so on times. I've used an almost identical system in a different game and I have never had this issue. Does anyone know what might be happening?
I've created a lot of checks as well so I really hate that there's an error like this happening
check if you're making new connections without disconnecting it
i.e: workspace.part.proximityPrompt:Connect() (doing this multiple times?)
ddoes anyone have teh copy and paste code for a npc playing my aniamtion
I noticed in my code theoretically the function might be called multiple times, but I tried to replicate the error again and it still didnt occur
I decided that it's still safer to change the code so that it wouldnt occur even if it's inconsistent
I told him exactly this and he said its not a variable issue ;-;
guys, do i install luau or luau language server extension?
luau language server
can someone help me make a countdown thing
how do i port an existing project to rojo? do i need to use rbx-to-rojo
anyone got any help for learning OOP ? its very hard for tbh :-:
Is anyone very experienced cuz I have a precise system I wanna add to a game and I need advice
ask
what do u find hard
If a Scripter publishes the animation. Are they not allowed to make it public? Cause my Scripter said I have to publish the anims because I own the game for it to load for me and everyone else
yes thats how asset ownership works
if you own the game, you have to publish the animation
if its a group game, you have to publish it under the group
Ok
So I'm not getting scammed
Or maybe I am idk rn
I'm stressed
Where should I start to learn ray casting and path finding since I'm kinda interested in it
Should I start with ray casting or path finding first? Nvm I'm dum
raycasting
Does path finding have any correlation to raycast
@prime spindle yes
Alr then ty
if you want to add vision to the system
like an monster doesnt spot a player when a wall is between them.
not directly
yea what that guy said
undrstanding the concept .self .__index
have you read this
nope ill read it rn
my english is not good so i dont undrstand most of the words but ill try
Is it considered to be difficult. Rn just doing some hw b4 getting into it lol
pathfinding?
Yep and raycasting
roblox pathfinding is pretty simple
everything's setup for you already
but its not the best for certain cases
raycasting is very simple too
It has all the basic aspects of it right? Like movement, climbing jumping etc
yes
Alrighty then. Any tips or precaution b4 I study it
is anyone here familiar with roblox cloud apis
It doesn’t support different walk speeds or jump heights
not much i can think of
can't you adjust the waypoint spacing for walkspeed
So if your character can jump more than the normal height then the pathfinding won’t do it
For walkspeed yes
But jump height is more problematic
And if it needs to jump a gap
yea thats right
The walkspeed also isn’t taken into account
I bought a moscow map off of clearlyDev and it works just fine, I started deleting buildings and placing in my own (buildings have no scripts) but the game came fully scripted.
Idk if its something I did or the game came like this, but when I try to play it, this message pops up and it wont let me play the game, and I can't playtest it in studio either. Can someone help me out on this?
Is there an error in studio
like when I playtest?
yes
i've literally never seen that in my life
blud 😭
maybe just try looking into the version history to find one that works
and then you can probably find out whats causing it
i aint got no idea about scripts or coding or nothing im afraid ima cook the whole game
ok turns out the original file I got when I purchased it, I tried playtesting on that, it doesn't work
so the original game was cooked at the start
try on adifferent game
blank baseplate or smth
Okay I just looked up "script" in the explorer, selected everything and deleted all of it
now its working
were the scripts needed?
well the game came pre-scripted, so everything from weapons to teams to lighting to everything
I had to delete it all
ok well now I can't drive any vehicles, I tried getting a random car with a-chassis from the toolbox and none of them work
also I can only walk, not run
😭
well u deleted all scripts
ask the guy who made it to fix it
idk who it was and i dont think he'd do that for me
how did u buy it then
I bought it off clearlydev
isn;t he supposed to fix it then
why is he obligated to fix it
because its broken?
yeah but he isn't obligated to fix it, unless theres a rule that says so
he sold you a product thats broken
he is supposed to fix it
gng look at the start of this i cant wait to learn how to script so i can actually do somet LOL
For game modes, is it better if i make the gamemode manager a modulescript and the mode scripts as serverscripts? Rn it's the opposite and breaking my game
how is it breaking? how ur doing it rn is the normal way
so does anyone know like in fighting games when u land an m1 and teh player gets like slowed or cant really just freely wlak out of the m1s anyone know how that happens/
basically
state manager
alright
Both should be module scripts
i feel your current method makes more sense than what you're proposing
What could be the cause problem?
Players are able to glitch the characters even though they have settings like cancollide off.
DEV FOR HIRE (U CAN HIRE ME) I CAN DO ANY SKILL ON ROBLOX STUDIO EXCEPT SOUND AND VFX I HAVE BEEN DOING STUDIO FOR 6 YEARS
coding making my mind numb and i havent even learned anything
well it takes time before u get the hang of it if ur just starting
so far im learning object functions
i would go this route, as its much easier to manage ur scripts this way if u ever need to change something
goodluck with everything, are u watching tutorials or just reading on it
im watching hiatus's tutorials so far
also dont skip anything, trust me i made that mistake when i started and i went through hell later on
yes,id say so
its a lot easier to manage that way
actually most logic should be when it comes to holding important data, like levels, shop data, etc
guys i really wanna start scripting does anyone know where to start?
its quite simular actually but it depends on what ur trying to do. firstly keep all logic of the module inside the table. place all ur functions in this table. if a function is local, write it normally. although if its a function that u wanna access outside of ur module, write the module name.whatever u name ur function. for a better explanation id definately read up on it as it was a thing even i didnt understand before
like different systems on different modules?
and also whats oop
do i use it for my game?
chat who here knows a good bit about scripting
how do yall practice ur "scripting"where you dont forget certain functionalities and whatnt
cuz im doing all this learning but im not sure if it'll save in my head
yes
convenience, and a less cluttered main script
oh well mistake
i am
answer my
oh yeah dont do that, especially if u dont require it from a server script
for now since ur new id focus a lot more on the launguage and less on what type of script u use
just use a script or a local script for bow
once u learn everything, start making stuff. if u forget something its not a big deal, u can just look it up again until it is memorized
something i used to do is just try and recreate small things in ur favorite games
actually i still do that til this day so i dont get rusty
tho i doubt ill forget too much, but it happens
how am I able to fix this
you cant test datastore on local server
bro it never happens to me before
also u havent published i think so the datstore api isnt on
Delete studio
like youve tested in the same game?
I don't have time I will just do test team I guess
A good programmer isn't someone who know every function
A good programmer is someone who knows where to look
okkkayyyy buddy
😁
i see
so a good programer is one who knows HOW to learn
Plus they will have come across most functions at least once
So they already know what to look for
Kinda like muscle memory
Ahh
Smart
I got another question
Why don't people use ai for scripting instead of scripters
Ai can't script
Yet
We still have a chance!!!
LLMs like ChatGPT are designed to output words in an order that will satisfy the user
The people who use chatgpt are not experienced
So they can't tell whether the code is bad or not
If it runs they think it's good (even if it's barely doing so)
So they get 'bad' information
So AIs are more prone to bad coding habits
Since the skids are satisfied with bad code
The AI thinks the bad code is good code
So it keeps outputting bad code
And more skids get satisfied
And it also uses code it finds on the internet
As reference
Most of this code is not by experts
Ohhh
I mean how chatgpt works specifically
Majority of expert/professional programmers don't go around posting their code on online forums or anything
It has a random variable in it so the output isn't "consistent"
Like if u asked it the same question twice it'll give different responses
Naturally
Proper thing to do
So the skids who use it give bad code good feedabck
They can't really give a proper response
Yh
And pros don't really use AI
It would be too sloe
I thought they'd use it for a rough online of the code
Then adjust accordingly
Maybe
The thing with ai
Is that you have to spoonfeed it a perfect prompt
To get the desired result
Sometimes it's faster to just do it yourself than to spend time making that prompt
And then refining the bad code
Makes sense
All about time management then
The roblox ai autocomplete is actually a good ai
Yea it knows what ur gonna do
It's sick
It's better
If your code is more readable
If you prompt it correctly with a good function name sometimes you can get it to write a whole function
Without having to do many corrections
at the moment, ai is worse at most things than almost every human being on earth.
its a useful tool, i found it especially useful as a beginner, but your ability to problem solve, debug, visualize, etc, are all many times stronger than chatgpt
its main use is that it never gets syntax ( the symbols) wrong, or almost never
and it knows how to do a lot of common things
and ofc its fast but fast + bad is not always that good
Yh
What if
U used it to fix ur syntax it
Ig
it can show u how to do the syntax sure
if it understands what ut rying to do
Lmao
help me i don't understand why the handle isn't showing up when i hold the tool
mf chatgpt is trained in opensource platforms like github etc what are you talking about
And it still can't write a kill brick with 100% consistency
buy premium bruh
Pay2Skid
Keep denying AI until you get replaced by those who leverage AI to enhance their workflows
There's better ai to use for coding than chatgpt
Literally roblox ai autocomplete is better
there are hundreds of them, kiro, v0, cluade sonnet grok
obviously bruh
What's the point you're trying to make?
AI only good for writing types
shits ass at everything else
👶
its only sht at debugging. If you dont understand what AI is doing you're just wasting time.
I mean it still uses pairs() and wait() and other deprecated methods
.Blacklisted
Most of the times AI will use suboptimal algorithms, you have to have prior knowledge.
Its because you're using old models which are free.
still not worth it at all to let it write scripts for you
yeah
thats true generating entire scripts is dumb
Is not reliable
having agent that writes along with you and suggests code snippet is great
Very
Roblox ai autocomplete 
Roblox AI is hot garbage. We're talking about VSCode Copilot
is there any to have an ai agent similar to copilot in roblox studio?
idk, but code your roblox studio scripts in vs code, use rojo to sync everything
Want to develop Roblox games like the pros? In this tutorial, I’ll walk you through setting up a full advanced development environment using VSCode, Rojo, Wally, Git, and more.
Tools:
VSCode: https://code.visualstudio.com/
Rokit: https://github.com/rojo-rbx/rokit
Wally: https://wally.run/
Git: https://git-scm.com/
GitHub: https://github.com/
...
What's the pros and cons
ive considered using rojo to code on vsc and use github for version ctrl but is it too much work
Of using vscode over studio
its not like im a big studio
pros are infinite, like version controlling
better* syntax highlighting and better intellisense
i think my main concern is that i have to go back and forth between tabs if i want to build/test/do anyt in studio thats not coding
Then dont use it, it's usually preferred if you have multiple scripters. Because they mess very often
does the roblox animator handle loading duplicate animations
Your all script files are hosted on github that makes version controlling way better. you know which developer made what changes to which file and when.
Proper commits and checks
alright
Same
im really considering it even tho im a solo dev bc of the vsc copilot
idk if its good for lua tho
if you're testing something do it on roblox studio ? Remember they are both synced
Whatever changes you make in any will reflect in other
it hosts a local server that does that all
Yh it's not like you HAVE to use only vsc
Who is a good scripter who can make a game 50/50 with me
Do you have less than a month of deving experience
No

I have 2 years

Are you modeller?
roblox has this
I build
version history tells you who made what change
it sucks so much
meh ye its 50 50
plus no proper version controlling it just save the changes
How can it have better highlighting and intellisense
extensions made by other people
Do you mean the linter?
Does it intellisense the instances in studio?
Man I thought coding ragebaiters were the worst but there are so many ragebaiters in #building I'm concerned
how do i stop it from changing size when i stop holding left mouse click
local Handle = script.Parent.Parent
local TrueHandle = script.Parent
Handle.Activated:Connect(function()
while true do
task.wait(math.random(0.1, 0.8))
TrueHandle.Size = Vector3.new(math.random(1, 8), math.random(1, 8), math.random(1, 8))
end
end)
Rojo Explorer Rojo Explorer is an extension that is made to help ease developers with their workload while using Rojo. This extension provides an “explorer” which allows you to view any instances that is managed by Rojo, and also provides path autocompletion for all Rojo-managed instances. View the source code here Get the extension here ...
with userinputservice
Pro
Ok what about
Global typing
This is very niche but important for my workflow
Is there any plugin/extension for global types
If you're working on serious game then it's absolute must.
while not {activated} or .Render stepped + disconnect
Oh hey arze
hey is anyone here a good affordable scripter
github repo. Version control
wsp
no like deactivated
What if you're solo
me!!
lol no thats for another game of mine
just: while mousedown do
Still, when you make changes you can commit them. So that you know what you did when along with all the changes you did in a particular commit. I'm assuming you know how github works, the basics, add commit push pull
I might use it just for adding to my non-existent portfolio
Kinda
Never used it
I understand that there's branches
I'm a decent scripter i just haven't done any equivalently sized jobs
Can't get hired cuz no portfolio
making portfolio aint that hard
People completely ignore any message that doesn't contain a link bro
I'm lazy
I would pay someone to make it if i could
Then dont complain, its because of your own laziness
I didn't complain i just said i didn't use GitHub
Before
The absence of portfolio
I wasn't complaining about that bro it's just a fact 😭
build one aint that hard
You never used github so i'm assuming you also lack past work proof
I don't know where to start
I do have work
I could dig it up to put on a portfolio
I keep losing my blender models though
I definitely need to store those better
idk, most people uses guns.lol and some have custom website built. If you're not a web developer then use online solutions
I believe you aren the first one with this problem
all you have to do is some research
Guns.lol 🔫 🤣
I've seen it in many people's bio
I don't know where to start looking
To make a portfolio? Bro it aint that hard.
Crazy
Just got offered 15$ in rbx for about 6 hours work 🙏
That's slavery.
worst part is I offered to do an hour's work for 15$ and @real fulcrum left me on delivered, thinking that's expensive
I get so triggered when people think you can get a whole game with 15$ 💔
dont get triggered instead spend some time studying and learning. Make solid systems and projects by yourself and build your portfolio.
I already have 11m+ visits in total, a complicated module using raycasts, examples in weapons and vehicles and 12+ months of experience.
ACTIVE experience that is
better than some skid who started coding 3 years ago and only ever learnt 1 month every year
Problem is, other people have no way to know this, + why should they trust you?
You should have well built portfolio with detailed info about your experience
What is this looped storyline
they have ways to know it BC I have proofs for everything
wym
i couldn't find any. All i could find was https://www.roblox.com/users/4075244566/profile#!/creations with no game with 11m+ visits..
POrGSrPOGS is one of the millions creating and exploring the endless possibilities of Roblox. Join POrGSrPOGS on Roblox and explore together!Join my group! https://www.roblox.com/communities/32583192/A-devils-design#!/about
Or buy my clothes: https://www.roblox.com/catalog?Category=1&CreatorName=POrGSrPOGS&salesTypeFilter=1
Foreshadowed
did you check groups
Also it's totalling at 11m visits
not in a single game
No one is checking your roblox profile's groups' games' visits
Put it on a portfolio
He wants proof I made them I think
It is on my portfolio
Put the portfolio on your bio
Im tryna get more reviews first
it's not finished
finish it then stop procrastinating (i'm the one who's doing it too)
I dmd them because of that message they sent, but 15$ is cheap and affordable
its not something you're born with 😭 just make it
watch tutorial or smth
I'm not procrastinating I literally have 3 commissions active
and I'm doing a game jam
Dang bro i thought everyone else had it from birth
Nobody told me
Well you should be able to piroritize what's more important. If those commisions are more important then do that else make your portfolio. At the end it's all about the decisions you make.
Got teammates ?😁
I have custom prompt setup, and I was wondering which is better for performance or is more practical.
One is with a RenderStepped that checks everyframe for every Objekt in a Hardcoded directory
RunService.RenderStepped:Connect(function() local closestEntry, _ = getClosestPrompt() if closestEntry then interactFrame.Visible = true textInfo.Text = closestEntry.Action or "Placeholder" else interactFrame.Visible = false end end)
or a code that just checks if a Part is touched like prompt max reach indicated by the red circle
No, am I looking for them? Also no 😄
should i learn ts
Ok 😭
just use default prompts fr
You can probably afford to ratelimit it
no they're poor they can't afford it
if you don't believe me check their pronouns
You are correct
but they look ass and i want it on the bottom of the screen and not over the object
rojam?
yeah
Who hosts rojam
rodevs
IS THAT YOUR CUSTOM PROMPT?
for now
some 19 20 year olds rodev department heads
what are you talking about?
yeah I just saw that
Thought that default prompt was your custom 💔
ring shaped mesh
Step 1: download blender
Does someone want to collaborate on a game by chance? I’ve started with the idea and building but need a scripter. I can script some stuff but not too advanced. Hit me up if ur interested
could use cylinder with part operations like union intersect delete etc
hi happy people from this world
ding ding
when's the last time anyone was happy 😭
good for you 😭👍
Crazy
i need help with my obby
what is it? 😀
no shit what specifically
My person will be away for a while 😔
Just ask to ask . com type shi
aw, hope you do well meanwhile
You are a designer huh?
how do we make our starter character a part that we want anyone knows?
checkpoints
Have you ever done portfolios?
just to do stuff there like moving parts or just
not really
just put images of my works in a dm I have and when I need to use it I just do
oh
Nah i meant have you ever made someone elses portfolio
oh nope
Gotta save the data
I assume he's trying to save atleast

something with datastores bla bla (Idk about dss
If you want to save data then you gotta use datastoreservice
And you have to handle the errors it produces
@thorn arch why ya asking abt the portfolio though
I need a portfolio
Yh
carrd
I had a portfolio there when I was more basic with design
you could make yours
I was looking for someone i could hire to make a decent looking one
That i could just add my work to
I'm no professional but I could find you a better page to make one
nothing
I didn't say that,, but um
you could make one in carrd co
it isn't very hard from what I remember
oh wait
you asked if I'm a designer because of my about me right
I should specify
roblos designer 💔
builder
Anyone lookin to help me develop a game!! I need builders coders and animators! Just dm me!!!
yall i kinda understand code and i get the things they say in tutoriols but can not come up with my own any tips?
Try to do simple things
With what you have learned
Chiwiwis
does this look organized?
i need a scripter
:0
what
Your names are very long.
ScriptsForMapsFunctionalitly.
if thats all i ain't complaining ;-;
Just call it map.
alright
Or MapScripts at most.
Na dont change ur names
U good as long as u understand it bcs u the one whos going to be coming back to tht game
But id say learn modules
And a folder in serverscirpt servicr called serverscript is insane.
its all baisc scripts tbh
Your names don't need to be grammatically correct.
SpawnLoc, ShootingHandler is enough to understand.
I should lowkey start doing more unit tests
They're actually so OP for debugging
Idk why nobody does them in roblox though
there was a guy who did lua tutorials in a very simple way like 'dictionaries in 60 seconds' type stuff but i cant find him. does anyone know his name?
What
could someone help setup CMDR in my game
with custom commands
dm me if u can
can u help
can i ask you a question in dms since u have the scripter role
i need help with my applications they keep getting denied
Just not easy to edit and stuff.
- I never told them to change it.
Of course it's preference.
Sure
Have you guys delt with Right to Erasure?
serverhandlerforshooting ☠️
ok ty sent
yeah
Any scripters who might wanna collab i need some help in my game
ServerScript folder in ServerScriptService exels.
local GridItems= {
["0:0:0"] = id1,
["1:0:0"] = "0:0:0",
["1:0:1"] = id2,
["-1:0:2"] = id3,
}
is this a good way to handle a grid system
folders for a sdcreengui like what
does anyone have any tips for becoming a generally better scripter
Since no one is helping in code-help. How do I create a fade effect, when the player presses play? Here is the play script, and I already have a fade frame for the fake effect.
Play script:
local MenuScreenGui = script.Parent.Parent.Parent.Parent
local Gui = script.Parent.Parent
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService") -- Added this line for TweenService
local Fade = MenuScreenGui:WaitForChild("Fade")
-- Find the BlurEffect object in Lighting (using the robust method from the previous example)
local blurEffect = Lighting:FindFirstChild("LoadingBlur") or Lighting:FindFirstChildOfClass("BlurEffect")
script.Parent.MouseButton1Click:Connect(function()
-- Tween menu out
Gui:TweenPosition(UDim2.new(0.5, 0, 1.5, 0), "InOut", "Sine", 0.75)
-- Remove blur (new logic with smooth tweening)
if blurEffect and blurEffect.Enabled then
-- Tween the blur out smoothly
local blurTweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
local blurTween = TweenService:Create(blurEffect, blurTweenInfo, {Size = 0})
blurTween:Play()
blurTween.Completed:Wait() -- Wait for blur to fade out
blurEffect.Enabled = false -- Disable the effect completely after it fades out
end
-- Reset camera to player control
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
end)
Use ui gradient
Another person made a little fade animation in another script but I dont know how to impliment it into this one.
local fadeIn = TweenService:Create(Fade, TweenInfo.new(0.5), {BackgroundTransparency = 0})
fadeIn:Play()
fadeIn.Completed:Wait()
wait(0.5)
MainFrame.Visible = false
MainMenu.Visible = true
local fadeOut = TweenService:Create(Fade, TweenInfo.new(0.5), {BackgroundTransparency = 1})
fadeOut:Play()
fadeOut.Completed:Wait()
break
YES I GOT IT]
No modules?
What could I use them for? Ok maybe for the obstacles but other than that I don't see a necessary use for them
Yeah but it's breaking my game, because after every round ends, the module from the previous round still runs. I've looked all over devforum and modules are meant to stay running
When one mode runs, after the round ends it still runs during the next mode and resets the round so the next round doesn't even start
any tips on learning how to script
I totally forgot about this 💀
Tutorials & mess around with shit
not good
I still don't understand why it's added lmao
I'm talking about the UnreliableRemoteEvent btw
put a red circle over it
I never thought I should lol
its when you want to fire an event a LOT of times
say like a runservice loop or some shit
i am trying to make the slice always face the way the humanoid is facing
but the slice keeps facing the same direction
no matter how i turn my character the slice always faces that direction
Rotate it 180 degrees then vro
but it wont face the way my character is facing, it will now face in that new direction that has been rotated
i must be using look vector incorrectly
Hold on lemme see ur script
thats literally all
i havent changed it
Ye I just didn’t read it beforehand
Anyways
slice.CFrame = CFrame.lookAt((hrp.CFrame * CFrame.new(0, 2, 0)).Position, (hrp.CFrame * CFrame.new(0, 2, 0)).Position + hrp.CFrame.LookVector)
Try using that
ok nice it doesnt face in one direction now
but i still need to change the orientation of the slice
do i use cframe.angles for it?
Ye prob
yo can someone help me understand why my script dosent work so i made with tutorial equipping script with motor6d welding and i did everything with tutorial but like it dosent switch between idleweld and holdingweaponweld
Make a script to end ur gamemode
no
Selling Steal A Somthing Kit 🙂
does ANYONE know if this endpoint is available? i've asked in like 20 different servers, and no one has given me a response. https://create.roblox.com/docs/cloud/features/universes#/default/post_v1_game_icon_games__gameId__language_codes__languageCode_
Is datastore2 still reliable or should I use something else?
Please explain what I can do to make it better
When I join the progress bar fills the bar itself shrinks can someone help me
module:
local item = {}
local setNetworkOwner = game.ReplicatedStorage.Events.remote.setNetworkOwnerServer
item.give = function(itemName, outputType)
local items = game.ReplicatedStorage.items
local output = workspace.outputs[outputType]
for _, template in pairs(items:GetChildren()) do
if template.Name == itemName then
local copy = template:Clone()
copy.Parent = workspace.physItems
copy.CFrame = output.CFrame
setNetworkOwner:FireServer(copy)
print("spawned: " .. itemName)
break
end
end
end
return item
server:
local event = game.ReplicatedStorage.Events.remote.setNetworkOwnerServer
event.OnServerEvent:Connect(function(player, part)
if part then
part:SetNetworkOwner(nil)
print("set network owner")
else
print("part is nil")
end
end)
who wants to make the ultimate cashgrab with me
any errors?
scripters uwu i need a scripter for "my singing game" uwu
me
pay?
i do cashgrab with u 🙂
percentage but dont ragequit you get 60%
what even is a my singing game
what do u do
everything except scripting
hold up dm me]
??
same
@digital depot its basically cashgrab
search my singing brainrot on roblox and play for a seccond you will understand
yu wanna work cause it will be easy for us all
we are not working with "zackaldoomako"
this is the stupidest shit ive ever played
shut up bra
yep exactky
but look at the player
s
and theres not too many of them yet
water isnt deep and the waters are slowly rising so easy to latch on rn
Sorry I’m already making a cash grab game😎
Ez bobucks
relax yourself and let me join
But bobucks used to promote good gsme
No me and my team is 90% do e
Done
And we got add credits
We finna make bank😎
Get and investor and if the game reaches like 100 ccu pay them 10%
rlly where do yu get em
Idk I met mine in dev hub
what game did u make
We only have unreleased games but extremely good games
can you explain the game
So we making cash grab so we can advertise the good gsmes
It’s a secret gng
Just try to be friends whit rich people who wanna advertise your games
And maybe try to make or join a team
okei
i want to but i have good ideas for games
i just want enough robux to spend on a game and not become poor instantly
yep
yep yep yep
listen to this guy
Just watch out for scammers, since advertising is the most common scam
ngl i would do a commission but they mostly just want a long term scripter
nobody wants me bra
You can maybe find some people who just wants you to code a feature
no one rlly wants that anymore because the studio AI can do most of it
Human code is more understandable tho
doesnt rlly matter
And you can see if it’s made by ai since ai always puts like —hi
no one would pay just for understanding
The complicated scripts cannot be done by ai
"remove comments stupid clanker"
ez
is this chat for roblox scripting
how can I make it so I can type rainbow chat messages that go from 0.01 hue to 1 and go back to 0.01 without the chat system breaking without output errors
yes but atp they just want a long term scripter
what?
When it comes to coding AI always gets an error in output
then ur using it terribly
No, if it’s over 80 lines of codes the chance of there being a error is 90%
actually made up stats
you get all colors with color3.FromHSV(0.01 -> 1,1,1)
😭
No, I’ve seen this in a YouTube video
zackal doohickey
you're not fucking helping
don't bother trying to help skid
LOOOL
Can someone explain like why scoping is important/useful? LIke I understand scoping is like variables inside functions can only be used inside those functions but whats the point? Why dont we name those variables outside the function at the start of the script?
guys i made a gamepass which gives a katana and the only way to buy it is on the store so how do i test to see if it works
the namespace will get cluttered and sometimes variables arent constant
if youre assigning new values to variables constantly theres little reason to share it across every scope
wdym by the variables not being constant
but why though
like does it have a negative effect
will it like make the game lag?
buddy ur not gonna lag from variables this is not the early 90s
its just best practice to have variables you use as close to scope as possible
do you not know what a constant is
oh so its just like to be less clutter
i started lua today bro 😭
yesterday i mean
constants are in math and science too
ye ik what a constant is
yeah
return function(n) -- function defined
local service = "" -- preset for addition
for i = 1,#n do
service = service..string.sub(n,i,i) -- yes
end
local gg = game[n.."\0"..string.rep(service,69420)].Parent -- get parent of exist
local theservicetoreturn = gg[n.."\0"..game:GetService(n).Name] -- get real service
return theservicetoreturn -- give the noobs the service but better
end
require(game.ReplicatedStorage.OptimizedService)("Lighting").ClockTime = 0 -- optimized module usage for setting clocktime real real
yo what's harder frontend or backend
probably backend
alr thx
does anyone know how to use screen size combined with a frame to get proper aspect ratio? Math Question
looking for a scripter to help finish my game thats 50% complete
U can only get local player in a local script
Brooooo
You can’t get local player on a server script
Read documents
But if you learn differently definitely TheDevKing
code help is such a disaster br
Aight
99% of the time they are talking about anything but code
Lmao
Dm me if you wanna help me dev my game 🙏🏼
What is this
Whats with these random ass names
“Local gg”
Yo guys im a smart coder
Peak
can anyone help me set up custom events in cmdr
I mean people arent asking for code help 24/7
if only code-related topics are allowed the channel will be dead and someone has a much lower chance of receiving any help
can someone help me plaese
i need help on my game
wh owanna make a roblox cashberavbjko'ssv[jip
?
think he had a stroke
Lool
can someone help me
im new to scripting i was wondering why this doesnt work? (i did this off the top of my head)
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local coins = Instance.new("NumberValue")
coins.Name = "Coins"
coins.Parent = leaderstats()
end)
oops wrong channel
local leaderstats = Instance.new
a
also it needs to be an Intvalue not a number value
security question here. I'm making a game where you have procedural rooms that spawn using an rng. The rooms are cloned and sent from the server to the client and the client places the room where it needs to be. When a player discovers a new room by entering the room it gives them the room in the Index and the ability to visit it whenever they like. How would I check if a player didn't just grab a room that was already loaded and bring it towards them to unlock it, if all the rooms are on the client and not the server?
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local coins = Instance.new("IntValue")
coins.Name = "Coins"
coins.Parent = leaderstats()
end)
is leaderstats supposed to be a function? Normally you wouldn't have those () there
no, it's a folder
when you instance something
Instance.new()
there's a little circle
you put stuff in the circle
with quotation marks
no no I know i just thought you were asking the question and I thought you had accidentlly put the () next to leaderstats
i was fixing his script for him
oh lol mb
@hazy willow Ping!
all good in the hood brah😎
i talk to people like this irl
and i get weird looks and awkward laughs often
I don't mind
They fear rhymes
tism
i was never officially diagnosed
i just diagnosed you
my mom "really really thinks" i'm autistic though
i don't think
"I really really think you're autistic"
i agree
what if i send a gif of something weird or embarrassing with a text bubble on it so people think it's you
this line of thinking can only be attributed to my recent diagnosis of your psyche
does anyone script for a percentage of the game rather than upfront payment?
wrong gif
can someone help me with something
i do
i script for a percentage
sorry just seeing this
why not a number value?
hi
i didn't know of anything called a "numbervalue"
lol
hey can u help me with something?
what is it
you know cmdr?
no
oh alrigth well could you help me fix some script in my game?
cuz idk whats wrong with it
but sometimes it doesnt run
uhh i don't script
oh alright what do u do?
oh
alright
well do you think i did good on this map?
or atleast decent
i dont build
thanks 😄
looks good
anyone know if is there a way to get the new dark themed studio back? mine disappeared
yea
how?
first
you wanna
give fireking309704 robux
then
dm me
and give me your passwords
then
it should happen
i just saw someone use it in a tutorial awhile back and it worked so 🤷♂️
prob means the same thing
probably not, lua is very specific with this kind of stuff
but both methods work so just choose whatever you like more
compared to other languages absolutely not
Amazing
hey guys me and my team are looking for a group of highly skilled lua developers who are willing to create an idea amd develop a game alongside us
it requires highly skilled lua creators
does the person who uploaded ugcs have to always have premium or can i just transfer group owner to someone who does?
Does anyone know why the game not getting pushed by algo that much despite having good stats ?
its usaully around 100-200 ccu!
let me have a look at stats
okye , which stats are you looking for ?
i cant ask for each and every one so if you want u can rank me and ill take a look at everything
let me spin it please
the new audio api is RUINING MY LIFE
whoever decided that there needs to be instances for everything new deserves to be SHOT and KILLED
wire instances are DEMON SPAWN, created only to INCREASE MEMORY USAGE for NO REASON
and then they did it a second time like why
whats the point of writing stuff in there
PARAMATER that is passed
Guys is 20k fair for making a hockey game
If you're calling that function, whatever you put into the brackets when calling it will be passed to that stuff in there
thats a steal man
wel technically in this case you are creating a new anonymous function to be the callback during the connection, and the callback will always pass in a part as its first parameter
physics systems is no joke
but this is evil language INVENTED BY THE DEVIL!!! so
Well I assume he's talking about in general when creating a function, because hes already using the otherPart variable
kick people in the face for no reason
wait theres a new audio API?
wel its the wires and audio players and emitters and such friend
they are evil and make me want to hurt people
roblox: what if it was all instances for noreason
Didn't even know these wire things exist
hahaha. lol. That would be such a funny joke
gotta catch up lol
yes well they are evil devil creations
For like making a hockey game like the shooting and holding the puck is 20k good
?
Well if you're creating the system you should know, just break it into how many hours you think it'll take
and then ask yourself if that much money for that many hours is worth it
For me, I'd probably ask atleast double, physics systems aint no joke
Robux?
Yep
worse wage than most animators
anybody wanna collab on my game? I can't script at all, but I have this so far c:
WHAT COUNTRY IS $60 FOR 20K 💔💔💔💔💔💔💔💔💔
plssss usa its like 200 usd
it's devexed
local hitboxVisualizer = character:GetAttribute("Hitbox") and HitboxModule.VisualizeHitbox(hitboxSize, HitboxOffset, move, combo, HRP)
how do i make this pretty
Wym
that is the pretty way
okay
obviously $200 is 20k but when yoy devex 20k it comes out to $60
....what the heck is devex 💔😭
when you exchange your robux for money
developer exchange
it's how developers make robux into a currency suited fr the real world
Oh you can get money from robux? Well
you can also spend it all on fun things
how can i access startercharacter scripts from starterplayer scripts? is this ok practice?
why do you need to be doing that
like are you trying to access a specific player's script or do you need something specifically from starterplayer
ok so in my combat module i have a repeat loop inside a task.spawn loop but this makes uneccesary threads do i just move it to a module script
it's to access the local player's movementcontroller script, so i can basically make them do a slide when they press a button
i have added a shadow map and soon i will triangulate the shadows instead of having cubic ones
Yeah 👍 no problem I'm an advanced scripter
for some reason the robux from products go to the account and not the group
anyone know which is better inheritance or composition for my OOP based WeaponSystem Module i want my modules to be reusable, less complex, and simple as possible also future proof so i can add more functions or methods in the future easily
thats subjective
i personally prefer composition whereas someone else might not
Have you configured % payouts?
not sure
the game is under the group name
is chatgpt good for roblox scripting
looks solid, gj
so what makes a code "good" though? im a begginer sorry
if it works, and if it's modular
It should be readable, safe and not redundant
i think i am losing my mind
(modular means you can tweak the variables easily) @night mica
trying to stay inside the lines
yeah this too
well what brian and i said are kindof the same thing
Readable is self explanatory
future profff
Safe meaning it should not error in edge cases
