Questions tagged [roblox]
Roblox is an online development platform, created in 2006, and targeted at children and youth. Roblox uses a modified version of Lua, known as Luau, to support Roblox games.
1,844
questions
0
votes
0
answers
9
views
Why Aren't The Sounds in my Sound Group not working?
I was trying to make a music player for my game, however, when I was trying to get my sound to play it refused to work. The games output works before and after the sound, but I can't hear anything. I ...
0
votes
1
answer
13
views
Unable to assign property AnimationId. Content expected, got nil
I don't know what's happening, but i'm getting that error in output. Apparently every animations of the Anims table and normalcombo table exists, and the property too. I tested it in Commandbar but ...
0
votes
1
answer
15
views
Roblox studio Sound max distance not working
I am trying to create a script so when a part touches another it plays sound from a parent called speaker, i am trying and have set the maxdistance to 50 studs but its not working
Here is the script:
...
0
votes
0
answers
14
views
Unable to assign property Speed. NumberRange expected, got number
I was making a script that creates a particle inside the player but i got the error "Unable to assign property Speed. NumberRange expected, got number "
Here is the code:
local ...
0
votes
1
answer
27
views
How can I change color depending on health?
I want to know how to edit my script below to make the color lower or higher depending on the health amount instead of a set amount in the script. Everything works currently, i'm just trying to edit ...
0
votes
1
answer
21
views
badge giver help (roblox)
So, I'm working on a Roblox game, I want to make a secret room and award players a badge for finding it, but the problem is that the badge giver is not working, my badge giver is also locked so that I ...
0
votes
1
answer
14
views
How to make a loading screen GUI wait for the game to loaded first before deleting itself? in Roblox studio?
So I was developeding a game using Roblox studio (Roblox Game engine) I was just making a simple loading screen that stay until the game is fully loaded but I don't know how to make the loading screen ...
0
votes
1
answer
31
views
The background music does not stop when player leave the area
Hello so today i just learn roblox studio to create a game. Im making a script where certain music will play if the player hit / enter the area and if the player leave the area music will also change. ...
0
votes
1
answer
35
views
How would I set it so the leaderstats stage value doesn't go over the current stage value?
I was trying to edit a script with a function for the stage selector buttons, I started with just:
event:FireServer("MoveToStage", (CurrentStage (+-) 1)
player.leaderstats.Stage.Value (+-)= ...
1
vote
1
answer
18
views
What should Roblox Studio plugins use for persistent storage?
For Studio plugins that want to save user preferences, where should that data be saved?
Let's say for example, I have a list of toggle switches, and I want to save what the user has toggled on and off....
0
votes
2
answers
45
views
Roblox studio How do I change a TextLabel text in script
I want to make a gui that show your coordinates in game with text labels but my script seems didn't change the text at all
players = game.Players.LocalPlayer
players.CharacterAdded:Wait()
X = math....
0
votes
1
answer
24
views
Roblox plugin: How do I redirect the plugin user to a certain website?
I am currently making a Roblox plugin and I have created a help button. However, I want to redirect users to a webpage (let's say, example.com). Through all of the API pages that I browsed through, I ...
0
votes
1
answer
29
views
Problems with number, and Color3 values
I have been trying to make a TextLabel change color from red, to green over the RGB spectrum more each click. I did have it working, but on seperate parts the color went on the stage after the one on ...
0
votes
1
answer
26
views
Script does not work after the first time pressing the gui button
this script does not work after i press the gui button the first time
local debounce = true
local player = script.Parent.Parent.Parent.Parent
local target = game.Workspace:WaitForChild("...
-1
votes
1
answer
21
views
Is it possible to export Roblox models as .fbx files?
I'm making a model in Roblox right now for use in another game (Yes, I'm bad at using other modeling software).
Is it possible to export Roblox models as .fbx files?
Save to File only allows you to ...
0
votes
1
answer
44
views
A false BoolValue is not equal to false
I'm making a script where when the player joins the game, it shows the credits and then fades out, the animation works, but the BoolValue doesn't.
I have a script which creates a Values Folder:
local ...
0
votes
1
answer
23
views
Roblox How to make a player with fbx model? And animate?
I was able to import the FBX model in Roblox Studio and even animate it, but this Humanoid cannot climb stairs and the animation has a 1 second delay.
I need to remove this delay, teach him to climb ...
0
votes
0
answers
39
views
is there a way to make a cursor that doesn't dissapear quickly on a roblox game?
So, i was working on a simulator game in roblox studio and my inspiration for the game had a different cursor than the actual in roblox, so i watched a tutorial on how to change them, and it quickly ...
0
votes
1
answer
23
views
(Help) How to make the script below can be re run after respawn?
So, i am trying to make it can be re run after respawn but it does not work, i am kept
struggling.
My purpose with this script (autofarm, when the tween is done, it does waiting until respawn, when it'...
0
votes
1
answer
40
views
found out of script not updating - roblox lua
I am trying to make it so the GUI updates every time a player collects an item to show how many items they have collected. it works very well, but it only updates when the player leaves and rejoins. ...
0
votes
1
answer
31
views
hello i want to make a gui that check if a player has a badge and do visible a frame how can i do it?
i want to make a gui that check if a player has a badge and do visible a frame but idk how to do it i'm new whit roblox studio ayone can help me?
local Players = game:GetService("Players")
...
0
votes
1
answer
37
views
Roblox image transparency does not change
I am trying to make a system where if the player has a specific item in their file(a file added to the player) an Gui image label background transparency is changed to tell the user if he has clamed ...
-5
votes
0
answers
37
views
How do I devirtualize lua code for deobfuscation? [closed]
https://raw.githubusercontent.com/xQuartyx/DonateMe/main/KL
So far I know that it is a .lua code (obviously) and that it is obfuscated with Luraph, someone told me that I can devirtualize it, lfit ...
-1
votes
0
answers
22
views
I have a question about a script in roblox lua
I am trying to make an animation play for my character when I press a certain key such as "E".
It is not working though, and I need this to happen while I am holding a certain item
I tried ...
0
votes
1
answer
30
views
Function Triggers even when if statement is false
local Players = game:GetService("Players")
local TouchPart = workspace["Start"]
local target = game.Workspace.Level1
local function teleport()
TouchPart.Touched:Connect(...
-1
votes
0
answers
25
views
I want to make a rebirth system. How can I increase the Jump Height multiplier?
I want to make a rebirth system. How can I increase the Jump Height multiplier? can you help me please?
there is no source i am about to lose my mind on this please someone who knows please help.
i ...
0
votes
1
answer
24
views
attempt to index nil with 'TookMoney'
local me = script.Parent
local players = game:GetService("Players")
me.Touched:Connect(function(Hit)
local player = players:GetPlayerFromCharacter(Hit.Parent)
if player.TookMoney....
0
votes
0
answers
40
views
DataStoreService Issues
bear with me but this is my first post so unsure of general formats etc.
I am currently testing with my first data store system on ROBLOX. After following a tutorial I managed to get a data store to ...
-3
votes
0
answers
55
views
Roblox Studio Not Launching "This version of studio is out of date and must be reinstalled"
I've tried deleting and reinstalling it but it keeps doing the same thing.
Screenshot
What I do:
I open Roblox Studio
It pops up with the error
I reinstall
It does the same thing.
Solution: Delete ...
0
votes
2
answers
41
views
FireServer() Doesn't fire the remote event
i was making a script that changes a value when the player dies, i did it with remote events but it didn't work.
Local Script:
local plr = game:GetService('Players').LocalPlayer
wait(2)
local char = ...
0
votes
1
answer
24
views
Trouble cloning monster
I have been working on this for a while, but I cant seem to get it to work. The point of this code is to spawn a monster after the intermission. The player then gets a certain amount of time to ...
-2
votes
0
answers
54
views
"HttpGet" is not a valid member of the datamodel "Game" Roblox game problem
THIS IS THE SCRIPT -
loadstring(game:HttpGet('https://raw.githubusercontent.com/acsu123/HOHO_H/main/Loading_UI'))()
This is the problem I'm getting.
I was expecting for the script to work as it was ...
1
vote
1
answer
24
views
Roblox-How to fix tool manager
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")
local remotes = ReplicatedStorage:FindFirstChild("...
-1
votes
1
answer
38
views
How do you call a script from another script in roblox studio
I was following a tutorial of AlvinBlox and came across not an error but it does not run something I wanted to happen.
Basically when the egg is clicked it need to hatch in a studio but it just prints ...
-1
votes
1
answer
55
views
attempt to perform arithmetic (add) on string and number Error
when I touch the object, I want it to be deleted and come back after 2 seconds and add 1 coin. how can I do this?
local WheatAmount = script.Parent
local oyuncuParasi = "Coins"
duvar = false
...
0
votes
0
answers
23
views
Why does all my values become zero before being able to save them in the onplayerRemoved
I tried everything i found but nothing seems to0 be working, here is my script
local DataStoreService = game:GetService('DataStoreService')
local playerData = DataStoreService:GetDataStore('PlayerData'...
-1
votes
0
answers
14
views
Having an issue with the ROBLOX api regarding user profiles
When I try and check the users about for a text, it's keeps resulting in a fail. My API key is correct and I am not being ratelimited, does anyone have any ideas of what is going on?
Here is my code:
&...
0
votes
0
answers
22
views
How do I fix my Inventory putting items in wrong slots?
I'm working on my Inventory system for my Roblox survival game and I can't figure out a way to fix an issue I've been having that you can see in this GIF I've made: https://imgur.com/BwLYrmG
I believe ...
1
vote
1
answer
22
views
Transporting player from different places via touching a block
I need help transporting player from different places via touching a block. As in to teleport player to another PLACE, not location, within the experience. Whats meant to happen is the player to touch ...
0
votes
0
answers
54
views
Roblox and using the Asset Item ID in API to direct to the image thumbnail
I am working on a website with the Roblox API and was using the Asset ID to pull thumbnails of different assets in the catalog. The code below was working perfect until a few days ago.
<img src=&...
1
vote
1
answer
51
views
Roblox Error: Attempt to index nil with 'EquippedTool' - Studio
player.inventory.EquippedTool.Value = if returnValue.Inventory.EquippedTool ~= nil then returnValue.Inventory.EquippedTool else "BasicMike"
for _, tool in ipairs(player....
0
votes
0
answers
24
views
How to import the .obj file from Roblox Studio to Reality Converter?
I have 3 files: .obj, .mtl, and .png. (All of these are exported from Roblox Studio) When I enter these 3 files into the program, the model's colors and textures are not displayed. How to solve this ...
0
votes
1
answer
31
views
Is it possable to send keydown event and key up event?
is there a way to send a key down and key up event in Lua? Is it possible? (This is my first time asking a question here, I'm so nervous '~')
I want it to help you auto-press the key without you ...
-1
votes
1
answer
46
views
How to fix syntax Roblox Lua
I kept getting error, but its seems already good at if and elseif statements, kept giving me last line error
How the code works? When chat :example it does do ..., You can check under below, also this ...
0
votes
0
answers
16
views
Prevent rounded snap to grid
I am currently making a pc building game on roblox, but I cannot stop roblox studio from rounding my snap to grid value.
This makes my builds uneven, and annoying to position manually.
I kept trying ...
-2
votes
0
answers
38
views
Can't define local object. (Roblox Studio / Lua)
I recently started scripting on roblox. I made use of a modulescript and i needed to call a function from another modulescript. When i did that i needed to define the modulescript locally with:
local ...
0
votes
1
answer
46
views
Getting a badge if the player's value is greater than that number(Roblox Studio)
I'm trying to make it so that if the user has a ValueKey folder. and the name of the currency is ValueKey
local badges = game:GetService("BadgeService")
local badgeId = 2130265816
local ...
-2
votes
0
answers
56
views
HttpGet is not a valid member of datamodel game
I was making an anticheat, I tried to load in some exploits to test it but it gave me error "HttpGet is not a valid member of datamodel game"
Here is the code:
loadstring(game:HttpGet('https:...
1
vote
0
answers
26
views
Rotating a Axe Model in Roblox
So, For Context im trying to emulate kind of like throwing an axe, when you throw an axe it spins and spins and spins vertically.However, I got the spinning part right but the axis that is at, is not ...