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: [URGENT] Error with no error code :C

Previous Thread :: Next Thread 
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 02:02 PM
Heres my script, PlayPressed is a boolvalue

Yes everything is properly placed.


------------------------------

-- Max Y is 0.651 Scale
-- Max X is 0.168 Scale


--XParent = XSize
--YParent = YSize
ServerStorage = game.ServerStorage
playpressedtrue = script.Parent.Parent.PlayPressed.Value

function camera()
local player = game.Players.LocalPlayer
local cam = game.Workspace.CurrentCamera
local ttime = 0
local angle = 0
local position = 0
cam.CameraSubject = game.Workspace.Foc1
cam.CameraType = "Attach"
script.Parent.Parent.Play.Visible = true
while 1+1 == 2 do
wait()
if playpressedtrue == true then
cam.CameraSubject = player.Character.Humanoid
cam.CameraType = "Track"
end
end


while ttime < 30 do
cam.CoordinateFrame = game.Workspace.Foc1.CFrame * CFrame.Angles(0,angle,angle) * CFrame.new(position, position, position)
--Above script makes a new CFrame so it moves to the player in a unique style.
ttime = ttime + 1
angle = angle + math.rad(3)
position = position + 1
wait()
end
end

R = 0.651
T = 0
TTime = 0.2

while 1 + 1 == 2 do
wait(0.0001)


increase = true

while R < 1 and wait() do
while increase == true do
inctime = 0.01
wait(0.01)
script.Parent.Lnd.Size = script.Parent.Lnd.Size + UDim2.new(inctime, 0, 0, 0)
while script.Parent.Lnd.Size.X.Scale > 0.651 do
increase = false
script.Parent.B1:Destroy()
script.Parent.B2:Destroy()
script.Parent.Frame:Destroy()
script.Parent.Lnd:Destroy()
script.Parent.T1.Text = "Welcome"
script.Parent.T2.Text = "Welcome"
wait(3)
script.Parent.T1:Destroy()
script.Parent.T2:Destroy()
script.Parent.Visible = false
camera() -- plays camera script function
increase = true
end
end
end
end



Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 04:07 PM
b1
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
24 May 2016 04:09 PM
You know, we'll have to interpret your code to understand what it's supposed to do before we can help you.

Or you can flat out tell us and save an hour of waiting
Report Abuse
InnovatedFighting is not online. InnovatedFighting
Joined: 30 Oct 2014
Total Posts: 1040
24 May 2016 04:49 PM
Yes, please tell us what you want the script to do, hard for us to help you if we don't know what you want.


Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 04:51 PM
True, Alright here it is in a nutshell. So far what the code does is it makes a green bar increase in size till it gets to a size, then when it is at that size it destroy itself and a few other objects, Then the text changes to welcome and disparages 4 seconds later. After that the camera follows a rotating brick, And I put a gui where you are supposed to click on it to change the boolvalue playpressed to true, if it is set to true the script is supposed to set the camera back to the player.


Complex, But it works well and took me a bit of time.
Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 05:21 PM
Anyone got ideas?
Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 06:33 PM
Any scripting god out there know how to fix this?
Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 08:43 PM
Q.Q I feel like im stuck here.
Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
24 May 2016 08:53 PM
===END THIS POST===


Fixed it myself.
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