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: Need help with a basic basic physics script

Previous Thread :: Next Thread 
konichiwah1337 is not online. konichiwah1337
Joined: 16 Sep 2013
Total Posts: 1979
23 Dec 2013 11:07 PM
I've never done one before, I noticed an error on line four and I really need the help. Thanks.

local BrikBottom = Workspace.PhysicBrick.BottomSurface

function breakdownbacksurface()
if BrikBottom = ("Smooth") then
BrikBottom = ("Studs")
elseif BrikBottom = ("Studs") then
BrikBottom = ("Universal")
elseif BrikBottom = ("Universal") then
BrikBottom = ("Glue")
end
end
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Dec 2013 11:10 PM
local BrikBottom = Workspace.PhysicBrick

function breakdownbacksurface()

if BrikBottom.BottomSurface == Enum.SurfaceType.Smooth then
BrikBottom.BottomSurface = "Studs"

elseif BrikBottom.BottomSurface = Enum.SurfaceType.Studs then
BrikBottom.BottomSurface = "Universal"

elseif BrikBottom.BottomSurface = Enum.SurfaceType.Universal then
BrikBottom.BottomSurface = "Glue"

end

end
Report Abuse
konichiwah1337 is not online. konichiwah1337
Joined: 16 Sep 2013
Total Posts: 1979
23 Dec 2013 11:15 PM
One more thing, do I need a connection line for each one? (Im going to have different ones for each side),, or does it all go into 1?
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