Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. local CoreGui = game:GetService("CoreGui")
  2. local sbs = CoreGui:WaitForChild("sbs")
  3.  
  4. local MovementColor = BrickColor.new("Bright orange")
  5. local ResizeColor = BrickColor.new("Cyan")
  6.  
  7. sbs.ChildAdded:Connect(function(v)
  8.     if v.Name == "OverlayHandles" then
  9.         local function SetHandlesStyle()
  10.             if v.Color == MovementColor then
  11.                 v.Style = Enum.HandlesStyle.Movement
  12.             elseif v.Color == ResizeColor then
  13.                 v.Style = Enum.HandlesStyle.Resize
  14.             end
  15.         end
  16.        
  17.         SetHandlesStyle()
  18.         v.Changed:Connect(SetHandlesStyle)
  19.     end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement