Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My Q script isnt working very well once it reaches a specific point? Solved [closed]

Asked by 9 years ago
local player = game.Players.LocalPlayer
local Mouse = player:GetMouse()

Mouse.KeyDown:connect(function(key)
    key = key:lower() 
    if (key == "q") then 
            if Mouse.Target:FindFirstChild("SBF") then

            if player.PlayerGui:FindFirstChild("InventoryGui").Frame.one.Emp.Value == "0" then --EDIT: I PUT "" For the 0

        player.PlayerGui:FindFirstChild("Nam").Value = Mouse.Target:FindFirstChild("ITN").Value






end
end
end
end)

I'm having trouble on the line after "if Mouse.Target:FindFirstChild("SBF") then" It's not working after that. I tested with a print and nothing pops up. am I naming things worng? Please do help if any questions please do let me know.

0
We cannot help you without proper explanation, and a hierarchy. TheDeadlyPanther 2460 — 9y
0
NM fixed it robloxiveboy 25 — 9y

Locked by Shawnyg and User#5978

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?