#code-discussion

1 messages · Page 34 of 1

somber vault
#

Its good but i need to rehaul the conbat

#

Combat

#

Been starting that it seems promising so far

#

I mean the main issue with the current combat is like bugs and it feels clunky

fervent karma
fervent karma
somber vault
#

new one feels fluid it just need to get the characters done

somber vault
fervent karma
#

cause tsb handles they'res all on the server

somber vault
#

Random batman

fervent karma
mossy yoke
#

i have 0 knowledge when it comes to coding. so i js think of a random thing of what i want to code then look up how to do it? or wouldnt at least a tutorial on the basics help as well

somber vault
#

Also have this lol

#

This is kind of outdated slightly alr lol

tacit moss
#

even more fire bro

#

u hirin? lemem make acharacter

somber vault
#

No

#

Tis just a rehaul on the combat cuz the current is kind of ass

#

like clunky and buggy fr

#

it alr a finished game thi

tacit moss
#

anything i touch becomes gold i can help u big bro

somber vault
#

Tho*

#

This is so old now

#

i still hate that we needed to change the name cuz some other game took it after we existed for a while and got 10k players

#

Legal fees not worth it

tacit moss
#

ooo zee mama

#

sounds like money

#

look dms friend

somber vault
#

No thx

#

Already have a team

tacit moss
somber vault
#

Progress alr good for the like 1-2 day of work i be doing so far on it

tacit moss
#

fsater done

#

faster

somber vault
#

There isn’t really much to do rn anyways

#

Its more of move concepts and porting over things which is ez

tacit moss
#

porting over means re working

somber vault
#

move concept is a diff thing tho

tacit moss
#

optimizing?

somber vault
tacit moss
#

oh

somber vault
#

Most of the abil are ez cuz its just anim and use hitbox

#

or smth simple

tacit moss
#

mmmmmmmmmm

somber vault
#

I think I should rework melee to be not auto swing

tacit moss
#

did i hear rework

#

why i start smiling irl

#

ay bro this my specialty

somber vault
#

mobile ram usage is so weird on roblox in general

#

it make sense tho

#

Well its not mobile its like all device

tacit moss
#

yikes are u having memory leaks

somber vault
#

If u have more ram

#

Roblox use mucu more

tacit moss
#

i have dreams of about trove

somber vault
tacit moss
#

im a optimize demon

somber vault
#

I am talking abt how like

#

If i use mobile emulator and cap the ram at 2gb

#

Ram usage in this test place is like 600-700mb or smth but if u have more ram like if i use my iphone cuz it has much more ram it uses more cuz it supports it

#

its just roblox itself

azure granite
somber vault
#

Not the game

somber vault
#

Ram usuage p good i just find it weird how its done but idk how else they could do it lol

somber vault
#

Im just saying it

#

it like a interesting fact that all

tacit moss
#

i see

#

what do u do develop wise

#

or everything

vague fiber
dusky fox
minor night
clear mirage
#

why does pathfinding service doing this

#

btw the door has a pathfindingmodifier that has passthrough enabled

nimble coral
vague fiber
vague fiber
nimble coral
#

all you need is proper named parts, a humanoid and an animate script

vague fiber
#

that code up there is the animate script all my parts are named and have a motor6 connections and are all linked

#

unless ur meaning somthing else

nimble coral
#

every character has this script

vague fiber
#

im not getting what ur saying

nimble coral
#

are you fucking slow

#

every character has a script made by roblox thats called Animate

vague fiber
#

no ur just fucking dog shit at explaining and listening

#

if u have been paying attention and not having the ego bigger than ur brain you would understand how stupid you sound rn

nimble coral
vague fiber
#

it dosnt come with a script u fucking nugget Ive stated multiple times its not a roblox model it dosnt come with the script. READ. I made the model the meshes the bones the code. ur absolutely 0 help muting filth and moving on

#

mabye try reading

#

not complicated

nimble coral
#

goodluck then

vague fiber
#

muted

nimble coral
#

💀

vague fiber
#

waste of time

#

all cause you cant read

nimble coral
#

if you used your brain

vague fiber
#

enjoy yapping to urslef

nimble coral
#

alr

#

enjoy struggling then if you dont need my help

vague fiber
#

If anyone who can actually read english and understand basic english wants to help feel free

vague fiber
#

I have a custom model

#

made a custom animation script

#

and its just got some funky movment

#

all animations work just has some weird velocity or somthing i have a video up here

vague fiber
#

nvm it was just the hip height had nothing to do with code or animation it was just too low

tacit moss
cinder basalt
hardy pilot
#

Nah I mean it looks great

#

Just couldve been a little more original

#

Considering it's copied beyond game concept

tacit moss
#

well it’s a template so it’s suppose to copy a games current framework

#

drag sell and weld 🫡

hardy pilot
#

Yeah but this also model and look

lean ocean
#

There's so many dead rails games

mossy yoke
floral lantern
#

Can someone hire me please I am talented scripter I just need a small commison for like 500+ robux cuz my friends birthday Tommorow I can give id card for proof too

stuck gazelle
#

Can somone help me evertime i start the game these disapear and idk how to fix it

#

Before test run:

#

after test run:

terse vector
#

It is because you are on the client

#

You see where it says "Current: Client"

stuck gazelle
#

where?

terse vector
#

Next to the stop button

stuck gazelle
#

ohhh

#

i see

#

thank uu

#

im dumb

terse vector
#

No worries, you can change to the server view mid-test

stuck gazelle
#

wait

#

no thats not it i mean like without the spawns when im in game i can tp to them when i click arena

#

look

terse vector
#

Oh, it seems like it's not a perm problem my bad

#

Are they anchored?

stuck gazelle
#

yeah

terse vector
#

They could be falling off the map as the game is loading

stuck gazelle
#

nah i made sure they anchored

terse vector
#

