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: I need to teleport a model..

Previous Thread :: Next Thread 
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 08:36 PM
I made a script builder arena, and i have the script, but how do i move the CFrame psotion, so its floating !?




insert = game:GetService("InsertService"):LoadAsset(0000000)
insert.Parent = game.Workspace
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Apr 2014 08:41 PM
insert:TranslateBy(Vector3.new(x, y, z) - insert:GetModelCFrame().p)
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 08:41 PM
Bumpidy
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 08:42 PM
Um.. how do i use that script..
Report Abuse
pickupthemail is not online. pickupthemail
Joined: 07 Nov 2013
Total Posts: 55
10 Apr 2014 08:46 PM
insert = game:GetService("InsertService"):LoadAsset(0000000)
insert.Parent = game.Workspace
insert.Thing.CFrame
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 08:52 PM
insert = game:GetService("InsertService"):LoadAsset(152969052)
insert.Parent = game.Workspace
insert:TranslateBy(Vector3.new(0,145,0) - insert:GetModelCFrame().p)
Report Abuse
Kyrothehero is not online. Kyrothehero
Joined: 14 Aug 2012
Total Posts: 306
10 Apr 2014 08:53 PM
either frame each part, or look above and use your brain
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Apr 2014 08:53 PM
that should work fine if insert is a model and you own it
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 08:54 PM
It's a model, i own it, its not even in workspace, muchless where i want it is there a script u can make me :(
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 09:01 PM
insert = game:GetService("InsertService"):LoadAsset(152969052)
print 'LoadAsseted..';
wait(1)
insert.Parent = game.Workspace
print 'Parented..';
wait(1)
insert:TranslateBy(Vector3.new(0,145,0) - insert:GetModelCFrame().p)
print 'CFramed';
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Apr 2014 09:06 PM
Not really "CFramed" but "offseted"

Anyway, check to make sure your asset is even being loaded:
print(insert) before the Parent, if it's the name of the model it should be fine
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 09:06 PM
This is in script builder.. i cant access output..
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Apr 2014 09:10 PM
http://wiki.roblox.com/index.php?title=MessageOut_(Event)
Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
10 Apr 2014 09:17 PM
Now it's only working in Studio
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
10 Apr 2014 09:25 PM
-_________-


if it's a model and it has a name then just do this


print(workspace['model_name'].CFrame.p);
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Apr 2014 09:28 PM
I already figured out the problem and told him:

He was inserting a non white-listed model into a game and that the owner did not own.
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