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 » Scripters
Home Search
 

Re: Shouldn't this work?

Previous Thread :: Next Thread 
Dinamics is not online. Dinamics
Joined: 08 Oct 2013
Total Posts: 60
08 Apr 2015 12:52 PM
function anchor(object)
object.Anchored = true --Without this, the player would go to heaven...(You know what i mean)
object.SkateboardPlatform.ControllingHumanoid.Anchored = true
wait(0.1)
object.Anchored = false
object.SkateboardPlatform.ControllingHumanoid.Anchored = false
end

What i'm trying to do is when this function runs, anchor object, and the object's controller. Inside this object is a seat named SkateboardPlatform. I'm calling it's controlling humanoid and trying to anchor the controller. Whenever it runs, it says "SkateboardPlatform is not a valid member of Part".
Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
08 Apr 2015 01:01 PM
object.SkateboardPlatform.ControllingHumanoid.Anchored = false

No this will never work. Stop making stuff up. Go find script that works, and mod it.

U are getting that error, because object is not the Parent of Skateboard. Once u fix that u will get is "Anchored is not a member of ControllingHumanpid", because tha "Humanid" object is not a Part, and does not have an Anchoredd property.


Report Abuse
Dinamics is not online. Dinamics
Joined: 08 Oct 2013
Total Posts: 60
08 Apr 2015 09:47 PM
Then what is the parent of SkateboardPlatform? "Object" is a variable referring to "Board" or the group/parent. Isn't the group a parent?

I haven't been able to find any scripts that relate to getting the torso of the humanoid controlling the SkateboardPlatform. Could you help me out here? I didn't make this up btw. By the looks of other scripts, i put this together.
Report Abuse
Dinamics is not online. Dinamics
Joined: 08 Oct 2013
Total Posts: 60
09 Apr 2015 04:43 PM
^ bump
Report Abuse
Dinamics is not online. Dinamics
Joined: 08 Oct 2013
Total Posts: 60
09 Apr 2015 07:31 PM
OOOOOK.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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