#code-discussion

1 messages · Page 247 of 1

glossy pivot
#

the other is more complicated

stable shell
#

okey thanks guys

thorn arch
#

do you know of any discord servers for react lua or where i could ask for assistance with it?

thorn arch
thorn arch
iron kraken
#

I mainly just learned by using the docs tho

#

It’s not too complicated

pliant estuary
#

@cloud marsh

cloud marsh
#

What

pliant estuary
#

why ru tryna scam on lego game huh

cloud marsh
#

I did not

#

Where is prof

pliant estuary
#

ok

broken whale
#

thanks

#

how much can i use it for free tho?

#

bcs i don't think ima pay 20/month

pastel tangle
#

download Antigravity, it's an IDE made by google

broken whale
pastel tangle
#

i think they're pretty generous with the free rates for claude in there

broken whale
#

alr

pastel tangle
#

it's a new IDE so they're tryna promote it by giving good free rates

#

also, use claude 4.5 opus

broken whale
#

how does it relate to claude

broken whale
pastel tangle
broken whale
#

ive never really coded only lua tho on rstudio alone

pastel tangle
#

yeah but on antigravity you're just gonna use the Ai chat like u do on chatgpt

#

so antigravity is basically visual studio but made by google

#

it's pretty new so people don't really know about it

broken whale
#

ah

#

thats cool

#

so how would i use it w/ claude?

#

ive seen people use vs and stuff for lua but i never really got the point

pastel tangle
#

so make a folder on your pc with the project's name, and name the subfolders exactly like the services in roblox studio. this is just to mimick roblox studio so the claude AI has all of your scripts as context which really helps instead of just workig with only 1 script at a time like on chatgpt

broken whale
#

so u gotta conect claude to it or smth?

#

how does that even work

brittle spade
#

Where do people learn rodux like the api for uis

pastel tangle
#

no u just got a chat

broken whale
#

oh ok sick

#

so claude won't give me a msg saying i've used too many chats and gotta pay halfway in? bc if not then ill definitely start using it instead of chatgpt

pastel tangle
#

it will at some point but if that happens just switch to gemini 3 high

#

but if ur new i doubt that will happen too quick

broken whale
#

alr

pastel tangle
#

after u install it i can teach u my workflow

#

so lmk

#

it's pretty easy and the results can be pretty good

broken whale
#

yea sure

#

is it possible you could dm or send a vid

#

if not its alr

pastel tangle
#

ill dm u

broken whale
#

alr

buoyant magnet
#

Anyone know how to fix spaghetti code?

broken whale
buoyant magnet
#

I did that but it just gives me even more 'trash' (can't swear) code

broken whale
#

it gives you more code than you gave it? dm and i can check it out

buoyant magnet
#

Nah it just tries to make it into a smaller version of the code but makes it so the code doesn't run so instead i'll have to restart the scripting and do more variables

solar juniper
#

Im having a problem with cframe.lookat

if i aim too up or aim too below the hrp then my character freezes anyway to fix that or its just a roblox thing

dense river
pastel pine
#

Can someone help me,

#

I uploaded a new place into a preexisting game

#

And when players try to join they get connection errors consistently

#

Its going to kill my game I need help asap

#

I'll legit give anyone who has a solution to this 1k robux

midnight geode
#

u can use trigonometry for this

brisk isle
#

@pastel pine Did you change the start place or the experience settings

#

If you uploaded a new place make sure it is published and set as the start place

#

Also check the experience is public in game settings and the new place is not private

shut brook
#

hello

frail yarrow
#

idk how people can be ai drones

#

"ai please write this code for me" -> repeat until its not broken anymore

#

like mfs will just have no knowledge or understanding

frail yarrow
#

being a prompt zombie is like

#

spiritual suicide

fervent sphinx
exotic helm
#

can anyone give me any challenges to do im like type beginner/a bit intermediate lvl....

autumn ermine
exotic helm
autumn ermine
exotic helm
#

why is it not spawning more when itys running itw aits until first gets destoryed???

stable bay
#

lads

granite bison
brittle hinge
#

@exotic helm

pearl slate
#

any programmers trying to work on a quick project? Im a builder and ui designer(ill fund the ads for sponsoring the game)

winter belfry
#

anybody know how to make a round system?

winter belfry
vocal forge
#

anyone wanna join in on this new game :3 im solo deving and kinda in need for someone who can help with scripting. kinda want someone to make this game together im sure we will have a great time :)0

exotic helm
exotic helm
#

and make the spawjn function its own thread

exotic helm
eternal blade
#

dm me

#

we can make it a 3 day project max

#

im fast worker either way

vernal peak
eternal blade
#

also if anyone looking to hire, i can do anything so feel free to hit my dm's

vernal peak
#

or if that too ez

#

i want u to make a hitbox

eternal blade
#

yo wertar

vernal peak
#

then send anythiung hit to server

#

or do it from server

eternal blade
#

wertar245 u got any coms open for me?

#

i can do anything

vernal peak
#

gng who i look like

eternal blade
#

it was a simple question..gng

vernal peak
#

@exotic helm When u m1, send event to server and also play animation same time. Then when server gets it make a hitbox and if anything that getrs hit by that hitbox has a part like humanoid, damage it

vernal peak
#

@exotic helm hitbox very ez u gotta js do instance.new(part) or sphere

young crystal
young crystal
exotic helm
#

how

#

i js do this but no work

#

ahh

young crystal
exotic helm
#

forgot to call it

young crystal
#

set up

exotic helm
#

yes

young crystal
#

with ur avatar type

#

otherwise it wont work

#

like is ur avatar r15 or r6, i would go into the game avatar deal and set it where everyones avatar is r6

#

then make the animation on a r6 rig

exotic helm
#

yes everything works now ima sjow u vid

young crystal
#

alr

exotic helm
#

kinda m,id

young crystal
exotic helm
#

idk

#

lol

#

i forgot

fervent sphinx
#

He got good stuff

ocean ferry
#

roblox can give text to user clipboard?

#

Or nah

dire lichen
sand remnant
#

folder with remotefunc inside put it under workspace

sterile summit
dire lichen
#

what the hell

#

who genuinely uses buffers

ocean ferry
#

also guys if a text box its not editable you can still copy his content inside right

spring basin
#

builder needed ungently {simply the best]

jagged mortar
#

Is there any luau coders here that can teach me luau

#

I need some help

tired remnant
#

Then ask more specific questions if you need help or can’t find an answer

oblique ermine
#

is there a way to fetch a users age group? my intent is to have a red dot above someones head when you join the game to indicate that you cannot chat with them

pastel pine
#

@brisk isle someone helped me with it in dms sorry bout that

young crystal
dire lichen
young crystal
#

but they will never know

dire lichen
young crystal
#

if u copy the roblox ui chat deal to a T

dire lichen
young crystal
dire lichen
#

im hoping this update will be reverted

#

all because parents are irresponsiblr

young crystal
dire lichen
#

it shouldnt be roblox's responsibility to deal with how stupid parents are 😭

