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
2
answers
37
views
My animation doesnt load while collaborating
local module = {}
local RPunchAnim = Instance.new("Animation")
local LPunchAnim = Instance.new("Animation")
local KickAnim = Instance.new("Animation")
local UppercutAnim =...
0
votes
0
answers
13
views
ClickDetector not detecting input
For some reason my Click Detector that I had put inside of my Local Script / Script (tried both) doesn't detect when it's clicked on. Does anyone know what causes this?
Code:
local ts = game:...
-4
votes
0
answers
79
views
I am currently trying to develop a Roblox game;, would somebody be able to help me with locate a module?
This is a module script, it is in ServerScriptService:
local PlayerDataHandler = {}
local dataTemplate = {
Race = "",
Cash = 0,
Inventory = {},
Level = 0,
}
local ...
1
vote
1
answer
29
views
Exp bar Gui not updating roblox studio
I have set up a basic exp system with exp, levels, and a Gui. I have the gui set to update when joining, and when gaining exp or a level, but it will only update when joining even though I'm using the ...
-4
votes
0
answers
28
views
Can sm1 help me and my friend with coding in roblox studio (lua) this is js for fun but we need help at like animations and a combat system type [closed]
we js need help with a combat system, and probably armour, we are not familiar with scripting on roblox studio
We tried to make a combat system and it didnt turn out well, we need vfx, animations, and ...
-1
votes
0
answers
28
views
Playing sounds for a local player after they leave the game
I've been trying to make a script that plays a sound after a player has left the game in a way that they can still hear the sound themselves. As far as I'm concerned, the issue I've run into is that ...
0
votes
1
answer
26
views
My Script inside my model's part doesn't run when I clone it
This is my code for spawning in the model itself which is located in ReplicatedStorage, which this is the hierarchy:
SpawnDoor (Model)
Door (Sound)
Light (Folder)
Door1 (Part)
Door2 (Part)
Part (Part)
...
-4
votes
1
answer
61
views
What does index nil mean? [closed]
I attempted to mess around with the children because I think that's the problem but I was unsuccessful
local tycoon = script.Parent.Parent
local mainItems = tycoon:FindFirstChild("MainItems"...
1
vote
1
answer
32
views
How to Apply the Same Skin to All Players in Roblox?
I am experimenting in Roblox Studio, and I want to create a logic that would give all players the same skin. (All players must look the same during gameplay.)
I found two options:
First option: Drag ...
0
votes
0
answers
21
views
My animation within Roblox Studio plays, HOWEVER in an actual game it doesn't play, but the projectile works
My Problem is that the animation I labelled as "FireballThrow" and the fireball projectile does play in the Roblox Studio environment, HOWEVER in a real game it doesn't execute properly, ...
0
votes
1
answer
17
views
I made a function, but got an 'expected identifier when parsing expression, got '='' error
clickdetector = script.Parent.ClickDetector
newPart = Instance.new('Part', workspace)
newPart:Destroy()
function createPushBlock():
newPart = newPart
newPart.BrickColor = 'Neon orange'
end
...
2
votes
1
answer
63
views
Passing arguments through a RemoteEvent in Roblox
I'm currently trying to make a message system in Roblox. The server should be able to send a message via a RemoteEvent, and the client should be able to accept it by displaying the message on a GUI ...
0
votes
0
answers
40
views
Script not detecting when a player with a set ID joins. Luau
For some reason a simple script that I wrote, that should call a function whenever a player joins, which after that checks if the players ID is one of the either.
game.Players.PlayerAdded:Connect(...
-1
votes
1
answer
54
views
UserInputService isn't detecting inputs
For some reason, my code doesn't work in any way. Does someone has an answer why UserInputService doesn't work for me?
local player = game.Players.LocalPlayer
local character = player.CharacterAdded:...
0
votes
0
answers
25
views
Is there a way to detect if local players character is touching the hitbox instead of the victim? Luau
Main question for me is can I make it so that it can access the local players character from a variable given in a module script? I can't seem to access the character of it, even though it still IS ...