Skip to main content
6 votes
Accepted

How do I get the player's position in Roblox Studio?

I feel your pain. Roblox is very confusing, despite their claims that it is an easy way to learn scripting. To get a player's position (server side) you need to access the player's character ...
Derrick Bouchard's user avatar
4 votes
Accepted

How to properly split damage against armor?

If I've understood correctly, I'd do this as a two step process... Calculate how much the armor absorbs, then apply the rest to the player. Something like: ...
Basic's user avatar
  • 1,278
3 votes
Accepted

How do I change a game's description in Roblox?

As per the documentation: Access game settings by clicking on the Game Settings button from the Home tab of Roblox Studio Once open, you’ll see five tabs on the left side of the window: Basic Info, ...
Pikalek's user avatar
  • 12.4k
2 votes

How do I make buttons function on the cursors click in roblox studio?

According the the Roblox developer website, you can create a button by right clicking in the Explorer window and clicking the button you want. There are two types of buttons as described on the ...
OKprogrammer's user avatar
2 votes
Accepted

Roblox script: Can't get "IntValue"?

I think your misunderstanding is based around what val == not nil means. The expression not nil evaluates to ...
Anko's user avatar
  • 13.4k
2 votes

for loop problem

Looks like this code runs after voting on a game mode. That probably means it doesn't run again until the match is over. My guess is that ...
idbrii's user avatar
  • 828
2 votes

In my Roblox Tycoon game, my button is not working

Let's look at line 42: if purchasedItems:WaitForChild(v.Dependency.Value) then And next let's look at the documentation for Instance:WaitForChild(): This function ...
Pikalek's user avatar
  • 12.4k
2 votes

How do I change a game's description in Roblox?

As of June 2023 (v 0.580), the description can be changed from the File menu > Game Settings. The Game Settings icon should also be visible on the far right of the Home ribbon.
iandw's user avatar
  • 21
1 vote

Roblox Studio: Holding down LeftControl as an in-game keybind activates Roblox Studio Shortcuts

One way people get around this issue is just by making it a toggle rather than something you need to hold. This comes with multiple benefits though for example, some keyboard have ctrl in a spot that ...
drewbluewasabi's user avatar
1 vote
Accepted

Fixing thing on unanchored object in Roblox

When it comes to unanchored objects, Roblox allows for welding objects together so they move as one entity. If you want the fire to move with the unanchored car, you can weld the Parts which contain ...
Ian G.'s user avatar
  • 26
1 vote

GUI TextButton fails to show emoji display when clicked

You’re referencing StarterGUI, when you should be referencing each player’s UI; every player gets a copy of startergui when they join the game that they can interact with, and this script affects the ...
Buzzyy's user avatar
  • 111
1 vote
Accepted

My Roblox Gui does not update while in game

You are modifying the value in StarterGui, not the one in the player's GUI. StarterGUI is only used when a new player joins to give them the GUI. Modify the GUI inside of ...
ridiche34's user avatar
1 vote

Attempt to call missing method - Lua (Roblox studio)

its supposed to be local playerKey = playerLeagueUpdateModel.GetPlayerKey() with a dot
A K O V's user avatar
  • 11
1 vote
Accepted

How can I make sure that money goes to the right player?

It appears that this code here: ...
Philipp's user avatar
  • 120k
1 vote

How can I allow my players to create, save and use moves?

I'm not sure about Roblox Studio, but you could have players create animations in-game. Breaking down your plan: where do you see your character standing on the screen, select accessories and skin ...
idbrii's user avatar
  • 828
1 vote
Accepted

How do I get roblox studio on a Chromebook?

Currently, you cannot natively install Roblox onto a Chromebook, due to the lack of Linux support, but you can still run it using an emulator such as Grapejuice. Here's how to do that. Make sure the ...
OKprogrammer's user avatar
1 vote

Getting looping music to work in Roblox Studio

It turns out that I simply forgot to put the whole command: Workspace.Sound:Play() It now works as expected.
toryzac000's user avatar
1 vote
Accepted

Roblox, custom chat filter

Some games have their own custom chat guis. You could create one, then have an event that would fire in the server when a player sends a message. Creating the gui is beyond the scope of this question, ...
TinFellow's user avatar
  • 126
1 vote

Can you use other gamepass ids on your own Roblox game?

If you are using another user's game pass id I don't think it will work out because only game passes created under your game will work in your game. Edit: Only gamepasses from this page are ...
Escher's user avatar
  • 11
1 vote

Transparent gui Shows another gui when it is not supposed to?

This is because Gui's stack on top of each other and other Gui objects (Frames, TextButtons, etc) can bleed through them if the ...
May's user avatar
  • 21
1 vote
Accepted

How to connect a GUI button to function?

Instead of connecting your event to a FUNCTION, you are calling it. I'll leave a sample on how to correctly use it ...
Prexxo's user avatar
  • 56
1 vote

How to spawn one dummy for each "d" in the message string?

What you can do is use string.split() to get a table return of items inside a string. Note: This will only work if you separate the d's with spaces(or any other ...
May's user avatar
  • 21
1 vote

How to spawn one dummy for each "d" in the message string?

My solution is using string.sub first to check if the command prefix is correct then to get external arguments. --> CODE ...
Prexxo's user avatar
  • 56
1 vote

Where can I find the Roblox Material/Terrain textures?

You can find them inside of the game files. If you're on windows 10, use cortana to search up "Roblox" inside of your apps, right click it, and then press "show file location". Then you can look into ...
DemGame - Roblox's user avatar
1 vote

Does indexing arrays with temporary objects leak memory?

The answer is yes, yes it will, you initialize / localize the Table outside the scope therefor anything cached / stored inside it won't be garbage collected, part itself still get's deleted although ...
Prexxo's user avatar
  • 56
1 vote

When PlayerRemoving event is fired, for loop does not work properly

I tested the code as I didn't see anything wrong with it and it works fine. Be sure to check if there are any yields, breaks, anything that could stop PlayerRemoving event from firing / executing the ...
Prexxo's user avatar
  • 56
1 vote

How to make the character dash forward in Roblox?

To answer your question would require a tutorial-length post. So many things come into play including Filtering Enabled settings. However, I can answer "How to make the character dash forward in ...
Derrick Bouchard's user avatar
1 vote

How to make the character dash forward in Roblox?

It sounds like you're looking for BodyForce. A good place to start on how it works might be the code in this video showing a simple script for a jump pad. The ...
Anko's user avatar
  • 13.4k
1 vote

Why is the button's code not running?

Taking a look at your script, we see that there is a little hick-up at the bottom of your function. ...
Vaillancourt's user avatar
  • 16.3k

Only top scored, non community-wiki answers of a minimum length are eligible