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
|
  |
| Joined: 10 Apr 2010 |
| Total Posts: 400 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 10 Apr 2010 |
| Total Posts: 400 |
|
| |
|
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
|
  |
| Joined: 10 Apr 2010 |
| Total Posts: 400 |
|
|
| 24 May 2016 08:43 PM |
| Q.Q I feel like im stuck here. |
|
|
| Report Abuse |
|
|
Phonicz
|
  |
| Joined: 10 Apr 2010 |
| Total Posts: 400 |
|
|
| 24 May 2016 08:53 PM |
===END THIS POST===
Fixed it myself. |
|
|
| Report Abuse |
|
|