#code-discussion

1 messages Β· Page 109 of 1

lone marsh
#

LAMO

#

caps

sullen fox
#

😭

ruby cipher
#

1st

#

look sm better

still stag
#

Anyone think they can help with making a client-sided dash script have its cooldowns and power managed on the server?

wide sparrow
#

just code a game

crude quarry
#

Ah roblox how you torment me so

elder sparrow
#

hey can someone help and explain why this dont work

crude quarry
elder sparrow
#

it stiill doesnt work

slender yew
#

do proximity prompts automatically replicate on console

elder sparrow
#

no.

slender yew
#

damn

crude quarry
#

Is there a way to test with my actual character and a player character in studio or do I need to get my alt

lime laurel
#

everything from startergui gets added into player.PlayerGui

elder sparrow
#

oh

#

how do i do that

lime laurel
#

well first, your best option is probably using a localscript inside of your gui

elder sparrow
#

i did

lime laurel
#

then you can index it with script.Parent

#

instead of game.StarterGui

elder sparrow
#

so

lime laurel
#

so local musicinicator = script.Parent.MusicInicator

slender yew
# lime laurel yes

oh alright, what about click detectors since players have buttons that are able to move on their screen can they press buttons?

lime laurel
#

i'd stay away from click detectors as they aren't as reliable

#

having a custom click system is ideal

elder sparrow
#
script.Parent = game.Players.LocalPlayers.PlayerGUI

lime laurel
#

no

#

i just gave you the code

slender yew
#

I'm using click detectors

#

why are they not reliable

lime laurel
#

they don't work 100% of the time

#

any frontpage game uses their own system

#

more customizability and control

slender yew
#

how would a custom click system work

#

what would I even use for that

lime laurel
#

checking the mouse.Target

#

magnitude checks etc

elder sparrow
#

kaboom

slender yew
lime laurel
#

it's quite easy

#

you can either use the mouse.Move event or just rapidly check the mouse.Target in a loop

elder sparrow
#

what is this

#

"Sheriff Rolplay Server"

#

i needa see this map

slender yew
#

any open source mouse services yk about perhaps?

lime laurel
#

it takes about 3 lines of code

#

you got it champ

#

actually since you're using click just use mouse.button1down or something

slender yew
elder sparrow
whole kernel
#

Does anyone have any tips, tutorials or just any overall advice to learn how to script in roblox studio?

peak jolt
#

chatgpt

whole kernel
#

ok

crude quarry
#

and google

elder sparrow
#

rbxassetid://84071491213395

#

thats the ID im Using

reef tartan
elder sparrow
#

i could js add them in

peak jolt
#

recommending google damn really good advice brother i thought he was going to use bing

whole kernel
#

Alr

lost pebble
elder sparrow
#

but just the basics

#

somone explain

#

someone

shrewd lava
#

Guys im good at scripting but i new here how i get gire

elder sparrow
#

@anyone

#

HELP

lone marsh
crude quarry
lost pebble
mossy hound
#

im looking to buy some UGCs that are going to become big. If you have one that is going to be released soon dm me.

whole kernel
neon nova
#

anyone can tell me how to check how long a player has been in the game for?

elder sparrow
#

lol

teal quiver
#

and whenever you want to get their play time just do current time - join time

#

dont forget to set the value of the player's key to nil when they leave etc

#

so it does not cause a memory leak

somber vault
#

is numerical loops faste rthan ipairs and pairs

spiral jungle
neon nova
#

guys is this error on roblox or bc of me

teal quiver
#

so it will just add up over time and waste a lot of memory

neon nova
#

someone please help me idk whats happening and its not lettimg me see other errors but there arent any actual probems in the script

pine torrent
neon nova
pine torrent
neon nova
#

do you know how i fix it

pine torrent
#

And so did sound property most likely

pine torrent
somber vault
#
local limit = old_len < new_len and old_len or new_len -- faster than math.min in hot loops

is this true

proper veldt
#

Why is the sound not playing from the humanoidrootPart?

tulip hamlet
#

guys is there a reason why a 4 animation sword combo wont work only the first m1 plays,and when it does it dosent play until i re equip the tool

true birch
#

Gets a minimum number from smth right?

true birch
#

Or either the player or character

hasty mesa
true birch
#

Is that script server or local

true birch
hasty mesa
#

And math.min uses a loop

true birch
#

Ohhhhhhhhhhh

wary cairn
#

Hello everyone, we are developing a game where two players are chained together. Currently, we have encountered an issue: when a player dies, the chain's position movement causes lag. Is there any way to solve this problem?

true birch
#

And fix character when dying

#

Huh

#

I got pinged

#

The heck

wary cairn
#

We have added these physical components to each chain.

wary cairn
true birch
#

So you made too many chains right?

wary cairn
#

There are more than 30 chains.

proper veldt
true birch
true birch
thorn arch
blissful ruin
#

listen yall, if i got a angularvelocity, and its based of vector3, how the hell do i figure out like say i want it to turn left, or right, or flip, or normal. ( Roll, not Yaw or the other one.)

short void
#

guys should I learn profile service bc idk if datastore is fine

eternal kindle
#

