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: RECOIL R BROKED

Previous Thread :: Next Thread 
kornawe is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
11 Aug 2011 03:09 PM
function MessUpCam()
cr = coroutine.create(function()
print("WORK")
Sub = Workspace.CurrentCamera.CameraSubject
Type = Workspace.CurrentCamera.CameraType
FC = Workspace.CurrentCamera.Focus
Workspace.CurrentCamrea.CameraSubject = nil
Workspace.CurrentCamera.CameraType = 4
Y = Workspace.CurrentCamera.Focus.Y + 10
TOBEY = Workspace.CurrentCamera.Focus.Y
for i = Y,TOBEY,1 do
print("Changing Cam Foc")
wait()
X = Workspace.CurrentCamera.Focus.X
Z = Workspace.CurrentCamera.Focus.Z
Workspace.CurrentCamera.Focus = Vector3.new(X,i,Z)
end
Workspace.CurrentCamera.CameraSubject = Sub
Workspace.CurrentCamera.CameraType = Type
end)
coroutine.resume(cr)
end

Output- WORK

I think I have something wrong with hte for loop and it won't run.
Report Abuse
kornawe is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
11 Aug 2011 04:32 PM
Love the help.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
11 Aug 2011 04:34 PM
*Facepalm* You never called the function MessUpCam ._.
Report Abuse
kornawe is not online. kornawe
Joined: 25 Nov 2008
Total Posts: 1272
12 Aug 2011 03:36 PM
Yes because this is totaly the full script, It's inside the shoot script, but now I'm doing it another way.
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