Ok, So I am trying to script a slider that when it changes it will change the Pitch of this sound to the sliders position. (divided by some number)
This doesn't seem to work, Am I doing anything wrong?
Son = script.Parent.CanvasPosition.y/255
Damn = script.Parent.Parent.Parent.Parent.Parent.SongBoard.MainWall.SurfaceGui.ScrollingFrame.Sound.Pitch
script.Parent.Changed:connect(function(Val)
Damn = Son --Where'd ya find this?
end)
Eek, I don't know if this is possible.

4 comments
I see where you are going from that, It's just the script isn't working. You got the pitch to change but it just instantly goes to 0, But thanks :].
I have never used a scrolling frame before. When I tried to change it to 5,5 manually, I got a warning in the output that said "ScrollingFrame.CanvasPosition set to invalid position (5.000000, 5.000000), clamping to position (0.000000, 0.000000)." Try asking a question about scrolling frames, I'm sure someone here has used them before.
I belive you can only change in the direction you had it set so it would be 0,5 or 5,0 not 5,5
Nope, it gives the same warning. My answer is still a valid thing that must be fixed, but I don't know enough about ScollingFrames to be more of a help.