young crystal
#

and preds can just get a child picture and rate themselves as 9 and under and literally talk to kids with no adults

dire lichen
#

its giving preds a literal selection menu

young crystal
#

and with no adults means no one can report it

young crystal
dire lichen
#

insane

young crystal
#

like you dont see any other game doing this besides roblox

#

i get preds are a serious problem apparently in roblox compared to all games but theres gotta be better ways to deal with them

#

atp remove chat

dire lichen
#

literally the best solution would be to enforce parent parent verification

#

with the parent's id

young crystal
#

well

dire lichen
#

pretty sure a multi billion dollar company can figure out something better than ruining its whole chat

young crystal
#

peoples arguments are that "parents dont watch there kids" and then punish everyone for the sake of "protecting" children is the answer?

dire lichen
#

i firmly believe that its not roblox's responsibility to take care of irresponsible people's kids

dire lichen
#

it should be illegal for kids to have phones at all bro

young crystal
#

and roblox is using a ai company called persona which has a history of its information being hacked and leaked

#

so

#

you got kids faces

#

leaked

#

😭

dire lichen
#

ya

young crystal
#

especially worse with ids

#

literally theres companies that are doing exactly id verification and the company gets hacked and there ids are leaked and people can commit identity theft

dire lichen
#

hope ts doesnt happen

#

ive used my id several times

tired remnant
#

Honestly, if they just invested more into their moderation and tried to make it good, I bet they’d solve a large portion of the problem without needing facial age verification

dire lichen
#

i want to do a little experiment of getting an id verified account banned and then using the id to verify in a new account

#

using id and face info for moderation would be against their own tos i think

tired remnant
#

There’s also other ways to do age verification. Less accurate (though I’d hardly argue facia age recognition is accurate) but still better than nothing or what they have, I guess

dire lichen
#

insane that not a single human was involved in terminating my 2019 account

tired remnant
#

And probably would have ended up talking to an AI if you tried to appeal it, too

dire lichen
#

you have no idea how much i appealed that lol

tired remnant
#

Or some BS copy-paste response that’s from a “real” person

dire lichen
#

support emails are always the same

#

no humans either

#

my guess is that they use ai to choose templates

young crystal
dire lichen
tired remnant
young crystal
young crystal
#

but feel like it doesent work if u dont just join the game and insted go to the server list and join that server

white marlin
#

yo can someone help fix my script for a game im tryna make, its just basically fetching badges a player has in a certain game.

white marlin
#

it keeps returning 0/0 badges

tired remnant
white marlin
#

anyone can help?

dire lichen
young crystal
wild veldt
#

If you add free UGC to your game is there exploits for that

white marlin
dire lichen
#

or better paste it in code help

white marlin
dire lichen
#

nobody is gonna fix ur code without looking at it brochacho

tired remnant
white marlin
#

lemme resend

tired remnant
#
            table.insert(badges, {
                id = badge.id,
                name = badge.name,
                description = badge.description,
                icon = badge.imageUrl, -- use imageUrl
            })
        end

        cursor = response.nextPageCursor
    until not cursor

    return badges
end


Remote.OnServerInvoke = function(player, username, placeId)
    if not username or not placeId then
        return { error = "Invalid input." }
    end

    placeId = tonumber(placeId)
    if not placeId then
        return { error = "Invalid game ID." }
    end

    -- Get UserId
    local okUser, userId = pcall(function()
        return Players:GetUserIdFromNameAsync(username)
    end)
    if not okUser then
        return { error = "User not found." }
    end

    -- Get badges
    local okBadges, badges = pcall(function()
        return getBadgesFromGame(placeId)
    end)
    if not okBadges then
        return { error = "Failed to fetch badges (HTTP disabled or invalid game)." }
    end

    local ownedCount = 0
    local results = {}

    for _, badge in ipairs(badges) do
        local hasBadge = false
        pcall(function()
            hasBadge = BadgeService:UserHasBadgeAsync(userId, badge.id)
        end)

        if hasBadge then
            ownedCount += 1
        end

        badge.owned = hasBadge
    end


    local total = #badges
    local percent = total > 0 and math.floor((ownedCount / total) * 100) or 0

    return {
        badges = results,
        owned = ownedCount,
        total = total,
        percent = percent
    }
end```
dire lichen
white marlin
#

so its not working

#

it keeps showing 0/0 owned

white marlin
#

of the script

wild veldt
white marlin
#

first half :

wild veldt
#

People in here are not useful I swear

dire lichen
white marlin
#

wtf

#

itkeeps deleting my shi

wild veldt
dire lichen
#

???

young crystal
white marlin
#

``local Players = game:GetService("Players")
local BadgeService = game:GetService("BadgeService")
local HttpService = game:GetService("HttpService")
local MarketplaceService = game:GetService("MarketplaceService")

-- RemoteFunction
local Remote = Instance.new("RemoteFunction")
Remote.Name = "BadgeCheckRemote"
Remote.Parent = game.ReplicatedStorage

-- Convert PlaceId → UniverseId
local function getUniverseIdFromPlaceId(placeId)
local info = MarketplaceService:GetProductInfoAsync(placeId, Enum.InfoType.Asset)
return info.UniverseId
end

-- Get all badges from a game
local function getBadgesFromGame(placeId)
local universeId = getUniverseIdFromPlaceId(placeId)
if not universeId then return {} end

local badges = {}
local cursor = nil

repeat
    local url
    if cursor then
        url = string.format(
            "",
            universeId,
            cursor
        )
    else
        url = string.format(
            "",
            universeId
        )
    end

    local response = HttpService:JSONDecode(HttpService:GetAsync(url))``
#

ok ye it was cuz of the links

#

i removed the links

#

in the ""

white marlin
dire lichen
young crystal
white marlin
thorn arch
thorn arch
iron kraken
iron kraken
thorn arch
#

like yesterday i was trying to figure out react contexts

#

which i believe i finally did

iron kraken
#

context lets u send props down without doing it through every single component
thats one of the use

thorn arch
#

ya, i just didn't realise you needed a provider for it to

#

be stateful

slow hull
#

🙏

thorn arch
#

about contexts

#

basically i want to use contexts for toggling UI

iron kraken
#

u can

iron kraken
# thorn arch basically i want to use contexts for toggling UI
local extraPropsContext = require(sharedMods.npcPopup.extraPropsContext)
local function weaponShop(props)
    local plrUpgrades, setPlrUpgrades = react.useBinding(getUpgrades:InvokeServer()) --depends on server data to be initialized
    local itemInfo, setItemInfo = react.useBinding(false)
    local itemInfoPos, setItemInfoPos = react.useBinding(UDim2.new(0,0))

    local extraProps = {
        plrUpgrades = plrUpgrades,
        setPlrUpgrades = setPlrUpgrades,
        setItemInfo = setItemInfo
    }

    return e(extraPropsContext.Provider, {
        value = extraProps
    }, {
``` example
thorn arch
#

yea ik

