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
1
vote
0answers
21 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 ...
-2
votes
1answer
87 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
0answers
20 views

How would I read the string in this way?

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
27 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
24 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
0answers
27 views

Does indexing arrays with temporary objects leak memory?

For example, if I have something like this: ...
0
votes
1answer
23 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
0answers
22 views

How to get the number of terrain cells of each material in a sphere area?

I know the function workspace.Terrain:FillBall(Position, Radius, Enum.Material.Air) shall delete all the terrain in the Radius sized ball at Position, but, how can ...
0
votes
1answer
40 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
413 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 ...
1
vote
1answer
392 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
28 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
2k 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
1k 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
107 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
327 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
151 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
95 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
89 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
719 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
991 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
356 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
255 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
451 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 ...