Okay so , the script is really simple but for "some reason" it doesn't work whenever i click the TextButton..
local graphic = game.Lighting.Graphics["Only Baseplate"]:clone() --This is a Model local camera = game.Workspace.CurrentCamera local checkgfx = script.Parent.Parent.Parent.Low.Value --BoolValue local gfxmedium = script.Parent.Parent.Parent.Medium.Value --BoolValue local gfxhigh = script.Parent.Parent.Parent.High.Value --BoolValue local medium = game.Workspace.CurrentCamera:WaitForChild("Less Details",86400) --This is a Model local high = game.Workspace.CurrentCamera:WaitForChild("More Details",86400) --This is a Model function run() print("Graphics Changed , Hopefully") if checkgfx == false then print("Graphics Changed , Hopefully") graphic.Parent = camera checkgfx = true gfxhigh = false high:Destroy() gfxmedium = false medium:Destroy() script.Parent.Parent.Parent.H.X.Text = " " script.Parent.Parent.Parent.M.X.Text = " " script.Parent.Text = "X" elseif checkgfx == true then print("You are using this , still") end end script.Parent.MouseButton1Down:connect(run) --Down and Click doesn't work , i don't know why
i put 2 print()s cuz i wanted to see if it works but it didin't show the print aswell :s Please someone help. i'll credit the person who helped me on my game.
Remove the .Value in lines 3-5. In lines 11, 14-15, and 22, add the .Value.