#code-discussion

1 messages · Page 282 of 1

remote bear
#

so we arnt family 🥹

visual tree
#

The avg salary in my first contrie was 400-600 euro 🥹

hoary cedar
#

I could be doing amazing if I lived in Japan

visual tree
kind shore
visual tree
#

Or idk

kind shore
#

No

hoary cedar
#

I used to take home $90-200 on a single paycheque

#

My bills were around $300 at the time, for reference

visual tree
#

Oh dang

versed arch
#

some filipino told me he has only 16 dollars in his bank account

#

i can only imagine the salary

subtle fractal
#

how old

wise turtle
subtle fractal
wise turtle
#

okayy

limpid ginkgo
#

what is the best way to learn luau?

weak lion
#

Does anyone know how to make a radial health hud?

modern seal
azure coral
versed arch
modern elbow
#

WeaponsShop = {timerLabel = Workspace:WaitForChild("WeaponsShop"):WaitForChild("RestockGUI"):WaitForChild("TimerLabel") whats wrong with this line

small prawn
#

U did {timerLabel

#

But never closed it

modern elbow
#

whats wrong with this [timerLabel] = Workspace:WaitForChild("WeaponsShop"):WaitForChild("RestockGUI"):WaitForChild("TimerLabel"),
GetTimeFunc = ReplicatedStorage.Functions:WaitForChild("GetWeaponShopResetTime"),
UpdateEvent = ReplicatedStorage.Events:WaitForChild("UpdateDefenceStocks"),
}

subtle fractal
#

Is there a way to check if the game is R6 only

#

Like in terms of code

#

In the same way you can do if Runservice:IsClient()

sand dragon
#

is it worth it to use buffes and serializer/deserializer to compress data for cross enviroment communication?

#

started making my own network module, i'm thinking of wether to implement this or not

iron kraken
#

no

#

unless ur doing it for the love of the game

lucid kayak
#

15$ for elaboration

dense spade
sand dragon
regal salmon
#

but you should say what issues you're having and if you have any errors if you actually want help

snow jungle
#

Anyone know what API this is for games?

modern elbow
shadow knoll
#

hi 🙂

#

hi (:

half merlin
#

hello

bright willow
#

Does anyone knows how to add an ad in for hire section

elfin timber
#

without the dot

bright willow
#

Ok

vestal steppe
haughty sapphire
#

u can see this by opening the microprofiler with one of these networking libraries running

#

they take up a good chunk of the bar per frame

grand leaf
#

Ohhh should i make it invis n make that part primary so the script knows where to attack it to the floor?

#

I was going to use the money from this game to make a better game bc like i have no funds to actually pay someone to help me

dim compass
#

it acts as the pivot of the model without a PrimaryPart

light acorn
#

NEED HELP!

Basically, I have a gun system, that shoots "yellow rays" as bullets. When I stand and shoot everything is normal – the gun shoots yellow rays from the barrel in the right direction. But when I move the yellow rays start coming from the air, not from the barrel. Can somebody help fix this issue? I have tried absolutely everything for the last 3 days.

#

The code: - GunClient: LocalScript inside the GUN Tool
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")

#

local tool = script.Parent
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local camera = workspace.CurrentCamera

#

local GunShot = ReplicatedStorage:WaitForChild("GunShot")

local MAX_AMMO = 30
local ammo = MAX_AMMO
local reloading = false
local equipped = false

local ZOOM_DURATION = 0.35
local CROSSHAIR_ICON = "rbxasset://textures/Cursors/CrossHairs.png"
local BEAM_RANGE = 500

#
  • First Person Lock
    local savedMaxZoom = player.CameraMaxZoomDistance
    local zoomAnimConn, zoomLockConn = nil, nil

local function lockFirstPerson()
if zoomAnimConn then zoomAnimConn:Disconnect() end
local startZoom = player.CameraMaxZoomDistance
local startTime = tick()
zoomAnimConn = RunService.RenderStepped:Connect(function()
local alpha = math.min((tick() - startTime) / ZOOM_DURATION, 1)
local eased = 1 - (1 - alpha) ^ 3

#

player.CameraMaxZoomDistance = startZoom * (1 - eased)
if alpha >= 1 then
zoomAnimConn:Disconnect(); zoomAnimConn = nil
player.CameraMode = Enum.CameraMode.LockFirstPerson
player.CameraMaxZoomDistance = 0
zoomLockConn = RunService.RenderStepped:Connect(function()
if player.CameraMaxZoomDistance ~= 0 then player.CameraMaxZoomDistance = 0 end
if player.CameraMode ~= Enum.CameraMode.LockFirstPerson then
player.CameraMode = Enum.CameraMode.LockFirstPerson
end
end)
end
end)
end

#

local function unlockFirstPerson()
if zoomAnimConn then zoomAnimConn:Disconnect(); zoomAnimConn = nil end
if zoomLockConn then zoomLockConn:Disconnect(); zoomLockConn = nil end
player.CameraMode = Enum.CameraMode.Classic
player.CameraMaxZoomDistance = savedMaxZoom
end

#

-- HUD
local playerGui = player:WaitForChild("PlayerGui")
local gunHUD = playerGui:WaitForChild("GunHUD")
local ammoFrame = gunHUD:WaitForChild("AmmoFrame")
local ammoLabel = ammoFrame:WaitForChild("AmmoLabel")
local reloadLabel = ammoFrame:WaitForChild("ReloadLabel")

#

ammoFrame.Size = UDim2.new(0, 220, 0, 40)
ammoFrame.Position = UDim2.new(1, -230, 1, -60)
ammoFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
ammoFrame.BackgroundTransparency = 0.4
ammoFrame.BorderSizePixel = 0
local corner = Instance.new("UICorner"); corner.CornerRadius = UDim.new(0, 8); corner.Parent = ammoFrame
ammoLabel.Size = UDim2.new(1, 0, 1, 0); ammoLabel.Position = UDim2.new(0, 0, 0, 0)
ammoLabel.BackgroundTransparency = 1; ammoLabel.TextColor3 = Color3.fromRGB(255, 220, 50)
ammoLabel.TextScaled = true; ammoLabel.Font = Enum.Font.GothamBold; ammoLabel.Text = "30 / 30"
reloadLabel.Visible = false; ammoFrame.Visible = false

#

local function updateHUD()
if reloading then
ammoLabel.Text = "RELOADING..."; ammoLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
else
ammoLabel.Text = string.format("%d / %d", ammo, MAX_AMMO)
ammoLabel.TextColor3 = Color3.fromRGB(255, 220, 50)
end
end

#

local function reload()
if reloading or ammo == MAX_AMMO then return end
reloading = true; updateHUD()
local handle = tool:FindFirstChild("Handle")
if handle and handle:FindFirstChild("ReloadSound") then handle.ReloadSound:Play() end
task.delay(1.5, function() ammo = MAX_AMMO; reloading = false; updateHUD() end)
end

local RAY_PARAMS = RaycastParams.new()
RAY_PARAMS.FilterType = Enum.RaycastFilterType.Exclude

local function shoot()
if not equipped or reloading then return end
if ammo <= 0 then reload() return end
ammo -= 1; updateHUD()

#

local handle = tool:FindFirstChild("Handle")
if not handle then return end
if handle:FindFirstChild("ShootSound") then handle.ShootSound:Play() end

-- Barrel tip as beam origin
local barrel = tool:FindFirstChild("Barrel")
local att = barrel and barrel:FindFirstChild("BarrelTip")
local origin = att and att.WorldPosition
or (barrel and (barrel.CFrame * CFrame.new(0, 0, -barrel.Size.Z / 2)).Position)
or handle.CFrame.Position

-- Direction from barrel tip toward mouse.Hit
-- Use camera LookVector as fallback so aiming up/into sky still works
local mouseTarget = mouse.Hit.Position
local dir = (mouseTarget - origin)
if dir.Magnitude < 0.1 then
dir = camera.CFrame.LookVector
else
dir = dir.Unit
end

#

-- Always raycast to find actual endpoint — this works in all directions
-- including straight up, sky, or through open space
local char = player.Character
RAY_PARAMS.FilterDescendantsInstances = char and {char} or {}
local result = workspace:Raycast(origin, dir * BEAM_RANGE, RAY_PARAMS)
local endpoint = result and result.Position or (origin + dir * BEAM_RANGE)

-- Draw beam from origin to endpoint
local beamVec = endpoint - origin
local beamLen = beamVec.Magnitude

local beam = Instance.new("Part")
beam.Anchored = true
beam.CanCollide = false
beam.CastShadow = false
beam.Material = Enum.Material.Neon
beam.Color = Color3.fromRGB(255, 215, 0)
beam.Size = Vector3.new(0.12, 0.12, beamLen)
beam.CFrame = CFrame.new(origin + beamVec * 0.5, endpoint)
beam.Parent = workspace
Debris:AddItem(beam, 0.1)

#

GunShot:FireServer(origin, dir * 20)
end

mouse.Button1Down:Connect(shoot)

UserInputService.InputBegan:Connect(function(input, gp)
if gp then return end
if input.KeyCode == Enum.KeyCode.R then reload() end
end)

tool.Equipped:Connect(function()
equipped = true
ammoFrame.Visible = true
mouse.Icon = CROSSHAIR_ICON
updateHUD()
lockFirstPerson()
for _, p in ipairs(tool:GetChildren()) do
if p:IsA("BasePart") then
p.Anchored = false; p.CanCollide = false; p.Massless = true
end
end
end)

#

tool.Unequipped:Connect(function()
equipped = false
ammoFrame.Visible = false
mouse.Icon = ""
unlockFirstPerson()
end)

potent igloo
#

at least format the code

#

explain your problem better

#

preferably show a video

#

say what you tried so far

sturdy vessel
potent igloo
#

say what prints

potent igloo
sturdy vessel
#

Alrighty

regal salmon
#

what does bro wanna go to dms for 🙏

sturdy vessel
regal salmon
weak radish
#

he came to my dms yesterday

regal salmon
#

asking for what

weak radish
regal salmon
#

that is how commissions work

sturdy vessel
weak radish
sturdy vessel
#

He claimed I was a scammer because I didn’t respond to his message a few months ago and assumed I was a bot

#

And then used vulgar language towards me as I “wasted his time” although he refused to accommodate or come to some other alternative solution to our disagreement for where to place the work.

regal salmon
#

hm

weak radish
sturdy vessel
#

And that’s when I cut off communication, and now he’s again claiming I’m a scammer when we haven’t even done any deal 🤦

weak radish
regal salmon
regal salmon
sturdy vessel
#

I’m claimed a scammer for disagreeing with his suggestion is absolutely ridiculous.

jovial moat
#

Is anybody else here annoyed by the arbitrary guidelines for a scripting role in this server? I've been denied twice. First time was because my code was "too modular", and the second time was because I had too many comments, and so the "net" length wasn't 200 lines, thus got denied.

This has been going on for weeks, it shouldn't be this hard to get a scripting role with 11 years of experience f_sob

regal salmon
#

you can just say you dont want to

weak radish
regal salmon
#

yeah so thats what i said actually

sturdy vessel
weak radish
regal salmon
#

i know, hence why i made that point

sturdy vessel
weak radish
sturdy vessel
regal salmon
regal salmon
#

which isnt particularly easy with a platform that's been around for as long as roblox has

jovial moat
sturdy vessel
#

And I’m being verbally assaulted since I don’t agree with him. 🤦

jovial moat
# regal salmon too modular?? 😭

Yeah because apparently they just want to read one script... which is beyond stupid. It ignores the context of code and punishes better design.

hollow wind
jovial moat
weak radish
regal salmon
#

all roads involve trust

sturdy vessel
#

And I appreciate you letting me know, but that part which irritated me is that he claimed I was a scammer amongst other things since I didn’t agree with his ideology, and when I was unsure of certain things then he’s giving me abuse as well.

regal salmon
#

that one goes for you too @weak radish

weak radish
regal salmon
weak radish
sturdy vessel
#

I said I’d do half upfront 🤦

weak radish
#

👍

jovial moat
sturdy vessel
# weak radish

Alright even with all this, what do you honestly hope to achieve? Like it’s literally just a waste of everyone’s time?

regal salmon
regal salmon
jovial moat
sturdy vessel
regal salmon
weak radish
sturdy vessel
#

Omg, are you unable to comprehend where I’m coming from

regal salmon
#

all scammers choose that but not everyone who chooses that is a scammer

#

i've had the good ending with that method every time personally

weak radish
regal salmon
#

99% is essentially saying they are tho 🙏

weak radish
weak radish
sturdy vessel
#

So you stated likely, and now your changing it to I am.

weak radish
sturdy vessel
#

So, let me clarify. You have no proof of me scamming, you’re assuming I’m a scammer? Your attempting to ruin my reputation, just based of an assumption.

#

That’s pathetic.

weak radish
#

smh

regal salmon
weak radish
#

I told them

regal salmon
#

ok

weak radish
# regal salmon ok

i blocked them last year, the second I unblocked them they dmd me, which made it obvious they botted

regal salmon
#

i don't think bots can detect when they get unblocked

#

wouldve had to be dming you constantly

sturdy vessel
weak radish
sturdy vessel
#

If I were a bot how am I communicating now?

#

A bot has certain style of writing and chats.

weak radish
sturdy vessel
#

Okay, what’s your point now? You’ve just wasted everyone’s time and achieved nothing.

jovial moat
#

So we'll see how that goes

haughty sapphire
jovial moat
sturdy vessel
versed arch
versed arch
dim compass
#

200 loc minimum

#

excluding blanks and comments

versed arch
#

yeah that is pretty arbitrary

#

i doubt many scripts even reach 200 lines on their own

dim compass
#

alot of scripts easily reach 200 loc

#

but yeah

#

the reqs should def change up a little

versed arch
#

remove the excuse of "too modular"

dim compass
#

i dont think that was the exact reason

#

it was probably something like

#

only one script allowed

#

which is the same thing

#

practically

versed arch
dim compass
#

should def allow more than 1 script

#

and make the comment requirements a lot less tight

versed arch
versed arch
rain harness
#

yo

odd knot
#

i am trying to create a knockback system, but the arms and legs clips through the ground. so if i want to make the limbs (r6) have their own physics how can i do so, or if someone has any documentation on that i'd really appreciate

jovial moat
versed arch
#

like, he tells you what to exactly script

jovial moat
#

That's too much work

#

I'm too busy for that

dim compass
#

what if you live in a timezone where literally no ar lives

#

there arent that many luau ars that i am aware of

rain harness
#

do anyone have active game to sell?

eternal apex
#

How exactly do I fix the scaling on the ui so it looks like how it does in studio?

dim compass
#

u using scales or offset

eternal apex
dim compass
#

try making all scale

ivory spindle
#

use canvas plus uigrid

eternal apex
#

Is it free

mild sequoia
#

👋 Just a reminder to read our rules and use the marketplace to hire!
-# Hiring or looking for work in our channels classifies as misuse and will result in moderation.

eternal apex
jovial moat
#

What a clusterfuck of a system

#

"I can see you have experience however that is not what we look for" is what I was told

hearty lion
#

they can't and won't bother to set up a better system

jovial moat
# hearty lion It's a discord role

My argument is that even though it's a silly role, it's also a silly system. They have arbitrary guidelines that don't check skill at all

haughty sapphire
haughty sapphire
quasi urchin
#

Anyone good at spectator scritps?

weak radish
iron kraken
#

and uiaspectratioconstraint

#

simple

wild torrent
#

Holy nice portfolio man

waxen edge
slow plover
#

why do i need to be a minor to work for yall

#

like 18 year olds cant make money too?

median tree
#

💀

celest grove
weak radish
#

also it's because you can charge lower prices with lower ages

#

it's called child labour

#

Well using AI to code it doesn't make you look like the best coder

celest grove
weak radish
#

that's just not true...

celest grove
#

idk

weak radish
#

lower age doesn't mean lower quality

celest grove
weak radish
weak radish
#

There's no point lying

#

I've asked Claude to generate a portfolio and it gave me one just like yours

#

and no sane person uses a 1.2k line index.html

#

with everything in the same file

celest grove
weak radish
#

💀

celest grove
#

bro using ai is not bad just admit it

#

just admit that you used AI to make website = there's nothing bad in it

weak radish
#

no person puts CSS html and js in the same file

#

one single index.html

#

where's the template?

celest grove
weak radish
#

Well it's still ai even if your friend gave it lol

#

ding ding

celest grove
#

seems like so

weak radish
#

or you generated it yourself

#

and you're just saying it's from your friend

#

either way it's ai

rare cradle
#

Is there a way to make animations doesn't effect the player's physics (Make the animation purely visual)?

weak radish
#

You don't know how to tell Claude "Generate me a website"?

celest grove
#

Is your friend Tyler Durden?

#

oh i can use gifs?

#

finally

weak radish
#

can you atleast speak english

#

how am I meant to respond to this

celest grove
#

bro

weak radish
#

No you didn't

#

what's the point of lying for a 2nd time

#

Think of my own what??

zealous plover
#

Are you guys really fighting over ts

#

Ofc Alex isn’t lying he has a car as a pfp

celest grove
#

valid one

zealous plover
#

And has a check mark beside his developper status in his bio

celest grove
zealous plover
#

He also has a twitter which is 100% more likability

left mauve
#

can anyone help me do something for my battlegrounds game?

zealous plover
#

Like what

celest grove
#

what type of issue do you have

weak radish
#

Here's a form submit I asked Claude to generate Vs Alex's completely not AI website form

zealous plover
#

Dude that is so cool

left mauve
celest grove
frigid wagon
celest grove
#

or is it js me idk

weak radish
waxen edge
left mauve
zealous plover
#

@weak radish why are you falling for the rage bait

weak radish
celest grove
# left mauve alright

do you know Knit Service? you can make characterservice as a template for characters

#

call it when you need to make new character and use for client-server interaction

weak radish
celest grove
#

Make characterservice, make it loading, make client-server interaction in knit service

haughty sapphire
#

might be a sign...

zealous plover
#

Clearly he is broke and tryna make some money

celest grove
celest grove
haughty sapphire
#

of u using ai

weak radish
#

I did, I literally told you that's how I generated this

#

you aren't onto anything

celest grove
weak radish
#

for free?

weak radish
#

but it might be best to find an alternative that isn't archived

#

are you asking it for free, because I highly doubt anyone will do that

#

no he wants it all to break

waxen edge
#

Ok doable

weak radish
#

check dms

left mauve
celest grove
#

i used that to make my own battlegrounds game

celest grove
#

I mean, it is no longer updating anymore.

#

but is it still good?

left mauve
weak radish
celest grove
#

with installing knit service?

#

or using it?

#

knit service is kinda easy to use, just look at docs

celest grove
halcyon berry
#

.

molten drift
#

What do you guys think is necessary to master as a intermediate scripter

left mauve
celest grove
#

youtube*

left mauve
jovial moat
#

It's bad, even the creator said so

#

It's just a public archive at this point

quasi urchin
#

GUYS i got a problem with a spectating system, when the spectated player tps somewhere far away, the camera just don't move with them, anyone have any idea how to fix? Is it anything to do with streaming enabled?

slender yew
jovial moat
#

General purpose frameworks are just bad

slender yew
#

^^

#

inventing your own framework is where its at

jovial moat
celest grove
jovial moat
#

There isn't much of a benefit, and you have to sacrifice a lot

haughty sapphire
#

everyone has a framework

slender yew
jovial moat
slender yew
#

ex. Easier navigation

jovial moat
slender yew
slender yew
haughty sapphire
#

i mean a framework is just how u setup ur scripts and systems so everyone has one

jovial moat
# slender yew ex. Easier navigation

How is it easier navigation? Architecture shouldn't be a problem in Roblox.

Take a look at this bit from Knit's archival message:

At its core, Knit served two primary roles:

  1. Provide a service-like architecture, allowing the construction of top-level structures to help manage a Roblox experience.
  2. Provide a seamless networking bridge between the server and client.

Role #1 is easy to replicate, as ModuleScripts themselves can already work in this way out of the box.

jovial moat
celest grove
jovial moat
jovial moat
celest grove
rotund pawn
#

How can a ship system based on physics heavily lock orientation of ship so they can crash to anything but still keep the correct orientation and position (Arcane odyssey ship)

haughty sapphire
jovial moat
slender yew
jovial moat
slender yew
#

Its like building a framework for a house

#

you know what frame serves what

#

just as when you’re building your game you decide where to put what service

jovial moat
jovial moat
unkempt vortex
#

What do you mean Knit? Is that a system?

jovial moat
#

Yes

slender yew
haughty sapphire
unkempt vortex
#

How would you run your game on a single script tho?

jovial moat
jovial moat
unkempt vortex
#

Do you build out your ModuleScripts first or Local/Server scripts?

slender yew
#

currently at gym :D

jovial moat
unkempt vortex
#

Oh yeah I see that

#

Pretty smart no?

jovial moat
#

No

haughty sapphire
slender yew
slender yew
#

tight coupling sucks

#

I avoid it unless I can’t find a way to work around it

jovial moat
celest grove
celest grove
#

or is there any other reasons standing behind it?

jovial moat
#

Code is written to solve problems. What problem is a framework solving that can't be done another way?

slender yew
#

I still refer to a framework as a way of structuring your game

#

at the end of the day if your code is as agnostic as possible then u good no matter what your approach is

jovial moat
slender yew
unkempt vortex
#

architecture is a better word to use fs

slender yew
#

Local Game = Good

#

Local Hacker = Ban

unkempt vortex
#

so it's best to create different modules each with their own purpose and then also create seperate scripts and localscripts for them.

jovial moat
slender yew
unkempt vortex
#

what are some cases where you don't need modulescripts? since they are pretty important in most game mechanics

celest grove
unkempt vortex
haughty sapphire
celest grove
jovial moat
unkempt vortex
#

I see

slender yew
jovial moat
celest grove
#

alr

slender yew
jovial moat
#

Also code needs to work together on some level, you can't separate them like that on a large-scale project because it's just bloaty

slender yew
#

maybe a expanding transparency tweened part

#

or a mesh..

slender yew
#

if so please elaborate

slender yew
#

I will die on the agnostic hill

haughty sapphire
jovial moat
slender yew
#

have I mentioned anything about agnostic systems yet guys?

jovial moat
slender yew
#

:D

#

I’m working on a round system rn

jovial moat
#

Regardless of what you name them, it's still non-agnostic code

haughty sapphire
slender yew
jovial moat
# haughty sapphire how do u organize ur code if u just have random scripts here and there? i mean s...

There aren't "random scripts here and there". Take a look at my conventions: https://miagobble.github.io/Oxomo-Coding-Conventions/

The Oxomo Coding Conventions is a set of practices and styles for Roblox Luau, written by iGottic. The purpose of these conventions is to promote readability and organization first, allowing developers to easily understand each others' code, increasing collaborative efficiency. These conventions are built for teams of any size, whether it be 1 o...

slender yew
#

by being a roblox dev for 11 years

#

lowkenuienly u should be

lilac garnet
#

anyone have a game there willing to sell

unkempt vortex
#

so many OGs lurking in here

jovial moat
unkempt vortex
#

roblox really is a paradise for players and heaven for devs

slender yew
jovial moat
jovial moat
slender yew
lilac garnet
#

no im buying games

unkempt vortex
#

bro is rolling with bentley homie g

slender yew
jovial moat
unkempt vortex
#

focus on your own grind i come here to learn

slender yew
#

what u talking about

slender yew
#

I’m doing some barbel curls rn no cap

jovial moat
slender yew
jovial moat
slender yew
#

same

#

How’d you start?

#

Do u have an origin story

haughty sapphire
slender yew
#

I do but its sad

slender yew
jovial moat
haughty sapphire
slender yew
#

dawg

jovial moat
hearty lion
#

so this

local world = "hello"

is not allowed

slender yew
#

FUHH NAHH

jovial moat
hearty lion
#

cause that's a statement

#

in a line

haughty sapphire
jovial moat
#

^

slender yew
#

miamidude lowk cool

jovial moat
#

Why the hell would you multi-line declare variables

#

Don't act stupid man, of course I didn't mean that f_sob

hearty lion
#

i was joking 😢

haughty sapphire
# jovial moat ^

why do u have ur own conventions tho instead of just following luau style guide

jovial moat
jovial moat
#

I think it does a better job than the Luau style guide

jovial moat
#

Ty

unkempt vortex
#

Huge thanks for this information

jovial moat
#

Np

celest grove
#

this server gives me better vibes than a russian dev server i was on before

#

holy shit, i still remember people bullying and spam reporting each other cuz of gui's being similar

sage ravine
#

Any Scripters who are looking to work with a team % based dm me Its a serious team

queen lantern
#

do you guys use pascal case, camel case, snake case or something else?

#

ik its a personal preference but I'd like to know

weary socket
#

I randomly mix snake case and camel case, sometimes Pascal case for fusion values, honest to god sometimes I cant logically explain why I randomly change my function names from Pascal case to snake case 😅

queen lantern
weary socket
#

Sometimes I feel cute and like my functions to look like something from a C source file

queen lantern
#

if making a script with loads of variables i use snake case but if its something quick i use pascal case

weary socket
#

Yeah idk I like how snake case looks sometimes

queen lantern
#

you ever create hybrids of it?

#

like Radio_Frequency

frank grotto
#

i feel guilty for doing so but I just love it

weary socket
#

Nah Pascal case and snake case just feels forbidden to me cuz it so much extra keys you have to press lol

frank grotto
#

fair

#

i dont like how camel case looks

weary socket
#

Aesthetic

#

Autocorrect mannn

#

We forgetting about abbreviation case. Where every variable is 2- 3 letters long

haughty sapphire
weary socket
#

Now that I think about it using AI to refactor variable and function names is an interesting use 🤔

weary socket
#

It low key is

hollow wind
#

guys how much do you think it will cost to hire someone to make a enemy ai using a opensource statemachine

night hemlock
#

@lilac jetty

local radius = 50

local angle = math.random() * math.pi * 2
local direction = Vector3.new(math.cos(angle), 0, math.sin(angle))

local result = workspace:Raycast(origin + direction * radius, direction * radius)```
#

lmk if you want anything to work differently

lilac jetty
#

thank youu dude

#

yea i'll let you know thx

night hemlock
# lilac jetty thank youu dude

if you want the direction to be spherical then you can use

local radius = 50

local theta = math.random() * math.pi * 2
local phi = math.acos(2 * math.random() - 1)

local direction = Vector3.new(
    math.sin(phi) * math.cos(theta),
    math.cos(phi),
    math.sin(phi) * math.sin(theta)
)

local result = workspace:Raycast(origin + direction * radius, direction * radius)```
lilac jetty
#

ok so i everything is basically identical to mine except i didnt include the angle part

lilac jetty
#

sorry didnt even mention yeah, it should be spherical

#

look at that math 🥀

#

just curious, you did that from memory?

night hemlock
#

other than that yes

lilac jetty
#

that's awesome hugegrin

#

i'm impressed, thanks for the help tho

night hemlock
bold lodge
#

setfenv()local idk = ‘idk’

#

Absolute real Fe bipaz

lilac jetty
# night hemlock lmk if you want anything to work differently

hi sorry, i'm trying to spawn an object within that radius regardless of if the ray hits anything

if result == nil then
    cloud.Position = direction
else
    cloud.Position = ray.Position
end```
do you know how to make it so it does that?
-# "cloud" is the said object
lilac jetty
#

setting the position to the direction isn't quite working, it spawns it at 0,0,0

night hemlock
lilac jetty
night hemlock
#

one sec

bold lodge
#

Do u have code experience or im just dumb

bold lodge
#

Just wanna know

lilac jetty
bold lodge
#

Cuz im curious

lilac jetty
bold lodge
#

Alr

lilac jetty
#

no worries

bold lodge
#

Idk what is raycasting and ts is tuff mango

dusty mason
#

MAKING PEOPLES DREAM ROBLOX GAME CUZ I CANT THINK OF IDEAS

night hemlock
night hemlock
#

now it returns a direction rather than a point in space

dusty mason
bold lodge
lilac jetty
bold lodge
dusty mason
#

im not spamming

lilac jetty
#

literally as simple as that but im tired i cant wrap my head around it praysob

bold lodge
lilac jetty
#

w chat

bold lodge
#

Aura moment

night hemlock
bold lodge
lilac jetty
#

works nice

bold lodge
#

Alien invasion ?

lilac jetty
#

my smoke :)

bold lodge
dusty mason
#

can someone gimme game ideas

hollow wind
vernal peak
#

cuh if i split my mouse click pos event into 2 events, will that be more performant? I could do sum like it fires second one if it fired first one first.

hasty cobalt
lilac jetty
#

true 😭

jagged laurel
#

guys just learning to code

sick fern
#

what do yall think about vibe coding

topaz crypt
cyan lantern
thin dune
#

guys what is creator rewards ?

chrome field
chrome field
thin dune
chrome field
hollow ocean
#

Speaking of rocks

chrome field
#

xD

thin dune
#

right

chrome field
remote bear
#

guys what would i use to make a forced rush where the player always moves to where they are looking? would i use a vector force? MoveTo() is janky

lofty terrace
prisma vigil
#

yo how did i just discover frame-by-frame stepping 🥹

#

splendid feature

frail plaza
#

how would i go about finding the offset of the camera from the player?

cyan lantern
#

I have seen many games that creates instances like every new frame but what's the purpose for it

#

does anyone know

dense spade
rapid verge
#

probably

you only really need to know tables and how to use math.noise

#

😍

subtle fractal
frail plaza
#

nvm

subtle fractal
#

Or CFrame details

frail plaza
#

found this alrd

tame compass
#

I was thinking for a right way to detect the closest player to other players look vector for a blade ball like system, where you aim the deflected ball to other players

#

Is taking a dot product of player lookvector and vector between this player and all different players and comparing them - a working way?

#

I don't really understand dot product that much

#

But I think that IT DOES work that way

#

i think this is the wrong channel for that, bud

#

I'll try it out

hoary cedar
tame compass
#

I'll show what I mean

tame compass
#

Also, is taking Units necessary?

#

Or does the Vector:Dot function unit the vectors itself

hoary cedar
#

It is necessary

versed arch
hoary cedar
#

What isn't necessary is recording all of the products and sorting them

versed arch
#

you won't get any freaky math issues

tame compass
#

I'm just asking if the :Dot function does it by itself

versed arch
#

no

rain hound
#

ive been playing jujutsu shenanigans and ive noticed that ive always been getting put in servers with players that are in my age group and i can therefore chat with, its rare to find anybody with the lock icon. does the game actually have a way of increasing ur chances of joining within ur age group? or am i just very lucky

tame compass
#

Probably roblox has its own system for that

#

You're more likely to be put in servers with players the same age group

rain hound
tame compass
rain hound
#

it COULD be attributed to them being out of the age demographic but still, a ton of players have reported it

rain hound
#

when my game peaked at 700 ccu i asked somebody if they still were having chat issues and they showed me they were

tame compass
#

As I said, it's still probably because of the small amount of ccu

rain hound
#

mind u the server size is 50

tame compass
#

Atleast I think so

rain hound
#

and the entire chat was locks for them

tame compass
#

just like in the og overwatch workspace game - genji ball

#

(ye, I know that pyro ball is the OG OG one)

tame compass
hoary cedar
tame compass
#

how can I optimize it

#

no need to write all of it down

hoary cedar
#

Is your game third or first person?

#

@tame compass

tame compass
#

I'm just testing the mechanics currently

#

but I think third person

hoary cedar
#

This reduces the time and space complexity of your algorithm from O(n log n) and O(n) to O(n) and O(1) respectively

tame compass
#

oh

#

ye, that's how I should've done that

#

Thanks

bronze cape
#

I HATE CODINNNGGGG

#

EVERYTHING KEEPS BREAKING

versed arch
#

that's the beauty

bronze cape
hoary cedar
versed arch
bronze cape
bronze cape
#

if it aint broken dont fix it

hoary cedar
#

Event callbacks are executed in isolated threads, so you do not need to wrap your task.wait in task.spawn, @tame compass

#

It will not prevent UserInputSevice from firing the InputBegan event again

#

That would be silly, lol

bronze cape
#

yo ziffix i need help

#

please

bronze cape
tame compass
#

here, I remade it

#

Is this what you meant?

hoary cedar
#

Tables are redundant here. Simply create two variables: one for the best alignment and another for the associated target

#

@tame compass

tame compass
#

Ok, thanks

hoary cedar
#

tick is outdated. Use time

bronze cape
hoary cedar
#

Your capitalization is all over the place

bronze cape
#

i only have been doing it for 3 months with some breaks

grizzled aurora
#

Im trying to build a fling mechanic in a game where if you left click hold down on a surface your character attatches to the surface with a rigid part(it wont be a part itll probably be a constrait) that when you move your mouse the character moves with it almost like theyre hoving and then when the leftclick is released you fling in the direction you moving your mouse in so if u move ur mouse up and release as your going up you fly upwards would anyone be able to tell me what constraint i should use for that and model and if i should use weld or no and if it is required for my huamanoid to be a ragdoll?

hoary cedar
#

Conventionally, unused tuple values are declared with an underscore. Change i to _

#

@tame compass

hoary cedar
bronze cape
hoary cedar
#
healthBar.Size = UDim2.fromScale(humanoid.Health / humanoid.MaxHealth, 1)
bronze cape
#

or just the sign

#

oh alr

#

ty so much

tame compass
hoary cedar
dim compass
bold lodge
hoary cedar
#

This server has a massive duality in intelligence

bold lodge
#

Useless ragebait

grizzled aurora
hoary cedar
hoary cedar
#

These experiences should help you avoid repeating the same mistakes

hoary cedar
#

Gen alpha is cooked

bold lodge
alpine dirge
#

lol

hoary cedar
bold lodge
#

Stupid thing

dim compass
bold lodge
hoary cedar
bold lodge
#

So Gen Z

#

Not Gen Alpha 67 kids

hoary cedar
#

You've basically grown up with their media

bold lodge
#

But I have seen kids singing skibidi toilet shts

hoary cedar
#

Can we go back to dank memes

#

MLG

dim compass
#

mom get the camera

hoary cedar
#

Harlem Shake

tame compass
stone fern
#

I have a question for the advanced scripters

cyan lantern
sharp gull
stone fern
#

What should I be doing more research into

cyan lantern
#

sigh

stone fern
#

this just seems like a simple game for a beginner to learn

cyan lantern
#

relatively simple it is

sharp gull
#

nevermind this wasnt for advanced scripters

cyan lantern
# stone fern What should I be doing more research into

Datastore service
User input service
Context action service
run service
Tween service
and that is just for the coding above
you will need to learn
modeling
animating
graphic design
UI design
and maybe sound or music but just find a bunch of different things
and master how different stuff connect and communicate with each other

#

and that is very briefly

#

a

stone fern
cyan lantern
#

good luck

stone fern
#

Just need to learn scripting so I can be a jack of all trades

cyan lantern
#

wish you success

bold lodge
wise turtle
#

Scripting

dim compass
#

Scripting

sand wigeon
#

im not sure whats happening, but yesterday my scripts stopped working for no reason, i tried to fix them but debugging prints didnt make sense. Then after some time everything started working back again. Also when i tried to reopen studio the place was loading longer. Now, today i have same problem but it happens like 50% time i playtest the game. Is that fr problem with my code or its just roblox messing or smth?

sterile crow
#

scripting

clever kindle
dim compass
#

sounds to me like an internet issue

last summit
#

game:Destroy()

scenic cove
#

is it worth to connect roblox studio to vs code

west ruin
#

Anyone know how to script games like escape a tsunami?

static coral
dense spade
weak radish
noble sonnet
noble sonnet
# noble sonnet

I have a head moving script going but uh when I use shift lock it can change the perspective looking the wrong way when shift locking, anyone have any ideas on how to implement this smoothly?

buoyant scroll
dense spade
# noble sonnet

i really like ur testing environment lighting and the overall feel

noble sonnet
#

Thanks man ❤️

dense spade
#

looks like a professional game engine test world

#

like unreal engine or smth

noble sonnet
#

lol I am the opposite of professional but thanks man haha

#

my brain hurts from trying to solve this one "issue" though

#

if anyone is good with gun systems / coding in general and can assist me brainstorm this heavily appreciate any input 🙏

weak radish
# noble sonnet

you shouldn't be posting unemployment in hidden Devs without a censor

static coral
dense spade
remote phoenix
dense spade
#

i dont want the file BONK

dense spade
heavy shadow
#

im back

#

i didt practice fr 3 days straight

noble sonnet
#

I have a head moving script going but uh when I use shift lock it can change the perspective looking the wrong way when shift locking, anyone have any ideas on how to implement this smoothly?
if anyone is good with gun systems / coding in general and can assist me brainstorm this heavily appreciate any input 🙏

Basically my shift lock uses a 1.75 stud right camera offset. When a gun is equipped the head look system is supposed to do nothing and let the gun animation own the neck joint. But toggling shift lock on still causes the head/body to visibly twist left. The camera offset seems to be interfering with how the neck C0 is being applied on top of the animation's Motor6D Transform. Looking for the correct approach to either neutralise the neck C0 cleanly when a gun is out, or compensate for the camera offset without introducing drift.

You can test it yourself here if what im saying is confusing https://www.roblox.com/games/119832175887449/FightTestV2-TestBranch

Basically my main issue being that when I aim at my victim
as you can see it just... looks wrong? maybe I gotta do something on the client end that isnt truly to the server end? Idk my brain is lowkey fried on this rn but if you know the best/simplest way to do this pls lmk ❤️

kindred pulsar
alpine dirge
remote phoenix
#

on dilevery

kindred pulsar
alpine dirge
kindred pulsar
alpine dirge
#

not close

elfin timber
kindred pulsar
alpine dirge
kindred pulsar
alpine dirge
#

also is your port text all AI

kindred pulsar
#

what text

alpine dirge
#

It's written in third person for some reason

#

he Modular Quest System is designed to streamline quest implementation in Roblox games, giving developers a modular and scalable framework for creating engaging player experiences. Quests are defined in a centralized module, making it easy to add, modify, or expand objectives and rewards without altering core scripts. The system features immersive NPC dialogue that adapts to quest progress and completion, collectible items with real-time tracking, and progress bars that update seamlessly as players complete objectives.

kindred pulsar
#

oh ye

#

it is

alpine dirge
#

I see

kindred pulsar
#

should i fix it

alpine dirge
#

yes, try explaining yourself

kindred pulsar
#

alr

kindred pulsar
alpine dirge
#

In the payment section, define what you mean by "Advanced" give a few examples instead of being abstract

alpine dirge
elfin timber
#

guys does anyone have an idea for like a small 1 week project?

elfin timber
#

i got done with my last one and now idk to do

alpine dirge
#

make money

long trench
#

who make money with roblox?

alpine dirge
#

Brainrot RNG!

elfin timber
long trench
alpine dirge
#

going r4r

#

robux for robux

elfin timber
elfin timber
alpine dirge
versed arch
elfin timber
elfin timber
versed arch
#

there's no other physics out there

elfin timber
versed arch
#

no

elfin timber
#

what EXACTLY do you want me to do

elfin timber
#

but i used to make more

versed arch
#

if you want a hint, it revolves around force, speed, heat to name a few

long trench
#

guys Im learning how to make a matchmakin !!
-# function AddToTheQueue(plr)
-# print("Adding the player " .. plr .. " to the queue")
-# MMQ:AddAsync(plr, 100, 0)
-# end

cunning elbow
midnight geode
#

i saw system32 is not a global libary

elfin timber
#

i never did coms nor comed

#

VIBECODE DEMON THANKS CLAUDE

molten epoch
#

i have one bomb idea of a game and have all aspects done expet scripting if u are intrested in partnership dm me noty hiring btw

long trench
#

Guys is while task.wait() do a good loop ?

versed arch
thick crater
long trench
elfin timber
#

no!

#

actually on the topic of memory leaks how do i even check for these

stray minnow
long trench
stray minnow
#

thx

dim compass
#

you can check whats using how much memory

molten epoch
#

its not close to that even

#

Lobby

#

City map

#

I have alot i don’t wanna annoy people here but it’s a murder concept game

dry sleet
candid fox
elfin timber
#

does anyone know what i can make to practice classes?

elfin timber
frozen swift
frozen swift
#

Take screenshots and compare

#

The more data a script has then it means memory leak but make sure ur comparing right

elfin timber
#

thank you

haughty sapphire
hollow wind
#

guys is 25k-36k robux plus a precentage a good starting off for someone to code enemy ai and fixing some bugs in my terrain gen system and other systems? (36k is if they can animate)

past mica
weary socket
hollow wind
hollow wind
weak radish
weak radish
hollow wind
dry sleet
past mica
past mica
#

turquoise pearl

dry sleet
#

JDM or no

past mica
#

na german import to norway

weak radish
hollow wind
weak radish
kindred pulsar
#

yooo do yall have ideas for a system i can put in my portfolio??

vernal peak
#

what i do

#

the weapon goes sideways on thrust but on m1 its good

clever kindle
#

delays thrust hitbox by a small bit

ruby kite
#

what's yall approach with dealing with buffers

iron kraken
#

u could just use get parts in bounding box or somthing like that

dire yew
#

Hey guys I’m starting a series on YouTube of making a game with a group this is day 1 0/10 people if you would like to join dm me And I will add u to the group chat we will discuss the type of game on there aswell

frail plaza
#

how would i go about making a directional movement sys?

#

i found this one tutorial

#

but i cant get it to work

scenic cove
#

why are all scripting commision advanced

frail plaza
storm sorrel
bold lodge
#

simulating blackhole in luau

mellow needle
#

dm me

haughty sapphire
#

no

mellow needle
storm sorrel
#

bros fuming

trail pebble
#

yo guys

haughty sapphire
mellow needle
storm sorrel
#

i knew u were fuming

mellow needle
storm sorrel
#

u dont need to lie

#

now ur fuming more

#

its ok dont tear up

mellow needle
weak radish
#

are you joking? SOME of the revenue? that's amazing

#

I can't wait to find out what some means

#

is it 5

#

is it 80

mellow needle
weak radish
#

we'll never know

ember nimbus
#

i've only seen people mess up numerical prefix vs suffix with money

#

you're a real specimin king keep up the good work

weak radish
#

I actually used to think you were meant to write the dollar sign like 5$ because I saw everyone writing it that way

#

Because I use GBP not dollars so I just assumed it was written differently

ember nimbus
#

they see it every day on price tags

mighty ledge
#

for

weak radish