Questions tagged [roblox]

For questions about developing games for Roblox, an online multiplayer platform where users can design and play their own games.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

How do I get roblox studio on a Chromebook?

I have seen Youtube videos of people having roblox studio on their chromebook, but I have tried to install it and it didn't work. How can I get it to work?
-2
votes
1answer
21 views

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

I would just like to know how to add buttons in roblox studio because when I play roblox and see all those great games with buttons that I can click! How do I make a button, and how do I make it work?
0
votes
0answers
15 views

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

I am making a game in roblox. and in that game i need a Main-menu. and the main-menu gui is basically transparent and there is more guis behind in another ScreenGui ...
0
votes
0answers
10 views

How can I avoid redundancies when I have multiple distinct Roblox tools with clientside code?

In Roblox, I have two distinct tools with identical clientside code. The serverside code determines their difference to behave differently. However, with identical clientside code, whenever I change ...
0
votes
0answers
16 views

Why can't I access LocalPlayer at runtime in a starterGui script, but I can in the console at runtime?

In StartGui -> ScreenGui -> TextLabel -> Banner (a script) I've got ...
0
votes
0answers
42 views

Error in DataStore2

I'm trying to make a clicker type game in roblox, although im pretty new to datastore2. I know how to use datastore but after getting just a :SetAsync() a few times a minute is too much for it as most ...
1
vote
1answer
39 views

How to connect a GUI button to function?

I am developing a new Roblox game where you can setup and control you're own virtual machine using SurfaceGUIs on a modeled screen. I am trying to make a confirmation GUI where if you click YES, then ...
-3
votes
2answers
115 views

How come non creatable/destroyable Roblox instances have :Destroy() :Clone() etc?

Roblox has many types of instances. But services and other NonCreatable Instances (ReplicatedStorage, Workspace, etc.) still have methods for creating or destroying. Why? Why do they have :Destroy() ...
0
votes
1answer
37 views

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

Im working on a script building game, I have the executor etc done. However, I have one problem. To spawn a test dummy, you say pse/d You can spawn no more than one dummy, how would I make it so if ...
0
votes
1answer
285 views

Where can I find the Roblox Material/Terrain textures?

The textures shown in this image: Where can I find them? I am making a Roblox game, it's a terrain based mining game, and I want to add an inventory. Where can I find the textures for the terrain to ...
0
votes
0answers
31 views

How do I fill a region in Roblox?

I try this: workspace.Terrain:FillRegion(Region3.new(Vector3.new(2048, -256, 2048), Vector3.new(-2048, -512, -2048)):ExpandToGrid(4), 4, Enum.Material.Basalt) I ...
0
votes
1answer
48 views

Does indexing arrays with temporary objects leak memory?

For example, if I have something like this: ...
0
votes
1answer
29 views

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

while I was implementing the Backback save feature in my Roblox Game (using game.Players.PlayerRemoving:Connect(), I found that when I used a loop of any form (<...
0
votes
1answer
45 views

Are minecraft LANS and servers Filtering Enabled? [closed]

Non-filtering enabled means any given client can make changes and the server will replicate them. This is faster but opens doors for hackers and exploiters. Filtering enabled means the client provides ...
0
votes
2answers
849 views

How to make the character dash forward in Roblox?

In my game I want to make a skill in a tool to dash forward for a specific range and if the character came in contact with a humanoid during the dash, it stops right on contact and stops the other ...
0
votes
1answer
796 views

How to make a smooth projectile in roblox?

I am trying to make a projectile (Energy ball) for my game. I am using body velocities, but the issue is is that it seems laggy. I shoot it then half a second through flight it seems to stop in mid ...
0
votes
1answer
29 views

Why is the button's code not running?

My script for a slot machine isn't working. When the button in the Bilboard GUI is clicked, the below dosen't run. I am new to scripting and this is mostly based on wiki/stack exchange/ Dev page info. ...
-2
votes
1answer
3k views

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

In the Roblox documentation for basic place settings, it mentions how you can change the name and description of your game: Once on this page, you can change the Name and Description by editing the ...
0
votes
2answers
4k views

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

In Roblox Studio, I have this code in a script file: ...
3
votes
1answer
110 views

Does playing sound effects have to be filtering enabled?

In roblox I made a sword that plays the unsheath sound when equipped. This works by using a local script tell a server script to play it when equipped. I made a whole new remote event in replicated ...
0
votes
1answer
630 views

Getting looping music to work in Roblox Studio

I've been trying for a few days now to get my background music to work on one of my Roblox places, but every time I get the error: 13:50:23.806 - Players.PungentZeus0.PlayerGui.bgmusic:21: attempt to ...
0
votes
1answer
178 views

Roblox, custom chat filter

So, I would like to add my own chat filter to my game, how would I do this? eg: Player says: "DIE" Goes through chat filter and comes out as: "###" or any other string I specify.
0
votes
1answer
108 views

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

I'm creating a game on Roblox and I need to know if I can use other user's gamepass ids. And if I can will they work?
1
vote
1answer
207 views

Is it possible to have a fixed camera without a CameraSubject?

I have created a very simple script to set up a fixed camera with no subject. In other words, I want a camera in a static position looking down at the world (a top-down style camera that doesn't ...
0
votes
2answers
869 views

Roblox script: Can't get “IntValue”?

I am new to Roblox scripting (Lua apparently) and was fiddling with a function that is called when one Part (dubbed the "Sender") is touched by another Part, which is actually a tool with a Part ...
1
vote
0answers
1k views

How to fix my camera angle in ROBLOX?

I am trying to make my own camera in ROBLOX. Here's my problem, I am using an inverse function to make the camera look nice and smooth but it only works on the x axis in the positive side. Here's an ...
2
votes
1answer
360 views

Accessing motor object of a surface motor

I would like to make a door closer for a door. The door should open normally, but when the person passes through close slowly. I've made an standard door on hinges, but then made one of them a motor ...
1
vote
2answers
276 views

In ROBLOX, how can I check what is in front of me?

In ROBLOX Studio I need to check what part is in front of the model Freddy. I need to set the variable called thingInFront to ...
1
vote
1answer
468 views

NLua - How to implement Roblox like function security?

Roblox uses Normal Identities, basicly they assign a lua block/object to a certain number. They use 2 for Scripts and LocalScripts, which can only use non-secured functions, while the command bar can ...