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
 

Re: Working only in Studio...

Previous Thread :: Next Thread 
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 12:23 PM
I made a script for a cutscene. The LocalScript that was put inside the player says that "Move" is not valid member of "Scriptable" (the name of my script). But it's actually in it... I don't know why it's working only in ROBLOX Studio and no in ROBLOX Player. If someone can help me, it would be appreciated. ^_^

Here's the script:
local player = game.Players.LocalPlayer

script:WaitForChild("Move").Changed:connect(function() -----> the problem is here
if script:WaitForChild("Move").Value == true then
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
print"tabarnak"
repeat wait()
workspace.CurrentCamera.CoordinateFrame = CFrame.new((script.CameraPosition.Value), player.Character.Head.Position)
until script.Move.Value == false
else
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
end
end)

Thank you in advance!
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 02:49 PM
bumperino
Report Abuse
sentry3 is not online. sentry3
Joined: 01 May 2010
Total Posts: 538
21 Jun 2016 03:03 PM
im sorry but i have to say your wasting your time to design one just use this plugin :)
https://www.roblox.com/Cutscene-Editor-Plugin-FIXED-item?id=142296237
alot easier then messing with your brain to figure it out
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 03:13 PM
I already know this plugin since it came out. The problem with this plugin is that there's not the function nor the special effect I want for my cutscenes. It is too specific. I have no problem with the camera itself. It's just a Value that is not detected online. Thank you for trying though. :L
Report Abuse
badguy1233 is not online. badguy1233
Joined: 23 Jul 2009
Total Posts: 885
21 Jun 2016 03:22 PM
repeat wait() until script:FindForChild("Move")
--add that one line above?
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 03:27 PM
I put a print after your line and nothing in the output. I don't know why it's doing that... Move is literally inside the script.
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 03:45 PM
bumppp
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 05:18 PM
b3
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
21 Jun 2016 06:05 PM
b4 :L
Report Abuse
torus is not online. torus
Joined: 01 Dec 2007
Total Posts: 2542
21 Jun 2016 06:12 PM
I've noticed that there's some weird bug where any values inside of a script (not in the actually code, but in workspace), end up getting deleted...

I would probably just move the value outside of the script somewhere and modify the code to work with that


Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
22 Jun 2016 02:20 AM
The Value is not deleted since when I tested the script, the Value was still in LocalScript. I think it is not recognized :/
Report Abuse
PleasantKillerman is not online. PleasantKillerman
Joined: 01 Nov 2011
Total Posts: 668
22 Jun 2016 12:52 PM
b5
Report Abuse
badguy1233 is not online. badguy1233
Joined: 23 Jul 2009
Total Posts: 885
24 Jun 2016 04:33 PM
if
repeat wait() until script:FindForChild("Move")
--add that one line above?
doesn't work, then Move is nil. is the case right? make sure it's in script
Report Abuse
Briicks is not online. Briicks
Joined: 03 Apr 2015
Total Posts: 1796
24 Jun 2016 04:37 PM
script.Parent:WaitForChild("Move")...???
Are you missing a Parent or is it suppose to be like that?


Super Fast Profit Finder - https://www.roblox.com/games/421528235/Super-Fast-Profit-Finder
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