#code-discussion

1 messages · Page 199 of 1

void sonnet
#

ill learn when i get to that stage

dry mica
#

yo can someone help me with my code ? dm me if you are intrested to help cause the code is too dang long to send

bronze kettle
#

me want to buy games for cheap robux

hot prism
#

Guys, where can I find people who have experience in C++ developing?

open osprey
#

It didn't give the error or the reason for why out put was not given

#

So had to re read it all

#

Fixed now :>

potent glen
#

How bad is running a shapecast every frame?

#

I modified fastcast to use shapecast, and im just wondering if itll be too laggy for an fps game

stoic stone
#

Looking for a builder or Scripter paying robux dm me

dark cedar
kindred heart
dark cedar
iron kraken
#

the downside is that a client with low fps or bad connection will cause teleporting for other players

stoic stone
#

Looking for a Scripter or builter I pay 30€ monatly

iron kraken
#

but u could prob also make some workaround to smooth out the moving for the other players

dark cedar
dark cedar
iron kraken
#

yea it hapened to me too but that helped me with the teleporting

#

and tbh if it teleports for other players isnt so important since they arent fighting the npc

#

but its more annoying if ur fighting the npc and it teleports around

bronze kettle
#

buying game file for robux dm me

brazen ermine
#

guys can someone help me fix this im trying to make an invisible non collideable block that when the player touches it an animation plays infront of him i used moon animator and im kinda having trouble figuring it out since im new to coding this is the code i used to see if the animation atleast worked but that didnt even work
local npc = script.parent
local humanoid = npc:waitForChild("humanoid")
local humanoidrootpart = npc:waitforchild("humanoidrootpart")

local peekanimation = npc:waitforchild("animfolder")
local animfolder = npc:waitForChild("peek")

local peek = humanoid:loadanimation("peek")

local interactablebuttonthing = humanoidrootpart:waitforchild(interactablebuttonthing)
local interactablebuttonthing:waitforchild("prompt")

local canclick = true

prompt.triggered:connect(function()
if canclick == true then
canclick = false

        peek:play()
        
        wait(1)
        canclick = true
 end

end)

please help

woeful gate
brazen ermine
#

it didnt print but ill just rewrite the code see if that fixes it but thanks man

dark cedar
kindred heart
#

i thought it had to be WaitForChild

placid vector
#

it's Triggered not triggered

