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
 

C-framing Parts

Previous Thread :: Next Thread 
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
27 Jul 2015 05:30 AM
local PlayingGame = coroutine.create(function()
local a = game.ServerStorage.Tsunami:Clone()
a.Parent = game.Workspace
local b = game.Workspace.Tsunami.WaterKillA
local c = game.Workspace.Tsunami.WaterKillB
local d = game.Workspace.Tsunami.WaterKillC
local e = game.Workspace.Tsunami.WaterKillD
local f = game.Workspace.Tsunami.WaterKillE

for t = 1, 400 do
for _,v in pairs(game.Workspace.Tsunami:GetChildren()) do
v.CFrame = v.CFrame * CFrame.new(-4, 0, 0)

end
end
end)

I'm trying to make this 'tsunami' move all at once. However, this script doesn't even work. I've tried a lot of different variations, I've even looked at the roblox wiki (where I got this example from) but they don't seem to work. If you know how to fix this, a reply would be appreciated :D

Tsunami is a model with WaterKillA,B,C,D,E in it.
Report Abuse
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
27 Jul 2015 06:15 PM
Halp
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
27 Jul 2015 06:20 PM
use :SetPrimaryPartCFrame(), :MoveTo(), or :TranslateBy()
Report Abuse
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
27 Jul 2015 06:24 PM
@fishguy what If I wanted to keep the same c-frame but add -4 to the x axis? would I do :SetPrimaryPartCFrame(Cframe * Cframe(-4,0,0)?
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