Questions tagged [roblox-studio]
Roblox Studio is an all-in-one IDE that lets you create experiences that run on Roblox in Lua. It's free to use and has scripting, building, playtesting, and publishing tools as well as support for plugins. Use this tag for questions about the Roblox Studio IDE itself.
roblox-studio
130
questions
0
votes
1
answer
150
views
How would I access the player's local mouse from a server-side script in Roblox Studio?
I am creating a system that allows the player to still interact with ClickDetectors while using a Tool. I need to access the local player and mouse in a SERVER-side script. I am trying to make it so ...
0
votes
0
answers
27
views
How do I make an animation play only if the player isn't moving in Roblox Studio
My animation is playing while the character runs and it gets in the way of the running animation so I just want the player to be able to punch while the character isn't running.
local RS = game:...
0
votes
1
answer
134
views
Issue with Cloning Player Characters in Roblox Studio(Lua)
Hello Stack Overflow community,
I am currently facing an issue with a script in Roblox Studio, where I am attempting to duplicate a player's character upon joining the game. The primary objective is ...
0
votes
1
answer
134
views
Roblox studio text for starter gui is not changing
The problem is that i cant make it visible or change text i cant edit any properties of it but it looks like i can?
Im making a horror game and i made a cutscene which it starts of changing text of a ...
0
votes
1
answer
34
views
Script running but simply not doing what it says(no errors)
Im making a simulator type game where when you walk on to a certain part, you can sell your stuff. Ive made the code to take away your stuff, but no matter what i do, it just will not do anything.
The ...
0
votes
1
answer
47
views
Why function doesn't refresh
I created simple clock in Roblox Studio (Lua) and added wait(1) between while loop. The problem is that it doesn't refresh. It just shows time and it's everything. This is code:
local StarterGui = ...
0
votes
0
answers
32
views
Need help debugging my listening connection for an attribute change in Roblox
I am trying to write a function for a cannon that will activate a firing function when the cannon's attribute "fire" is set to TRUE. When I switch the cannon's attribute "Fire" ...
0
votes
0
answers
59
views
Developer product successful, even if it should not
I am making roblox system, where you buy developer products. When you buy it, it sends HTTP request to my server. Then it returns JSON. The JSON looks like this:
{
"Code": 404,
"...
0
votes
0
answers
50
views
How do I remove the mesh of the starter character?
local startPlr = game:GetService("StarterPlayer")
script.Parent.MouseButton1Click:Connect(function()
startPlr.StarterCharacter.ear:Destroy()
end)
I'm trying to remove the mesh called ...
0
votes
1
answer
156
views
Roblox Studio: Attempt to index nil with 'Connect'
I am doing a script and output says this " Workspace.Script:30: attempt to index nil with 'Connect' ". The error is on line 30 that has this code:
players.PlayerAdded:Connect(function(player)...
0
votes
1
answer
56
views
Figuring out how to make tool work as expected
Hello I am trying to make a pickaxe tool that when it is activated on a gray part called Coal, it generates cash but im having problems with it because it only works if i move on and off the "...
0
votes
0
answers
28
views
Animation Not Playing When Key is Clicked
The animation is not playing on the player when F is clicked. The script is a local script and is inside StarterCharecterScripts. Here is the code:
local inputservice = game:GetService("...
0
votes
1
answer
46
views
A script about a month changing system
Im trying to change the number of visible textlabels when the month has changed but it doesnt change it only stays at the first month that was stated and doesnt change the number of visible textlabels ...
0
votes
1
answer
86
views
Why is this not activating the script?
So, because I am not a Member of DevForum, I will have to post my Roblox problems onto here.
Alright. I want to make a flood happen when I click a button. But it didn't work.
Here is my code:
local ...
1
vote
1
answer
46
views
Issue with an rbx soundeffect script
In this script of rbx soundeffects
sound.Volume = FootstepsSoundGroup:WaitForChild(humanoid.FloorMaterial).Volume * (vel.Magnitude/12) * humanoid.Loudness.Value
sound.EmitterSize = ...