thorn arch
#

here it looks similar to useState...?

iron kraken
iron kraken
#

so whenever the binding value changes it will call map if it is equal to a property

thorn arch
#

what does map do?

iron kraken
#

it runs every time the binding changes

#

and it changes the position property of the component

#

based on the return value

thorn arch
#

oh k

#

doesn't it rerender then?

iron kraken
#

no

thorn arch
#

wouldn't you want it to rerender?

iron kraken
#

u can test it if u try to print inside a useeffect in the component it will only print once when u change the value

thorn arch
#

what does useEffect do

iron kraken
#

whereas if u use usestate it will print every time

iron kraken
#

but it takes a dependency table

thorn arch
iron kraken
thorn arch
#

and it'll just run everytime? you don't have to set it to any of the props?

iron kraken
#

and it runs depending on the dependency table

thorn arch
#

oh i see

#

so if any of the values in the dependency table

#

changes and causes a re render

#

the useEffect callback will run?

iron kraken
#

yes and if u put nothing i think it reruns every rerender
if u put empty table {} it will just run once no matter what

thorn arch
#

i see

#

anyways heres my code

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local GlobalUIContext = require(script.Parent.GlobalUIContext)
local React = require(ReplicatedStorage.Packages.React)
local Inventory = require(ReplicatedStorage.UIModules.Inventory)
local MainHUD = require(ReplicatedStorage.UIModules.MainHUD)
local ReactUtils = require(ReplicatedStorage.Utils.ReactUtils)

local function MainUIs(props)
    local globals = React.useContext(GlobalUIContext.Context)
    return React.createElement(React.Fragment,nil, {
        UIStroke = React.createElement("UIStroke"),
        MainHUD = globals.HUDToggleState.on and React.createElement(MainHUD),
        Inventory = globals.InventoryToggleState.on and React.createElement(Inventory)
    })
end

return function()
    return React.createElement(GlobalUIContext.Provider, {
        value = {
            HUDToggleState = ReactUtils.useToggleState(true);
            InventoryToggleState = ReactUtils.useToggleState(false);
        };
        children = React.createElement(MainUIs)
    })
end
#

i was just wondering if this could be improved

#
function ReactUtils.useToggleState(default:boolean): toggleState
    local toggled, setToggled = React.useState(default)

    local enable = React.useCallback(function()
        setToggled(true)
    end, {})

    local disable = React.useCallback(function()
        setToggled(false)
    end, {})

    local toggle = React.useCallback(function()
        setToggled(function(currentToggled)
            return not currentToggled
        end)
    end, {})

    return {
        on = toggled,
        enable = enable,
        disable = disable,
        toggle = toggle,
    }
end
#

this function was used in the top script ^

#

I'll also send the context module

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local React = require(ReplicatedStorage.Packages.React)
local ReactUtils = require(ReplicatedStorage.Utils.ReactUtils)

export type GlobalUIContext = {
    HUDToggleState: ReactUtils.toggleState;
    InventoryToggleState: ReactUtils.toggleState;
}

local toggleState = {
    on = true;
    enable = function() end;
    disable = function() end;
    toggle = function() end;
}

local GlobalUIContext = React.createContext({
    HUDToggleState = toggleState;
    InventoryToggleState = toggleState;
})

local function GlobalUIContextProvider(props)
    local HUDToggleState = ReactUtils.useToggleState(true)
    local InventoryToggleState = ReactUtils.useToggleState(false)
    
    local value = {
        HUDToggleState = HUDToggleState;
        InventoryToggleState = InventoryToggleState;
    }
    
    return React.createElement(GlobalUIContext.Provider, {
        value = value
    }, props.children)
end

return {
    Context = GlobalUIContext :: GlobalUIContext;
    Provider = GlobalUIContextProvider;
}
iron kraken
#

y return the elements as props

thorn arch
iron kraken
#

ok nvm

#

yea seems fine

thorn arch
iron kraken
#

i guess just work in the react format and try not to go outside of react unless necessary

iron kraken
thorn arch
#

like, how would you do this?

iron kraken
#

ur code looks fine

thorn arch
#

i smell a react hater

hasty mesa
#

where

thorn arch
#

hey hao

thorn arch
urban sonnet
#

i cant understand it, should be like this :
script.main ui do things and then local and shi yk

hasty mesa
#

hi brian

thorn arch
hasty mesa
#

never touched it

thorn arch
#

mmm

urban sonnet
#

oh also for react its script:function(react)

#

or or

#

if guy does this then do reaction

#

kms

thorn arch
thorn arch
vernal peak
#

now I want u to

#

practice with modules

#

i had to restart 3 months of progress bc i didnt know how important framework was

#

use only 1 local script and 1 server script.

#

the rest of ur scripts are gon be in modules. This is called Single Script Architecture

#

the local and server scripts are just to require and .init() -- (initialize) the modules

#

use goodSignal for bindable events

#

BLINK, byteNet, or zap for remote

#

they are much faster and more optomized

#

alr so first server sends plrState to client side so they know if they are stunned or not -- THIS HAPPENS ON THE LOADING SCREEN. The loading screen ui that games have in the beginning is for these typa shits

#

when client m1s, i made the hitbox using raycast so if it hits anything, I send server who then validates and applies shit

deft coral
#

meow

sacred ore
#

anyone knows how to make a canva/clip descendant for images

vernal peak
#

dont forget to have the client also do vfx and sfx when onHitSignal is fired not just server

#

remember no remote events or functions

#

same with bindables

#

only use GoodSignal and Blink/ByteNet/Zap

#

yo gng remember im also a beginner but im p sure framework is like 100% the most important thing u should learn

#

modules are so goated tutorials dont be telling u ts

#

Btw this is for scalabilty so when u update a game u dont really do shit since u already have them all in sync with eachother

#

anyways now that u know SSA i want u to remake that hitbox thing using SSA

#

Also I want u to use GoodSignal as well as BLINK, ByteNet, or Zap

#

dm me if u need help with how to work that shit

#

cuz I spent like 2 days tryna figure it out its super ez tho especially GoodSignal

#

Also remember variables first, then local functions, then function. (wtv u want. I got .init() at last tho cuz I feel like that makes sense)

#

and at last bind ur signals to that module

iron kraken
#

using libraries dont rlly teach u as much mostly just how to use it

#

gng out

exotic helm
#

Só all modules and 1 server 1 client to send info in between

#

?

iron kraken
#

u can use more tbh

#

but mostly modules imo

exotic helm
#

I’ve always knew how modules worked but never knew how to like code it

iron kraken
#

i would use scripts for events + initializations

exotic helm
#

Like i have the idea in mind but when it comes to coding it I blank

exotic helm
exotic helm
iron kraken
# exotic helm As in?

lets say i have a playermanager (module) then call .init in a script
and for events things like uis, remote events

exotic helm
#

How long u been coding

brittle spade
#

are you familiar with Rodux perchance

iron kraken
iron kraken
#

my friend uses it

#

it helps with react to manager props and states i think

