wait(1)
game.Workspace.Parent.LimitMaximumShootRange.Parent.Size = 9.81, 10.45, 44.2
Sorry, that I'm a noob on Scripting. :(
I'm trying to make a part size it self in-game.
IT"S OUT OF PLACE. http://prntscr.com/7z27c3
wait(1)
game.Workspace.Parent.LimitMaximumShootRange.Parent.Size = 9.81, 10.45, 44.2
Sorry, that I'm a noob on Scripting. :(
I'm trying to make a part size it self in-game.
IT"S OUT OF PLACE. http://prntscr.com/7z27c3
(Edit, noticed another mistake)
You are referring to game.Workspace.Parent.LimitMaximumShootRange.Parent.Size which doesn't exist, as workspace doesn't have a Parent.
What object are you trying to address? And where is it?
Also, adressing the Parent of a child of the same Parent is unecessary.
So
Parent.LimitMaximumShootRange.Parent
should be just
.Parent
Also you have a problem with sizing In order to modify an object's size, you should make a new Vector 3. So This
WhateverObjectThisIs.Size= 9.81, 10.45, 44.2
becomes
WhateverObjectThisIs= Vector3.new(9.81, 10.45, 44.2)
Sorry but that's not right your calling the part a parent of the game just trying to help
The OP was changed after I made this comment
http://prntscr.com/7z27c3 This doesn't work correctly.
Sky how r we supposed to know what u want t for if u don't tell us but u would need to change the size on your own for it to work
Okay then. new plan.
What you are giving us is basically a request to resize and position things.
In that case, why can't you just use the Scale and move tools in Roblox Studio. (Sorry for my broken comments, I was trying to use Shift+Enter to create a new line)
If you are set on making a size, try putting a script that says "script.Parent.Size = Vector3.new(9.81, 10.45, 44.2)"?
^Script above has to be put into the part you are moving. Its easy and simple. But if you are sizing the part from a different location, change "script.Parent" to "game.Workspace.(Insert the name of the part here)
Did u steal my answer:3
Wait Nvm u didn't steal my answer:3
Hello bro, first of all Workspace can't have Parents. Second use Vector3...
brick.Size = Vector3.new(9.81, 10.45, 44.2)
Hi if your trying to make a brick change size in game simply do this.
Part = script.Parent -- this is making the part a variable
Part.Size = Vector3.new(0,0,0) -- this is sizing the part
Hope this helped! Let me know if it did it should work but I'm on mobile so I can test it.
Make sure the scripts in the part:3:)
This is also the simplest way to do it.
Also adjust the size to what u want the properties r the width the depth and the height.:)
I don't know if tha was after the script I have u but u never told me what to size it told I left u to size it because how am I supposed to know what to size it:)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
What r u tryin to do? I'll help if I can have more info
My script works but there's no way I can look at a pic and size it for there ull have to experiment with the sizing none of us can do it for u