All Questions
Tagged with roblox-studio luau
30
questions
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:...
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
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
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(...
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 ...
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
1
answer
49
views
Stamina bar going from 100 to 0 for no reason, Stamina value not getting any interactions
For some reason whenever I launch my experience, like a second or a half passes and the bar goes from full to empty. I also can't make any interactions with the value. (example: whenever I try to make ...
1
vote
2
answers
50
views
All ModuleScript variables == nil
For some reason, my local variables in the module script all seem to be nil, with no exact explanation for it, or solution.
Local Script (Stamina bar Script):
local ms = require(game.ReplicatedStorage....
0
votes
0
answers
28
views
How do I make a hitbox part move with the character
Is it possible to make a part that is welded to the Humanoid Root Part move with it?
It serves as a hitbox, but I encounter the problem that if I move forward while attacking it hurts the player.
For ...
0
votes
0
answers
32
views
Can't Stop Punching
My punching Animation Won't stop as once I press M1(LeftClick) it just keeps on punching and won't stop so I'm trying to get the animation to only play when I punch once and than once I press it once ...
1
vote
1
answer
50
views
Why doesn't my Roblox Studio print script execute correctly
For some reason, my pretty short script just refuses to print out or do anything after declaring variables, does anyone have an answer? I think it may actually be the wait for child and wait() but I ...
-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
37
views
Roblox Tower Placement System Causes Towers to Jump and Float
I'm designing a tower defense game on Roblox with Roblox Studio and am currently experiencing issues with the placement system. There is a button on the screen with the text Place Unit, which for ...
0
votes
0
answers
41
views
UI Tween incorrect Positioning, Luau Roblox Studio Ui
I've been trying a lot of ways, it was way worse, it made the pawns disappear and then appear only at the tween complete, so yeah, but now its simpler, so can you help me, I've been reading through ...
1
vote
1
answer
108
views
Both Chat:Chat() and TextChatService:DisplayBubble() not working, at all
I'm trying to produce a chat bubble over a part. It should be straight forward, but the now deprecated Chat:Chat() doesn't work, expectedly, but the alternative, TextChatService:DisplayBubble() ...