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
43 views

Roblox badge not being rewarded on live game but does in studio

I have the following code in Roblox in a file under ServerScriptService and it gives a player a badge when they touch a specific part. It works on studio locally but once published its not working. <...
0
votes
0answers
32 views

for loop problem

So it works first time when the player dies. But when it dies twice the for loop doesnt work. ...
0
votes
0answers
52 views

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

I want to create a system to allow the players to create, save then use moves in Roblox Studio. My first thought was to do this by letting them create animation files in Roblox Studio, but I'm not ...
0
votes
1answer
38 views

Pathfinder is making my NPC follow my oldest position only

I am trying to make a maze/horror game. I used an online template in the Roblox library as my enemy. I used pathfinder as you will see in the code below. It's finding me like it's supposed to, except ...
0
votes
1answer
90 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
239 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
1answer
31 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
90 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
95 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
126 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
2answers
118 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
713 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
1answer
67 views

Does indexing arrays with temporary objects leak memory?

For example, if I have something like this: ...
0
votes
1answer
65 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
53 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
1k 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
1k 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
31 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
4k 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
9k 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
113 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
778 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
185 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
138 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
318 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
942 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
364 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
290 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
494 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 ...