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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:16 PM
local DZ = script.Parent.Parent.DraxoriamZ
local cam = game.Workspace.CurrentCamera
local Activated = false

script.Parent.MouseButton1Click:connect(function (mouse)
if (DZ==true) then
script.Parent.Parent.Parent.LocalScript.Disabled = true
for i=1,202 do
cam.CoordinateFrame = CFrame.new(0.1)
wait(0.001)
if i == 2400 then
DZ = false
script.Parent.Parent.Parent.LocalScript.Disabled = false
Activated = true
script.Parent.Visible = false
while Activated do
cam.CoordinateFrame = Cframe.new (21.2, 29, -4.6)
wait()
end
end
end
end
end)

What it should do here is, when you click the button, your camers moves to the right and this button disapears, but when i click the button, it doesnt work.
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:18 PM
bump
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
04 Mar 2014 05:20 PM
Set cam's CameraType to Scriptable.
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:23 PM
not working, it was on fixed though. And this gui is inside a Image button thats inside StarterGui
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
04 Mar 2014 05:26 PM
Actually that isnt even close to the solution..

cam.CoordinateFrame = CFrame.new(0.1) -wat.
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:36 PM
Still, nothing happens
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:37 PM
Well this is a really advanced script
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
04 Mar 2014 05:38 PM
This isnt that advanced

for i=1,202 do
cam.CoordinateFrame = CFrame.new(0.1) --Why is there only 1 argument
wait(0.001)
if i == 2400 then --When will i ever equal 2400
Report Abuse
BLVCKPARADISE is not online. BLVCKPARADISE
Joined: 21 Nov 2010
Total Posts: 4860
04 Mar 2014 05:39 PM
[ Content Deleted ]
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
04 Mar 2014 05:41 PM
@BL get out.
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:41 PM
@2Above, oh thx for noticing another error
@Above, no, this is to make the camera go right when you click the button
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:42 PM
@4Above*
@3Above*
Report Abuse
BLVCKPARADISE is not online. BLVCKPARADISE
Joined: 21 Nov 2010
Total Posts: 4860
04 Mar 2014 05:44 PM
[ Content Deleted ]
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
04 Mar 2014 05:44 PM
Get out and dont come back.
Report Abuse
DragonOfWar900 is not online. DragonOfWar900
Joined: 11 May 2011
Total Posts: 1508
04 Mar 2014 05:45 PM
@BL get out and learn actual scripting
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