Probably at least 6-8 months… im still not that good though… still learning some stuff. thats why i got into devforum…
and for the basics, its probably 2 months or so
Probably at least 6-8 months… im still not that good though… still learning some stuff. thats why i got into devforum…
and for the basics, its probably 2 months or so
Oh god… What did you use to learn everything?
i used to watch youtube tutorials and try to understand them as i can. and the time i kinda know scripting, i use devforum for help and try to learn some stuffs. this is not my original account anyway… my original account is “vionnormal” which is i lost because of account pin. have a good day!
OooOo… Interesting. You’re such a great fellow and I just can’t thank you enough for all the things you’ve helped me out with. Thank you so much! C:
Oh god… I just noticed that we were using localscripts. xD
No one else is gonna see if the lights change colour or not.
local R = script.Parent.R.TextBox
local textBoxInputR = "0"
local Imput = false
R.FocusLost:Connect(function (enterPressed)
if not enterPressed then
return
end
textBoxInputR = R.Text
wait(0.1)
Imput = true
end)
----------------------------------------
local G = script.Parent.G.TextBox
local textBoxInputG = "0"
G.FocusLost:Connect(function (enterPressed)
if not enterPressed then
return
end
textBoxInputG = G.Text
wait(0.1)
Imput = true
end)
----------------------------------------
local B = script.Parent.B.TextBox
local textBoxInputB = "0"
B.FocusLost:Connect(function (enterPressed)
if not enterPressed then
return
end
textBoxInputB = B.Text
wait(0.1)
Imput = true
end)
script.Parent.Parent.Confirmation.Confirm.MouseButton1Down:Connect(function()
local color3Form = Color3.new(textBoxInputR,textBoxInputG,textBoxInputB)
local Lights = game.Workspace.LightParts
for i, v in pairs(Lights:GetDescendants()) do
if v:IsA("SurfaceLight") then v.Color = color3Form
end
end
local warning = script.Parent.Parent.Warning
warning:TweenPosition(UDim2.new(-0.85, 0,0.4, 0), 'Out', 'Quad', 0.9, true)
wait(2)
warning:TweenPosition(UDim2.new(-0.85, 0,5, 0), 'Out', 'Quad', 3, true)
print "Done. Changed light."
end)
while true do
wait(0.1)
if Imput then script.Parent.Bar.ImageColor3 = Color3.new(textBoxInputR,textBoxInputG,textBoxInputB)
end
end
Like I can’t see how this doesn’t work in a normal script…
Found out the reason why it isn’t working. The textboxes need to recieve imput which they do while it’s a localscript, but they remain at 0 when it’s an actual script. Would this fix the issue?
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
Nope. That ain’t going to work… Why does Roblox have to make everything so difficult. xD