#

personally didnt find a reason to use it

exotic helm
iron kraken
#

ok

#

for monies

exotic helm
#

Sob

exotic helm
iron kraken
exotic helm
#

Sob 😭

#

You wouldn’t help for free ✌🏻 not like full help yk but like help me understand it more ykyk

exotic helm
elder fulcrum
#

does anyone need code help ill fix any small bug for 3$

iron kraken
exotic helm
iron kraken
exotic helm
iron kraken
exotic helm
#

Sob

uneven jolt
#

Alright yall

#

Version 1

#

Or Version 2

#

Which do yall normally do

#

(For a module script)

errant elm
#

version 2 cus im not a java programmer

fresh peak
#

how do i
make my game so everyone can edit

young crystal
lean ocean
uneven jolt
#

I literally did this on all my other stuff TF

ancient crag
#

hey

#

nvm

valid canopy
#

Anyone here doing coding full time? Or on vacation right now that have time to do some work?

lusty plover
#

can work on anything for small percentage 10% pro level at anything and any skill in general can learn any skill in under a day need devs to join my discord in my bio to learn skills and help me with my stuff i got all the stuff linked out dm me if u wanna work together i can make anything

gray frost
stiff saddle
#

.

solar juniper
#

im having trouble with cframe.lookat, everything works but when i put the mouse far above the hcaracter or far below the character then my chracter freezes and cant move for a little,any way to fix that?

myhmr.CFrame = CFrame.lookAt(myhmr.Position,mouse.Hit.Position)```
ebon wren
#

any semi decent devs here who want a job that pays based on how much time you put in?

neat siren
#

Ur account is too new for this not to be a scamcathello

ebon wren
#

cryingdead i guess

neat siren
#

U have to try better bro

ebon wren
#

can’t even have a new account anymore

#

almost a year old account makes me a scammer BONK

ebon wren
#

🤦🤦‍♀️🤦‍♂️

solar juniper
#

im having trouble with cframe.lookat, everything works but when i put the mouse far above the hcaracter or far below the character then my chracter freezes and cant move for a little,any way to fix that?

myhmr.CFrame = CFrame.lookAt(myhmr.Position,mouse.Hit.Position)```
fathom igloo
#

Js asking is there any plugin in which I can get my avatars from “catalog avatar creator” and put them in studio

pastel pine
#

Thats built into studio

fathom igloo
pastel pine
#

Avatar options in the new slop ui

fathom igloo
#

Cause I know I can do it manually but would save me more time if I can js copy it

pastel pine
#

Yes you can just dress up a certain way in catalog creator

#

Then set make new rig for yourself

fathom igloo
gray frost
#

do you know composition with external dependency injections

somber vault
#

dont use overcomplicated words to sound pretentious

gray frost
#

?

#

they're basic OOP concepts

#

wdym

somber vault
gray frost
#

right..

somber vault
#

they dont word anything in OOP like that

#

unless they're some tyrhard pretentious

#

@gray frost just tell me waht it means and ill tell u yes or no

gray frost
somber vault
somber vault
#

i can learn anything in under a week anyway

gray frost
#

i already told you

gray frost
somber vault
somber vault
#

from that description?

#

that sounds easy

gray frost
#

write one

somber vault
#

why would i waste my time writing one

#

to prove one guy on discord wrong

gray frost
somber vault
#

nothing is hard to program just time consuming

gray frost
lean ocean
#

He basically said I can't do it

silk gate
silk gate
naive void
#

is making a custom chat agaitns tos

wide flint
#

any one need robux for there project

bold hound
tacit fox
#

can someone please teach me about module loaders

#

?

compact echo
#

fighting game

compact echo
wispy lion
#

well i was thinking

#

but idk

#

and since you saw me thinking

#

i couldnt leave you on read. so i replied

bold hound
wispy lion
compact echo
compact echo
wispy lion
#

oh its a combat game you say?

compact echo
#

pvp

wispy lion
#

will the mouse be involved?

#

like pointing?

compact echo
fresh peak
#

Yo

wispy lion
#

well if theres a visual pointer, you could use that cool looking lerp yk

#

to point toward where u wanna hit

#

the green box

#

just for visuals

compact echo
# wispy lion like pointing?

there's a quests that can give u skills and the game mostly pvp not pve cuz its battleground mixing with leveling

fresh peak
#

Looking for script for my studio he will be highest rank of dev

wispy lion
compact echo
wispy lion
#

its 12 am for me now 😭

compact echo
#

new worlds and high quality lighting so it will be not like any battleground game

compact echo
wispy lion
#

im trying to make a battlegrounds game but im tryna add like alot of cool visuals + more mechanics

#

not like over the top with the worlds n stuff

brittle spade
bronze path
fresh peak
compact echo
compact echo
wispy lion
wispy lion
#

more

bronze path
compact echo
wispy lion
#

i really like that vfx!!

compact echo
#

ill make things more than just beautifulWeirdChamp

wispy lion
#

do u like my gameplay btw?

#

if u seen it

#

really old animations + no vfx in this yet + no sfx

#

im re creating all of the abilities

compact echo
compact echo
#

wait ill send the dash

wispy lion
wispy lion
compact echo
wispy lion
# wispy lion well not really..

The entire game was done in solo up untill now and I only do Scripting + UI. Just now have I got V(i cant do the letter next to d)X, S(same here)X, and animator

compact echo
# compact echo

ill remake the sword animations and i already remade the slash vfx from the dash

wispy lion
#

i cant do the letter ater d and beore g

#

bro. how am i gonna block in battleground game

wispy lion
#

NOO

#

