Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Scrolling Frame not moving? {Unanswered}

Asked by 10 years ago

I have done everything I thought would fix it, and I am getting no errors. Thanks for all help. I put in prints at after 11 and 19, and nothing happens when tested.

01Player = game.Players.LocalPlayer
02Mouse = Player:GetMouse()
03 
04Size = script.Parent.AbsoluteWindowSize
05RSize = Size/4
06 
07Mouse.KeyDown:connect(function(key)
08    if key == "e" and script.Parent.CanvasPosition ~= Vector2.new(Size/4*3, 0) then
09        for i = 1,5 do
10        script.Parent.CanvasPosition = script.Parent.CanvasPosition +Vector2.new(Size/4, 0)
11        end
12        script.Parent.SelectedTool.Value =  script.Parent.SelectedTool.Value +1
13    end
14end)
15Mouse.KeyDown:connect(function(key)
View all 22 lines...
0
Try adding some Print()'s in your script and see if they fire. damagex443 325 — 10y

1 answer

Log in to vote
-1
Answered by 10 years ago

All you really need to do is get a scrolling frame from basic objects

0
It is a scrolling frame. MisaMiner 50 — 10y
Ad

Answer this question