#
prompt.Triggered:connect(function()
#

and its Connect not connect

dark cedar
placid vector
#
prompt.Triggered:Connect(function()
dark cedar
kindred heart
#

its just loads of typing errors no actual coding errors 😭

kindred heart
#

atp js paste it into chat gpt and say correct typos for Luau syntax

dark cedar
#

bros just creating more skids 🙏

sinful raft
#

who here is an experienced programmer

brazen ermine
#

i tried copying a tutorial i saw

sinful raft
#

@dark cedar can u fix bug with gamepass / dev products handler

sinful raft
#

good oppurtunity to network with big devs aswell

empty nebula
#

would anyone like to be friends?

brazen ermine
#

not anymore but thanks

kindred heart
dusky relic
#

Does anyone remember the dev forum post about custom skyboxes where they basically take a model place really close to the camera and make it small so you can have distant 3d objects that render for everyone?
I remember them placing a large r15 dummy as an example it should be like 4-7 years old?

dark cedar
lean ocean
#

dont do that

#

its exploitable

halcyon hearth
#

is anyone here pro at coding 🙏 🥺

strong fog
#

no

#

only skids

#

what you need

halcyon hearth
#

i got view questions

strong fog
#

say it

#

stop waste time

halcyon hearth
#

chill man

#

take it easy

soft meteor
#

can anyone help me out

#

the code help channel aint helping me all thatmuch :b

#

i just need to know how to check if the player has one gamepass or another then do the thing :b

halcyon hearth
# strong fog stop waste time

so is it possible to code a discord bot that somehow gets information from inside a roblox game, something like; roblox bot that catches informations inside the game then sending it to the discord bot to show it in a command

iron kraken
# dark cedar I just did this and the npc is stuck in place

you need to switch the npc movement to client side as well
and yes it is exploitable because now movement is not server authoritative but what you also have to do is move a position value on the server and use the server position as validation

soft meteor
#

I havent learned that yet :b

iron kraken
#

🙂

halcyon hearth
iron kraken
# soft meteor can you help me out please 😭
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")

local GAMEPASS_ID = 12345678 -- Replace with your gamepass ID

local function playerOwnsPass(player)
    local success, ownsPass = pcall(function()
        return MarketplaceService:UserOwnsGamePassAsync(player.UserId, GAMEPASS_ID)
    end)

    if success then
        return ownsPass
    else
        warn("Failed to check Gamepass:", ownsPass)
        return false
    end
end

this seems like what you would want to do

halcyon hearth
#

deep seek is better than gpt btw

soft meteor
#

mmmh

iron kraken
soft meteor
#

is there rly no way to just make the game check trought 2 things

iron kraken
#

altho i have never done this before but u would need httpsservice

soft meteor
#

like if the guy own a gamepass or another do this thing ?

#

But like the same for both things

halcyon hearth
soft meteor
#

without duplicating it

strong fog
halcyon hearth
#

may it be easy

strong fog
#

thank you

sweet radish
#

how do u get the regional price of a product from the server

lean ocean
#

ever heard of setting networkowner to the server

iron kraken
lean ocean
#

it wont

#

literally how 90% of games do it

#

is it short term

#

1 task

sullen loom
#

Ye

#

Its an ez task

iron kraken
# lean ocean it wont

it will because if you move an npc on the server it will take time for the server to send the data to the client

#

if you move it on the client it just has to compute the new position without sending any data

lean ocean
#

why are u trying to argue when ur telling chatgpt what im saying

brittle cosmos
iron kraken
lean ocean
#

nuh uh

cosmic spade
proud idol
dark cedar
proud idol
soft meteor
#

ok i changed how me thing works a bit

proud idol
#

wrong ping

soft meteor
#

still doesnt work but i think im on the good way 😎

#

uuuh is there is a way to like

soft meteor
proud idol
#

just use MarketPlaceService:UserHasGamepassAsync() and if it returns true you add em to the gamepass player table lol

soft meteor
#

i don't understand the code fully 😭

#

my friend made it

#

and this is like less a 1% of it

dark cedar
#

your friend setting u up for failure 😭🙏

soft meteor
#

btw just putting the ids like this works btw

#

the only issue is like

#

both gamepasses works :b

proud idol
dark cedar
#

ur setting the same table for true regardless of the gamepass id

#

instead of seperately

#

if that makes sense

soft meteor
#

lthats the original code

#

it works but the issue is the serverluck value thingy

#

if you got both gamepasses it applies 2 times

proud idol
#

well, yeah thats how its coded lol

soft meteor
#

is there a way to do a line after

#

if gameplayers = true then x0.2 luck ?

proud idol
#

what behaviour do you exactly want

soft meteor
#

Check if the player has one gamepass

#

so he becomes a gamepassplayers

#

and then after

#

if the player is a gamepassplayers give him the luck

#

so it doesnt do much if he has both

proud idol
#

so you want to limit the luck the player gets

soft meteor
#

ye

proud idol
#

if you already own a luck gamepass, buying the other one becomes completly useless

soft meteor
#

yeah

#

since its suppose to be like if you own an old gamepass

edgy mango
#

is there a way to make particle emmiters visible in a viewport frame

soft meteor
#

or the new one you get the buff

proud idol
#

you can jsut simply add an if statement that checks if the gamepass has been applied

#

you can use the gamepass player table to do a comparison

#

youd also need to rearrange the function so you first check if the player is inside the table first

#

if it isnt add the +.2 luck and add the player to the table

#

otherwise do nothing

soft meteor
#

i don't fully understands but ok

halcyon hearth
soft meteor
#

i don't think i get it...

#

this code is way too complex for me sad_hamster

#

i cant even do a fonction proprely and now theres table

#

yk what i give up :b

halcyon hearth
soft meteor
#

ill just delete half the script so its fixed 😎

#

tbh this bug made me lose 5 ccu and prob a few bobac :b

halcyon hearth
halcyon hearth
soft meteor
#

i never did the coding :b

#

when the game was at its prime like 500 ccu it was my friend 😎

#

i did pretty much everything else

halcyon hearth
#

i wanna learn everything

#

from coding to vfx 😔

static coral
#

its currently in the table

#

and add a then and an end

#

syntax for if statements is
if condition then code end

soft meteor
#

whats a table 😭

static coral
#

why u using tables if u dont even know what they are

halcyon hearth
proud idol
#

only way youll be able to fix it is if i spoonfed the entire process

soft meteor
#

ill practice scripting ig :b

pliant anvil
#

quick question i made keybinds in a module is there a way i can make cooldowns in the module as well to stop the keybinds from being used too fast.

cinder basalt
#

ofc ya can

turbid socket
#

can i get some feedback

local AliveFolder = workspace:WaitForChild("Alive")
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()


local cacheInterval = 0.2

local cacheTable = {}
local lastCache = time()

local hitbox = {}

hitbox.__index = hitbox




-- Checks for nearest players
local function cache()
    cacheTable = {}
    for i,v in pairs(AliveFolder:GetChildren()) do
    
        if char:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("HumanoidRootPart") and (v.HumanoidRootPart.Position - char.HumanoidRootPart.Position).Magnitude <= 20 and v~= char then
        
        cacheTable[v] = v.HumanoidRootPart.Position
        end
    end
end



game:GetService("RunService").Heartbeat:Connect(function()
    if (time() - lastCache) > cacheInterval then cache() end
end)

plr.CharacterAdded:Connect(function(c)
    char  = c
end)



function hitbox.New(cframe, size, debug: boolean)
    local referenceHitbox = game:GetService("ReplicatedStorage").Hitboxes.M1Hitbox:Clone()
    if size then
        referenceHitbox.Size = size
    end
    referenceHitbox.CFrame = cframe
    if debug then 
        referenceHitbox.Transparency = 0.7
    else
        referenceHitbox.Transparency = 1
    end
    
    
    return setmetatable({Size = size or referenceHitbox.Size,
                        CFrame = cframe,
                        Part = referenceHitbox,
                        startTime = time(),
                        
                            }, hitbox)
end



function hitbox:GetTouchingCharacters()
    self.Part.Parent = workspace
    self.Part.Anchored = true
    
    local hitCharacters = {}
    
    local activetime = 0
    
    
    for i,v in pairs(cacheTable) do
        if (self.CFrame.Position - v).Magnitude < self.Size.Magnitude/2 and i ~= char then
            local index = #hitCharacters + 1
            hitCharacters[index] = i
            
        end

    end

return hitCharacters

end

function hitbox:Delete()
    self.Part:Destroy()
    self.Part = nil
end

return hitbox
fair copper
#

Guys what are the scenarios of player crashing or errors where a data could have chances to go corrupt?

burnt trout
#

Does anyone know how to make a !help command?

errant tulip
#

dm for surprise

weary ravine
#

hey guys im trying to improve my scripting skills and ive heard of a plugin called "scriptmate" is it actually a good plugin and is helpful?

sick bough
#

will sm help me just look through my game and fix some of my script i been trying so hard to make a steal a brainrot cashgrab just with pumkins and with a halloween theme

#

so far all i have working is money 2 different kinds of pumkins and a base with working lasors the lasors dont work for owner only tho and i have a bunch of other tiny stuff i have been making it for 2 days

unreal sierra
#

need a scripter to basically script like 3 things and transfer 80% of my assets from one game to this new one DM

#

need minimum 2 yrs experience and not a kid have a reliable portfolio

sick bough
#

go to scripter hiring then

unreal sierra
#

I can promote this here too

sick bough
#

ik u woud probably have better luck there tho

potent shell
unreal sierra
potent shell
#

U don’t have time to move assets?

unreal sierra
#

no

potent shell
#

Bro what

unreal sierra
#

they'd have to be repurposed s lightly

sick bough
potent shell
unreal sierra
#

and to be repurposed

potent shell
#

If it’s like a huge amount

unreal sierra
#

anyway if you're interested dm

potent shell
weary ravine
weary ravine
sick bough
#

its not worth it the best way to learn scripting is to get on and play with it playing is the highest form of learning

sick bough
#

as long as ur having fun while u script ur learning

weary ravine
lean ocean
#

everything that's paid that "teaches" you to script isn't worth it

weary ravine
weary ravine
sick bough
#

well when i want a cirtain script i look up a video or use ai like anyone else but the difference is i dont just copy and paste i try to understand and the more i try the more i understand

karmic wadi
#

Happy birthday to John Lennon
it's bro's birthday

sick bough
#

yeah just make sure to use it as a tool dont let ai make ur game for u use ai to make ur game

#

u gotta now where all the scripts r at what they do exc

weary ravine
sick bough
#

how long did it take for u to make that game

weary ravine
# sick bough u gotta now where all the scripts r at what they do exc

yeah thats why ill at least need to finish the beginner scripting tutorial of brawl dev it covers everything ive viewed it before like almost of the videos but my mistake that made me forget the important info is i did not test for my self after finishing a video i moved on to the next thats why im replayign everything

weary ravine
sick bough
#

u wanna see the game im makin rn using only ai im not scripting anything

weary ravine
#

i guess so

sick bough
#

dm me ur user name ill add u to a colab

weary ravine
#

sent

tame pike
#

Anyone here got exp with skill/combat abilitys?

spark willow
#

is there a way to make th eplayer character not have a humanoid and not make the death screen effect on spawn?

#

I tried putting my own custom script in the starter player scripts and in the starter character but it just disregards my script and adds the default one

spark willow
#

I just figured it out

#

just had to put the Health script in starter character scripts and disable the coreGUI in it

cinder basalt
#

Cus you described this so terribly no one has any idea as to what you actually wanted to achieve

spark willow
lean ocean
#

No it's you

cinder basalt
#

Thank you coldy the cat

#

Slay the skids

quaint escarp
#

my game is finally getting recommended

alpine mauve
#

finding a scripter who makes combat systems are so hard

pliant anvil
#

exactly

alpine mauve
#

The ones I see want 50k-100k when the game is 70% done

rugged helm
#

Looking for marketing agents to find commissions for my team. Payment varies, but you will be payed. Please dm me for further conversation, serious inquiries only.

YOU MUST BRING IN A COMMISSION A MONTH TO BE EMPLOYED AND PAYED

somber vault
#

hey guys is a 34% play rate good?

bold sequoia
#

when do yall know when you're a scripter cause I heard even advanced people look things up

paper imp
bold sequoia
#

dang

#

so how do you know where you're a good scripter

#

or intermediate

paper imp
#

How good you are at scripting depends on how you make your code work

#

Of course a good scripter can write more efficiently than a bad one

bold sequoia
#

ah I see so its all about efficiency

#

I made a movement based game without a single moudule script so I get what you're saying

paper imp
#

Its also about code clarity

#

And how you structure your code

paper imp
bold sequoia
#

yeah i heard but out of everything those are hard for me to conceptualize

paper imp
#

They are literally just "decorations" you dont need them but using them is really good practice

#

They are most of the time function holders: e.g. "module.Shoot"

#

They give you the ability to share stuff across scripts

bold sequoia
#

I used Events and BindableEvents for that

paper imp
#

Those are another story

#

You use module scripts to share functions, types, variables

#

And you use bindable events for communicating with same-context scripts

paper imp
bronze path
#

You’re gonna have to keep up with the changes to the api, if you want to maintain your codebase and you’re not going to know everything, looking things up got nothing to do w/ if you’re good or not

bronze path
bold sequoia
#

???

#

Really?

bronze path
#

You keep on repeating “advanced” “intermediate” like scripting is some sort of game

bold sequoia
bold sequoia
bronze path
bold sequoia
bronze path
#

Ye basically it’s not required, but it really helps when you know how to use em

subtle wing
#

brr brr patapoim

paper imp
#

For example you require a DataStoreManager from a server script, now every function runs on the server context (you then have as much privelege as a server script)

spark willow
#

is there a simple way to rotate objects to a specific rotation with physics? I need to adjust the orientation of an object by a specific amount per frame while a key is being held down and I tried messing with hinge constraints bust I would prefer something less messy

#

I guess I'll just have to make my own using a Torque and some logic to keep the object at a specific angle

bronze path
spark willow
#

I'm just going to use a Torque object and adjust the torque based on how far off the part's orientation is to where I want it

#

it'd be cool if we had some simple functions where you could move and rotate objects while cooperating with physics

rugged helm
# raven marsh paid 3 rupees 🥀

it’s like a certain percentage of commission or a flat rate. i get 3Rk a month for just geting agents but yeah 3 rupees or what ever 👍

rugged helm
#

4 what

raven marsh
spark willow
#

how do you get the angular velocity of a part

rugged helm
rugged helm
#

i’m not an agent for commissions

#

i get agents

spark willow
#

why is roblox so lame lol

raven marsh
rugged helm
#

i’m not paying them to do my job

#

my job is to give them a job

raven marsh
#

ong

rugged helm
#

no, im business operations manager. i manage agents to get commissions for my studio. how do we not get this

raven marsh
#

still vro js do it u-

short void
#

can someone explain adduserid in profilestore?

lusty dove
#

whats better lifetime budget or daily budget some answer quick pls

deft coral
#

Basically roblox requires you to keep track of data entries via userid so if someone requests their data to be removed, you have a means to remove it

#

This method iirc enables that feature further by adding multiple user ids if necessary so any one of those ppl can GDPR it

crisp thorn
#

Hi guys, i’m new to deving and i was wondering if someone can teach me how to make some kit like vests, helmets and bags wearable. I’m not sure how to do it, mind DMing me

deft coral
#

i think though roblox has backend systems trying to do it now

#

Im unsure because i tried doing it and it just broke the datastore calls

#

Even though the api said its working

vast mantle
topaz crypt
#

Use profile service

vast mantle
#

Having this errors and warning rn and some more

#

Nvm quite a lot more

primal python
#

Profilestore and profileservice were invented

#

And other datastores that I never used really

lean ocean
#

It's just a wrapper

iron kraken
#

session locking seems pretty necessary i think

#

not sure if i entirely understand it but i guess you could potentially join a server and leave and rejoin a new server and potentially have a race condition from the saving in the last server and loading data in the new server

#

and it would be good if your game has multiple places

topaz crypt
stoic stone
#

Looking for a Scripter paying robux

modern mason
#

can someone make me a egg system i pay

slender yew
#

When I first spawn in my original alignment of the weapon works fine, but when I run the equip function and set the motor6d again, everything is flipped how can I make sure it positions correctly?

https://i.gyazo.com/24f49dad1bf69709cdf939b91a024c9c.gif

Equip Aligment:

    local rightArm = char:FindFirstChild("Right Arm")
    local handle = tool:FindFirstChild("Handle")
    local activecframe = tool:FindFirstChild("Active")
    
    if rightArm and handle and activecframe then
        
        -- destroy previous weapon motor
        for _, i in pairs(handle:GetChildren()) do
            if i:IsA("Motor6D") then
                i:Destroy()
            end
        end
        
        local Motor6D = Instance.new("Motor6D")
        Motor6D.Part0 = rightArm
        Motor6D.Part1 = handle
        Motor6D.C1 = activecframe.Value
        print(Motor6D.C0)
        Motor6D.Parent = handle
    end
end```

Aligment upon spawn:
```if WeaponModel then
                local weaponClone = WeaponModel:Clone()
                local torso = plr.Character:FindFirstChild("Torso")
                local handle = weaponClone:FindFirstChild("Handle")
                local deactivatedCFrame = handle.Parent:FindFirstChild("Inactive")
                weaponClone.Parent = plr.Character
                
                local motor6d = Instance.new("Motor6D")
                motor6d.Part0 = torso
                motor6d.Part1 = handle.Parent
                motor6d.C1 = weaponClone:FindFirstChild("Inactive").Value
                motor6d.Parent = handle
                
                handle.Transparency = 1
end```
somber vault
#

this type of mismatch is caused by the C0 or C1 not being well set afaik

slender yew
#

only the C1

agile cedar
#

hi

lean ocean
#

you cant even spell experienced

#

and ur looking for an experienced scripter

#
  • ur paying like ass
sharp creek
#

dbd for 1.5k robux 💔

sullen seal
#

Any available experienced Scripter looking for a short term position with good pay please hit me up with a DM! :))

sharp creek
#

so i can make fun of the marketplace apes again

sullen seal
#

yea already did

sharp creek
#

wasnt refering to you but ok

slender yew
#

When I first spawn in my original alignment of the weapon works fine, but when I run the equip function and set the motor6d again, everything is flipped how can I make sure it positions correctly?

https://i.gyazo.com/24f49dad1bf69709cdf939b91a024c9c.gif

Equip Aligment:

    local rightArm = char:FindFirstChild("Right Arm")
    local handle = tool:FindFirstChild("Handle")
    local activecframe = tool:FindFirstChild("Active")
    
    if rightArm and handle and activecframe then
        
        -- destroy previous weapon motor
        for _, i in pairs(handle:GetChildren()) do
            if i:IsA("Motor6D") then
                i:Destroy()
            end
        end
        
        local Motor6D = Instance.new("Motor6D")
        Motor6D.Part0 = rightArm
        Motor6D.Part1 = handle
        Motor6D.C1 = activecframe.Value
        Motor6D.C0 = CFrame.new(0,0,0)
        Motor6D.Parent = handle
    end
end```

Aligment upon spawn:
```if WeaponModel then
                local weaponClone = WeaponModel:Clone()
                local torso = plr.Character:FindFirstChild("Torso")
                local handle = weaponClone:FindFirstChild("Handle")
                local deactivatedCFrame = handle.Parent:FindFirstChild("Inactive")
                weaponClone.Parent = plr.Character
                
                local motor6d = Instance.new("Motor6D")
                motor6d.Part0 = torso
                motor6d.Part1 = handle.Parent
                Motor6D.C0 = CFrame.new(0,0,0)
                motor6d.C1 = weaponClone:FindFirstChild("Inactive").Value
                motor6d.Parent = handle
                
                handle.Transparency = 1
end```
past rose
#

guys what s the best way to learn scripting? tutorials? chat gpt? documentation?

civic karma
#

what do i do my game is now getting 200 ccu

lean ocean
#

give it to me

shut sorrel
#

forums is really good when you need an explanation from a community member and not just documentation, they also discuss ideas on how to make something step by step

oak bone
#

roblox studio or rojo

shut sorrel
#

If you do use chatGPT, don't make it generate code for you, ask it questions to guide you through to what you need help making

#

I just use Roblox Studio which you should use as a beginner

oak bone
#

i see

shut sorrel
#

Rojo is mainly meant for experienced scripters or people already familiar with VSCode

wraith shadow
#

coding a round system but countdown wont countdown

sharp creek
shut sorrel
#

AI code is only good if you can understand everything it gives you because it can give a lot of flawed logic or redundant code if you don't ask the right question

shut sorrel
wraith shadow
#

for i = lobbyTimer do

shut sorrel
#

for i = starttime, 0, -1 do

oak bone
wraith shadow
#

lemmme try

#

ok lemme try fr fr

#

i fixed some code

#

AYY

shut sorrel
#

then the label text would be timer.Text = tostring(i)

wraith shadow
#

it works gang

shut sorrel
oak bone
#

yippe

wraith shadow
shut sorrel
#

below the for loop you can do task.wait(waittime)
round += 1,
if you have a local round = 1 variable for example at the top of the script

#

this should all be in a script btw not localscript

wraith shadow
#

yes let me send you the enitre module script

#

take a look and tell me if anything is bad

shut sorrel
#

I'm on mobile and won't let me see it, turns long code segments as a txt file

wraith shadow
#

ah

#

i dont have nitro so i cant send long messages

#

try to download it

white nova
#

HOW DO I FIX MY CAR

#

IM NEW TO ROBLOX ENGINEERING

lapis sierra
lime gyro
somber vault
#

Buh

white nova
#

I DID IT

#

SPRINGS ARE SO WEIRD

#

SO STUBBORN

#

Roblox : studiod

#

😳

sullen loom
#

Guys we need a scripter right now we pay 5 usd its a 15 minutes work

cinder basalt
#

And that it was 10 min woek yesterday

sullen loom
#

Its cause the guy doesnt respond anymore

cinder basalt
sullen loom
#

Cause im not the owner so its the owner who sat

#

Say

cinder basalt
sullen loom
#

I cant tell

#

To you

lean ocean
#

Tell me then

bronze path
# wraith shadow

Your connection to humanoid.Died is going to keep stacking per round

#

Given the player doesn't reset and they stay for more than one round (which is likely to happen)

#

You could end up with a CurrentLiving variable that goes below 0 which might mess with your round manager logic

#

Okay here's where it's error prone:
If a player stays alive for multiple rounds and then finally dies, you'll have multiple functions decrementing the CurrentLiving variable which would make its value inaccurate.

You need to fix that by managing the connection to it per round.

bronze path
# vast mantle Having this errors and warning rn and some more

You need to reassess what you're doing with your data store code, the warnings/errors are directly telling you the issue. So what you need to share is snippets of how you handle your data stores. If this is player data, there's ways to avoid issues like this. The warnings give us an idea of what's going on, but without code, it's hard to help

potent glen
#

Hi, is it safe to set network owner of head and arm motor6d to a player for an fps game? That wont cause any major issues right

iron kraken
#

and roblox automatically treats all parts linked with motor6ds or welds as one body

#

so the entire body will have the same network owner

#

and yes its safe if the arms are just for visuals

#

but also i dont think it will matter

#

because it only replicates physics

#

so if you arent moving the part with physics setting the network ownership doesnt matter

#

its use case is if you move the part with physics so now the server will treat the client position as the "correct" position and handle replication to other clients

#

👍

potent glen
#

Ohh ic ic

potent glen
#

Ty!

iron kraken
#

👍

mighty stone
#

Anyone who is good at animating ui here?

vestal coral
#

You can only hire In the marketplace

zenith cloak
cinder basalt
#

Payment: $1.50

cinder basalt
zenith cloak
cinder basalt
#

You get table length

zenith cloak
#

thats what the person i nthe script did

#

with player coutn +1

#

for each player

cinder basalt
#

And for any gamemodes youre bound to have a such table

zenith cloak
cinder basalt
cinder basalt
potent glen
#

What roblox ui frameworks are the best/most common?

zenith cloak
potent glen
#

Oh kk thx

zenith cloak
#

react is pretty complicated due to there being like no tutorails at all youre gonna need ai to learn it trust me

potent glen
#

Yea just looking at the code snippets gives me a headache

iron kraken
#

also some react functions are taken from reactjs so you can look at that documentation as well

#

and assume that it works the same in reactlua

cinder basalt
#

DONT GET INTO REACT

#

HAAAAAAAAANK

zenith cloak
cinder basalt
#

I dont have any bad feelings towards you jay from lego ninjago but please dont use smart looking words when you dont know their meaning

wraith shadow
#

wtf is react

#

what dark magic are yall talking about

cinder basalt
#

Instead of making it normally

wraith shadow
#

interesting

#

im gonna read the docs

#

my brain is mush

#

help

potent glen
#

me to

wraith shadow
#

yeah no this is like advanged engineer shit

#

im gonna come back in 5 years and see if i can understand+

#

fusion is much more undr

#

fusion is bettter

iron kraken
#

nvm i think its the similar

zenith cloak
pallid cairn
#

someone tell me why code discussion has more help than code help

static coral
pallid cairn
#

fuck code help

wraith shadow
#

fusion feels like a longer path to a nearby gas station

sharp totem
#

hey when i preload animation it doesnt preload the anim events is theyre anyway i can also preload the anim event??

wraith shadow
cinder basalt
#

not proficient

#

You thought proficient is just a more sophisticated version of efficient

cinder basalt
wraith shadow
cinder basalt
#

You go react for its functionalities

sharp totem
wraith shadow
sharp totem
cinder basalt
#

Normal is easy and least functional

wraith shadow
cinder basalt
#

React is hard and very functional

wraith shadow
#

they work wether you want it or not

cinder basalt
#

Fusion inbetween

wraith shadow
cinder basalt
#

So dont use fusion

sharp totem
wraith shadow
wraith shadow
#

i make combat

cinder basalt
#

Dont settle for mid result mid difficulty

#

Ever

wraith shadow
cinder basalt
#

And i already knew im gonna get flower reacted

#

Welcome to my code discussion

lean ocean
#

aura

iron kraken
#

i think the things u can do in fusion u can do in react but some things in react u cant do in fusion

#

but fusion advantage is that its faster and easier to use

#

and react is slower but has more features

#

mainly because fusion doesnt have rerenders i think

#

and it just directly updates ui

#

but u can do that in react by using bindings

#

instead of states

wraith shadow
#

wtf rendering in roblox

#

r we in minecraft rn

#

??

cinder basalt
#

We wont fall for flower reacting u

iron kraken
wraith shadow
cinder basalt
iron kraken
iron kraken
cinder basalt
#

Did u know u can write roblox games in assembly

cinder basalt
iron kraken
#

and u will eventually just end up doing what react does anyways the more complex your game gets is what i think

wraith shadow
#

is there java too

cinder basalt
#

U js gota not be lazy

#

But we are devs

#

We are lazy

wraith shadow
#

it cant be

#

i found it

#

the holy grail of scripting

pallid cairn
wraith shadow
cinder basalt
#

Concentrated codium

wraith shadow
#

with extra lemon

fallen summit
#

new shaders dropped guys

kindred heart
empty nebula
#

anyone play or talk dm me

wraith shadow
shut sorrel
wraith shadow
fallen summit
shut sorrel
#

You could do that, it would be severely limited making it with Roblox engine

zenith cloak
somber vault
#

peak dropped

tropic cove
#

why doesnt my script work bro

cinder basalt
tropic cove
#

its russian actually

tropic cove
wraith shadow
#

i used tk make 3d engines in scratch

#

i was working on viewmodels and guns

tropic cove
#

thats one of my smaller projects

#

im trying to load my main project but its taking forever

wraith shadow
tropic cove
#

nvm found it

wraith shadow
tropic cove
#

jst look at the scroll bar on the side

#

efficent i know

wraith shadow
#

unnecessary

#

but ok

dense canopy
#

Guys

#

Anyone know how to decode? Am struggling with a code my friend sent me

wraith shadow
#

what

supple spindle
quaint escarp
#

are these good? 1 and 7 arent in yet

bronze path
#

finally bruh

kindred ingot
wraith shadow
wraith shadow
bronze path
#

the highlight limit used to be 31 and now it's 255

quaint escarp
wraith shadow
quaint escarp
wraith shadow
south bridge
karmic cobalt
#

bruuuuuh what is that, I want old roblox studio back

somber vault
flint tangle
south bridge
#

File>Beta Features

somber vault
fallen latch
#

I just realised how great contextactionservice is

#

thats genuienly so cool

pallid cairn
#

can someone explain this to me

#

like the connect part

#

or just the whole thing

dire lichen
#

so like

#

PlayerAdded is an event

#

events by default come with the :Connect function

#

which subscribes a function to the event

#

so like whenever the event is fired, all of the functions connected to said event will be called

#

Connect takes a function as an argument, so you can alter the code like this:

local function E(Player)
  print(Player.Name)
end
game.Players.PlayerAdded:Connect(E)

#

or

#
local E = function(Player)
  print(Player.Name)
end
game.Players.PlayerAdded:Connect(E)

#

same thing

thorny trench
tropic cove
#

that doesnt include the physics

#

the c# version of it is like 10k lines

muted onyx
#

hey , does anyone have a code with running animations?

#

or walking sorry

quiet pulsar
honest sinew
#

can someone explain why some asset ids don't appear when i set the mouse icon to them? i'm trying to find a good crosshair/hitmarker to use but the ones that i want are either too big or they don't appear and it's just the default roblox mouse icon

#

and i'm pretty sure it's not the code cause i'm literally just changing the asset id

tender apex
#

hey guys, how long does it take on avarage to get a comission done in scripting, i see many comission with like 3 days of deadline, but asking ai (the only thing i can base on) it says that almost every comission would take 1-2 weeks, but yknow its an ai, i would like to know from real scripters here

idle harness
#

guys why doesnt it let ma allow third party sales in my map?

thorny trench
#

also can depend on the availability of the person programming it

#

do you have more info?

halcyon perch
tropic cove
halcyon perch
#

holy

exotic sequoia
marsh sundial
#

can some of you guys give me an idea on what i can make to reach 200 lines of code

slender wharf
marsh sundial
#

to pass the hd test

south bridge
marsh sundial
#

and get scripter role

marsh sundial
fair chasm
#

Hit box with stun and animation and ragdoll

strange kiln
#

Wait hitting 200 lines of code is ez

#

How do I get scripter role

bold sequoia
#

does the total lines encompass multiple scripts

summer phoenix
summer phoenix
#

it's probably a decent module/system

strange kiln
#

I know they’re not just gonna let me get away with some random 200 line slopscript

summer phoenix
#

be the first to recreate a supercomputer

#

in roblox

strange kiln
#

I’ll try

summer phoenix
#

and make a wifi system

#

that works with actual range

strange kiln
#

Uhh

summer phoenix
#

its pretty ez

#

but complex!

strange kiln
#

Is this like

#

A joke

summer phoenix
#

no im being 100% serious

strange kiln
#

Are tou asking me to make a phone that becomes laggy when it’s far from a router or are you messing around

summer phoenix
#

Nothing is impossible.

slender falcon
#

He jk brother

#

🤣

summer phoenix
#

and load like 3 seconds late

#

and also remake a trade center

#

so we can scam

strange kiln
#

Whaa?

summer phoenix
#

I would play this game!

strange kiln
#

Wait

#

What if I make a game that’s about scamming noobs

#

That sounds addictive

summer phoenix
#

theres one that begs people on the road side

strange kiln
#

I remember getting scammed out of my cursed orbs in that one jojo game

summer phoenix
#

i remember when roblox was vulnerable

#

miss those days fr

strange kiln
#

Sad

slender falcon
#

I played scam sim 99 a lot

summer phoenix
#

probably literally everything worked on 2020 roblox

slender falcon
#

I am used to scamming

strange kiln
slender falcon
#

I ain't Smart enough to scam 😭

strange kiln
#

Wait guys

#

“India simulator”

#

Has a ring to it

slender falcon
#

What ya gona do in it?

strange kiln
#

I can already visualize the scene of throwing shit at your enemy after scamming someone

#

And everyone has a credit card

#

And the only way to earn money is to possibly get scammed

strange kiln
#

Chat I’m being fr

#

Whose with me!

strange kiln
summer phoenix
#

i dreamed of a game where i could pull off my limbs

#

and throw it

#

so theres your million dollar idea sir

strange kiln
#

I can smell the monsy

#

Money*

slender falcon
#

I can smell the 10000 indian kids back clash on this game

hollow wharf
#

could someone help me w a weld issue

burnt trout
#

Is anyone up to helping me make a !mod/!help command?

modest hare
#

lf scripter 20% of company or 5% with weekly payment

fading hull
#

LF scripter for a upcoming bleach game

bronze path
#

just read the docs for that part todo w textchatservice

burnt trout
#

Thank you very much!

burnt trout
bronze path
#

If there's something confusing about the tutorial, ping me

#

It has code samples / walks you through the steps

#

But when you say notification, what kind of notification are you referring to?

burnt trout
#

I cant send images.\

bronze path
#

make a codeblock like this

print("test")
#

three backticks

#

not four

burnt trout
#

may I dm you the photo of the script I made?

#

Nvm

bronze path
#

the backticks are below the esc key

#

if youre on a US qwerty keyboard

burnt trout
#

Wth

#

oH

#

LOL

#
local TextChatService = game:GetService("TextChatService")
local Players = game:GetService("Players")

local sizeCommand: TextChatCommand = TextChatService:WaitForChild("HelpCommand")

helpCommand.Triggered:Connect(function(textSource, message) then
    player:IsInGroup(id) 
    if
    player:SendNotification(notification) 
    elseif
    print ("Unable to confirm group rank")
end)
bronze path
#

alright so there's a couple of issues with this

  • Youre calling IsInGroup but youre not checking its return value (its result)
  • SendNotification doesn't actually exist on the player object
  • You have to end your if statements correctly

So after a chain of if / elseif / else you have to write the end keyword

local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")

local textChatCommand: TextChatCommand = TextChatService:WaitForChild("HelpCommand")

textChatCommand.Triggered:Connect(function(textSource: TextSource, message: string)
    local userId: number = textSource.UserId
    local player: Player? = Players:GetPlayerByUserId(userId)

    if not player then
        return
    end

    -- ...
end)

This is how you could start it, but what is it you want to do after the player uses it?

#

I also think the message checking may not be necessary since the text chat command has alias properties, but we'll see. Confirm if this only runs when the !help command is written by adding a print after the if statement

burnt trout
#
  22:08:57.354  Stack Begin  -  Studio
  22:08:57.354  Script 'ServerScriptService.Script', Line 8  -  Studio - Script:8
  22:08:57.354  Stack End  -  Studio
bronze path
#

GetPlayerByUserId

#

Read the scripts I give you too, since anyone can make mistakes !!

burnt trout
#

Alright it runs

cerulean silo
#

Any idea why viewports with world models are delayed to show items which should be insdie ~1 second?

bronze path
#

my followup question I posted below the code snippet by the way

cerulean silo
#

For example you can see here the model isnt loading in the viewport at first

compact spoke
burnt trout
compact spoke
#

how do you load them initally

bronze path
#

Viewport frames always behave like that when you make them reappear but maybe it could be worse when you have a high amount of them, not confirmed

cerulean silo
# compact spoke how do you load them initally

I try and preload client side all the models

local AnimationsModule = require(game.ReplicatedStorage.ModuleScripts.Animations)

AnimationsModule.WarmAnimations()

-- StarterPlayerScripts/PreloadModels.client.lua
local RS = game:GetService("ReplicatedStorage")
local CP = game:GetService("ContentProvider")

local MODELS = RS:WaitForChild("Models")  -- Armour, Special, Weapon, Rig, etc.

task.spawn(function()
    print("[Preload] Starting models…")
    local ok, err = pcall(function()
        CP:PreloadAsync({ MODELS })
    end)
    if not ok then
        warn("[Preload] PreloadAsync failed:", err)
    end

    while CP.RequestQueueSize > 0 do
        task.wait()
    end
    print("[Preload] Models complete.")
end)
compact spoke
burnt trout
compact spoke
#

so models aren't going to be loaded like that

cerulean silo
compact spoke
#

if they're meshes you can try to load those

#

but the entire model isn't going to cut it here

#

for preloading at least

cerulean silo
compact spoke
#

this might just also be behavior with viewport frames themselves hiding their content when not visible

bronze path
#

and not just the local player?

burnt trout
cerulean silo
bronze path
#

I have a lotta them in a place and they do go away and reappear

#

when the main container opens closes without me adding that behavior myself

#

dont think we can edit that delay

cerulean silo
#

The colour of the viewport changes after the model loads but looking at the viewport I dont change the colour or the transparency seen through the properties

hybrid basin
#

best way for a begineer to learn lua / luau?

bronze path
#

I checked the documentation and didn't realize this textchatservice command handling should be handled on the server, but i'm writing smth up to send to you

burnt trout
#

time

hybrid basin
#

and I know A LIL about lua

#

like variables intergers booleans stuff like that

burnt trout
#

I mean ish. They have similarities but they are also different in a good amount of ways.

burnt trout
cerulean silo
viral fable
compact spoke
#

why you sound like that

rich moat
#

Obv it's a mix of a bad mic and vocal cords

viral fable
fallen summit
tired kelp
#

Just curious, who likes to run their games using a mostly tick/heartbeat based system or mostly events or a mixture of both? And why?

tired kelp
#

For real! I always felt it was much more consistent and efficient this way

thin apex
#

im going to spas out

raven dust
#

who wanna join me on a funny horror game project

#

u get home from work at 3am

#

i have already built a good portion of the map

random nebula
obsidian patrol
#

hi guys if anyone needs a coder im here i know lua and im familliar with python too i can make simple codes! dm me (prices are 700-1000)

fair copper
#

guys i have a rather stubborn bug in my code while i was reverting versions n stuff and i have no idea where to actually look for it,

#

how do i get the source of a output? im getting duplicated outputs, probably due to firing events twice from somewhere

#

and i cant even trace it back to the script thats doing it

open osprey
#

While true do or function startloop() what the difference?

fair copper
open osprey
granite rune
#

any scripter wanna collab?

sharp creek
#

collab with what

granite rune
empty nebula
#

anyone play or smth dms

bronze depot
#

t

formal wolf
#

should i use a package or collectionservice for a tool that has diff sizes

granite rune
potent shell
granite rune
proud idol
#

however it should tell you the name of the script that cause the output to display

#

so you can just use that to know which script is doing the behaviour

fresh peak
#

Can anyone teach me coding

weary wave
fresh peak
dense canopy
#

Can anyone teach me how to dc moonsec v3 🥺

fair copper
#

and it was running twice

#

i didnt figure it out for 5 hours

#

🥀

inland crag
#

guys when i try to create a billboard gui the size can't change and the text label in it sixe and position is changed to nan and inf how can i change it pls

trail summit
#

dunno if you're interested

wheat pumice
#

also, just write a deobfuscator, dont do it manually 😟 ?

dense canopy
wheat pumice
#

Then ask him to send its source.

#

dont waste your time deobfuscating it

random nebula
empty nebula
#

anyone wanna play or smth dm me

fallen summit
#

@dawn raft i bestow upon thee 0 fps

#

nah but fr how do u get 60fps with 150px

#

last time i did 150px i got 4 fps

dawn raft
#

@fallen summit in my engine?

fallen summit
dawn raft
#

C 😏

fallen summit
#

i was trying to make something like that work for my game

dawn raft
#

"like that"

fallen summit
dawn raft
#

u mean the moving cube? or the dinosaur that got his nuts ripped off

fallen summit
#

😭

fallen summit
#

sorry what the fuck

dawn raft
#

ok regardless

fallen summit
#

i was meaning the pixelation graphics

dawn raft
#

just use any c lang

fallen summit
#

rendering

dawn raft
#

or anything really

#

that u can access memory with

fallen summit
#

anything aside from studio

#

got it

dawn raft
#

then be VERY cheap

#

like if u dont need it dont give it a slot

#

i personally use C#

#

but C i heard is better

#

realistically no language is better

#

u just need mem control and know how to use it

fallen summit
#

just render it in real life

#

🙏

dawn raft
#

type shit

#

wanna know the real fuck?

#

that engine was HDRP

#

i stole Unity's HDRP kinda

fallen summit
#

hidden devs role play

fallen summit
dawn raft
#

videos on my feed after the engine was finished

fallen summit
#

theres one about a realistic black hole simulator

dawn raft
#

really tho, most of it relies on C, C#, C++

fallen summit
#

i thought all this was in studio

dawn raft
#

💀

fallen summit
#

if it was in studio, and performative it would be massive

dawn raft
#

in studio i did worse

fallen summit
#

in studio it shits itself

#

3 fps

dawn raft
#

nooo

#

its easy

#

first stress test ur pc KEKW

#

fuck where is it

fallen summit
#

up there

dawn raft
#

lol

#

try the ray fog

#

i tried a bit more but

#

it got a bit insane

dusky swift
#

lf talented people to make a simple fighting game for fun (if we make revenue i will pay you depending on how much work you do

sacred ore
#

LF scripters that can make spider system

mellow mantle
#

looking for some scripters for my server got 500 members tryna revive it need help making new scripts like for sab and fisch dm me if u can help out ||not a bot||

meager ocean
#

everyone

#

i came across a scammer

#

he lit scammed me

proud idol
cinder basalt
inland warren
#

guys

#

I have a problem

#

dont panic

inland agate
cinder basalt
inland warren
#

bruh

#

I cant send it

#

cuz its too long

#

wait

#

So the problem is that the currentClick when the button is activated the clicks only increment by one even if currentClick is 2 or more and when the clicks reset to 0 it goes back to the number where it was.

Here is the leaderBoardScript: ```lua
local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player

local coin = Instance.new("IntValue")
coin.Name = "Clicks"
coin.Value = 0
coin.Parent = leaderstats

local currentClick = Instance.new("IntValue")
currentClick.Name = "CurrentClick"
currentClick.Parent = leaderstats
currentClick.Value = 1

end)```

#

Here is the clickScript:

local button = script.Parent
local event = button:WaitForChild("BombaCLat")
local player = game.Players.LocalPlayer

button.Activated:Connect(function()
        local leaderBoard = player:WaitForChild("leaderstats")
    local clicks = leaderBoard:WaitForChild("Clicks")
    local currentClick = leaderBoard:WaitForChild("CurrentClick")
    event:FireServer(clicks, currentClick)
    task.wait(0.05)
end)```


Here is the serverScript:
```lua
local RS = game:GetService("RunService")
local button = script.Parent
local event = button:WaitForChild("BombaCLat")



event.OnServerEvent:Connect(function(plr, clicks, clickVal)
    local num = clickVal.Value
    
    clicks.Value += num
end)```

Here is the managerScript: 
```lua
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local currentClick = player:WaitForChild("leaderstats"):WaitForChild("CurrentClick")
local clicks = player:WaitForChild("leaderstats"):WaitForChild("Clicks")
local frame = script.Parent
local parts = script.Parent:GetChildren()

local function check(prt, price, bool, addedClicks)
    if clicks.Value < price then return end
    if bool == true then
        local val = currentClick.Value * addedClicks
        currentClick.Value = val
    else
        currentClick.Value += addedClicks
    end
    clicks.Value = 0
end


for _, part in pairs(parts) do
    if part:IsA("TextButton") then
    part.Activated:Connect(function()
        local price = part:GetAttribute("Price")
        local bool = part:GetAttribute("Multiplyer") or part:SetAttribute("Multiplyer")
        local AddedClicks = part:GetAttribute("ClickAdded")
        check(part, price, bool, AddedClicks)
        end)
    end
end```
#

noice

vale zinc
#

For clicking simulator?

inland warren
#

uh no for a challenge

#

against my friend

vale zinc
#

Wdym

#

Ohh

inland warren
#

you could say clicking sim

vale zinc
#

I see

inland warren
#

so does anyone know the problem here?

vale zinc
#

Lemme check

inland warren
#

and i know its unorganized

cinder basalt
#

learn fundamentals and common sense before ya code

#

the approach of writing random stuff till it starts working doesnt get you nowhere

inland warren
#

bruh

#

I didnt even use the remote event for leaderstats

#

only for when player clicks

#

then it sends

#

to the serverscripts

#

I mean

#

serverscript

#

then it increments the val

#

will it work?

#

ok

unborn void
proud idol
inland warren
#

was eating

#

am back now

proud idol
#

Regardless even if he fixes the issue the system is turbo exploitable

inland warren
#

uh

#

guys chill

#

it aint that deep

#

ok

#

so

#

wdym by that?

#

kk#

vale flax
#

ive made a click system

inland warren
#

bruh

#

the same issue

#

valkcoderr

#

go to voiceChat

#

I mean general-20

#

I think yall dont understand the problem

#

I mean

#

the clicking works

#

but I have a diff problem

proud idol
inland warren
#

no

#

look

#

when I click the button

#

the clicks reset to 0

#

which is good

#

but then

#

if I click again

#

at the button

#

to get points

#

not upgrading

#

it literally goes back to the default number before 0

#

plus one

#

and it doesnt even add one more number when I click only 1 each time

#

oh

#

wait

#

hold on

#

I think I know why

#

guys I fixed it

vale flax
#

🤦‍♂️

inland warren
#

uh yea

#

but thx to yall

#

cuz yall helped me

#

even though it did nothing

#

yall wasted time for me

#

so thank you

vale flax
#

I use a module to handle clicks