|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
| |
|
| |
|
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 |
|
|
|
| 03 Jul 2016 08:50 AM |
| but how to rotate and move it |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 03 Jul 2016 08:52 AM |
| k i found it but how can i rotate it then |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 03 Jul 2016 11:54 AM |
| ow wait the -1 should be anormal 1 srry |
|
|
| Report Abuse |
|
|