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
 

Size!

Previous Thread :: Next Thread 
harvest109 is not online. harvest109
Joined: 19 Jun 2011
Total Posts: 869
25 Jun 2014 02:10 PM
local tool = script.Parent

function onActivation()
print("Tool activated")
local shot = Instance.new("Part")
shot.Parent = game.Players.LocalPlayer.Character
shot.Name = "Bullet"
shot.Size = Vector3.new("1,1,6")
shot.CanCollide = true
shot.Anchored = false
shot.Transparency = 1

shot.Position = game.Players.LocalPlayer.Character.Tool.Barrel.Position
end

tool.Activated:connect(onActivation)
________^^^^^^^^ script


15:06:29.973 - "Part.size" should be "Size"
15:06:29.974 - "Part.size" should be "Size"
^^^^^^^^ issue

Why is it printing that
and it won't set the size to what I have it set too,
Report Abuse
MrTucan1996 is not online. MrTucan1996
Joined: 19 Aug 2009
Total Posts: 5994
25 Jun 2014 02:11 PM
1) You don't need ("") just (1,1,6)


Report Abuse
harvest109 is not online. harvest109
Joined: 19 Jun 2011
Total Posts: 869
25 Jun 2014 02:13 PM
Always remember size does matter.
Report Abuse
wubbzy301 is not online. wubbzy301
Joined: 15 May 2010
Total Posts: 1188
25 Jun 2014 02:14 PM
Vector3.new(1,1,6)

not Vector3.new("1,1,6")

- dun dun dun a ghost is coming for you
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