this sucks bro :(

#

OSJODJIDSAJNSDJKNSDJKN

#

atleast my mouse has like 8 extra buttons 🙏

compact echo
compact echo
wispy lion
#

anyway is it good or solo and i dont know how to animate or do vx or sx

wispy lion
compact echo
wispy lion
#

i shouldnt have payed 40 bucks or a shien keyboard :/

wispy lion
#
  • the destruction
compact echo
# compact echo

i remade the m1 system like 7 times to make it good and ill remake the m1 animation to make it looks smooth

wispy lion
compact echo
wispy lion
#

except or the characters

compact echo
#

and animations i think it's most think u will make i made 5 animations only for block

wispy lion
#

!????

#

why 5?

compact echo
wispy lion
#

i only need 1

#

the block animation will override the stun (yk the one where ur getting punched?)

compact echo
#

nah Im not making a normal battleground game I'll make it AAA game in everything

wispy lion
#

im tryna do that but yeh

#

also the development on recreating the character is starting tmrw

compact echo
wispy lion
#

first*

#

i finally got the f key on my mouse

compact echo
#

🤣

wispy lion
#

lol

compact echo
wispy lion
#

YO IM SO GOOD AT JJS

#

i DID A CHAIN BLACK LASH ON SOMEONE WITHOUT BLOCK

compact echo
# compact echo

with this systems how much u think i take time in scripting BONK

wispy lion
#

AND DI THE INISHER

compact echo
wispy lion
#

2 years?

compact echo
#

not even the half

compact echo
wispy lion
#

8 y

compact echo
#

in scripting

wispy lion
#

oh

compact echo
wispy lion
#

my game is 4 months old i think

fossil inlet
#

guy i am starting to learn scripting anyone has tip how can i start learning scripting quicker praysob

urban scaffold
#

gnomecoding is the best ive seen

urban scaffold
#

he helped me learn lerping in 9 minutes when i tried to learn it through other means for like 50 minutes so ye hes good

fossil inlet
#

i want tips i am a vfx artist i want to improve my vfx by script

urban scaffold
#

other than youtubers idk much, im still new

urban scaffold
#

these guys are smart

bold hound
somber vault
#

teaching scripting, art, offsite scripting, animation, and any other digital skill or literally any skill u want if u dm me for free in LF corporation workers tryna make a second do_big but not evil money hungry pigs quality > quantity i have almost 20+ years digital experience

tired remnant
fading jacinth
#

should i always use unixtimestampmillis? cuz its more presice than the normal one, or is there a downside?

vestal jay
#

anyone help me out with stun system logic

desert river
#

Anyone know how I could start making a physics based movement / combat system

cloud rover
#

yo how much would some1 want for a fully scripted potion system

sharp cape
#

Curious about if you guys prefer handling game state replication from server->client, via remote events or values/attributes? I've mostly used values, imo they're easier to work with since they auto replicate and you don't need to manually send data to new players, but I've had some issues with value.Changed event firing order

waxen osprey
#

selling systems of games like gun system (with GUNS) , plot system , pet system etc.
DM me for offers

thorn arch
#

hey @iron kraken I'm trying to use contexts for a hotbar, how can i get it to rerender only the slot that is changed?

grand crag
thorn arch
grand crag
#

or keep one context but memo the slot components so only the changed prop updates

thorn arch
#

sorry, new to react

grand crag
#

Wrap the slot component with React.memo

#

And make sure you pass it stable props so it only rerenders when that slot data changes

heady holly
#

local TweenService = game:GetService("TweenService")

-- Locations of frame and buttons
local folder = script.Parent.Parent
local gui = folder:WaitForChild("Teleporting")
local frame = gui:WaitForChild("Frame")
local enterButton = frame:WaitForChild("EnterButton")


-- Sounds
local MusicFolder = folder:WaitForChild("Music")
local SoundEffectFolder = MusicFolder:WaitForChild("SoundEffects")
local UiHover = SoundEffectFolder:WaitForChild("Ui-Hover")
local ClickSound = SoundEffectFolder:WaitForChild("Ui-Click")
local CheckResponse = false

-- Sound functions
local function PlayHover()
    if not UiHover.IsPlaying then
        UiHover:Play()
    end
end
local function PlayClick()
    ClickSound:Play()
end

-- Tween info
local tweenInfohover = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)

local enterButtonScale = enterButton:WaitForChild("UIScale")

local originalScale = 1
local hoverScaleValue = 1.2

local tweenGrow = TweenService:Create(enterButtonScale, tweenInfohover, {Scale = hoverScaleValue})
local tweenShrink = TweenService:Create(enterButtonScale, tweenInfohover, {Scale = originalScale})

enterButton.MouseEnter:Connect(function()
    PlayHover()
    tweenGrow:Play()
end)

enterButton.MouseLeave:Connect(function()
    PlayHover() 
    tweenShrink:Play()
end)

Guys i am using this code but in this the button is being hovered but the text inside isnt hovering for some reason how can i fix it? The buttons has UIAspectRatioConstraint and UITextSizeConstraint in it.

brisk isle
#

Put the UIScale on the frame that contains both the button and the text or add a UIScale under the TextLabel too and tween both

solid haven
#

guys is there a server to look for a concept team?

subtle stag
#

Any scripters wanna work on a very simple game for percentage it's js a quick fun cash grab we can make and it ain't no brain rot

north dagger
subtle stag
#

I’m barely passing in python

thorn arch
vernal peak
#

talking js to talk

grand crag
north dagger
gusty solar
#

what do yall think of vibe coding

ebon wren
#

anyone here good with battlegrounds stuff script wise im so burned out need help

dense river
gray frost
#
animation.Priority = Enum.AnimationPriority[`Action{tonumber(index) >= 2 and index or ""}`]```
#

what yall think about this

thorn arch
#

inside a loop?

dense river
gray frost
dense river
#

ok.
my brain is trying to process and understand that.

gray frost
#
    self.Animations = {
        ["1"] = Animator:LoadAnimation(Animations.Midnight["1"]),
        ["2"] = Animator:LoadAnimation(Animations.Midnight["2"]),
        ["3"] = Animator:LoadAnimation(Animations.Midnight["3"]),
        ["4"] = Animator:LoadAnimation(Animations.Midnight["4"]),
    }

    for index, animation in self.Animations do
        animation.Looped = false
        animation.Priority = Enum.AnimationPriority[`Action{tonumber(index) >= 2 and index or ""}`]
    end```
dense river
#

ohhh ok i got it lol

gray frost
#

Only works if index is less than 5 so i should clamp it but i dont really need to

dense river
#

so if the priority of the animation it's equal or bigger than 2 it sets Action2 which menas will substitute any Action1 and index does exist. Otherwise you put empty so it sgould assume default value

gray frost
#

Action1 doesn't exist

#

its just Action

#

hence the empty string

dense river
#

ye it's ``Action`

gray frost
#

yeh

dense river
#

ok ye the context definitely helped

gray frost
#

yee

wide socket
#

Does anyone know how to code a skiing lift?

elfin timber
#

How does it happen that old games brake?

peak jolt
#

Usually its mandatory breaking api changes and these are either policy changes (like the audio update) or security related (like filtering enabled)

real karma
#

a good YouTube video which teaches how to make planes in Roblox studio

old forum
#

Hi

verbal violet
#

yo

#

guys

#

200$ is good for a scripter

#

to script a entire tycoon?

real karma
iron kraken
#

e

median tree
dire anvil
#

Hi how do i use the roblox documentation to learn coding ive learnt the basics for now by going throgh brawl devs beginer and a few of the advanced, and have started like practicing concepts/challenges. I saw a video saying that roblox documentation is good to practice coding but the dox is huge and idk how to go about it. Ive put the list of all the things from the documentaion into chatGPT and it gave me the main things i need to know to make a game in like different tiers and difficulties. Does any1 have a suggestion

supple spindle
queen dune
dire geyser
#

Hey-O!

#

Feet off the table sir

umbral carbon
#

Bruh

glass pumice
#

roblox is not gonna fall off

supple spindle
glass pumice
supple spindle
#

roblox in 2016 was at its prime

#

look at it now

glass pumice
#

for you maybe

supple spindle
#

full scale AI slop

glass pumice
#

tides will turn eventually

#

there are a lot of decent games on roblox these days, and lots of great talent

supple spindle
#

do you think how many children crapblox puts in danger?