you are mostly going to use profile service for 90% of the games

#

and if its big yeah

#

its not hard though

short void
#

when learning

eternal kindle
short void
eternal kindle
proper veldt
final harness
#

Nasa kids

sudden sand
#

Yooo whats up guys

wise turtle
#

hi

hollow burrow
#

lil bro

#

:3

hot dove
#

whats the difference between destroy and remove

fleet siren
#

How do I make it so that for each tool in player backpack with the stringvalue value of "meat" it sells it for the tools numbervalue value but each one that doesnt have that value gets skipped?

hoary cedar
hot dove
potent basin
#

Remove

sullen fox
#

How long do you guys think learning rollback netcode would take for me

#

Have no experience coding physics related stuff except for ball throwing

#

I’m interested in the topic though if anybody has some links feel free to send them

fervent karma
#

how did tsb do they're m1 knock back...

queen kelp
#

guys im trying to learn how to script what should my first scripting project be

lost yoke
#

anything u want it to be

#

a game or a door or a menu

crude quarry
#

How do I make a door can collide per player? I tried using a remote event but it makes it can collide for everyone

pine torrent
#

I don't know what you mean by per player

crude quarry
#

Only players wh meet a condition can enter it. this is what I have set up currently
Local Script

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remote = ReplicatedStorage.TDEvent
local part = game.Workspace:WaitForChild("Door")


part.Touched:Connect(function()
    remote:FireServer(part)
end)

Script

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remote = ReplicatedStorage:WaitForChild("TDEvent")
local Teams = game:GetService("Teams")
local part = game.Workspace.Door

