Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIS = game:GetService("UserInputService")
- local player = game.Players.LocalPlayer
- local char = player.Character
- function clicked_button(obj, gp)
- if obj.KeyCode == Enum.KeyCode.Q and not gp then
- local part = workspace:WaitForChild("Baseplate")
- local color_mod = require(workspace:WaitForChild("Colors"))
- local transition_mod = require(workspace:WaitForChild("Transition_Color"))
- local color1 = color_mod.return_color3("Really red")
- local color2 = color_mod.return_color3("Really blue")
- print(color1.Color.r)
- print(color2.Color.r)
- transition_mod.transition(part, color1, color2)
- end
- end
- UIS.InputBegan:connect(clicked_button)
Advertisement
Add Comment
Please, Sign In to add comment