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

Nothing on output and Nothing happend?

Asked by 2 years ago
game.ReplicatedStorage.Clicked.OnServerEvent:Connect(function(plr, tool)

    tool:Destroy()
    print("Clicked")
    script.Parent.Transparency = 0
    script.Parent.Parent.Glass.Anchored = false


end)

the only thing that work is line 3 and line 4 idk why and nothing on output just "Clicked"

0
how are you calling this event?, the script looks ok. Though might need to move tool:destroy() to the end before the closing end) statement. TGazza 1336 — 2y

Answer this question