What solutions have you tried so far? Did you look for solutions on the Developer Hub?
i have looked everywhere, and there isn’t a single thing i could find on it. i even tried switching the detectors with Roblox examples, to no avail.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
The scripts that receive the fired message are the exact same, except one has a shorter I = x,x loop (shouldn’t effect anything)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
I just noticed that the false does not pop up when i hit my x,c, or v keys. i replaced “X” to “G” and it works, why? I mean I can change it but why cant i use the “X”,“C”, and “V” keys when they were literally working yesterday
Well, uh. I don’t know why X isn’t working. Try using ContextActionService yourself and see if that works.
local CAS = game:GetService("ContextActionService")
local Mouse = game.Players.LocalPlayer:GetMouse()
local function onpress(_, state, input)
if state == Enum.UserInputState.Begin then
script.Parent:FireServer(Mouse.Hit.X,Mouse.Hit.Y,Mouse.Hit.Z)
end
end
ContextActionService:BindAction("XPress", onpress, true, Enum.KeyCode.X)