#

leaving preds now to chose their age group

#

just a matter of time until governments notice

glass pumice
supple spindle
#

or baszucki gets jailed

glass pumice
#

from a pure business standpoint

#

its not that big of an issue

supple spindle
glass pumice
#

a lawsuit will get swept under the rug verrryyy quickly

#

if it happens

supple spindle
supple spindle
#

countries banning it? no chance

supple spindle
glass pumice
# supple spindle u see that drop?

roblox is spending over 400M a quarter on infrastructure and new tools, this causes short-term stock drops, it creates a "moat" that other platforms can't afford.

supple spindle
#

Look, roblox right now is very probably the most dangerous social media platform kids can be on right now

Before the update your identity was completely hidden, you could have just played the game anonomously. Now however your age gets validated and the moment you are chatting you are giving information price to everyone in your server on how old you are

glass pumice
#

most anaylsts still have a price target of 146+ dollar, which may just suggest that the drop is a temporary correction while the market waits to see if the ney features work

supple spindle
glass pumice
# supple spindle You really think thats because of that? Oh man

it's not uncommon that big spending which projects 257 million in losses for 2025 Q3 will hurt the stock price, but this was done to build a technological barrier. No other platform is like roblox with a surprisingly easy to use and sophisitcated engine, cloud infrastructure, whilst being free.

#

I don't disagree with you on the issue here, but Roblox is working to solve it and I genuinely don't think it will hurt their stock price.

#

most analysts agree that its just a valuation reset

supple spindle
#

Well after all we will see, might be a valuation reset or the first signs of a complete crash because it often starts to look like that

glass pumice
#

Roblox is investing 150 million usd into safety each quarter, I don't see that its likely that they will continue with the current chat system if its proven to not work

supple spindle
#

Well just keep a track at the playercount roblox has per day, sinking playercount correlates to the platform crashing

supple spindle
#

They dont listen to feedback

#

They just do their thing and if something doesnt work they dont care they enforce it anyway

glass pumice
#

its a company worth 40 billion dollars, listening to 150 million daily users is impossible. A business of this scale has to make choices based on long-term stability. I would actually argue that Roblox has started listening more to developers lately though.

supple spindle
glass pumice
#

70% increase in 2025 from 2024

supple spindle
glass pumice
#

They also made it very easy to revert next gen studio, since it's still under development.

supple spindle
glass pumice
supple spindle
#

Its like having a scratch on a car and instead of fixing the scratch they put duct tape over it

supple spindle
supple spindle
#

Thats what i mean with they just enforce things

#

Even if its unneccessary or not needed, they dont care its still going into the system

glass pumice
#

but then again, people would probably be mad at that again

supple spindle
#

Those are updates everyone likes and which helps the platform actually grow

glass pumice
supple spindle
#

Ohhh thats what u meant

#

My bad misread it

glass pumice
#

you're never going to appease everyone, and if you stay in ur bubble its going to seem like everyone else agrees with you

#

im very neutral to the new chat filter, although the age ranges are very weird, but I think its an interesting concept that can be worked out

#

roblox has had this with safe chat

#

since forever

#

people complained then as well

#

anyways

#

I gtg bro

#

it was nice talking to you

supple spindle
#

Well and you said they have to do some sort of descisions. Well thats true but take a look at this descision:
Invest in a better moderation system which will detect and lable any predatory content, this involves more employees aswel for moderation only purposes

OR

Let everyone on the platform scan their face and if they dont do it simply remove the chat from them, if they scan their face let AI guess the age and put them in an age category

supple spindle
glass pumice
#

good night

short hawk
#

guy what am i doing wrong

granite raven
#

anyone selling their game dm me budget 50k i can pay 1/5 upfront once we negotiate the price

short hawk
#

guys is africa a country

mossy lynx
#

yeah ofc

#

wait

#

is it

#

nah its noit

somber vault
#

😅

tame gate
#

is anyone here capable of making odmg

iron kraken
#

ijijijiij

iron kraken
#

unless u have older version of python

regal salmon
vocal forge
#

can anyone help me with topbar v3?

queen dune
#

feet

fierce token
vocal forge
#

so, i made it that when you click on store, you get a menu. but when i click on store, it imidiatly opens the shopframe. i want it that it only opens when i click on store from the menu. so i can add 3 frames for each button

#

---- Shop ----
local icon = Icon.new()
:setLabel("")
:notify ()
:setImage(8644297761, "Deselected")
:setImage(8644297761, "Selected")
:setCaption("Store")
:modifyTheme({"Dropdown", "MaxIcons", 3})
:modifyChildTheme({"Widget", "MinimumWidth", 158})
:setDropdown({
Icon.new()
:setLabel("Store")
,
Icon.new()
:setLabel("Season Pass")
,
Icon.new()
:setLabel("Get VIP")
,
})

icon.selected:Connect(function()
local frame = playerGui:FindFirstChild("ShopFrame", true)
if frame then
frame.Visible = true
end
end)

icon.deselected:Connect(function()
local frame = playerGui:FindFirstChild("ShopFrame", true)
if frame then
frame.Visible = false
end
end)

fierce token
#

Well, you need to improve that gui.

#

The shop one.

#

It doesn’t look well.

vocal forge
#

ok but do you think you can help me fix this hehe

fierce token
#

Hehe.?

vocal forge
#

bro shut your ahh

fierce token
#

??

#

Excuse you?

#

You need to improve that gui

#

It’s ugly.

fierce token
#

@vocal forge

jagged mortar
#

I learned click detectors and touch functions what other functions can I learn

fierce token
#

Fart stideders

young crystal
#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local RealmsProgression = require(ReplicatedStorage.Modules.RealmsProgression)
local RealmProgression = table.clone(RealmsProgression)

local RemoteEvents = ReplicatedStorage.RemoteEvents
local BreakthroughEvent = RemoteEvents.BreakthroughEvent

print(RealmProgression)

Players.PlayerAdded:Connect(function(player)
    local function Breakthrough()
        local PlayerStats = player:WaitForChild("PlayerStats")
        local Realm = PlayerStats:WaitForChild("Realm")
        local Qi = PlayerStats:WaitForChild("Qi")

        local RealmIndex = PlayerStats:WaitForChild("RealmIndex")

        local Strength = PlayerStats:WaitForChild("Strength")
        local Health = PlayerStats:WaitForChild("Health")
        local Multiplier = PlayerStats:WaitForChild("Multiplier")

        local nextIndex = RealmIndex.Value + 1
        local nextRealm = RealmProgression[nextIndex]

        if not nextRealm then return end
        if Qi.Value < nextRealm.req then return end

        -- Breakthrough (ONLY ONCE)
        RealmIndex.Value = nextIndex
        Realm.Value = nextRealm.name

        Strength.Value += 5
        Health.Value += 10
        Multiplier.Value += 0.05

        Qi.Value -= nextRealm.req
    end
    BreakthroughEvent.OnServerEvent:Connect(function()

        Breakthrough()

    end)
end)
#

