generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Vector2 Value - Problem value set

Previous Thread :: Next Thread 
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:20 PM
So im doing a billboard gui.This is were my TextLabel messes up at.

AbsoluteSize=Vector2.new(280,4) the output sais :
Can't set value.

so i tried AbsoluteSize=Vector3.new(280,4,0) output sais :
something like : #3 not needed Vector2 but then i use vector 2

CAN'T SET VALUE

is it me or am i messed up?

~Thanks CRUSHER4003 new main.~

P.S. CRUSHER4003 banned 3 days
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
13 Sep 2011 08:22 PM
Use UDim2.


-Like an __AWESOME__ boss
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:23 PM
alrighty
Report Abuse
Cachinnation is not online. Cachinnation
Joined: 21 Aug 2011
Total Posts: 1797
13 Sep 2011 08:23 PM
i think its 2 big
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:26 PM
@Cach it can't be to big my output would say

eof Size greater>
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
13 Sep 2011 08:27 PM
Theres 1 Vector2?
Report Abuse
Cachinnation is not online. Cachinnation
Joined: 21 Aug 2011
Total Posts: 1797
13 Sep 2011 08:27 PM
never herad of that kind of output
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
13 Sep 2011 08:27 PM
^A
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:29 PM
@Eletric i cant call a globle value...i need a table
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:29 PM
@biker I sad Vector2 wouldnt work -.- WOW read my post
Report Abuse
Cachinnation is not online. Cachinnation
Joined: 21 Aug 2011
Total Posts: 1797
13 Sep 2011 08:32 PM
AbsolutePosition uses Vector2.
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:32 PM
If this makes it easier...

t = Instance.new("Tool") t.Parent=game.Players.CptAwsum.Backpack t.Name="Touch" Wait() p = Instance.new("Part") p.Parent=game.Players.CptAwsum.Backpack.Touch p.BrickColor=BrickColor.new("Really red") p.Name="Handle" p.Anchored=false p.Locked=true p.Size=Vector3.new(1,1,1) Wait() b = Instance.new("BillboardGui") b.Adornee=game.Players.CptAwsum.Backpack.Touch.Handle Wait() t = Instance.new("TextLabel") t.Parent=game.Players.CptAwsum.Backpack.Touch.Handle t.AbsoluteSize=Vector2.new(280,4) t.Text="TOUCH"
game.Players.CptAwsum.Backpack.Touch.Handle.Touched:connect(function(part)
game.Workspace.CptAwsum.Head:Remove()
end)
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:32 PM
@Cach not true my friend if you use Vector2 it wont set the value on a TextLabel
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
13 Sep 2011 08:32 PM
You can't set AbsoluteSize/Position, ya gotta use regular size/position

-[::ƧѡÎḾḠΰῩ::]-
-[::Maker of stuff and breaker of combos::]-
Report Abuse
CptAwsum is not online. CptAwsum
Joined: 05 Sep 2011
Total Posts: 50
13 Sep 2011 08:33 PM
@swing threis none like that on a txtlabel theres onl AbsoluteSize
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image