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
 

sinking ship game

Previous Thread :: Next Thread 
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:12 AM
so is there someons that nows how to make a sinking ship game like the boat is sinking and rotating please can someon help me.
Report Abuse
Titanicman882ftlong is not online. Titanicman882ftlong
Joined: 14 Aug 2012
Total Posts: 430
03 Jul 2016 08:15 AM
It's called Pairs

http://wiki.roblox.com/index.php?title=Function_dump/Basic_functions&redirect=no#pairs
Report Abuse
AxonMega is not online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
03 Jul 2016 08:20 AM
People who try to make titanic knockoff games always end up DROWNING in their own failure. Hehe. Just kidding.
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:44 AM
that link does not work
Report Abuse
0Dan is not online. 0Dan
Joined: 22 Oct 2009
Total Posts: 2552
03 Jul 2016 08:48 AM
Don't listen to Titanicman882ftlong, using pairs is a terrible idea, learn a bit about scripting and use SetPrimaryPartCFrame
http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame


local l={e={a={v={e=function()print("bye")end}}}} l.e.a.v.e()
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:49 AM
that link doesnd work too
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:50 AM
ow found it
Report Abuse
0Dan is not online. 0Dan
Joined: 22 Oct 2009
Total Posts: 2552
03 Jul 2016 08:50 AM
Just remove the https:// or http:// part like so,
wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame

I'm not completely sure why this is going on, I'm getting the error too.


local l={e={a={v={e=function()print("bye")end}}}} l.e.a.v.e()
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:50 AM
but how to rotate and move it
Report Abuse
0Dan is not online. 0Dan
Joined: 22 Oct 2009
Total Posts: 2552
03 Jul 2016 08:50 AM
Forgot to say, don't click the url either, copy and paste it.


local l={e={a={v={e=function()print("bye")end}}}} l.e.a.v.e()
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:52 AM
k i found it but how can i rotate it then
Report Abuse
0Dan is not online. 0Dan
Joined: 22 Oct 2009
Total Posts: 2552
03 Jul 2016 08:54 AM
You rotate and CFrame it like this:
game.Workspace.Ship:SetPrimaryPartCFrame(CFrame.new(0,10,0)*CFrame.Angles(90,0,0))


local l={e={a={v={e=function()print("bye")end}}}} l.e.a.v.e()
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 08:56 AM
i tried it with two blocks but it gives this error

SetPrimaryPartCFrame is not a valid member of Part
Report Abuse
0Dan is not online. 0Dan
Joined: 22 Oct 2009
Total Posts: 2552
03 Jul 2016 08:58 AM
Group everything together, go to the properties of the model and click on "PrimaryPart" and set, then try it


local l={e={a={v={e=function()print("bye")end}}}} l.e.a.v.e()
Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 09:07 AM
i have writed a script to test som things the problem is the parts only go down
script:
-------------------------------------------------------------------------------------
game.Workspace.Ship:SetPrimaryPartCFrame(CFrame.new(0,10,0)*CFrame.Angles(0,0,0))
wait(5)
game.Workspace.Ship:SetPrimaryPartCFrame(CFrame.new(0,-1,0)*CFrame.Angles(0,0,0))

Report Abuse
yentedolfijn is not online. yentedolfijn
Joined: 16 Apr 2014
Total Posts: 276
03 Jul 2016 11:54 AM
ow wait the -1 should be anormal 1 srry
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