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

Im making throttle notches where the ImageLabel changed using keys. Can anyone help me?

Asked by 2 years ago

The problem im currently facing right now is that when I clicked the exact key, the gui color doesn't change as it needed. Here's the script:

01local UserInputService = game:GetService("UserInputService")
02local seat = script.Parent.Parent.Parent.Parent
03local Players = game:GetService("Players")
04local Notch1 = script.Parent["Notch+1"].ImageColor3
05local Notch2 = script.Parent["Notch+2"].ImageColor3
06local Notch3 = script.Parent["Notch+3"].ImageColor3
07local Notchneutral = script.Parent.NotchNeutral.ImageColor3
08local NotchN1 = script.Parent["Notch-1"].ImageColor3
09local NotchN2 = script.Parent["Notch-2"].ImageColor3
10local NotchN3 = script.Parent["Notch-3"].ImageColor3
11 
12Notchneutral = Color3.fromRGB(85, 170, 0)
13 
14UserInputService.InputBegan:connect(function(input)
15    if input.KeyCode == Enum.KeyCode.W then -- Notch Neutral to Notch+1
View all 92 lines...
0
No clue how it's supposed to change from the description, any more context? blowup999 659 — 2y

Answer this question