#Hotbar

1 messages · Page 1 of 1 (latest)

neat knoll
#

My hotbar buttons only work in studio testing.

#
    task.wait()
end

local button = script.Parent
print(button.Name,"this")

local function onButtonClick()
    print("Button clicked!")

end

button.MouseButton1Click:Connect(onButtonClick)```
#

code inside of the LocalScript under the textbutton

#

4 other people have tried to fix it adn couldn't

primal mirage
#

dude

#

you literally have a fucking loop

#

at the very top

#

@neat knoll

shrewd kelp
#

if script has a parent then the loop stops

neat knoll
primal mirage
#

remove the loop

neat knoll
#

ive tried like 4 different codes as well

primal mirage
#

because what does it even do lol

#

what are you trying to do

#

make it so the buttons work

neat knoll
#

open a menu from a button on my hotbar

primal mirage
#

hotbar?

#

please show me a pic

neat knoll
#

yes

#

ok

primal mirage
#

ping me when you do

#

OK

neat knoll
#

all the buttons to the left and right of the X dont work

#

but in studio they do

primal mirage
#

how tf did you make this but you didnt make it work

#

you copied it?

neat knoll
#

everything else mostly works

primal mirage
#

ok

#

make a script under every button

#

its gonna take a bit but you kinda have to

neat knoll
#

ive tried like 4 different ones

#

none seem to work

primal mirage
#

are there gui's for the buttons???

neat knoll
#

yea

primal mirage
#

omg

neat knoll
primal mirage
#

in the button

neat knoll
#

i know

primal mirage
#

wait

neat knoll
#

wat

primal mirage
#

show me the shop

neat knoll
primal mirage
#

the shop

#

there is a shop button right?

neat knoll
#

why do u need to see the shop

primal mirage
#

jsut show me the shop

#

open the shop GUI

neat knoll
#

in studio testing

primal mirage
#

and send me a screenshot

neat knoll
#

or explorer

primal mirage
#

studio testing

#

the GUI itself show me it

neat knoll
#

thats cases

primal mirage
#

ok

#

and how did you get that to work?

neat knoll
#

they all work in studio

#

but not in game

#

thats why im asking for help

primal mirage
neat knoll
#

as inn??

primal mirage
#

how did you get that code

#

as in

#

the game has complete code

#

and the code you have is not complete

#

or it was messed up

neat knoll
#

As i said my friend used to dev it

primal mirage
#

ok did he send you the code?

neat knoll
#

no he just left it all here

#

theres a hotbar handler script if u wanna look at it

primal mirage
#

are there any errors when you run the game in studio

neat knoll
primal mirage
#

that's all?

neat knoll
#

yerp

primal mirage
#

ok

neat knoll
primal mirage
#

its shit

#

get rid of the loop at the top

neat knoll
primal mirage
#

and try running the code

#

see if that does anything

neat knoll
primal mirage
#

in roblox studio

#

nobody wants to help you

#

becuz this is a nest of wires basically

neat knoll
#
print(button.Name,"this")

local function onButtonClick()
    print("Button clicked!")

end

button.MouseButton1Click:Connect(onButtonClick)```
#

good?

primal mirage
#

do you even have a function called onButtonClick

#

wait wait LOL

neat knoll
#

no idea i dont really dev/script and i didnt make any of this

primal mirage
#

no its ok im not poking fun at you

neat knoll
#

okay

primal mirage
#

people who do that are losers

#

but dude listen

#

if you cannot make a button work

#

you have to practice before

#

becuz what you are trying to take on will demotivate you before you understand it

neat knoll
storm barnBOT
#

studio** You are now Level 8! **studio

neat knoll
#

where it works in studio and not in game

primal mirage
neat knoll
#

oh

#

and i dont really know where to learn at

primal mirage
#

what you SAVE and what you PUBLISH is not the same

neat knoll
#

and tried it

primal mirage
#

the game that has been published is not the same code that is saved

primal mirage
#

it will work?

neat knoll
#

nope

primal mirage
#

exactly

#

so rollback the save

#

to when it was last published

#

and u will prob be good

#

do you need help wit hthat?

neat knoll
#

yeah

primal mirage
#

ok

#

youi have studio open right

#

roblox studio

neat knoll
#

uyeah

primal mirage
#

click view

neat knoll
#

kk

primal mirage
#

near the top left

#

click asset manager

neat knoll
#

kk

primal mirage
#

perfect

#

double click places

neat knoll
#

yee

primal mirage
#

and show me

neat knoll
#

p

primal mirage
#

right click

#

click view history

neat knoll
#

then wat

primal mirage
#

and scroll down till you see

#

Yes

#

then click it, and click open

neat knoll
#

the 3rd?

primal mirage
#

the LATEST published version

neat knoll
#

oh

primal mirage
#

whatever the latest is

neat knoll
#

iv ebeen publishiong it

#

whenever i tried to fix it

primal mirage
#

dude

#

then find a date where you know you didnt publish it

#

use common sense cmon

neat knoll
#

this

primal mirage
#

ok then open that one

neat knoll
#

kk

#

now what

#

try it in game?

primal mirage
#

now play

#

and see

#

yes

neat knoll
#

ok

primal mirage
#

did it work

neat knoll
#

nope

#

it just has a lot less updates

#

and doesnt work

primal mirage
#

ok man

#

if you want further help im not gonna do it for free

#

you just have to input scripts for the buttons manually that open it

neat knoll
#

800 rbx

#

just make the buttons work i ngame

primal mirage
#

do you have cashapp or paypal

neat knoll
#

nah

primal mirage
#

actually no paypal

#

i have no use for robux

neat knoll
#

oh

#

well

#

sorry i guess

primal mirage
#

fine ill take it

neat knoll
#

okay

primal mirage
#

how will you get it to me

neat knoll
#

make a gamepass or a clothing

primal mirage
#

ok

neat knoll
#

and send me it

primal mirage
#

friend me on that account

neat knoll
#

ok

primal mirage
#

so i can join the roblox studio\

#

ur gonna have to share it with me

#

so i can join and edit the scripts

neat knoll
#

alr

#

promise u can fix it>?

primal mirage
#

of course lol

neat knoll
#

okay

#

whats ur user

primal mirage
#

MajinSmug

#

now i cannot guarantee all the menus will work

#

but i can make it so they all open for sure

#

i can even guide you through it on call if u want

neat knoll
primal mirage
#

ok

#

let me make the shirt

#

did u add me

neat knoll
#

yeah

primal mirage
#

LOL WHAT IS THAT USER

neat knoll
#

chill 😭

primal mirage
#

dawwwg

#

u r down bad irlcry

neat knoll
#

yerp

#

gave u access

neat knoll
#

so if u get it to open they should

primal mirage
#

ok perfect

neat knoll
# primal mirage ok perfect

aye if u fix this , these games usually make decent robux so i can pay u mor ein the future if it gets some decent players and u can dev for me

primal mirage
#

perhaps

neat knoll
primal mirage
#

but it takes a lot more than this to get the game running my friend

primal mirage
#

like a lot of coding

neat knoll
#

oh

#

most of the stuff i needed works

primal mirage
#

im making the gamepass

neat knoll
#

like jackpoting works

primal mirage
neat knoll
#

kk

#

yeah

#

everything works mainly

#

@primal mirage my old friend did something with making a admin panel

#

dont know whats up with it tho

primal mirage
#

i can take a look

neat knoll
#

he made like the gui and all, it just doesnt open either

#

like if u search up admin you'll see it all

primal mirage
neat knoll
#

bought

primal mirage
#

ok perfect

#

call?