Trestin4
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 285 |
|
|
| 10 Jan 2017 05:39 PM |
I'm trying to make it so that the Gui's frame size changes with the song's position, but it currently says that the script.Parent.Size.X.Scale Cannot Equal on line 2. Any ideas?
while true do local sound = script.Parent.Sound.TimePosition / script.Parent.Sound.TimeLength script.Parent.Size.X.Scale = sound wait(.025) end
Btw the new logo is complete trash. Side note, check out ROBLOX's 2017 Anthem for cancer. |
|
|
| Report Abuse |
|
|
Swordlust
|
  |
| Joined: 05 Dec 2016 |
| Total Posts: 476 |
|
|
| 10 Jan 2017 05:42 PM |
So that's exactly what the output says? Scale Cannot equal on line 2?
Tips are always good | https://www.roblox.com/catalog/588125527/Tip |
|
|
| Report Abuse |
|
|
Trestin4
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 285 |
|
| |
|
Trestin4
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 285 |
|
|
| 10 Jan 2017 05:43 PM |
| Wait... On line 3 not 2 sorry. |
|
|
| Report Abuse |
|
|
Swordlust
|
  |
| Joined: 05 Dec 2016 |
| Total Posts: 476 |
|
|
| 10 Jan 2017 05:45 PM |
Says scales a vector3 http://wiki.roblox.com/index.php?title=Scale
maybe this is your solution?
while true do local sound = script.Parent.Sound.TimePosition / script.Parent.Sound.TimeLength script.Parent.Size.X.Scale = Vector3.new(sound) wait(.025) end
Tips are always good | https://www.roblox.com/catalog/588125527/Tip |
|
|
| Report Abuse |
|
|
Trestin4
|
  |
| Joined: 11 Oct 2012 |
| Total Posts: 285 |
|
| |
|