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: I need a little help with this moving model

Previous Thread :: Next Thread 
marfit is not online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
28 Aug 2016 12:22 PM
################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
28 Aug 2016 12:23 PM
hm I see
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
28 Aug 2016 12:23 PM
Model:SetPrimaryPartCFrame()


Report Abuse
marfit is not online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
28 Aug 2016 12:32 PM
while true do
script.Parent:MoveTo(script.Parent.PrimaryPart.Position + Vector3.new(0,0,4))
wait()
script.Parent:SetPrimaryPartCFrame(Vector3.new(script.Parent.PrimaryPart.Position.X,-6.97,script.Parent.PrimaryPart.Position.Z))
wait(0.01)
end




This is my fix code, but when I run it, the model fails to move.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
28 Aug 2016 12:33 PM
youre setting the cframe to a vector3.. -.-
Report Abuse
marfit is not online. marfit
Joined: 10 Jan 2013
Total Posts: 2539
28 Aug 2016 04:32 PM
That does not help, what should I do?
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
28 Aug 2016 04:34 PM
part = script.Parent.PrimaryPart
while wait() do
script.Parent:SetPrimaryPartCFrame(part.CFrame.X,part.CFrame.Y-7,part.CFrame.Z)
end


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