remote.OnServerEvent:Connect(function(plr)
    part.CanCollide = false
end)```
lean ocean
#

set cancollide to false on client

crude quarry
#

Also I think my code reverted cuz I had an if statement on the script

pine torrent
crude quarry
pine torrent
#

don't use WaitForChild in server scripts

#

it's pointless

crude quarry
#

im aware

pine torrent
#

instead of server

crude quarry
#

I was told the only way to make this type of door is through a remote event

pine torrent
#

no

weak radish
dusky relic
#

How much is the Roblox Rivals gunsystem worth?

elfin timber
#

how long will i take to learn collectionservice

foggy pelican
foggy pelican
weak radish
south roost
#

what is a better way of scripting dash instead of using bodyVelocity or just moveDirection since its moveDependent, for example if i was moving then instantly stopped the dash will stop too, what other method can i use which also makes it smooth

for i = 61, 1, -1 do
  local md = self.hum.MoveDirection
  bv.Velocity = Vector3.new(md.X * i, 0, md.Z * i)
  waitStep()
end
task.delay(cd, function() db = false end)
opal grail
#

can anyone here help me rate ideas i have towards my game and can also think on what to do towards the game, will pay you.

sand shale
#

since it follows the gravity

#

use run service for it to keep updating the velocity

#

it won't lag or anything, everyone does it if they want the gravity being affected

#

when dashif

#

Dashing

dawn sphinx
#

Guys I don't get why my simulator game is a bit laggy

#

Do u think it might be to many scripts saying while wait()

spiral jungle
#

What are they even doing

dawn sphinx
#

What other reasons might a game Lag?

sudden flame
dawn sphinx
dawn sphinx
spiral jungle
dawn sphinx
spiral jungle
#

Not really

#

If you’re waiting for a value to change

#

You can do .Changed:Connect(function()

#

And then check if the value is true or whatever

#

So you don’t have to check every frame

tribal meadow
#

ML is fun

elfin timber
#

If i have a script rhat is generating parts under different parents, what the best way to make an proximity prompt script work on all without parenting the script to the part because it will be destroyed later on

#

Collection service?

cobalt rock
lean ocean
#

yes

cobalt rock
#

or just add them into a table

#

if you're handling the prox in the same script

elfin timber
little crest
#

Is collectionservice actually bad

thorn arch
#

It's a core service

ripe pumice
#

does anyone have any good coding tutorials, i know the basics and can make a very simple game but I want to know more about coding so I can make the games I want to

lean ocean
elfin timber
#

Ask chatgot for aimple and short game ideas till u get better

short void
elfin timber
#

I went weeks withoug dven hearing it

little crest
# lean ocean Who told you it's bad

I'm not using it as intended, it's more like an ID reference for client/server sync, so each instance has an Id that is tagged and according to my friend, it has a bad impact on performances

hot kindle
#

this is a typical question but,what the best method to learn scripting?

should I watch the tutorial basics and after try to do small projects?

little crest
#

Yes

#

But don't fall in tutorials loop

hot kindle
little crest
#

The mindset when you think watching more and more tutorial will get you better at it

hot kindle
#

so mostly for basics and after I should learn maybe with claude?

little crest
#

Once you know lua basics + how it's integreated into roblox, you don't tutorial anymore

little crest
hot kindle
#

isnt claude up to date?

#

chatgpt is outdated I believe

little crest
#

But ye, one u got the basics make project and ask it the question

little crest
hot kindle
#

ohhh,I see ,rn im learning the collection service

#

got a bit left and after imma try with ai some projects

little crest
#

I'm using kinda often while coding, but I usually need to provide him the context about the game etc when coding in luau

#

Otherwise, he becomez crazy

silent mantle
#

Does anyone know any ways to get hired as a bot developer other than here

#

?

civic thunder
#

yo chat i want to get into scripting but i dont really know where to start or what to learn first. can i get sum suggestions?

hot kindle
little crest
#

Like

little crest
#

Each instance has an id so I can regerence it on the client even when streaming is on

#

That id is stored as a tag

thorn arch
#

Are you using 1 tag per object?

#

Yeah that's unnecessary, just store the instances in a dictionary or an octree or something

little crest
little crest
tame compass
#

I just made a simple system of projectiles that are easy for performance, can someone evaluate my code, please?

--Module Script
local Workspace = game.Workspace
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Events = ReplicatedStorage.Events

local RunService = game:GetService("RunService")

local ProjectileModule = {}
ProjectileModule.__index = ProjectileModule

ProjectileModule.UpdateFrequency = 0.01
ProjectileModule.Speed = 50

function ProjectileModule.CreateProjectile(StartPosition : Vector3, MoveDirection : Vector3, Start : boolean, Number : number)
    local self = {}
    self.StartPosition = StartPosition
    self.MoveDirection = MoveDirection
    self.CurrentPosition = StartPosition
    self.Number = Number
    self.Break = false
    local metatable =  setmetatable(self, ProjectileModule)
    if Start then
        metatable:ProjectileRender()
    end
    return metatable
end

function ProjectileModule:ProjectileRender()
    local Connection
    local Time = 0
    local StartTime = tick()
    Connection = RunService.Stepped:Connect(function(_, DeltaTime)
        Time += DeltaTime
        if Time < ProjectileModule.UpdateFrequency then 
            return 
        end
        local TimeSpent = tick() - StartTime
        self.CurrentPosition = self.StartPosition + self.MoveDirection * ProjectileModule.Speed * TimeSpent
        Time = 0
        Events:FindFirstChild("Fire"):FireAllClients(self.CurrentPosition, self.StartPosition, self.Number)
        if self.Break then
            Connection:Disconnect()
            Events:FindFirstChild("Fire"):FireAllClients(nil, nil, self.Number)
        end
    end)
end

return ProjectileModule
thorn arch
#

Oh wait you can't send instances

tame compass
#
--Regular Script
local Workspace = game.Workspace
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Events = ReplicatedStorage.Events
local Modules = ReplicatedStorage.Modules

local ProjectileModule = require(Modules.ProjectileModule)

local i = 0
Events.Fire.OnServerEvent:Connect(function(Player, MoveDirection : Vector3)
    i += 1
    local Character = Player.Character
    local StartPositon = Character.PrimaryPart.Position
    local Projectile = ProjectileModule.CreateProjectile(StartPositon, MoveDirection, true, i)
    task.wait(3)
    Projectile.Break = true
end)

--Local Script
local Workspace = game.Workspace
local TempStuff = Workspace.tempstuff
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Events = ReplicatedStorage.Events
local ProjectileTemplate = ReplicatedStorage.Projectile

local UIS = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local CurrentProjectile = {}

function RenderProjectile(Position : Vector3, InitialPosition : Vector3, Number : number)
    local ProjectileModel = CurrentProjectile[Number] or ProjectileTemplate:Clone()
    ProjectileModel.Parent = TempStuff
    ProjectileModel.CFrame = CFrame.lookAt(Position, InitialPosition )
    CurrentProjectile[Number] = ProjectileModel
    ProjectileModel.Name = Number
end

UIS.InputBegan:Connect(function(Input, IsTyping)
    if IsTyping then
        return
    end
    if Input.KeyCode == Enum.KeyCode.G then
        local vector = (Player:GetMouse().Hit.Position - Character.HumanoidRootPart.Position ).Unit
        Events.Fire:FireServer(vector)
    end
end)

Events.Fire.OnClientEvent:Connect(function(CurrentPosition : Vector3, InitialPosition : Vector3, Number : number)
    if CurrentPosition and InitialPosition then
        RenderProjectile(CurrentPosition, InitialPosition, Number)
    else
         CurrentProjectile[Number]:Destroy()
    end
end)
tame compass
#

Already did

thorn arch
#

That's a regular one

hallow crag
tame compass
#

No, it isnt

tame compass
stray dock
#

im ngl the beta new explorer is actually so fire dude

tame compass
#

I made it to check how it works

#

I will handle all logic and checking on the server

hallow crag
stray dock
little crest
thorn arch
little crest
#

It can be nil on the client

hallow crag
stray dock
#

havent noticed that at all

thorn arch
#

Wth

tame compass
stray dock
#

it jsut has so many quality of life features

tame compass
#

dude

thorn arch
tame compass
#

okay, no problem

thorn arch
#

Its not rendering as a lua codeblock

#

Anyways

tame compass
#

so, what's about my code?

stray dock
#

like dragging multiple instances tells you exactly how many holding click and dragigng the mouse over instances with descendants opens them

tame compass
#

Is it the right way to do something like that

stray dock
#

you can also

tame compass
#

On the server, the projectile is just a metatable and client visualises it

#

I will just use raycasting to see if projectile hits

stray dock
#

if you have a folder with lets say a bunch of parts and weld constraints you can click one weld constraint at he top and shift click one at the bottom and its only selecting the weld constraints

#

i will actually die on this hill its so useful

thorn arch
#

No firing events except the uis

tame compass
thorn arch
#

Client should receive

tame compass
#

And I did the same

#

Didn't you read it?

thorn arch
#

A projectile position and velocity

#

Then do the calculations

thorn arch
#

It hurts my eyes

tame compass
#

I can send you a .rbxl file

tame compass
#

?

thorn arch
#

On server?

tame compass
#

No

hallow crag
thorn arch
#

Then what does the renderprojectiles() function on server do

hallow crag
#

skidding rn

tame compass
#

It Fires All Clients

thorn arch
#

Oh its a local script mb

tame compass
#

Okay

hallow crag
#

as long as visuals are on the client

#

its fine

tame compass
#

nice

#

I want to try making it a bezier curve

thorn arch
#

For move vector

copper verge
#

i cant keep up with this channel its so fast

thorn arch
#

Do a dot product with character look vector

copper verge
thorn arch
#

The dot product should be low

tame compass
#

The MoveVector is the mouse hit position

thorn arch
#

Yes ik

echo talon
#

start
end

tame compass
#

Okay, thanks for your tip

echo talon
#

guys

#

im a coder now

thorn arch
echo talon
#

start
continue
end

thorn arch
#

They can shoot behind themselves

#

Which will give a large dot product

echo talon
#

yall got any good exucoters

#

😭

tame compass
brittle hinge
#

anyone experienced in scripting advanced physics vehicular systems? dm me with your portfolio

thorn arch
echo talon
#

can u help me?

thorn arch
#

Roblox studio

echo talon
#

gng

#

Im talking bout

#

hack exuctors

brittle hinge
proper veldt
#

To test the anti cheat of your game right?

echo talon
thorn arch
brittle hinge
echo talon
#

or ill js get an actual hacker

#

to test anti cheat

brittle hinge
tame compass
#

send my what you need help with

warped elk
#

print("hi")

neon relic
#

@proven wave Hi, please keep marketplace related topics in the marketplace (hiring/for hire content). I've already deleted your message.

proven wave
#

oh

spiral jungle
true birch
zenith flower
#

πŸ™

devout plinth
#

What an example of something to code for an application to the scripter role?

dim epoch
#

I have a model, there's a model in that model, that model has parts and a rotation part.

Structure:

Model A --> Model B --> PartsHere

Model A welds everything in it to the vehicle seat (so PartsHere are welded to the seat)
I want to rotate PartsHere without affecting Model A (because then everything will rotate with PartsHere

Any suggestions?

true birch
#

Uhhh I know a way but don't remember what is it shit

elfin timber
#

is there no better way to do this

graceful hare
#

Are these maps easy to build?

copper apex
#

Its exactly the same thing so just turn it into a local function

true birch
graceful hare
#

How much would the map cost?

true birch
graceful hare
#

Awesome

#

Sols rng maps are kinda classic but it looks good

true birch
#

Typically the cost idk if it's right the map requires hard work

graceful hare
#

That map i just showed is sols rng that prob took days

#

Designing things on your own takes time

#

I hope not

#

oh crap this channel is code discussion

true birch
#

Idk literally people talk about building here too

tame compass
#

give me some ideas

blazing berry
#

wsg guys i looking for scripters for my new game, if u want to help me dm me.

scarlet kestrel
#

Can anyone help me how to do something like this?

meager ocean
#

can anyone teach me how to code

true birch
meager ocean
true birch
scarlet kestrel
#

yea I agree

#

@meager ocean and thedevking

#

gnomocode

meager ocean
sharp totem
#

hey if i wanna change the size of a tool hgow i do cuz it doesnt work it glitches?

sharp totem
#

i got a question i wanna generate a number between 1,3 with math.random but i want it to generate digits after the dot like 1.192

sour vine
sharp totem
#

is that the only way?

sour vine
#

i think ye

sharp totem
#

k

neon valve
#

Does anybody have a good tutorial on text chat service and specifically creating custom chat tags tailored to a group’s role ranks?

hexed phoenix
cedar otter
#

Looking for a coder that knows how to code cooking systems and do animations in cooking systems.

#

I pay usd

#

Dm me

meager ocean
#

IT WONT LET ME PASTE

#

print("Hello!")
print("How are you doing?")
print("I'm doing very well!")
print("Same here!")
print("Isn't it cool how we're just lines of text but we just bulid up and make a story?")
print("Yeah, we're just print statements but its kinda cool")
print("The guy whose writing us is gonna be making extremely succesful games one day!")
print("Yeah, we should probably say something to the future guy whose reading us")
print("Yeah, you're right")
print("Hey man! just wanna let you know, you're doing a great job!")
print("Don't get demotivated, keep pushing yourself!")
print("We hope you created some succesful games. And if not, don't worry! You're still learning and developing skills.")
print("Yeah! Keep trying. You got it!")
print("Bye!")
print("Bye! and remember, never give up!")

#

oh

#

there it goes

#

@true birch

spring fern
#

what

delicate ferry
#

how do I access a module script in other scripts

stable cedar
#

anyone know what would be the best/most efficient way to learn scripting

wind portal
#

Is it right to Enable or disabl UI's from the client?

slender yew
#

is there a way I can pass functions as parameters in other functions?

I want to pass a custom function parameter to another function and run it from there/possibly fire to server, whats a way I can acomplish this??

restive hill
#

to reuse code in a script should i rather learn how to use modular scripts or use return function

wicked basin
#

why is it not neon

sharp totem
#

hey how do i scale in scripting a tool?

tame compass
sharp totem
#

theys a proprety in tool called scale but i cant edit it in scripting is theyre something like :scale() i need to do am not sure when i try edit it errors me

thorn arch
sharp totem
#

it error me when i try to change the scale

thorn arch
#

Haven't tried sending it wrapped in a table or dictionary though

thorn arch
sharp totem
#

what should i do then?

hushed cargo
lean jacinth
hushed cargo
#

And show us code

sharp totem
#

rogue lineage

lean jacinth
#

can u help me and give me artis ill give robux

lean jacinth
#

trust πŸ™

#

why

thorn arch
sharp totem
sharp totem
#

it doesnt fix

thorn arch
#

Show full error message

sharp totem
#

k

thorn arch
sharp totem
#

yes on the tool where should i do it?

#

cuz scale is proprety on the tool

thorn arch
#

On the model

#

It's on the model

sharp totem
#

i only have a handle so i do it in the handle?

maiden cloak
sharp totem
#

ore is the tool

thorn arch
#

Showing one line of code is crazy

#

No one is gonna plagiarize your code lol

sharp totem
#

no but the code is long

thorn arch
#

Show ur explorer

sharp totem
#

here is some

thorn arch
#

Where the tool is

sharp totem
#

it gives me the ore

thorn arch
sharp totem
#

and everything work it ores at the scale

sharp totem
thorn arch
#

What does additem return

maiden cloak
#

show the part where it creates in the module

viscid finch
#

Guys how do i fix messy code? Mainly reused code and the lack of modularization. Learning to use modulescripts is scary bro

#

Also oop

maiden cloak
#

the add item function

viscid finch
#

Can someone give me the roadmap

sharp totem
thorn arch
#

There's no roblox instance called 'item'

sharp totem
thorn arch
maiden cloak
viscid finch
#

What's the best way to progress through these topics? Do you think it should be like this:

  • module scripts
  • oop
  • vscode and git and rojo
  • walle
maiden cloak
#

and its children

viscid finch
thorn arch
viscid finch
#

Wdym?

sharp totem
maiden cloak
thorn arch
viscid finch
thorn arch
maiden cloak
viscid finch
#

From what I understood it is supported just in a different way from the normal convention

thorn arch
viscid finch
sharp totem
thorn arch
sharp totem
#

same error

thorn arch
#

Especially with strict typing

sharp totem
viscid finch
#

Do you think it's possible to make a front page game without a trace of oop?

sharp totem
#

oop is object oriented programing?

thorn arch
#

Scale the model

viscid finch
#

My impression, especially after talking with others in here, is that oop is really important

sharp totem
#

normaly its almost everywhere?

maiden cloak
viscid finch
sharp totem
#

why you strugling wit it?

thorn arch
#

In a way modules can act like oop but like i said, it's not gonna be able to do everything oop can

#

Basically

#

A completely oop based approach is not possible in luau

#

However you can still do the same things just not in a oop way

maiden cloak
thorn arch
#

I ran into these issues when trying to make a completely oop based approach to make some useful data types

viscid finch
#

Oh

#

Do you use oop alot though?

thorn arch
#

Uh

viscid finch
#

Would you say it's a "cornerstone" skill

sharp totem
thorn arch
#

Well not oop in the regular sense

#

But a proper utilisation of modules yes

#

Very similar to oop but a different workflow

#

Whenever making something i first make a module

#

You can abstract almost everything to a module

sharp totem
# maiden cloak did it work

i got a question when the tool is too big and i equip it my character kinda glitches what can i do to fix it?

sharp totem
thorn arch
#

What glitch are you getting

sharp totem
#

when i equip it my character flings a bit and spin

thorn arch
#

Impossible to make a decently sized game without it

thorn arch
#

Show vid

delicate ferry
#

golly gee

maiden cloak
viscid finch
#

Probably yeah since that's what knit does i think

sharp totem
quiet rapids
#

hello guys, this script is doing what i want, and i know that it doesn't save after (the parts revert), how would i make the changes persist? thanks!

viscid finch
quiet rapids
sharp totem
maiden cloak
steady plover
thorn arch
sharp totem
thorn arch
#

However that's very impractical

reef nymph
#

Yo guys do any of y'all know if BodyVelocity is still good nowadays

autumn falcon
reef nymph
#

I see some people saying linearvelocity is bad despite being its replacement

reef nymph
thorn arch
#

Body velocity does behave better for most cases

#

However, it is deprecated so its likely to be removed

#

Which is unfortunate

reef nymph
#

I wanna make a parkour system for some game i'm preparing and i wonder if i should still stick to bodyvelocity despite the deprecation

thorn arch
delicate ferry
#
number1.MouseButton1Up:Connect(function()
textlabel.Text = 1
end)
number2.MouseButton1Up:Connect(function()
textlabel.Text = 2
end)
number3.MouseButton1Up:Connect(function()
    textlabel.Text = 3
end)
number4.MouseButton1Up:Connect(function()
    textlabel.Text = 4
end)
number5.MouseButton1Up:Connect(function()
    textlabel.Text = 5
end)
``` How do I make the script like  if I type "123" I want the text label to say 123 instead it say 1 if you click 2 it says just 2 if you click 3 it says just 3
reef nymph
#

