#Trying to learn studio, stuck on a part of making a dice. Help please
1 messages · Page 1 of 1 (latest)
Cannot figure out how to get a remoteevent to replace the NameAboveHeadTextLabel to the dices output
diceevent.OnServerEvent:Connect(function(diceoutput)
ClonedGui.NameAboveHeadTextLabel.Text = diceoutput
end)
whenever you get a remote event on the server, the function will always be
RemoteEvent.OnServerEvent:Connect(function()
end)
also
that function on the dice script
i assume its not finished but you will need end)
Im just starting roblox studio right now
Ive been at it a few days
so im just trying to keep this simpler for learning purposes
Just trying to get the dice output to appear overhead the player when they roll the dice
I just modified it to the ARandomSpork guys suggestion but it stills giving an error
Oh mb gng
so you cant get that across scripts
(“diceoutput”)
thats the thing
Or am i tripping?
you are indeed tripping
oh my bad
i didnt put in the quotations
wait
its a variable
so it doesnt need them?
oh wait you got the dice output in the function
🤦♂️
i cant read apparently
i cant either
im just trying to wrap my head around programming, i started studying this like 2 days ago
also it doesnt need to be in brackets or quotations
im understanding more every day im just having the biggest issue in having a remote event activate code
Yes it does
since its a variable
also that my code is confusing lol
😑
my brain is fried
what im trying to do is have the random number 1-20 that the dice rolls appear in place of the overhead GUI
alright
Do u have the gui?
….
wait
** You are now Level 4! **
got it working
i had an end) in the middle of all the code
….