#code-discussion
1 messages · Page 249 of 1
Damn
balanced enough??
anybody want to make a game for fun
something simple
i will for $20k
i need practice
do alone
then learn it
u can learn it better than alone
learn more
half my scripts don’t work
learn how to make a AAA game title in roblox
???
???
whats aaa title
tripple A title
what is that
like gta
o
whos making a tower defense game?
i am
yes indeed i am and my game alr has progress
can i help im bored and wanna make one
ill shoot u a dm rq
bro is not fisch
Yeah do you know how to build
If u can build I’ll do the rest
Where can I read up more/learn about state machine/managers. I watched ArtheDevs tutorial but I’m still confused
only in realistic blocky style
is it hard to learn how to dev as a beginner
Depends ok how you learn
Those who know ☠️
If you do hands on expereince and learn how things work instead of just copying you’ll learn much quicker than just watching videos
Alr
Recently, while working on an order, I thought, "Do I really need design?" And honestly, why am I even doing this? I plan to dedicate my life to programming, I'm going to enroll in a university in a field related to programming. Maybe I should focus my energy on that instead? And not on something I'll drop as soon as I enter university. Even though design brings me money, it has stopped bringing me joy—I don't enjoy it anymore.
hey everyone, what do you guys think is the best, most efficient way to make a roller coaster/cart ride that doesnt derail or be stopped by blockages on the track?
Hahaha
lool
am i just stupid or why doesnth this work
local char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
local hum:Humanoid = char:WaitForChild("Humanoid")
local class = char:GetAttribute("Class")
print(class)
local IdleAnim = game.ReplicatedStorage.Animation
local Idle = hum:LoadAnimation(IdleAnim)
Idle.Looped = true
Idle:Play()
print("Idle played")
im trying to make a health bar that doesn't leave the background so when i script it it would do pretty much what im doing on screen now by moving it
try add a Idle.Priority = Enum.AnimationPriority.Action
Use a 'UIGradient` and affect its transparency
i set it to action in the animation editor
but i need the actual health to go left not just fadely dissapear
It won't fade
Your gradient will raise from 0-1 instantaneously
i even added
task.spawn(function()
while true do
if Idle.IsPlaying then
print("Idle is playing")
else
print("Not playing")
end
task.wait(0.1)
end
end)
to test if it was playing or not
it prints playing once
and the rest not playing
shit u lowkey smart let me try
how come the way i was trying before dont work tho
anyone here a programmer (as in non-roblox) web-development etc.
local raindropspawned = 0
while true do
if raindropspawned >= 200 then
break
end
raindropspawned = raindropspawned + 1
wait()
local raindrop = Instance.new("Part")
game.Workspace.ChildAdded:Connect(function(child)
if child.ClassName == "Part" then
wait(2,5)
child:Destroy()
end
end)
raindrop.Parent = game.Workspace
raindrop.Position = Vector3.new(0, 67, 0)
raindrop.Size = Vector3.new(0.5, 2, 0.5)
raindrop.Transparency = 0.5
raindrop.Color = Color3.new(0.235294, 0.796078, 1)
end
``` Ive made my first ever script that servers a function :D
Wrong discord
Because its primarily focused around roblox development
You wont find much luck here for other software engineers
fair enough
Look thru LinkedIn or Indeed or other software engineering discords
someone has an idea on how to start making a brainrot td could be a fast money making game
I was more of looking for like-minded young programmers
Im young as well and just wanted to work on a startup but like I dont know any people
try not to put connections in while loops (ChildAdded), it's not a good thing for your game. good work tho! :)
whats the startup..
Usually you meet those in college being honest
yeah fair enough
im a junior though
and im impatient
i've already like got some good progress with open source projects just need someone to work with
did u try to use ai helps alot

xd
can any1 help
Because you are adjusting the image's size, which causes it to stretch
What is the problem here?
its leaving the background box when i dont want it to
it shouldnt go past this
i got clips descendants on asw i js dont know why its not doing it
Are you changing its size?
yes
Don't do that
Do as I recommended
how would you code the gradient then
can anyone help me code basketball animations?
What should i do instead i didnt know how to delete the parts after the got spawned
setting up server infinite loading screen roblox studio
Does anyone know how to check an asset id in studio? If yes please lmk how
--!strict
local Frame = script.Parent
local UIGradient = Frame:WaitForChild("UIGradient")
local function generateTransparencyGradient(percentage: number): NumberSequence
return NumberSequence.new({
NumberSequenceKeypoint.new(0, 0),
NumberSequenceKeypoint.new(percentage, 0),
NumberSequenceKeypoint.new(percentage, 1),
NumberSequenceKeypoint.new(1, 1),
})
end
local function simulateTransparencyGradientAsync(duration: number)
local secondsElapsed = 0
local alpha = 0
while alpha < 1 do
alpha = math.min(1, secondsElapsed / duration)
UIGradient.Transparency = generateTransparencyGradient(alpha)
secondsElapsed += task.wait()
end
end
simulateTransparencyGradientAsync(1)
This seems to create an artifact at a full percentage though
You can use a simpler configuration instead:
First node has a time of 0 and a value of 0
Last node has a time of 1 and a value of 1
Additional node has a time of 0.0001 and a value of 1
You'll then control the fill using the X offset
This approach requires different configurations for different rotations
This specific configuration tends to a left -> right horizontal fill
@hoary cedar
do yk how to make a global chat
where anyone on a ui can chat at once while using it?
A cross-server chat system?
dms il send a pic
If you can't send it, use your communication skills
Im in your dms
That does not make sense to me
globally, and it will show how many people are connected
What does it mean to be able to "chat at once"
well I would show you a picture for better reference
Or explain what you mean by "chat at once"
What do you mean by "global"?
anyone using the ui on any game can chat on it at once
at the same time*
Isn't that how a chat works?
Why wouldn't you be able to chat at the same time
That's how chats work
Obviously a UI
^
Meaning players who are not in the same server can chat with players in other servers
You need to say that then
not just server, game as well
See how exact and clear that was?
Yes, I do know how to implement a system like that
I am currently employed, so I do not have the time to implement such a system
ah, so it takes time then
which is what your implying
I thought it was a quick 1 day project
I just need the logic, the ui is done
It is. What I mean by that is that I cannot spare a single day
which is what I was going to send you in dms the picture
On another note, with Roblox's modernized chat pipeline, such a system may violate ToS
I can supply you with the necessary API members to complete such a project, @robust wyvern
Can you script it yourself?
Ill give it a go 😆
I thought you needed a vps
Hop into #1138239635290587216
but I haven't done something like this before
I'll explain it to you
Mhm
@hoary cedar I appreciate your help, I had to leave sorry
Im sort of understanding it now
You might be able to get away with using a RemoteEvent. You'll have to use non-chat based filtration standards, which may violate ToS
Just be sure to use TextService:FilterStringAsync -> TextFilterResult:GetNonChatStringForUserAsync
And of course, TextChatService:CanUsersChatAsync
MessagingService remains a constant
thankyou
yo
thanks for that gradient thing it worked
i have a cs assignment due in a few days and im so desperate im gonna try here - does anyone have experience with Ros2 (and gazebo, rviz, etc)
that's not nice :(
you profile tells me david bazuki would love you
how
:3
;3
making a lil something for people with cutscene troubles, mostly blender animations
gonna finish this plugin soon
how risky is it to update something at 30hz for a layered chase theme like forsakens
if its on client it will probably not be a big deal
and if it turns out being too performance heavy you can just decrease the rate
if you need to do it on the server its gonna suck ass
Does anyone uderstand how to do Coroutiness
pretty simple, what would you be using it for
i have just watched a tutorial on how they work and wanted to hear from somone who has done them
not yet using them
yeah its on the client i could probably put it down to 20 - 25 but i think im safe
just coded a block that can move 10 studs. is this progress?
probably
shhhh shhhhhhhhhhhhhhhhhhhhhhhhhhh
shut up buddy
robot simulation
don't use them
task library is lowk better
there might be some usecases for them
but in general use task library
Roly
ya
I just wanted to learn everything to make a crazy cool game
What exactly causes TextButton.Activated to fire a signal?
Like everything such as hovering
or touchtaps/MouseButton1Down
When it’s pressed or fired
Anything that can activate the gui
So basically anything
I've been using seperate connections for pc and mobile
Any input toward the GUI, keyboard input touch input mouse input
alr ty
Works with mouse, touch, gamepad, and keyboard automatically basically
Does that include hovering though?
Nah
alr ty
Wsp
Just go on roblox documentation
Ai
The moment I saw some comments I knew it was ai lol
comments dont mean ai
the fact that it literally says --Your Model Name is kinda weird tho
Any available scripters to check my game before release and add minor features? I can pay like 30usd, dm me must be experinced and able to post in HD..
the chance that its not ai is less then a chance of close to infinity numbers of monkeys writing shakespeare 😭✌️💔
Free model / dev forum
Ik ts is ai but anyway
Can't you just return whether the input.KeyCode is either W or A or S or D to reuse in other functions?
local keypressed = nil
local function checkInput
uis.InputBegan:Connect(function(Input)
keypressed = input.KeyCode.Name
if keypressed == "W" or keypressed == "S" od keypressed == "D" od keypressed == "A" od then
return keypressed
end
end
And then u call the function wherever you want and check one of those 4 keys and reuse them. It's better than making separate ifs imo
Od
coding on mobile aint for the weak 😔
Fr
guys is anti dex anti cheat safe to use?
if you know what's in the code and trust what's in the code, yes
it's your responsibility
always make your own anti cheat
do you have any tower framework?? I'd want to see one
I think this is an OK resource https://www.primalcam.com/post/robloxstatemachinetutorial
If you’ve ever built a Roblox game with moving enemies, interactive NPCs, or complex player abilities… you’ve probably wrestled with messy “if” statements, unpredictable bugs, or spaghetti logic. 🌀It’s the same story for a lot of devs: you start small, then suddenly you’re managing 10+ conditions, timers, animations, and events ...
very first plugin, basically helps out with cutscene exporting (camera wise)
https://devforum.roblox.com/t/kulleros-cutscene-exporter/4271005?u=kuiieroo
After spending some time browsing the DevForum, I started noticing a recurring issue: a large number of developers struggle with creating cutscenes in Roblox. More specifically, many people aren’t sure how to properly animate scenes, export those animations into usable frames, or script them in a way that works reliably in-game. Cutscene creat...
bro cnesoured fukc
fukc
any1 know how to make it so when I hover over my ui it goes like the first one
so basically when you hover over the grey ones it goes to that purple
use .MouseEnter() and .MouseLeave() to trigger it going purple or black
THANK YOUU
THATS THE PART I GOT STUCK ON
who is a pro about analystics
Nice ui lol
is this acceptable to go into algo
https://www.roblox.com/games/133061455137098/Watch-cringe-peppa-movie#!/game-instances it took me 1 hour of work
The whole game in just one hour?
wouldnt be shocked lol
i joined it, its literally just a big screen that plays videos with a bunch of chairs in front of it
yeah a lot of work ikr
Oh 😭
Bet that was a side hustle
And they say AI is gonna replace us humans 
for ads i believe its actually humans 💔
how come?
I'm a bit fluent at HTML and lua and js and python and a bit on Java
I'm okay to go to web development

A 9 year old made a app in a yt video in under a hour with little AI as possible 😭
what 🙏
Bro made more progress without ai then 99 percent of all computer science graduates
CS isnt about the coding itself, its about building a foundation for how computers process what you type. Most CS majors are bad because they rely on the degree to become professional programmers, but its not the end goal.
The problem with that kid's app is that its probably poorly built and easily breachable with minimal experience in hacking.
True
The kid said he made this app for fun
I sound nerdy as hell, but i just hate when people slander shit that doesnt deserve it.
Probably, and it sounds like he succeeded
U are nerdy
Yeah
I bench 100kg for reps 🥺
Cool ig
webdev in js 🤣
🙄
good luck learning a new framework every week
webdev sucks, bad place
native development ftw
Lol
Is 100+ non moving viewports with models inside bad for performance?
Brother what do you need 100 different viewports for?
depends what's in them
the more complex the contents, the worse the performance
thats 100 items
just a mesh inside
Dynamic Ledge detection
As long as the poly count is low for wtvs inside them and you aren’t moving them, I think it would be fine, but it really just depends on the specific thing you have inside the viewports
can yall tell me where to sell my vfx gojo battle ground pack with sounds and effects and every thing , ready to be used and my cartoony gui pack??
i might be him
Locker like in doors
How to customize the studio shortcut in the new GUI?
📈 W thumbnail, I just played your game
AAHAHAHHWAHQHQWHSHS
bro
can someone give me something to script. Just like anything
i would go to hiring but im not prepared for that
how do u even do that
like a fun thing?
Dm if you have 100k+ dead game!
my own algorithm
a lot of math
i tought raycast
like u send a raycast to the front and if there is a object u just go up
nvm it doesnt work
mb
try doing it 🫡
pretty cool
stop giving me fun things to do i got work to do 
Just going to cache the data and move on
After this I'm doing spiderman web swinging fr
just in general a system that I'll use when working on games and comissions
you know any games that have that system?
i mean mf I would play that game like crazy
maybe make a parkour but a simple one nothing too fancy that makes ur head hurt when playing?
with tag
i had the idea of making parkour tag with someone
shoot why didnt u continue
decided to work on a custom character controller & animation replication for fun ;-;
roblox's default character controller sucks anyways
I once starting reading the default scripts that come with the character they just did a "As long as it works"
yo how do u customize the hotbar where it shows a item that u can buy
kinda need mroe info
yall is this bad structure?
(i dont use oop in there, just old school table with a function thing)
Dm if you have 100k+ visits dead game.
yea sure i just need someting to test myself. maybe slighty difficult but not taking hours to do
make that edge detection thing
not sure how long it takes though
Dm if you have 100k+ visits dead game.
Make a ledge grabbing system
This just means you talk to the ai like a degen
maybe
i may or may not treat ai as a slave
"FUCK! GET RID OF MY ERRORS NOW!"
its more like
ur gonna get graped and thrown in a industrial press if u dont fix the error
i think AI gets the gist
Honestly, the second I started actually programming and stopped asking AI everything, I got much better at actually formulating what I wanted and the AI does it even better, I love using it for things I don't understand and then reverse engineering what it's done.
not entirely true but yes somewhat accurate
to be good at vibecoding u need to understand code and be able to explain exactly what you want and how to fix
its like talking to a senior dev
u cant just throw 100k lines of code at him and say fix bugs
u need to explain in detail how to fix, what to do, where to fix, etc
I mean the second you got 100k lines of code and you have to ask ai to fix your bugs you're already doing something wrong I feel like
lot of good programmers out there try to shortcut that and get disappointed when "make me a game engine" prompt doesnt work out
i mean i had 80k and i was doing that
it aint wrong
espacially if the code is humanely unreadable
due to complexity
if u can understand this ur superhuman
I mean this is just bad var naming
You clearly name your functions and vars and this'd be 100x more readable.
brochacho
u cannot make better var naming for assembly
is this ragebait
you can always make better var naming
I have read this on devforum
! 😠
you can see that the biggest issue is that you're not using camelCase
Damn that's gas
most luau scripters have not seen a line of c++ code or assembly
1+1 in assembly is difficult now imagine now writing an OS kernel or physics calculator for apollo 11 lander
If the group is verified how long can a member wait till the user is eligible for a one time payout ?
kiro sucks tbh
antigravity is better
but ratelimits
if i create another account it increases refill time in other accs
so if i use 1 week worth of gemini i need to wait 1 week for it to refill
hey
does anyone know a more efficient way to write this code ?
it works just fine but i was just wondering if i could make it more effcient and overall make my code cleaner
Who owns a dead roblox game with 100k+ visits? DM me!
perhaps wrong channel
hey what does this mean
yeah until you have 7 thousand lines of code, no module scripts, don’t understand what happens where, and need to add the final gameplay touch that interacts with every system in the game
you said you never finished a game. it’s for this exact reason
unless it was somebody else
and god forbid you take a break for a week and come back to look at the code
Using Modules and OOP is slop and costs performance
(i am joking)
thank god ahaha
if you know how to program, debug and optimize correctly performance should almost never be an issue
I love modules
i remember
speaking to a guy
who when referencing lighting service
always did game.Lighting
ye that hurts my eyes
i’m just getting into structuring my modules better atm
WE LUUUV MODULES
🤝
Mods should honestly add a module script emoji
what do you think about grouping features by folders?
instead of whatever you’re doing
idk i’m just trying out new things
oh so you mean like petSystem -> Client/ Server
the only problem with that is that its a bit more isolated
Way easier to work on individual modules, swapping things out and such than working on multiple big ass modules
Client -> Vehicle
Client -> PlayerData
Client -> Guns
each folder has main local script that calls and inits controller
and any additional subclasses i have in the controller modulescript
ye but having one script (single script architecture) and load all the controllers at once might be better
i was thinking this exact thing
ye i would do that
for me it would be:
Client (local script)
-> initializes vehicle service
-> -> vehicleservice.new() --Creates a new vehicle controller
nice thing is a feature is completely grouped inside of the folder, so assets, ui, etc
i’m
do you have any good game ideas
atm
i’m making a road trip game similar to road to grambys/ a dusty trip
where you drive a stupid guy very far to some destination with friends
obstacles on the way like different mobs and maybe the dude doing dumb things haven’t got to that part yet
i think roadtrip games are pretty cool
don’t know how well they perform in the algorithm though
if you add really unique features it could do pretty well
i also really like those low quality sort of horror games where you’re in a confined space so maybe something like that
🤷♂️
just bouncing around ideas
ye i suck at ideas
thoughts?
Love how everything is "Service"
def not me
do you guys not have services as singletons?
and those singletons then control classes inside of them? like if for example you have nametags
you call a function in the singleton to add a nametag to some entity, and in the singleton it manages all the name tagged entities as instances of a class if that makes sense
reason i ask is this
is it better practice to allow the creation of multiple vehiclecontrollers even though there will only ever be one that exists?
i forgot what a singleton is but without OOP yes
thats the general idea yes
ye its totally fine using OOP for a controller if there is only one
sorta like a roblox service
exactly
my codebase will be so much better after this refactor
i’ll be implementing features like butter
ye its awesome coding like this
Anyone owns a 100k+ visits game? DM me!
GOT A QUESTION
caps
making a mine (the thing that explodes
should i use a touched event
or does someone else got a better idea
iyeah tocuhed event with debounce
thanks guys
Does anyone want to help me in my game voluntarily?
i will be paying if the game makes some
I lowkey think it will
Anyone owns a 100k+ visits game? DM me!
Dude. There's a problem with it: sometimes it doesn't work if the player moves very fast or if the physics lags. If you want to do it smarter, use a Spatial Query. Well, basically your method will work for a regular mine.
what is the difference between a script, localscript and a module script, and when would i use each
Anyone owns a 100k+ visits game? DM me!
I need help im making a game and when you join the game you suppose to pick a team (kind of like the blox fruits way ) and i did everything (no errors or warnings ) but when i test it it doesn’t pop up (i also made the leaderboard team thingie )
Yea I do
I like how this new "Async" is supposed to give us more clarity for the code but just makes it easier for us to forget about it
Make sure that in your ScreenGui properties, the ResetOnSpawn checkbox is turned off
Anyone owns a 100k+ visits game? DM me!
guys is it possible to upload a video to studio and use it as a loading screen of a game?
Yea I do why
"Normal" Script(or Server Script): A script that work in server side, you should use it when scripting stuff that replicates on the server, such as leaderboards, boss spawner(im bad at examples but yeah, that type of stuff).
Local Script: A script that works in client side, use it when scripting stuff that replicates on the client, such as GUIs and things only the player can interact with.
Module Script: A script that makes everything modular and reusable, lets say you have an obby game with a lot of kill bricks, you dont want each kill brick to have a script that makes it kill the player, so you would use a module script to apply that function to all killbricks
Getting scripts from chat gpt or YouTube description is best way🗿
Hi guys whats better for hitbox, raycast region3?
Use chat gpt
It will help
well no im asking for other people's experiences
chatgpt has no experience
Ah ok
fuh is u talkin bout....
chatgpt is a multi billion dollar large language model
ima say it again im asking for other developers their personal experience
If you don't understand that maybe ask ChatGPT
hi can anyone help me fix a thing?
Not to glaze chatgpt but theres a certain audacity to getting the first opinion you get from the next 3 random people to click on this channel rather than the multi billion dollar llm
Does that make sense
whats wrong with wanting other devs their experience with certain features and functions?
i want practical advice not theoretical
Ur right my bad idk why im hating
you’re literally asking if you should use a deprecated api 🥶
For hitbox I like to use a combination of casts, or also sometimes just a distance check + angle check to make it more forgiving its better for player experience
It depends on the game but its ok to use a lot if you need the high fidelity
so if a player is like JUST outside of the hitbox you give them the hit anyway
?
Nah just like in general a magnitude check instead of a raycast
And dont raycast at all
lol
Obviously only for melee, for any kind of projectile you still need spherecast/raycast etc
shapecast?
If I dont know how to make a tycoon in scripting, and if I want to do a tycoon, should I learn the "right way" to do a tycoon (with devforum/youtube), or should i just do it on my own way and see how it goes even if its not the right way ?
both
Wdym
learn from a tutorial but dont copy their tutorial 100%
deviate a bit and do your own thing with it
A tycoon is a full game, there won't be a singular place that will show you everything unless you copy a yt tutorial
or you can do it entirely without a tutorial too, arguibly better to learn but takes more time and energy
Which isn't a good idea for learning
So I should just do my own?
i dont think u should try to learn everything from 1 game or tutorial anyway
I see
Idk what's your goal? To make a tycoon or to become a scripter?
its whatever you want man you can also do both you know, watch a tutorial. Do it, learn it. And then make it again but a little different
Become a scripter
theres no 1 way to do it
Don't just blindly follow a yt tutorial and script the systems by yourself
Rootmotion manipulation
🤔 might be time to take some research and make a plugin related to it
Ill prob try on my own, since yall said its not much much different as tutorial, and I think that when I do it my own i will encounter my errors
Done still nothing can i give u accesess and u check?
Team create
yall how i can get the all of the parts from a model and change their position one by one but at the same time
use for _, v in pairs
okay it kinda works but i just want to change its y pos but it also changes his x pos
did i do something wrong
imagine not knowing how to use TS in 2026 🥀
im sorry but im a beginner🥀
i m joking bro 😭 ✌️
you want to tween 2 axis at the same time?
whats the code even about
ja
thank you so much this is a great explanation
you are welcome :)
❤️
literally ran into this im just checking hte players position after theyve touched hte mines ngl
Sorry, not today.
Ok
can someone help me with the roblox event interested module
anyone know how to access the player's humanoidrootpart through their character?
character.HumanoidRootPart
click in the file button in the top
who can help me make a slap tower type game?
ok
then unselect the "Enable code-assist" button
tysm
no worries
yall know anyone who needs a x coder?
What
in order to use path finding on my skinned mesh from blender, i need a humanoidrootpart. problem is, when i connect the humanoid rootpart, it messes with the bones and im unable to animate the skinned mesh. what do i do?
local tool = script.Parent
print("Script running")
tool.Equipped:Connect(function()
print("Hello")
end)
tool.Activated:Connect(function()
task.wait(1)
print("Hello")
end)
why doesnt my script print hello whenever i activate it
does it have an Handle
on the tool proprieties disable require handle
OH my god
I am so sorry dude I was genuinely tirpping off my mind
thats such a weird auto-enabled featur
ik
oh god who can help with my game
I have an enemy AI system that uses MoveTo(), I turned off autorotate so I could make the enemy always face the player rather than the Moveto since I added strafing, but I can't figure out how to get it to smoothly and consistently look at the player, anyone have a solution to this?
I tried alignrotation but it seems to not work well here, forum seems to think so too
Only idea I have left is bodygyro
obviously would rather not use deprecated api, so Im sure theres a better way to do this
ignore him this is the best way to use tween service
you should change print to warn
its more efficienrt
modules dont love you
?
i means you have an animation on tyour animation id reccomend you script the legs to be anchored
i do tho
wdym
are you gay?
your hurting them
yes u can hurt me
r u a furry?
no why?
what the actual fuck
idk just gives me cat vibes
its just my pet cat ...
no ofc not that would be weird asf
why do you name them like this
Any TypeScript discord servers?
what is pascalcase again
SomethingDoingStuff
it takes like 10 extra ms bro
camelCase >
multiply that by 100 or 1000 and it adds up
my goat 🤝
do you spend more time scripting or playtesting
cleanest look to me, probably not for script names though
scripting?
damn then its just me
whatever works
exactly
yall would this be a good idea for a module script
sorry hold on
local tool = script.Parent
local RemoteEventPunch = tool:WaitForChild("PunchEvent")
local player = game.Players.LocalPlayer
local animation = script:WaitForChild("PunchAnimation")
local debounce = false
local trackAnimation
local function setupCharacter(char)
local hum = char:WaitForChild("Humanoid")
local animator = hum:FindFirstChildOfClass("Animator")
if not animator then
animator = Instance.new("Animator")
animator.Parent = hum
end
tool.Equipped:Connect(function()
trackAnimation = animator:LoadAnimation(animation)
end)
end
if player.Character then
setupCharacter(player.Character)
end
player.CharacterAdded:Connect(setupCharacter)
tool.Activated:Connect(function()
if debounce or not trackAnimation then return end
debounce = true
print("punch")
trackAnimation:Play()
task.wait(0.4)
debounce = false
end)
why isnt the script animationing
little more context?
i click and the animation does not work
let me scren record this
naw naw its good
you have to load the animations
within the tool activate
this function```
why do you have that seperate from equiped or activated
dude we like spammed ai and our script just went into pieces because of some weird bug
btw we are in like some sort of fusion of r6 and r15
is that axe ai too
lmao no dude we used ai to try to fix our code because we are losing our mind
local tool = script.Parent
local remoteEventPunch = tool:WaitForChild("PunchEvent")
local player = game.Players.LocalPlayer
local char = player.Character
local humanoid = char:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")
local animation = script:FindFirstChild("PunchAnimation")
tool.Activated:Connect(function()
local trackAnimation = animator:LoadAnimation(animation)
trackAnimation:Play()
print("this works")
end
)
this is the non ai script and for some reason its not working we also put track animation outside the activated function
ai was a last resort since we are so confused
we started coding like yesterday and tryna learn animation playing
is there any errors in the output
might be an issue with the animation
Is the animation an R6 animation?
yes
it fixed holy fuck i love you bro we did this like 90 times but we did some weird r6
just did it. took like 10 minutes. not the animation. but the ledge grab
now make it so you can move to the sides while grabbing the ledge
guys wen i move my model to a pos, it keeps flipping upside down, why is that?
technically no, but it'll never be called again
actually maybe, i'm not sure if destroying the player object would count as disconnecting it
giving away a free for game cuz i dont want that shit in my group anymore, dm me if interested
a game for free*
2 people are receiving this error from all the sound assets
but some other people are not
anyone knows why?
its right in front of your face
As I said, for some people it works, for other it doesnt
so im assuming its not a moderation problem..
again its right in front of your face
here are some arrows if you need
no need to be so rude, this error has been happening for a while now, is it normal to take a month to review?
i dont think thats the reason so i came here to ask
need to wait longer, roblox reviewing sucks buttcrack
i have never had a case where it took longer than a few minutes to get audio reviewed
you could try reuploading some and see if that fixes it
if it really hasnt been reviewed then maybe itll get reviewed quicker on a reupload lol
i hav no clue, how do i check if the asset is under review besides that error?
because it works fine for me and some friends
i believe in the asset manager it will show a little pending icon next to it
They take 10 minutes MAX, but usually 1 minute is enough. Are the sounds original,
( you uploaded them ), and is there any chance of copyright?
When they are copyrighted i receive a message in roblox
also the sounds work, but a few people have this problem
Are they having this issue in a test session, or in a published game? If the issue is in a test session and the experience is a team create, relaunching studio for them could help
Any chance anyone could take a look at my code that's gonna traumatize them. Its suppose to make the animatronic follow waypoints and if they see the player they would be chased until it loses sight of them.
sure
send it to my dms
how much scripting experience would it take to script a game like grow a garden or steal a brainrot
anyone has any tips on how to get better at physics for basketball game
to make a very advanced one
like 4 months
and other things such as guns,cars, airplanes
thats not as bad as i thought
wdym tips
just know how to script and how to use instances
nah but an exact span of time i wouldnt think so, some ppl get skilled quick while some others take more time, for scripting a game like grow a garden or steal a brainrot i would say more than 10 months or something
and bc ppl learn differently
damn
it really depends on the person
you're right, forgot that kids have a harder time coding
just saying, thats my point of view
exactly
and some others waste time because they dont do any of the learning process, they usually skip to try to make a steal a thing game
are u a clone of me
no, I'm not emo
im not emo
I don't like anime
oh
whats a travis scott
do you guys know anyone that is experienced with npc programming (good pathfinding and more complex actions)
uhh im familiar
what r u looking for?
btw i may take time to respond, outside rn
Dms
damn i cant see whre is it
How do i exchange the dev product is it the product id
I have a dev product\
to this
what is it ur trynna do
So basically, my dev put in a product id I guess
What product id do I need
this is not a help chat
cool, call a mod
nobodys helping him in dev discussion, he doesnt know where to post it
devforums kinda are mods
no nvm im thinking of sb else
so u want to replace what he has purchasable
with ur product right
Exactly, it seems messed up
just
click the ... ( left side beside OP Starter Pack )
copy the asset id and replace it in the scripts
with
I did, It's not working
wait
No it's not that
It's my developers product pass
see where i wrote --your id
it should be smth like that
I assume, the photo wont show and text is different
im confused ngl
here its called starter pack 1 but ur pass is called OP Starter Pack
So how would I know if it's mine, I don't see the OP starter vector
i have no idea
in dms send me the script
btw since we helped with fixing this we shouold get a ticket that lets us buy gamepasses in your game for free
local CinematicService = {}
local runService = game:GetService("RunService")
CinematicService.data = {}
local changedEvent = script:WaitForChild("CinematicChangedEvent")
function CinematicService.onChanged(callback)
return changedEvent.Event:Connect(callback)
end
function CinematicService.setCinematic(player: Player, show: boolean)
if runService:IsClient() then
return
end
script.CinematicService:FireClient(player, show)
CinematicService.data[player] = show
changedEvent:Fire(player, show)
end
return CinematicService
is this decent architecture
why do you have a wrapper to connect an event
idk
this isnt even OOP 😭
Huh? Does this not error when you give it a string?
Like, tostring("hello")
whats the proper way to replicate that table, or do events that hit both server n client
local CinematicService = {}
CinematicService.__index = CinematicService
function CinematicService.new()
local self = setmetatable({}, CinematicService)
self._playerCinematics = {}
self.OnChanged = Signal.new()
return self
end
function CinematicService.SetCinematic(self, player, show)
assert(RunService:IsClient(), "CinematicService must be ran on server")
self._playerCinematics[player] = show
script.CinematicChanged:Fire(player, show)
self.OnChanged:Fire(player, show)
end
return CinematicService```
--- server
local CinematicService = require(path_to_cinematicservice)
CinematicService.OnChanged:Connect(function(player, show)
print(player, show)
end)
--- client
local CinematicService = require(path_to_cinematicservice)
CinematicService.CinematicChanged:Connect(function(show)
print(show)
end)```
so metatables sync when in replicated storage?
no
how would you go about making that table be synced
just send a event to the client with the new cinematic and go from there using a remote event or networking lib
keep track of the cinematic on the client instead of server since youre doing nothing with it on the server
do you have to use wally and the signal stuff
guys
anyone know
how to
make fear mechanics
in roblox
for horror game obv
you can make your own signal impl
but in this case idt u need it
ugh i dont wanna set up rojo
you dont have to..?
you dont even need wally
maybe learn the language before touching an advanced api
i know lua, just used to c++
In productid shouldnt you be using 3517541050 not 8285480455
detect if players are looking at something using a dot product and when they look away change what was there before
have the player try to collect things in the dark (basically all of the horror games have that mechanic) which I find boring so I dont do horror games
I’m using the 3 one now and that won’t work either
i dont have things like that
in game
but ok ty
jajaja
i need a different one
woof
could try adding a mechnic I saw managore use. Completely dark but you have flaming arrows that help you see. you have limited arrows so you have to use them wisely against enemies
hidden things in the dark too like spikes that you might step on if you cant see
just came up with an idea that might be fun, gardening after dark.
would be neat with plants that glow
glow growers
Cool
helo
Hi
im having a problem with my script
it's for an Iron Man suit
for some reason all the parts of the suit
won't attach to my body
What method are you using?
method?
as in?
sorry i'm not really experienced with scripting
That's okay. I was reffering to how is it attaching. Like welds or is it a mesh that overrides your character
mind if i send the script?
Sure
is it using weldconstraints
You could send it to me through dms if you want.
lemme check
i believe it is using mesh
and a few welds
sent it
check to make sure the parts arent anchored if you see them just floating there
they aren't anchored
i checked them
they all just fall through the ground
do you see them in workspace at all
i do
if theyre falling through the welds arent getting setup right
is it r6 or r15
i meant server storage
r15
make sure the script is looking for the correct bodypart names to weld to
cause the names are different for each r type
guessing thats the issue if you just grabbed the script from somewhere
only one I think might attach is the helmet
the helmet ain't attaching tho
maybe its the character thats not getting pointed to correctly
Id have to see where you figure out the char model to weld it too
Hey, can we use the data store service for inventory without using the roblox default inventory? If yes, is it the good approach when making an inventory system?
Using DataStoreService with ProfileService
What is profileservice?
I'll look it up anyway
wrapper over DataStoreService
guys just going throught tutorials and hat is scoping?
does anyone have a sulotiong because my startercharacter keeps sliding
uh how do i
do you have cart model?
yup
put that into a character
wheres character?
doesnt matter just create one
create a character?
i want the player to ride on the cart
you have to create animation first
to create animation you need a character
after you create animation we gonna do things on player
can i use a character from toolbox?
it doesnt matter right?
i dont recommend but sure
make sure it doesnt have script on it
it doesnt
i love your kitty pfp aali
alr
ty
make sure cart model is fully welded or just a one union
@modern seal bark wood bark!!
the cart model isnt welded
mmbark
send me ss how does it looks
woof*
this
everything is a mesh
should i import the cart model as 1 mesh?
highly recommended
bett gimme a sec
i gtg for my maths class but can you accept my friend request so when i come back ill continue
alright
much appreciated🫡
It’s to move a part
did you close canquery of the script?
gang
your worried about that
look at the script
literrally can go from a bill gillion lines into a few lines
i am blind 💔
"Mom can i get rust"
"we have rust at home"
rust at home: https://youtu.be/5tBD2Y6DMY4
I'm recreating the most addictive game ever made, Rust. The problem? I can't code anything, so I'm forcing ChatGPT 5.2 to build for me. IN 1 HOUR. The result is.... mind-blowing.
0:00 Intro
0:54 The first prompt: ChatGPT creates Rust map, farming and assault rifle
1:34 The second prompt: ChatGPT adds bears
2:04 The third prompt: ChatGPT makes b...
awesome
@young ore
how do i improve at coding?, i feel like i write code that is filled with bloatware and when i look most decend coders, they're code looks more like c++ rather than luau (idk how to explain myself).
i was trying to make an inventory and i thought "i should make a way to equip and item" and i did, yet the second i had to apply a change or do anything that was even relate to it, it stopped working, and i have no clue how to improve since i've been stuck to a ceiling for long
the things i do either fall under my knowledge or are way to hard, so i find it hard t challenge myself when i make new stuff
improving at coding is simple, if ur a very beginner ur go to roblox docs and learn from there and youtube videos but try to mostly use docs, then u start on very very small things like moving a part or smth. then you do small projects like a obby or smth then u go from there and increase, you cant just move to smth massive after learning the basics of coding and feel like ur decent at it you get what i mean. plus inventory systems are kinda complicated for a early beginner.
To stop bloat you can add comments that separate sections or try and make everything that you read in small sections
Like you can’t eat a large cake all at once
yeah fair enough, thx for the advice
comments are useful to remember what i've written
Btw don’t give up when it firsts errors, I’m pretty sure 99% of devs will have at least 1 error before their code fully works
ask for feedback on servers
🥀
Is it better to charge pay-per-task or hourly rate in general
id say per task tbh
because the risk in hourly rate yk
fair fair
🪖
i was joking lol
ik ill just send simple one l0l
Hourly is 1000x times better
local part = script.Parent
local info = TweenInfo.new(0.05, Enum.EasingStyle.Linear, Enum.EasingDirection.Out)
for i = 1, 150 do
local tween = TweenService:Create(part, info, {Position = Vector3.new(i, 5, 0)})
tween:Play()
tween.Completed:Wait()
end````
i would be braindead to make smth like that XD
I plan to target short-term commissions since i have school and im wondering how either hourly or per task would play out
Hourly- always hourly
after retrying to make something simple i've noticed my huge stepback, my issue is that i store game logic inside the script which i use like once, so like i wanted to make a simple system, but since i left my logic inside a button.mousebuttonclick function when i had to re-use the same logic i just had to take either 847 steps or to re write it, ik it sounds dumb, but when it comes to local and normal scripts where should i hold the logic so i can re-use it? like should i mostly push for more modules rather than single local and server scripts?
Consistency will make it a lot less nerve racking
So still look for long term
Alright that's fair, i have little clue regarding how much ppl typically charge for long-term. Do u have any recommendations? I do have decent experience but I honestly never built upon it so my portfolio seems a little lame atm so like i dont wanna charge too high
anyone good want a $40/hr opportunity for some anime game
Dm's
Just try to get above minimum wage when you're starting out.
Alright thanks a lot ill keep that in mind
If you're not getting paid enough, you're going to burn out incredibly fast
mainly use white and purple scripts
who’s looking for a vibe scripter I’m ready to work
do you have a portfolio?
pay per task because you can rush the task
e.g. get paid $30 USD for a task, finish the task in 15 minutes
yall how can i get all the players from a team and kill them?