works around the same logics

delicate ferry
reef nymph
#

I'll try making my system with both to see if i really have to use it anyways

thorn arch
#

Concatenate to it

#

Every time a key is pressed

thorn arch
thorn arch
#

I've tried to make it feel the same

#

Couldn't get it to work

thorn arch
viscid finch
#

Also how do I "decide" whether a code is gonna be used alot or not?

viscid finch
#

I feel like that can only be known after writing the code

steady plover
#

when aot fw warhammer

thorn arch
#

For example, code for handling datastore calls

reef nymph
thorn arch
#

You might need to call this from many scripts

reef nymph
#

just put hope on the new modelers

steady plover
thorn arch
#

So you store it in a module

steady plover
#

why when how what wtf

steady plover
reef nymph
thorn arch
#

(With a serverscript and a bindable function so it can be actively called)

steady plover
#

you used to culinate in that Ho

reef nymph
#

i wanna make my own anyways

viscid finch
steady plover
thorn arch
#

It should be readable enough that you can come back a year later and still understand what the lines do

reef nymph
viscid finch
thorn arch
#

Each script should be dedicated to one function

viscid finch
#

One function?!

thorn arch
#

It should use modules where possible

steady plover
#

the lore the name

thorn arch
steady plover
#

the stages

thorn arch
#

I meant like a specific purpose

reef nymph
#

ik who to team with if i wanna speed it up anyways

viscid finch
thorn arch
#

If you break down a game into its core functions each one should have a script dedicated to it

#

And the functions should be broken down into simpler functions

#

Each should have a module for it

viscid finch
#

Why is bro so smart praysob

thorn arch
#

Is js experience

steady plover
#

better let me test it tho frfr

thorn arch
slender yew
#

whats a way I can check if the loop has finished?
I need to know when a certain text is done typing to offset time from that but I'm unsure how I'd introduce it in a loop

thorn arch
#

Its the first stage in the program development life cycle

slender yew
#

how can I check if it finished

#

I'll js uise a bindable event

reef nymph
slender yew
steady plover
slender yew
#

I don't remember if you said it, but is it going to be prog or RP?

steady plover
#

i cant seem to find it lol

reef nymph
slender yew
reef nymph
#

main gamemode will be a permadeath campaign obviously thats what i'm into

#

but i'd do other gamemodes too

slender yew
#

PD games have biggest player retention

reef nymph
#

i'll make the campaign i'd dream to have and not just a fw copy

reef nymph
#

i mean a multiplayer replayable open one

slender yew
#

rp games too ig

#

but rp games are boring

reef nymph
#

if i release it it's cuz it's the best aot game anyways