🥀

void ermine
#

pretty easy to read even without the color codes

#

job well done sir

young crystal
heady dune
#

What would you guys typically charge someone for making a full anime style boxing system w vfx etc, and a matchmaking system

#

I dont know how much to charge this client

young crystal
heady dune
#

yeah

#

the whole shaboing

young crystal
#

uhh

#

i would say u can look at what they are charging in hiring but since ur doing everything its hard to say

heady dune
#

the stuff in hiring isnt category by category in scripting terms

young crystal
#

you could charge per hour or per asset

heady dune
#

id say combat systems are more advanced

#

bro i know what i can charge by, im asking what i should charge $ wise

young crystal
young crystal
royal ibex
young crystal
#

so its not the code, its how a have data 😭

royal ibex
young crystal
royal ibex
#

Remote event inside a player added 🥀

young crystal
#

i use int/number values for stats and attributes for combat

young crystal
royal ibex
young crystal
#

im a visual liker

royal ibex
young crystal
#

well ill deal with that when i set up data saving

royal ibex
#

Just take the remote event out the player added function

#

Simple

young crystal
#

well

royal ibex
#

Creating a function each time a player joins aswell

frail yarrow
young crystal
#

alright i fixed it

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

local RealmsProgression = require(ReplicatedStorage.Modules.RealmsProgression)
local RealmProgression = table.clone(RealmsProgression)

local RemoteEvents = ReplicatedStorage.RemoteEvents
local BreakthroughEvent = RemoteEvents.BreakthroughEvent

print(RealmProgression)

local function Breakthrough(player)
    local PlayerStats = player:WaitForChild("PlayerStats")
    local Realm = PlayerStats:WaitForChild("Realm")
    local Qi = PlayerStats:WaitForChild("Qi")

    local RealmIndex = PlayerStats:WaitForChild("RealmIndex")
    local MajorBreakthroughs = PlayerStats:WaitForChild("MajorBreakthroughs")

    local Strength = PlayerStats:WaitForChild("Strength")
    local Health = PlayerStats:WaitForChild("Health")
    local Multiplier = PlayerStats:WaitForChild("Multiplier")

    local nextIndex = RealmIndex.Value + 1
    local nextRealm = RealmProgression[nextIndex]

    if not nextRealm then return end
    if Qi.Value < nextRealm.req then return end

    -- Breakthrough (ONLY ONCE)
    RealmIndex.Value = nextIndex
    Realm.Value = nextRealm.name

    Strength.Value += 2.5
    Health.Value += 10
    Multiplier.Value += 0.05

    Qi.Value -= nextRealm.req

    if nextRealm.MajorBTR then
        MajorBreakthroughs.Value += 1
        Strength.Value *= 2
        Health.Value *= 2
        Multiplier.Value *= 2
    end
end

BreakthroughEvent.OnServerEvent:Connect(function(player)
    Breakthrough(player)
end)```
young crystal
hard garden
#

idk what to make

#

gime idea fls

young crystal
hard garden
young crystal
#

hmm basically like among us however not that gameplay loop of doing tasks and finding the "imposter"

young crystal
# hard garden whas that

if you search up town of salem 1 or town of salem 2, its a game and you will see what im talking about

hard garden
#

oo

#

bett

#

wait let me search that thing

#

oh i think i know what you are talking about

#

its basically among us or mm2

young crystal
#

yes so basically theres Townies,Mafia,Neutruals, every player gets a role and the townies job is to vote or kill all mafia and most neturuals and mafias job is to kill all townies with there roles

#

in town of salem its 15 people

#

per match

young crystal
#

4 mafia 8-9 townies the rest nes

hard garden
#

so the main goal is just to find the imposter

#

but each player has different role and tasks

young crystal
#

main goal is basically killing all 4 mafia members if ur part of the townies if mafia vice versa

young crystal
#

only roles

hard garden
#

oh

young crystal
#

like sheriff is a role

hard garden
#

ye

young crystal
#

with sheriff every night u investigate someone and it will show up as sus or inno and during the day u share that information

hard garden
#

mhm

young crystal
#

if u watch a couple vids of town of salem you will know what im talking about

#

thing is chat system is kinda cooked but theres a way to force servers to have same age group

young crystal
#

🙏

hard garden
#

i mean on a game with just 5 players

#

each player is on different age group

#

fkdljasflaskljasdlk;gajsdl;kafjsdflk;asj

hard garden
young crystal
#

uh im not sure i havent tested it out yet or where it is, since my game is in early development and as a solo dev i havent even worried about it yet

#

basically when you join a server through the play button of a game u get put into servers that share ur age group so you can actually chat to everyone

hard garden
#

fr

#

i have friends tho

young crystal
#

ah i dont got any friends 🙏

hard garden
#

idk

#

oh i lowk forgot, i have two. animator and a coder

hard garden
hard garden
young crystal
#

im tryna be jack of all trades, master of none but be better at scripting than all of them

hard garden
#

lmfao

prisma meadow
#

Anyone know how to safely get another player's character in a local script with Streaming Enabled?

bronze path
#

I'm not familiar with all of the quirks associated with streaming enabled but is using WaitForChild on the child/descendant of the character you need not enough?

prisma meadow
#

I'm doing :WaitForChild("HumanoidRootPart") on the character and getting an infinite yield

bronze path
#

Can you send a code snippet of the problematic area?

#

@prisma meadow

prisma meadow
# bronze path Can you send a code snippet of the problematic area?
    local camera = workspace.CurrentCamera
    local playerCharacter = localPlayer.Character or localPlayer.CharacterAdded:Wait()    
    local localHRP = playerCharacter:WaitForChild("HumanoidRootPart")

    if playerToSpectate then
        local characterToSpectate = playerToSpectate.Character or playerToSpectate.CharacterAdded:Wait()
        if not characterToSpectate then return end
        
        local spectatedPlayerHRP : BasePart = characterToSpectate:WaitForChild("HumanoidRootPart")
        
        if not spectatedPlayerHRP then return end
        
        camera.CameraSubject = spectatedPlayerHRP
        spectatePlayer:FireServer("SpectatePlayer", playerToSpectate)
                
        if spectateHrpConnection then
            spectateHrpConnection:Disconnect()
        end
        
        if spectatedPlayerWorldTriggerConnection then
            spectatedPlayerWorldTriggerConnection:Disconnect()
        end
        
        isSpectateFollowing = true
        localPlayer:SetAttribute("IsSpectating", true)
        
        spectatedPlayerWorldTriggerConnection = spectatedPlayerHRP.Touched:Connect(function(otherPart)
            if otherPart:HasTag("WorldTrigger") then
                changeWorld:Fire(otherPart:GetAttribute("World"))
            end
        end)
        
        spectateHrpConnection = RunService.Heartbeat:Connect(function(deltaTime)
            if not localPlayer:GetAttribute("IsRespawning") and isSpectateFollowing then
                localHRP.CFrame = spectatedPlayerHRP.CFrame
            end
        end)
    end
end```
#

