01 | game.StarterGui:SetCoreGuiEnabled( 4 , false ) |
02 | Player = game.Players.LocalPlayer |
03 | Mouse = Player:GetMouse() |
04 |
05 | Size = script.Parent.AbsoluteWindowSize |
06 | RSize = Size/ 4 |
07 |
08 | Mouse.KeyDown:connect( function (key) |
09 | if key = = "e" then |
10 | for i = 1 , 5 do |
11 | script.Parent.CanvasPosition = script.Parent.CanvasPosition +Vector 2. new(Rsize, 0 ) |
12 | end |
13 | if script.Parent.SelectedTool.Value ~ = 4 then |
14 | script.Parent.SelectedTool.Value = script.Parent.SelectedTool.Value + 1 |
15 | end |