#

visually gameplay wise etc

slender yew
reef nymph
#

easy inv

steady plover
south roost
thorn arch
reef nymph
steady plover
#

i thought u already made the game public lol

somber vault
#

0.000007750000804662704, 0.000011583324521780014,0.0000055835116654634476

those are the time it takes for my state machine Switch

fading imp
#

hi guys

#

does anyone know how to make websites?

#

both frontend and backend

weak radish
fading imp
#

do u know backend?

weak radish
fading imp
#

oh

weak radish
#

I do luau

fading imp
#

cool

fleet siren
#

How do I make a randomizer shop system like in grow a garden in roblox studio?

tame compass
#

Why does it work that way?

lone marsh
#

Imagine its 1x1=1

#

True x true = true

tame compass
#

No, I understand that

lone marsh
tame compass
#

But why does it return the Instance

#

I don't quite understand that

lone marsh
#

That's what u set

tame compass
#

No, I mean

#

Ok, thanks

lone marsh
#

Workspace.Baseplate will be the baseplate instance

tame compass
#

Damn, I didn't know you could do that so easily

#

Until today

#

I'll totally be using that in my future projects

wild grove
#

Does anyone know if there is a better way to initialize components other than making a whole new service for them?

glossy ember
#

how is this possible guys?

hallow crag
#

are u talking about the module

wild grove
#

the module

hallow crag
#

just require all the components

#

in ur start script

#

this will initialize them all

lone marsh
wild grove
hallow crag
#

component auto detects new instances

#

added

wild grove
hallow crag
#

thats what the Construct and Start methods are for

wild grove
#

oh ok

spiral nacelle
#

what is never

spiral girder
#

How should I go about structuring my code base with module scripts; I've seen many games use almost exclusively module scripts and I'm wondering how I should do this

lament pivot
#

dont

#

be messy

#

module scripts <<<<

wide sparrow
#

do

#