To just disappear is impossible, do you have some code that might be deleting them?

stuck gazelle
#

oh wait

#

i forgot to un merge arena spawns from obby

#

that might be it

#

imma try and seperate em

#

see what it does

tawdry terrace
#

Is it ok to like add a value of my currency on client side?

terse vector
#

Never? Sounds like you know the answer...

tawdry terrace
hardy pilot
stuck gazelle
#

lemme get it

hardy pilot
#

I only need to know what it is checking for the warning and where is it indexing

stuck gazelle
#

the code is too long to send it says

hardy pilot
#

Yeah I dont need the entire source file

#

Find the warning and copy the snippet

stuck gazelle
#

ok

#

-- Arena Button Click Event
arenaButton.MouseButton1Click:Connect(function()
if #arenaSpawns > 0 then
local randomSpawn = arenaSpawns[math.random(1, #arenaSpawns)]

    -- If the spawn is a model, find the part inside it
    local spawnPart = randomSpawn:FindFirstChildOfClass("Part")
    if spawnPart then
        teleportTo(spawnPart)
    else
        warn("No part found in spawn: " .. randomSpawn.Name)
    end
else
    warn("No arena spawns found in ArenaSpawns folder!")
end

end)

#

idk that

stuck gazelle
#

it does i sent photos the folder exist with spawns in it it just the spawns in it disapear when i test gmae

hardy pilot
#

Also maybe you should hire somebody or learn to at least code if you want to make a game

stuck gazelle
#

how do i fix that

hardy pilot
#

How do you fix it being empty?

#

You add a thing

stuck gazelle
#

it has tuff in it check the first image i sent

#

stuff*

#

mb

#

but once i clicked start it disapears

hardy pilot
#

Its probably falling into the void and getting destroyed

stuck gazelle
#

I FIGURED IT OUT

#

it keeps disapearing bc i built it in the void

#

aint no way i just tested it by bring an item back to base level

ornate bough
#

Who here knows how to spoof animations and do whole gun scripts and complicated stuff like gun skins and bullet trail colors

#

And who here is active

cinder basalt
#

U spoof animation using animation spoofer

ornate bough
cinder basalt
#

Wild

ornate bough
#

What

#

Games use spoofs all the time

ornate bough
cinder basalt
cinder basalt
ornate bough
#

WHAT

#

I didn’t know that

cinder basalt
#

Okay unless u are buying a game or its opensource

ornate bough
#

Like it was already spoofed

cinder basalt
#

Spoofing is for fixing the goddamn anims cus roblox has to make shitty annoying 'anti theft'

ornate bough
#

And it’s already there

cinder basalt
#

Good

ornate bough
#

Cuz Roblox breaks animations

cinder basalt
#

Na it doesnt u prolly do something wrong

ornate bough
cinder basalt
#

Theres spoofer plugins

ornate bough
#

Yeah I know

#

But it’s annoying to use those in general

cinder basalt
#

Then thats what i said

#

Why repeat

#

U create confusion

#

Chaos

ornate bough
#

I do that often

#

Im really bad at explaining things

#

I have to back track pretty often

cinder basalt
#

😔 🙏

ornate bough
#

NO

cinder basalt
#

Ok well the point being i wont help cus im not even on my pc 😈

ornate bough
cinder basalt
#

@subtle estuary help this man

broken flint
#

guys i'm confused with this one thing.
I discovered how to use module scripts yesterday and I'm trying to make 3 client sided module scripts interact with each other.

So if one enables shift lock for example I want the other to know that and so it will enable a feature based off of what that script did to shift lock. Get it?

I saw that remoteevents and removefunctions could help but im not sure

terse vector
#

Rememeber that a modulescript is just a storage container for code, it can't run by itself. If you want to use a feature from two different module scripts, then create one shared container(a script) and a way for them to communicate with each other.

broken flint
terse vector
#

The communication would need to be handled in some way in the local script.

#

Im going to look up a documentation thing real quick, I strictly only use meta classes inside modulescripts so I have to re-check what you can do again, if anyone else has more knowledge please chip in!

#

Meta classes are super easy because you can just load up all your modulescripts into the global variable and then cross-communciation is super easy.

broken flint
#

how do you create a meta class???

#

or do you mean meta tables

terse vector
#

^^ yes, typo

broken flint
#

ah I see

terse vector
#

The idea of using a meta table approach to combine modulescripts is to define all your base variables and methods per module script, and then load them onto the global table.

#

But that might be more of a rabbit hole than you need to get what you need working.

#

I believe you can pass functions through, so you could create an update function, and pass it to the other module script through the local script.

broken flint
#

hmmm what I'm trying to do is I have this one POVChanger script then this AltLock script (custom shift lock because I disabled the actual shift lock) and now I want it so whenever the POVChanger makes the client go into First person then the AltLock disables the ability to altlock during that but I also want the client to remember if I was in altlock or not before going into first person so when I get out of it then it will put me back to my old state. I made this work before but it was too confusing so I just scrapped it and decided to re try it

broken flint
terse vector
#
-- localscript.lua
local A = require("A")
local B = require("B")

A.onUpdate(B.doSomethingOnUpdate)

-- EOF
-- B.lua
function B.doSomethingOnUpdate() 
  -- do something!
end
#

Psuedocode

#

I may be wrong, but I am sure you can pass functions to other modulescripts.

#

I can test this if you desire.

cinder basalt
#

U dont pass

broken flint
cinder basalt
#

Where u put more functions

#

And u call these functions so they use other stuff from inside the module script

broken flint
iron oyster
red pelican
#

Modulescripts are great and they've given me more headaches than anything else in my entire life

charred night
#

i recently did this thing with modules

#

where i have a class and i store all the class instances inside

#

so its accessible from anywhere

#
local Inventory = { __instances = {} }
Inventory.__ index = {}

function Inventory.new(Player)
  local self = setmetatable({}, Inventory)

  self.Items = {}

  Inventory.__instances[Player.UserId] = self
  return self
end

function Inventory.of(Player)
  return Inventory.__instances[Player.UserId]
end

local MyInventory = Inventory.new(LocalPlayer)

-- in anotha script

local HisInventory = Inventory.of(SomePlayer)
charred night
gloomy kraken
#

ok lol

broken flint
cedar flicker
#

For same sided stuff

carmine imp
#

are particle emitters behaving weird for anyone else? i didnt change my code but theyre not working well today for some reason . they still kinda work but they barely emit anything

rigid cedar
#

playtest the game then change it

carmine imp
#

found the problem. i forgot i set StreamingEnabled to true yesterday

carmine imp
blissful turtle
#

Guys can someone give me a stamina system for pc and mobile that actually works, bc I can’t find any and I keep trying to make one but fail. Pls anyone

broken flint
static coral
#

you dont need bindable event its kinda unnecessary

broken flint
static coral
#

yes

broken flint
#

oh and also

#

I watched a video about oop and I'm wondering if I should turn the povchanger module into an oop thingy because I'm in two states right? First and Third

#

but at the same time I feel like oop is not necessary because its only two states

static coral
#

for example

local module1 = require(…)

local module = {}

function module.DoDomething()
local whatever = module1.readvalue()
end

#

sorry for no formatting im on mobile

broken flint
#

its alr

static coral
#

look into oop concepts

broken flint
#

what should I use oop for? My movement module???

static coral
#

oop should be used for instances of a certain group of objects

static coral
broken flint
#

ohhh

carmine imp
static coral
#

search up what object oriented programming is

cinder basalt
#

We hate object oriented programming!

#

Whos with me

static coral
carmine imp
static coral
#

other systems that you can use oop for could be, gun systems (instance for each different gun), melee system (instance for each melee), item class (instance for each item) and there are many more

broken flint
static coral
#

not necessary tho and might be overcomplication

broken flint
#

bro my brain is getting overstimulated with the info i'm getting rn

static coral
#

then stick to basics

broken flint
#

oop, meta class, state machines

static coral
#

dont try to run if you cant even walk

cinder basalt
broken flint
carmine imp
#

dont even bother with metatables except to initalize an object. metatables are an over abstraction 90% of the time

static coral
#

metatables are completely unnecessary for roblox oop

#

only in some rare exceptions

static coral
#

but stick to simpler things for now

#

cause you are overcomplicating it for yourself

carmine imp
mossy island
broken flint
static coral
broken flint
#

have you tried waiting like 5 seconds before using stuff in roblox studio because sometimes roblox studio takes a bit of time to load stuff in

static coral
#

preloadasync

#

preloadasync

#

use contentprovider

#

it will preload and download animation

mossy island
static coral
void tapir
#

can someone help me fix my ui which changes shirt and pants via textbutton

static coral
#

try that first, if it doesnt work, use preload async on the animation id. and also, give it some time first, it will never be loaded instantly. print when its done so you know and then test

mossy island
#

We love overcomplicating

static coral
# mossy island True

and also metatables arent serialized so if u send a table with a metatable over a remote then you will have to set the metatable again on the client/server

mossy island
#

Didn't even know they weren't

void tapir
# static coral show code

local attireData = {
["Branchless Formals"] = {shirt = "2235483059", pants = "5620757523"},
["Camoflauge Uniform"] = {shirt = "5636765705", pants = "5636855242"},
["Casuals 1"] = {shirt = "5079629222", pants = "6422108001"},
["Casuals 2"] = {shirt = "6423055828", pants = "1138259741"},
["Formals 1"] = {shirt = "6440913874", pants = "5078945912"},
["Formals 2"] = {shirt = "6323488295", pants = "6323493477"},
["Formals 3"] = {shirt = "6440855011", pants = "5078945912"},
["HICOM Uniform"] = {shirt = "2205168954", pants = "2205132445"},
["Instructor Uniform"] = {shirt = "5422222033", pants = "5292802113"},
["MP Formals"] = {shirt = "5790817195", pants = "5790915109"},
["MP Uniform"] = {shirt = "5281541079", pants = "5620757523"},
["Medic Uniform"] = {shirt = "5362322176", pants = "5791111733"},
["RG Uniform"] = {shirt = "5600263678", pants = "5790915109"},
["Royal Family Robes"] = {shirt = "6433189810", pants = "6433190678"},
["S4 Uniform"] = {shirt = "6274637465", pants = "6272062790"},
["SG Formals"] = {shirt = "5791069010", pants = "5791111733"},
["SG Uniform"] = {shirt = "5355220048", pants = "5620757523"},
["SL Formals"] = {shirt = "6367724642", pants = "6369431978"},
["SL Uniform"] = {shirt = "6267634540", pants = "5620757523"},
["Trainee Uniform"] = {shirt = "1016513387", pants = "5620757523"}
}

local function applyAttire(player, attireName)
local character = player.Character
if not character then return end

local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end

local attire = attireData[attireName]
if not attire then return end

-- Remove old clothing
for _, v in ipairs(character:GetChildren()) do
    if v:IsA("Shirt") or v:IsA("Pants") then
        v:Destroy()
    end
end
#

-- Apply new shirt
local shirt = Instance.new("Shirt")
shirt.ShirtTemplate = "rbxassetid://" .. attire.shirt
shirt.Parent = character

-- Apply new pants
local pants = Instance.new("Pants")
pants.PantsTemplate = "rbxassetid://" .. attire.pants
pants.Parent = character

end

-- Example usage (assuming button connection)
for attireName, _ in pairs(attireData) do
local button = script.Parent:FindFirstChild(attireName)
if button then
button.MouseButton1Click:Connect(function()
applyAttire(game.Players.LocalPlayer, attireName)
end)
end
end

static coral
#

format it

void tapir
#

idk how to do it on discord

#

also i asked help from ai with this because its my first time doing something related to clothing

#

via ui

static coral
#

dang limit

#
local attireData = {
    ["Branchless Formals"] = {shirt = "2235483059", pants = "5620757523"},
    ["Camoflauge Uniform"] = {shirt = "5636765705", pants = "5636855242"},
    ["Casuals 1"] = {shirt = "5079629222", pants = "6422108001"},
    ["Casuals 2"] = {shirt = "6423055828", pants = "1138259741"},
    ["Formals 1"] = {shirt = "6440913874", pants = "5078945912"},
    ["Formals 2"] = {shirt = "6323488295", pants = "6323493477"},
    ["Formals 3"] = {shirt = "6440855011", pants = "5078945912"},
    ["HICOM Uniform"] = {shirt = "2205168954", pants = "2205132445"},
    ["Instructor Uniform"] = {shirt = "5422222033", pants = "5292802113"},
    ["MP Formals"] = {shirt = "5790817195", pants = "5790915109"},
    ["MP Uniform"] = {shirt = "5281541079", pants = "5620757523"},
    ["Medic Uniform"] = {shirt = "5362322176", pants = "5791111733"},
    ["RG Uniform"] = {shirt = "5600263678", pants = "5790915109"},
    ["Royal Family Robes"] = {shirt = "6433189810", pants = "6433190678"},
    ["S4 Uniform"] = {shirt = "6274637465", pants = "6272062790"},
    ["SG Formals"] = {shirt = "5791069010", pants = "5791111733"},
    ["SG Uniform"] = {shirt = "5355220048", pants = "5620757523"},
    ["SL Formals"] = {shirt = "6367724642", pants = "6369431978"},
    ["SL Uniform"] = {shirt = "6267634540", pants = "5620757523"},
    ["Trainee Uniform"] = {shirt = "1016513387", pants = "5620757523"}
}

local function applyAttire(player, attireName)
    local character = player.Character
    if not character then return end

    local humanoid = character:FindFirstChildOfClass("Humanoid")
    if not humanoid then return end

    local attire = attireData[attireName]
    if not attire then return end

    -- Remove old clothing
    for _, v in ipairs(character:GetChildren()) do
        if v:IsA("Shirt") or v:IsA("Pants") then
            v:Destroy()
        end
    end
#
-- Apply new shirt
    local shirt = Instance.new("Shirt")
    shirt.ShirtTemplate = "rbxassetid://" .. attire.shirt
    shirt.Parent = character

    -- Apply new pants
    local pants = Instance.new("Pants")
    pants.PantsTemplate = "rbxassetid://" .. attire.pants
    pants.Parent = character
end

-- Example usage (assuming button connection)
for attireName, _ in pairs(attireData) do
    local button = script.Parent:FindFirstChild(attireName)
    if button then
        button.MouseButton1Click:Connect(function()
            applyAttire(game.Players.LocalPlayer, attireName)
        end)
    end
end
#

there

#

you need to use ` to format it

void tapir
#

anyways do you know why

static coral
#

im checking

void tapir
#

alr much appreciated

static coral
#

so what did u say does it do

#

@void tapir

void tapir
#

but it just makes me nude

static coral
#

is the script a local script or server script

#

im assuming local script

#

also it wont replicate for other players then

#

it will only change on your screen

void tapir
static coral
#

and then do applyattire on the server

void tapir
static coral
static coral
#

also

#

i dont think shirts and pants work if u just create a new instance and parent it to character

#

they are a bit strange i remember trying it a while back

#

so dont destroy the shirt and pants just change template id

#

another way to do it is with humanoid descriptions but thats not necessary for this

static coral
#

👍

verbal rivet
#

Im hearing people say magnitude is better but some say raycast is better

#

Is it just preference or depends on what im making

static coral
#

idk

verbal rivet
#

Which one is more simpler to understand

static coral
#

idek what magnitude hitbox is

verbal rivet
#

oh then nvm then

carmine imp
#

magnitude hitboxes are easier to understand

#

(imo)

#

magnitude hitboxes is just a fancy way of saying youre calculating the distance between the hit and the hitbox to determine if it was a hit

verbal rivet
#

Aw

#

Ah.

frail glen
#

ello dudes

heady burrow
#

fake

#

The link is fake

#

Don't trust it's a scam

lean ocean
#

OMG FREE MONEY

#

I'm clicking it

heady burrow
#

steanmecommunuty

#

is the link

#

it should be steamcommunity

#

or smth like that lol

cinder basalt
#

Im claiming the free money

rain vessel
#

i've got this problem with my script and im very new to scripting

#

could someone help me with what i did wrong here?

teal vapor
rain vessel
teal vapor
#

its Humanoid not humanoid

rain vessel
#

oh alright

#

thank you bro

teal vapor
#

yw

rain vessel
#

is this better?

#

alr it works

#

@teal vapor

#

is this better?

true yarrow
#

Joking

teal vapor
true yarrow
#

Hope u do learn tho

teal vapor
#

you can’t name a variable like that

rain vessel
teal vapor
#

it has to be 1 word

#

so just do Animator

rain vessel
#

so like HumanoidAnimator?

#

or just Animator

teal vapor
#

and waitforchild only waits for the children inside the parent

true yarrow
teal vapor
#

not whats also inside it

true yarrow
#

If u wanna get the animator

teal vapor
rain vessel
#

what does it change?

true yarrow
#

U do :
Humanoid = character:WaitForChild("Humanoid").Animator

teal vapor
#

so you cant do :WaitForChild(“Humanoid.Animator”) instead you have to do Humanoid:WaitForChild(“Animator”)

true yarrow
#

If u wanna get the animator

teal vapor
true yarrow
#

WE never add maj on a variable

#

Exept for exemple playerCoin

#

Im just showing him an exemple

#

Im not home rn

rain vessel
true yarrow
rain vessel
#

m1

true yarrow
#

And why would u mind about the anim in an client script

rain vessel
#

?

true yarrow
#

If u fireserver js play the anim in the server

rain vessel
#

idk someone told me to do fireserver and idk what that doess

true yarrow
#

Rn from what im Reading , the anim will only play on client side

rain vessel
#

oh

#

i wanna change that

true yarrow
#

Imma help u when I get back home

#

In like 1hour and half

rain vessel
#

oh damn

true yarrow
#

But basically

rain vessel
#

i've also go this one

true yarrow
#

U have a client script which check stuff needed on client, such as userInput

#

And then

#

Server

#

Which will go check serverwise sh

#

Like anims

#

Idk about damages yet i ain't good enough at it

rain vessel
#

also

rain vessel
true yarrow
#

And we gonna VC

#

So i Can show u

rain vessel
#

alright

tacit moss
lean ocean
#

it replicates

#

it will play for other players too

rain vessel
#

oh alright

#

good then

true yarrow
#

I mean most poeoles would use modules

#

For the framework

lean ocean
#

uh more then playing on the server yes

true yarrow
#

Good to know

tardy pasture
#

hey guys do u know why this isnt working i am trying to create a custom mouse using a imagelabel but for some reason where the actual mouse is and the image are way off each other this is my code : game:GetService("RunService").RenderStepped:Connect(function()
cursorImage.Position = UDim2.new(0, mouse.X, 0, mouse.Y)
end)

dreamy berry
#

i have a simple question guys, i need your answer please.
Can i use tweenService in LocalScript ?

calm ruin
#

Yes

dreamy berry
tardy pasture
dreamy berry
wise turtle
#

@random nebula give neovim config

oblique epoch
#

which scripter wants to make a game theres no payment u get 65% alongside this i will advertise over 100k robux into the game and i can show proof likely meaning we will gain

oblique epoch
#

i got 2 dm

#

so i might just pay

charred night
tardy pasture
rain vessel
#

could someone help me fix this?

charred night
#

???

tardy pasture
tardy pasture
rain vessel
charred night
#

did u disable gui inset on the screen gui

tardy pasture
charred night
#

on the screen gui

#

in its properties

tardy pasture
#

lemme see

tardy pasture
charred night
#

gui inset bro

#

its a boolean

tardy pasture
#

ye im not really good with ui is it in the imagelabel ??

charred night
#

brother

#

its in the screen gui

tardy pasture
#

OMG

#

im so stupid

#

ight turned off lets see

#

nope

blissful turtle
#

Guys can someone give me a stamina system for pc and mobile that actually works, bc I can’t find any and I keep trying to make one but fail. Pls anyone

tardy pasture
static coral
#

is this my villian arc chat

restive wigeon
cinder basalt
polar glacier
#

thats not good idea

#

jesus

#

yk

polar glacier
cinder basalt
polar glacier
#

what

silver gale
#

guys im learing scripting and its started to get realing boring so i keep going?

#

??

cinder basalt
silver gale
#

k!

tacit moss
restive wigeon
#

Destroy

cinder basalt
#

The rails are dead get over it

tacit moss
#

use ur brain

#

use the game is dead with 400k ccu and 700k+ ccu on the weekends

silver gale
#

how did yall learn scripting

tacit moss
#

yesss the game making over 100k usd a month is dead

tacit moss
#

i would learn the basics and actually know the basics

#

and then from there it’s like lego blocks u learn overtime

silver gale
#

but how do i learn them?

#

like what tutoriol did yall use or recomend

tacit moss
#

do u like to read or watch videos

silver gale
lean ocean
tacit moss
#

me personally i rather read then watch a video so i read roblox dev forum tutorial they give u and i use to take notes

lean ocean
#

aint no one playing that shit

tacit moss
#

get some money children do not care

lean ocean
#

yes the ones that released first

silver gale
#

like what youtube

tacit moss
#

dead sails averages 10k + ccu

#

that’s well over 1k USD a month lmao

raw pilot
#

r u gonna change anything

tacit moss
#

No it’s a template i’m not making a game im providing the template for other developers

tacit moss
silver gale
#

k

silver gale
tacit moss
silver gale
#

pretty well i used to be a buildere

tacit moss
#

that’s good

silver gale
#

did you use the tutoriols from devking?

tacit moss
#

i use to watch a lot of videos

#

and i use to take notes when i started

silver gale
#

okay!

tacit moss
#

but it took me a while to really understand since i was consuming instead of putting out

#

once i started creating that’s when it started to stick

#

also debugging scripts in toolbox helped a lot

silver gale
#

thank you!!

tacit moss
#

and when i didn’t know something id look it up on dev forum

cinder basalt
tacit moss
#

are u mentally slow?

#

ive seen it first hand lmfao any game with decent mon. and over 1k ccu is making a little over 1k a month

cinder basalt
#

Also answer why u keep sending this

tacit moss
#

have u released a game u can ask anyone

#

use ur brain and think

cinder basalt
#

10k ccu is not making over 1k, its making over 10k

tacit moss
#

boa

#

over 1k
over 10k

#

SAme

tacit moss
cinder basalt
#

Yeah dead rails racks in over 10$ a month

#

That tells us a lot

tacit moss
#

dead rails is making way over 25k bro

#

LMFAO holy shit

cinder basalt
#

Way over 10$

tacit moss
#

it easily pulls over 100k

cinder basalt
tacit moss
#

robloxian millionares

cinder basalt
#

Dead rails made over a mil already

#

Most defo

tacit moss
#

yesss

cinder basalt
#

And idk its been a month or what

tacit moss
#

yes

cinder basalt
#

So 25k is a bit of an understatement

tacit moss
#

make a copy and become like them

cinder basalt
tacit moss
#

while it’s still fresh

#

i fell for the rage bait it’s ok big bro

cinder basalt
#

it wasnt rage bait it was a joke 😭

#

I just wanted to know why u posting this so much

#

Is this some kind of charity

#

Is bro on a mission to make frontpage full of dead (insert common location or object name)

craggy birch
#

Hello , i am looking for someone that can is good at scripting or have few experiences . Me and my other Developer are making a game called "Dead Woods" . Its similar to Dead Rails but its more different , and forest theme . The game is almost done , we have to make fuel , sack working , and some more things and the game is done . We are giving % of the earning for someone who can help us . Thanks!

ruby vault
craggy birch
#

Guys can someone help me making fuel adding like in Dead Rails please?

copper urchin
#

anyone here have a pet system ?

craggy birch
craggy birch
sullen fox
tacit moss
#

made a templatei n 2 hours'

lone rain
#

why do we have mutual friends

sullen fox
lone rain
#

they were just the first to do it

#

wait nvm

#

dusty trip

#

was\

#

but yeah they just popped like rivals did

sullen fox
#

yea

blissful turtle
vale atlas
cedar flicker
#

Bro is not Warren Buffett

young crescent
#

why would a completed game need an investor 😭

cinder basalt
#

the actual question is what game needs $2000 worth of ads

daring echo
#

Advertising

daring echo
daring echo
cinder basalt
#

cus $2000 worth of ad credits seems like a waste honestly

daring echo
thorn frigate
daring echo
static sphinx
#

yall know how i could make my roblox studio look like ts?

hasty mesa
static sphinx
#

thanks tho

craggy birch
#

Hello , i am looking for someone that can is good at scripting or have few experiences . Me and my other Developer are making a game called "Dead Woods" . Its similar to Dead Rails but its more different , and forest theme . The game is almost done , we have to make fuel , sack working , and some more things and the game is done . We are giving % of the earning for someone who can help us . Thanks!

hybrid garnet
gilded nacelle
#

guys i got a button where if u press it, it gives u a tool, and the tool has weld constraints. it works fine, but when i die, the tool falls apart, anyone know why

fading kiln
#

is anyone here good enough with lua so that if i send them a script they can judge if its beginner / intermediate / good level etc?

woven anvil
#

y not js send script in chat

fair belfry
#

why can I do everything a normal player can do, but I cant walk around

modern crow
#

does anyone know how to optimize pathfinding for npcs so if there are like 200 they wont crash my game

last glacier
young crescent
honest pasture
young crescent
honest pasture
young crescent
#

??

honest pasture
#

it should look alive

young crescent
#

roblox game with 200 npcs are we being fr right now

split swallow
#

what kind of roblox country are you building with 200

#

ngl

honest pasture
#

idk

split swallow
honest pasture
#

it was not

young crescent
#

also why would u load 200 all at once with humanoids

honest pasture
#

mi bussines

honest pasture
#

also imagine a tower defense

young crescent
split swallow
honest pasture
young crescent
#

this is why tds suddenly managed to load 5k zombies without any severe issue

honest pasture
#

also not my problem so

young crescent
brazen sphinx
#

chat is there a newer/better library like Rodux yet

#

since rodux is like 8+yrs old

young crescent
brazen sphinx
#

onGOD i need the scripter role so i have access to the pro people channel

#

where the green mfs who know rodux

split swallow
#

XD

#

doesnt want to be with commoners 💔

ruby gazelle
#

Can anyone clue me in to what just happened. Game was working great, no errors or nothing. I tried to then upload the game under a group im a dev for. Since then, in both the group game and the main game I'm having major issues. I don't even know what's going on but the datastores are messed up for sure, and everytime i stop a playtest my studio bugs out.

modern crow
brazen sphinx
#

omg i talked to the maker of Rodux last rdc and i didnt even know

modern crow
young crescent
modern crow
#

so the more i spawn, the more individual calculations, the more lag

young crescent
modern crow
#

but i cant find a way to optimize this but also keep them smooth

modern crow
#

when there are alot they tend to buffer alot and shoot slowly

brazen sphinx
#

run them on client, unload them if theyre far away

#

elementary

young crescent
brazen sphinx
#

dont manage npcs on server scripts

#

and dont keep them around if theyre out of view

young crescent
brazen sphinx
#

depends on ur usecase

modern crow
modern crow
young crescent
brazen sphinx
#

but if its not important that 2 players see the same npc at the same spot then do everything on client

modern crow
#

okay so these suggestions would still work for the use i have in mind for them correct?

modern crow
#

its basically an army of those droids vs real people

brazen sphinx
#

yea ig just calculate the position on the server then send it to client and do the rest on clientside

#

enable streaming too

#

😎

modern crow
#

are you sure functionality will stay the same if i send it to client?

brazen sphinx
brazen sphinx
modern crow
modern crow
brazen sphinx
modern crow
#

A* algorithm pathfinding

#

thanks

fair belfry
#

why can I do everything a normal player can do, but I cant walk around

brazen sphinx
#

"im fairly new"

-2 seconds later-
"im gonna implement A* algorithmic pathfinding in Roblox"

modern crow
modern crow
brazen sphinx
#

just i think theres a reason roblox has provided their own pathfinding instead of implementing A* natively by themselves

modern crow
#

hm okay, is there also a post or something that helps with explaining on sending stuff to client side?

#

i wanna make sure i get this right

brazen sphinx
modern crow
#

ty

#

oh so just basic ass remoteevents lmao

brazen sphinx
#

just wait till u get advanced enough to use couroutines, and task.spawn and pcall etc then u level up from there even and learn that Promises do all that but better

modern crow
#

but ill try this info out and ill be sure to reach out again if i have questions

#

thank you

nimble dawn
#

Question what method did you all use to learn rolua

brazen sphinx
#

and asking a LOT of dumb questions

random comet
#

yo

#

does any of you know how i should approuch part serilization data store

stray oak
exotic pewter
#

is there a way to have a table shared between both client and server (without having to manually send events) if i make changes on the server, it automatically updates on the client?

stray oak
exotic pewter
#
local Translator = require(game.ReplicatedStorage.ModuleScripts.JSON_Translator)

return function(stringValue, defaultTable)
    local mainTable = {}
    
    setmetatable(mainTable, {
        __index = function(_, key)
            local decodedData = Translator(stringValue.Value or "{}")
            return decodedData[key]
        end,
        __newindex = function(_, key, value)
            local decodedData = Translator(stringValue.Value or "{}")
            decodedData[tostring(key)] = value
            stringValue.Value = Translator(decodedData)
        end,
        
        __call = function()
            return Translator(stringValue.Value or "{}") -- Allow calling the table like a function
        end,
    })
    
    stringValue.Value = Translator(defaultTable or {})
    
    return mainTable
end
#

this is what i kinda had

#

it works but the "translator" is not able to read different keys other than normal array integers keys

hasty mesa
exotic pewter
#

hm

#

so what would i do?

hasty mesa
exotic pewter
#

you ragebaiting me rn 😭

#

wait your right

stray oak
rocky goblet
#

Yo

#

any issues with data storing

#

rn?

cyan meadow
fair belfry
young kettle
fair belfry
#

yea but that was for the model i removed from the starterplayer folder

young kettle
#

When you load in the scripts in StarterCharacterScripts should clone to your character model

fossil cairn
#

bindtoclose SUCKS

#

why is it breaking my studio

#

Not running script because past shutdown deadline

young kettle
fossil cairn
#

collision was taken

young kettle
#

im just joking

#

its lower case d

fossil cairn
#

wait im dumb. i have a BindToClose module

young kettle
#

why you lying

fossil cairn
#

that i never have a wait in

fossil cairn
foggy kernel
#

what did you guys do to learn lua mannn im stuckkk

fossil cairn
#

volunteer for groups

foggy kernel
#

i be on roblox watch devking but i cant remember shit

foggy kernel
fossil cairn
#

like internships. how i learned was by getting contracted or working for free

foggy kernel
fossil cairn
#

did that for months. now i know a lot of the basics and can call myself adept

fossil cairn
foggy kernel
#

ight gotchu

fossil cairn
#

they will force you into a position

#

where you need to learn new stuff

#

and give you that responsibility and in some cases a consequence. thats what pushed me to continue

foggy kernel
#

yeah but that kinda gives you a bad rep when you dont ended up not doing it

fossil cairn
#

well just be honest if its above your grade

foggy kernel
#

ok ok

fossil cairn
#

its a small step game

young kettle
fossil cairn
#

you wont go zero to hero in a day

fossil cairn
foggy kernel
#

got any group recomendation?

fossil cairn
#

if youre just a volunteer, its really no big deal if you cant do it

fossil cairn
#

theyll just give you a smaller, easier, task

young kettle
#

I animated for free to practice being under pressure

#

it was nice to give people assets, to devs who cant animate and need atleast something

fossil cairn
#

i worked for teutonnia for like.. maybe 6 months

#

they always needed devs

foggy kernel
fossil cairn
#

most other groups are on the professional side

#

and will want a lengthy portfolio and 5 bajillion years experience

fossil cairn
foggy kernel
#

larp groups or teutnnia?

fossil cairn
#

you can pop into groups and give some ideas
"i can easily script this feature"

fossil cairn
#

start small

foggy kernel
#

ok ok

fossil cairn
#

thatll be the easier bar to hurdle

#

even cafe groups prob

#

they're desperate, broke, and most of the time have no idea how to do anything

#

perfect area to practice

#

and maybe even get compensated

foggy kernel
#

alr that make sense

#

imna check yt or twitter for them

fossil cairn
#

ya its a long long game with getting any real experience

#

can always work on little side projects

foggy kernel
fossil cairn
#

a good start

foggy kernel
#

but like i aint seeing any progress bro yesterday i hade a mental meltdown😭😭

bleak glade
#

best way to apply interia so the cart wont stop instantly? for context theres a weight factor evenly distributed between all parts then a backweight which has 10 less density than the front weight

wicked quest
#

hi how do i make a npc follow you when your not looking

steady cove
wicked quest
#

can you send or make a model for me please?

steady cove
#

no one makes free models

#

i suggest you to do your own research

fathom briar
frozen tree
wicked quest
frozen tree
#

buy one

tidal shuttle
#

chat

#

nvm Im slow 🫠

thorn frigate
steady cove
#

ill make an account classifier w pytorch, should I use transformer or simple NN? (beginner question)

solar arch
#

yall, can someone help script my gameplay... i'm broke tho

blissful turtle
solar arch
#

does anyone know how to add animation into parts of things

#

...

verbal rivet
#

Make like items play animations or npcs?

#

Or allow the player to play animations

autumn oak
#

why are other accessory type handles not being hidden?

            if part:IsA("Accessory") and part.AccessoryType ~= Enum.AccessoryType.Hair and part.AccessoryType ~= Enum.AccessoryType.Hat then
                part:WaitForChild("Handle").Transparency = 1
            end
        end```
tropic plume
#

local root = character:WaitForChild("HumanoidRootPart")

this gives the error, attempt to index nil with 'Wait for child'

#

i dont know why

tropic plume
#

thanks for asking, but i figured it out

#

it was becuase the character wasn’t loaded yet. wait for child worked

onyx inlet
#

yeah thats what I was thinking

#

good you figured it out though

spark swallow
#

local motor = Instance.new("Motor6D", Player.Character.HumanoidRootPart)
motor.Part0 = hit.Parent.HumanoidRootPart
motor.Name = "GrabbedMotor"
motor.C1 = CFrame.new(0, 0, -3) * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
motor.Part1 = Player.Character.HumanoidRootPart
game.Debris:AddItem(motor, 10)

Im trying to make it so the player controls the hit.Parent(just a touched function) but rn it stops them both

open rock
#

guys when i set an attachments cframe to the players left legs cframe, it copies the orientation when the character is walking, how do i not make this happen, i want the attachment (with particle inside it) to stay flat, so the particles dont copy the left legs orientation

toxic stream
#

Could anyone give me some tips on how to script

minor night
deft stump
# spark swallow local motor = Instance.new("Motor6D", Player.Character.HumanoidRootPart) ...

Your issue is that you're attaching both the player's HumanoidRootPart and the target's HumanoidRootPart using a Motor6D. Since Motor6D is used for character joints, it likely freezes movement because it's creating a rigid connection between both characters.

Solution: Use a different approach
Instead of Motor6D, try using a WeldConstraint or setting hit.Parent's PrimaryPart and using CFrame manipulation.

Option 1: Use WeldConstraint
WeldConstraint allows movement while keeping the target object attached.

local weld = Instance.new("WeldConstraint", hit.Parent.HumanoidRootPart)
weld.Part0 = hit.Parent.HumanoidRootPart
weld.Part1 = Player.Character.HumanoidRootPart

game.Debris:AddItem(weld, 10) -- Remove after

#

yes guys im smart

#

haters will say its chatgpt

foggy burrow
#

lmaooooooo

#

what are they trynba do

#

I made a grab skill and attached the hit player the the attacker using a motor 6d and played animations

#

but

#

i can see they are tryna use vfx

foggy burrow
#

open up the program and think of something simple to make

#

open up the documentation and just go from there

#

do smthn simple like a part that floats up and down

uneven mica
foggy burrow
#

uhhh

#

depends

#

if your just copying a video

#

then nah vids suck

uneven mica
#

I mean

foggy burrow
#

but if your taking notes and activly trying to learn then

bleak glade
#

i learn from looking at good code

uneven mica
#

Video that explain you how to script not how to do something

deft stump
#

copying videos is good. if they explain the code

foggy burrow
#

I mean yeah its not bad

deft stump
#

once you start copying like 10 videos youll start leraning the basics

foggy burrow
#

not really

toxic stream
foggy burrow
#

not if your just copying the video

foggy burrow
#

before I start a system

foggy burrow
#

watching tutorials aint how you learn

#

sure its not a bad start

#

for someone brand new

toxic stream
#

I watch tutorials on what things are and what they do

foggy burrow
#

but you dont wanna get stuck in tutorial hell

uneven mica
toxic stream
#

And I don’t understand how to use them to make the scripts I want to make.

foggy burrow
#

I got a notebook

#

and I write each system in great detail

foggy burrow
#

lets do my example from above

toxic stream
#

I don’t know how to

foggy burrow
#

making a floating part

bleak glade
foggy burrow
#

that goes up and down

#

well

#

first I am going to need a part

#

then I am going to need to find a way to move this thing up and down

#

if you look into docs

#

you can find some while loops

#

or for loops

#

but roblox has a service called Tween Service

#

that tweens instances

#

boom found tween service

#

if you read up on that a little

#

then you can do it

toxic stream
#

What is a tween service

foggy burrow
#

--//Services
local tweenService = game:GetService("TweenService")

--//Variables
local part = script.Parent --> this only works if the script is a child or inside the part

--//Functions
local function tweenPart()
    local tweenInfo = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1)
    local movePart = tweenSerivce:Create(part, tweenInfo, {["CFrame} = CFrame.new(0, 9, 0)})
    movePart:Play()
end

tweenPart()
#

That code moves a part up and down

#

i wrote this all on just rembering the servivce which will come with practice

toxic stream
#

What is a tween service

foggy burrow
#

its a built in roblox service that allows you to tween instances properties

#

so its smooth

#

animations basically

#

but not some crazy anims

uneven mica
#

I understand it now

toxic stream
foggy burrow
#

no lol

#

its for stuff like this

toxic stream
foggy burrow
#

like animations

#

not legit anims

foggy burrow
foggy burrow
#

for tweening properties

#

like transparency etc

toxic stream
#

Why would I want to do that

foggy burrow
#

for lots of reasons

toxic stream
#

like what

foggy burrow
#

u trolling?

toxic stream
#

no?

foggy burrow
#

like

#

idk projectiles

toxic stream
#

oh

foggy burrow
#

gui animations

toxic stream
#

makes sense

foggy burrow
#

platforms

#

doors

#

etc

toxic stream
#

what are gui animations

foggy burrow
#

u ever see like animations when you open up user interface?

toxic stream
#

yea

foggy burrow
#

gui animations

toxic stream
#

Like pop ups right

foggy burrow
#

yeah

toxic stream
#

ic

foggy burrow
#

you tween the position

toxic stream
#

all this is local right

foggy burrow
#

yeah it can be

#

ts works on server and client

toxic stream
#

If I want to learn how to make a specific script how would you or how should I go about it

foggy burrow
#

but its the best on the client

hot stag
#

Y'all. Lets say you made a system that took you about 1-2 hours for a big game. How much would you take as a % cut of the monthly revenue of the group/game that you would consider fair? Keep in mind you only did this one-time system and nothing else.

copper heart
#

anyone have their comms open that is looking for a long time job?

bleak glade
hot stag
bleak glade
#

ugc?

#

a marketplace api

hot stag
bleak glade
#

never needed to make a system like that so idk the complexity

#

the scripter youre trying to hire probably has a fair price for it

toxic stream
hot stag
copper heart
bleak glade
hot stag
bleak glade
#

lmfao what who did you hire 💀

#

"market value" 🥀

#

like hes not a freelancer