Does anyone know what’s wrong in my code?
script.Parent.Equipped:Connect(function(Key)
if Key.KeyCode == Enum.KeyCode.N then
print("done")
end
end)
Does anyone know what’s wrong in my code?
script.Parent.Equipped:Connect(function(Key)
if Key.KeyCode == Enum.KeyCode.N then
print("done")
end
end)
Maybe use UserInputService?
local UIS = game:GetService("UserInputService")
Thanks you guys!
do you guys know what’s wrong here?
frame.BackgroundColor3 = BrickColor.new(255, 255, 255)
so probably
frame.BackgroundColor3 = color3.FromRGB(255, 255, 255)
What is line 34?
blah blah blah (filler XD)
is this a player gui? Because that may be the reason but im not sure yet
it’s a tool localscript
oh sorry i got confused with what i was saying hm
Change this:
local frame = game.StarterGui
For this:
local frame = game:GetService("Players").LocalPlayer.PlayerGui
LocalScripts cannot access StarterGui.
is it good?
-- Declared
local frame = game:GetService("Players").LocalPlayer.PlayerGui
frame.Screen:FindFirstChild("NightConfig").BackgroundColor3 = Color3.FromRGB(255, 255, 255)
looks pretty good to me does it work now?
it doesnt work :C
frame.Screen:FindFirstChild("NightConfig").BackgroundColor3 = Color3.FromRGB(255, 255, 255)
I am incredibly impressed that you did the search by yourself, found a working solution and then LINKED to it instead of copy pasting! WoW
?? just asking for help, dont be silly
Lol, it’s for a letter XD
Replace this:
FromRGB
For this:
fromRGB
No I didn’t mean to be rude. I assumed other people will just copy paste the answer instead of linking to the original answer.