module scripts >>>>>

hallow crag
cerulean mural
#

Does anybody know any good AI apis or if character API came out publicly for Roblox

slender yew
#

is there something like promptShowing?? I'm trying to check if a prompt is on the screen WHEN the function runs

sour vine
#

magnitude

worn flax
#

he explains it somewhere

#

not sure where though

safe onyx
#

I love luau

tardy niche
tribal meadow
#

Gang what ML project should I develop

coarse parcel
#

This is an old roblox script (22-10-2007 not 100% exact)

#

just... look at that

true birch
coarse parcel
calm bear
true birch
coarse parcel
#

Or both

true birch
#

Ok

calm bear
#

it's just whoever wrote it wasn't very experienced

stark zodiac
coarse parcel
# calm bear honestly it being old isn't the bad part

I dont know very much of roblox in that year but I think only some people from roblox and admins knew some scripting, so it isnt a surprise that the person who wrote it didnt was experienced because it seems to be a game made by Telamon (admin and roblox worker) and Reverse_Polarity (idk if it was a "normal person") in that case that explains a lot

craggy niche
#

how do i move a player's camera to a part? i tried workspace.Camera.CFrame = Part.CFrame but it no work

hoary cedar
#

Set Camera.CameraType to Enum.CameraType.Scriptable

teal quiver
viscid finch
#

Can Roblox run on ps3?

glass pumice
#

common teleport script

wary pollen
#

Gemini UI generation :

#

Vs ChatGpt (highest model) UI generation :

glass pumice
wary pollen
#

Gemini also implemented animations to while chatgpt did not

#

both had the same prompt

safe onyx
#

gpt isnt that good at coding

delicate ferry
#

What are somethings I NEED to know in scripting. Cuz I don't really know what to learn I've learned a lot but what are all the things I NEED to know

glass garden
glass pumice
cursive flare
round shell
#

Doess someone know how to lock a uigridlayout so it doesnt move anything

somber vault
#

Hey guys I’m a builder and recently I got a new PC therefore I am now looking for ways to learn Lua as stated before im already a good builder. How did you proficient coders/scripters learn lua/luau or do you guys use anything else? Thanks!

remote bear
#

what do guys think of this new water

rapid eagle
somber vault
#

yea but where

rapid eagle
#

i actually wondered like you

#

now i am a good scripter

rapid eagle
somber vault
#

some people say forums some say youtube some say through books

rapid eagle
#

anything u can learn

rapid eagle
somber vault
#

i wanna know the most efficient strategy to learn Lua

rapid eagle
#

learn practice

somber vault
#

alright

#

thanks man

#

I’ll probably start with online documentations through websites and go to youtube videos afterwards

rapid eagle
rapid eagle
#

try

#

if u want help just hit me a dm

#

dont be shy!

somber vault
#

oh alright thanks

#

i’ll lyk

rapid eagle
#

just practice and keep learning trust me it works this way

#

I used to be like you wondering and I started and now I can script!

#

you never see it coming!

junior thicket
#

you guys know how i can make random spawn system simllar to those steal a game things on roblox with diffrent raritys and etc

somber vault
#

yea it’s just that i’m a litttle skeptical as learning the most efficient way comes from learning the basics and working on that

quartz violet
#

Anybody know C++ ?

rapid eagle
#

maybe you won't use it but it is good to know cause who knows if you willl

somber vault
#

yea i guess

hazy flint
hazy flint
quartz violet
somber vault
#

mhm i’m pretty well versed with most things though i know java and javascript along with a little python from my AP classes

#

but i specifically want to know and understand Lua more

hazy flint
#

Luau is like python ig

somber vault
#

and get advanced at it

somber vault
hazy flint
#

just do a lot of practice

rapid eagle
#

I prefer luau

#

just cause it makes it easier for me

#

not in a way

#

but like

#

Idk how to explain

hazy flint
#

silly programming languages always want to act special

#

some start indexes at 0 some at 1

#

get soo confused sometimes

rapid eagle
icy trench
#

Programming is hurting my brain

pine torrent
rapid eagle
rapid eagle
pine torrent
#

the ui is just a placeholder for my everything

#

in realife game there will be absolute minimum of it

#

going for realism still

vital parrot
#

looks nice

pine torrent
#

im not a terrain designer at all

#

im mainly builder, scripter

#

ill have LOTS of trouble with UI for sure

#

ive made playermodule from scratch and added everything i wanted

remote bear
pine torrent
little horizon
#

I want the power to increase when hitting this stone with a sword, but I can't do it, help please 😦

pine torrent
# pine torrent

btw im trrying to take inspiration from far cry 4 and russian city

little horizon
#

pls help

remote bear
little horizon
#

@remote bearpls help

pine torrent
#

and game will use water as a movement system in few chapters

#

i got big plans for it

remote bear
pine torrent
#

what's the issue i don't understand

#

water can't be glass clear

remote bear
red tundra
red tundra
pine torrent
#

masterpiss*

#

master whatever

remote bear
pine torrent
#

bro why the fuck my roles are gone

#

i was boutta say check my roles

#

to flex that im not a builder

#

but i got NOTHING with myself

red tundra
#

idfk

