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: Character CFrame

Previous Thread :: Next Thread 
Pav9495 is not online. Pav9495
Joined: 07 Nov 2008
Total Posts: 341
06 May 2012 06:41 AM
I am trying to CFrame a character into the ground when he touches a brick. I've tried multiple things from usual CFrame to creating a new part, welding it to him and CFraming it, but nothing works. Does anybody know how I can achieve what I want ?
Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
06 May 2012 07:19 AM
Hmm. Should this possible work..

script.Parent.Touched:connect(function(hit)
if Game:GetService("Players"):findFirstChild(hit.Parent.Name) then
print("We have a Player !")
Game:GetService("Players")[hit.Parent.Name].Character:MoveTo(Game.Workspace.Ground.Position - Vector3.new(3,0,0,0))
end
end)

That might work..

Velibor
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