I only just added the CharacterAdded:Wait() and the if not checks now, so I don't know if it'll still error

bronze path
# prisma meadow ```function Util.SpectatePlayer(localPlayer : Player, playerToSpectate : Player)...

Remove all of the CharacterAdded:Wait() calls. Instead exit early if a player's character is nil like I recommended above. Furthermore, getting infinite yield warnings from WaitForChild does not directly mean the code is waiting forever. It indicates that the function might wait forever so it'd be a good idea to add prints before and after to see the flow of the program.

Also, if you have a variable typed as Player, there's no reason to then have a conditional on it checking if it's not nil.

autumn ermine
#

thank goodness we're allowed to do code reviews

graceful delta
#

How quickly would roblox terminate my account if I make a custom chat system for my game to bypass their age groups and allow my players freedom of speech

tacit sparrow
#

🤔

graceful delta
#

i envy those attack on titan/police roleplay games that manage to bypass the chat filter

#

no age restrictions and you don't get tagged for normal conversation

heady holly
#

local TweenService = game:GetService("TweenService")

-- Locations of frame and buttons
local folder = script.Parent.Parent
local gui = folder:WaitForChild("Teleporting")
local frame = gui:WaitForChild("Frame")
local enterButton = frame:WaitForChild("EnterButton")


-- Sounds
local MusicFolder = folder:WaitForChild("Music")
local SoundEffectFolder = MusicFolder:WaitForChild("SoundEffects")
local UiHover = SoundEffectFolder:WaitForChild("Ui-Hover")
local ClickSound = SoundEffectFolder:WaitForChild("Ui-Click")
local CheckResponse = false

-- Sound functions
local function PlayHover()
    if not UiHover.IsPlaying then
        UiHover:Play()
    end
end
local function PlayClick()
    ClickSound:Play()
end

-- Tween info
local tweenInfohover = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)

local enterButtonScale = enterButton:WaitForChild("UIScale")

local originalScale = 1
local hoverScaleValue = 1.2

local tweenGrow = TweenService:Create(enterButtonScale, tweenInfohover, {Scale = hoverScaleValue})
local tweenShrink = TweenService:Create(enterButtonScale, tweenInfohover, {Scale = originalScale})

enterButton.MouseEnter:Connect(function()
    PlayHover()
    tweenGrow:Play()
end)

enterButton.MouseLeave:Connect(function()
    PlayHover() 
    tweenShrink:Play()
end)

Guys i am using this code but in this the button is being hovered but the text inside isnt hovering for some reason how can i fix it? The buttons has UIAspectRatioConstraint and UITextSizeConstraint in it.

fringe chasm
#
local workspace = game.Workspace

local Coins = workspace:WaitForChild("Coin")
local OpenButton = workspace:WaitForChild("OpenButton")
local OpenButton1 = workspace:WaitForChild("OpenButton1")
local Door = workspace:WaitForChild("Door")
local Door1 = workspace:WaitForChild("Door1")
local KillPart = workspace:WaitForChild("killpart")


for _, coin in pairs (workspace:GetChildren()) do
    if coin.Name == "Coin" then
        coin.Touched:Connect(function(hit)
            if hit.Parent:FindFirstChild("Humanoid") then
                local player = game.Players:GetPlayerFromCharacter(hit.Parent)
                if player then
                    player.leaderstats.Coins.Value += 1
                    coin.Parent = ReplicatedStorage
                    wait(5)
                    coin.Parent = workspace
                end
            end
        end)
    end
end

Openbutton.Touched:Connect(function(hit)
    if hit.Parent:FindfirstChild("Humanoid") then
        Door.Transparency = 0.6
        Door.CanCollide = false
        task.wait(5)
        Door.Transparency = 0
        Door.CanCollide = true
    end
end)

Openbutton1.Touched:Connect(function(hit)
    if hit.Parent:FindfirstChild("Humanoid") then
        Door1.Transparency = 0.6
        Door1.CanCollide = false
        task.wait(5)
        Door1.Transparency = 0
        Door1.CanCollide = true
    end
end)

killpart.Touched:Connect(function(hit)
    if hit.Parent:FindfirstChild("Humanoid") then
        local Humanoid = hit.Parent:WaitForChild("Humanoid")
        Humanoid.Health -= 100
        print(hit.Parent .. "Has been killed")
    end
end)

why the "Attempt to index nil on 'touched'

ocean ferry
#

or function

#

also ur variables are OpenButton ,OpenButton1

#

And you calling just Openbutton1, Openbutton

#

same with KillPart

heady holly
#

basically i needed to have the button's text size smaller

karmic cobalt
#

yo guys question
how many remotevent you use in your games
better to keep it as single remotevent, and pass arguments like name to fire different event by the same remote
or use like 30 remote events for different events
or its fine untill you fire them all in one time
?

remote root
#

explain reemote eventds

karmic cobalt
#

communication between both sides

ocean ferry
#

If one fáils u will now what happend

#

Also make sure add enough security for do not let exploiter use them

ocean ferry
#

You know, you cant Index into serverstorage etc as local player

#

But remote lets make functions fire server as local example for get player data, or info of server like idk, tp spot locations etc

#

Make sure your remote has enough checks for do not let exploiters fire anomalous information

#

Or when they want

#

Can be used too for fire functions from other scripts without use modules or etc

#

Remote events are an salvation or hell gates

peak jolt
#

elaborate please

ocean ferry
#

6 am non english speaker

#

Im tweaking im pretty r3tarded

peak jolt
#

okay

#

and what were you trying to say

tacit fox
#

Wsg chat

#

How’s everybody

#

Good

#

Thanks

#

Your welcome

#

What are you up to

#

Nothing much just chatting

#

Same

#

I’m eating dinner rn

#

Whachu eating

#

Chicken, fish, etc

#

Nice

#

You got any code to discuss?

#

Yes what are module loaders

#

Module loaders load modules :)))

#

You’re not tuff.

inland coyote
#

hey guys

tacit fox
#

Yes I am lol why u pressed

#

Nah u pressed

inland coyote
#

Gng u aint tuff in the big 2026 in ohio

tacit fox
#

Wsg luaload

inland coyote
#

Yo

tacit fox
#

Whachu want

inland coyote
#

I want nothing

tacit fox
#

Whatchu up to

inland coyote
#

I am up to nothing

#

Can someone fix my code

#
game = coded
map = built
graphics = realistic
controls = good
players = alot
story = good```
tacit fox
#

Can you build ur map for me

#

Build a map for me

inland coyote
#
laps map = built```
tacit fox
#

Thanks

shy bronze
#

how should i manage my data in my game (Profilestore, Profileservice, anything else...) i used profileservice before redoing the game and i had problems with it with a script that gets data and return/modify it (i had that set up from a youtuber)

candid grotto
shy bronze
#

ima use profilestore for now

candid grotto
#

what problem you got?

shy bronze
#

even if i was sure i was right

candid grotto
#

is it fixed now?