pine torrent
pine torrent
#

no joke

#

its simpler thann you think

#

just do this, and this, skip few steps here

#

and you got ICBM in home

red tundra
red tundra
pine torrent
red tundra
#

πŸ”₯

remote bear
pine torrent
red tundra
#

well i do know how to make decently good builds but im still ass

pine torrent
#

roblox for being limited

#

blener for having to brainfuck

remote bear
pine torrent
#

nothing else

#

advanced system btw

remote bear
pine torrent
#

then rewrote it to the roblox studio

mystic grotto
hot wraith
rain osprey
#

which would you rather read:
(((i + 1) // 2) % 2) / 2

or:
(i + 1) // 2 % 2 / 2

blissful ruin
#

can someone help me with something? i dont know how to do like this rotation issue.

lilac crater
#

Can anyone help with a code? I think ik where the fail is but I'm not sure how to fix it. It's kinda long to put it in here so I'd appreciate a dm

mental shore
#

No hiring outside of marketplace, thanks coolguy

frank knoll
#

Fair, can I have permissions to post then?

somber vault
#

raycasting is better than aab i think if you only care about basic roblox shapes

#

?

dry bramble
#

can i pay someone to help me

neon nova
#

guys I have some boolvalue that im trying to check the value for, and even though its true (the box is checked) the print statement keeps printing false and I dont understand why its doing that

#

can someone help?

stray dock
#

would this crash studio

#

LOL

split zephyr
#

Can someone send me the page that has all the script commands

stray dock
#

wdym script commands

split zephyr
#

I mean all the things you can tell it to do

stray dock
#

what do you mean

#

functions? methods? like getchildren or for loops?

old bloom
#

yooo after like an hour of coding I made a simple trade shop using a remote function

#

actually i made it in like 20-30 minutes but the debugging part is what made it longer and it actuallys annoys me why

#
  1. was because i was sending the remote event before the mousebutton1click so it was autmatically taking money down which bugged the system.

AND

  1. The name of the tools were wrong. I added tools like a flashlight and sword and expected them to have those name so I added them and looping through replicated storage but turns out their names where "ClassicalSword" and "Flashlight" (without a capital L)
#

actually annoying but felt good and im improving way more from when i orginally wanted to code but i gave up around remote functions!!

naive kiln
#

how to find a scripter who will actually finish a comm

old bloom
naive kiln
#

Was some stars wars shit, even offered an entire band but most dms were just bots and the people we wrked with just quit afte a while or dropped the comm, prob due to difficulty/scale/time needed

tame finch
#

how do i learn to better structure my code and put it together and stuff

#

cause honestly i learned how to code through yt tutorials and stuff but i dont' really know how to learn the more niche topics

lone salmon
#

just google it i guess

#

i mean im basically braindead still i cant remember even the basic stuff even tho i just did it yesterday

lone salmon
#

very useful

hazy flint
coral anchor
#

yo
does anybody have a drift system
like basic

naive kiln
hazy flint
#

yeah generally when people say commission they expect short term like 1 week - 2 weeks at most

lost yoke
#

honestly you shouldnt be having that much trouble finding someone unless its an insane task

crude quarry
#

Is there a way to anchor a rig without disrupting the animation? Or is there a simpler way then coding each part of the rig to be anchored?

true birch
true birch
#

Character with HumanoidRootPart and Humanoid will make him anchor

#

Or you want the character to float ?

crude quarry
#

I have a rig that has an idle animation and I wanna stop him from being pushed around but if I anchor his model it stops the animation as well

oblique epoch
#

Dm me if u can script. im tryna make a fast incremental cashgrab game i have the idea already.

crude quarry
crude quarry
sudden estuary
#

try it urself, it really depends on how u implement the aabb and what u r using on

true birch
oblique epoch
sudden estuary
#

raycast and aabb are not really comparable for collision as they vary on how they work

#

aabb u compare the vertices , to achieve such an affect with raycast u would have to do multiple raycasts

crude quarry
compact wing
sudden estuary
#

linear velocity

true birch
true birch
compact wing
#

its uuhh vc sync

#

was talking normally and then screaming near the end

true birch
#

Please continue that will turn into GTA

compact wing
#

to be sub rosa the entire game is a ragdoll physics game

crude quarry
#

I just figured it out thanks to @true birch I had to anchor the humanoid root part and not the actual rig parts

true birch
compact wing
#

yur its nearly done tho

true birch
crude quarry
compact wing
crude quarry
#

ironsite I mean

#

same thing

compact wing
#

when you start getting injured

crude quarry
#

like the iron sites in CSGO

compact wing
true birch
#

Btw don't you dare delay the game like rockstar games

compact wing
#

is meant to be a procedure to do

crude quarry
compact wing
#

just using the shotugn requires you to manually rack it forward and backwards

#

you should see the nades lol

#

i got a decent clip here

crude quarry
#

yknow what that needs 2 ironsites

compact wing
#

its a ragdoll

#

so uhh it aims how i make it aim

crude quarry
#

fine but add a 3rd ironsite so I can flip the gun upside down

compact wing
#

😭

#

bro i remmber

#

i blew some dudes arms

#

with the shotgun