Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My intro wont work!

Asked by 11 years ago

HERE IS MY SCRIPT!

01wait (2)
02for i = 1, 10 do
03   trans = 1/10
04   trans = 1 - trans
05   script.Parent.BG.BackgroundTransparency = trans
06   wait (.1)
07end
08 
09script.Parent.BG.Text1.Text = "Welcome to the town of Rosedale!"
10wait (3)
11script.Parent.BG.Text2.Text = "I am your real estate agent, Amy"
12wait (3)
13script.Parent.BG.Text3.Text = "I will also show you around town!"
14wait (3)
15script.Parent.BG.Text4.Text = "chat ok to begin playing!"
View all 38 lines...

Once you chat ok, more text is supposed to pop up and its supposed to turn into a cutscene, But it wont work.

0
Sorry XD i don't really know how to like paste scripts onto this. BreBreGaming 10 — 11y
0
Edit this then select the code then click on the icon at the very right DragonSkyye 517 — 11y

2 answers

Log in to vote
0
Answered by 11 years ago

Here's the script in a code block.

I'll assume you declared all the variables. All edits are commented on in the script. I hope this helps.

01wait (2)
02--[[for i = 1, 10 do        this is the old loop
03    trans = 1/10
04    trans = 1 - trans
05    script.Parent.BG.BackgroundTransparency = trans
06    wait (.1)
07end
08--]]
09 
10for i = 10, 0, -.1      --My version of the loop
11    trans = i/10
12    script.Parent.BG.BackgroundTransparency = trans
13    wait()
14end
15 
View all 63 lines...
Ad
Log in to vote
0
Answered by 11 years ago

This is the script you asked for on ROBLOX from "The Football Coach"....It'll take lots of editing to match your game set but have fun!

001----------------------
002---define variables---
003----------------------
004local animating=true;--is an animation running?
005local playa=game.Players.LocalPlayer;--the player
006local camera=workspace.CurrentCamera;--the players camera
007local stage=game.Lighting.Entrance:clone();--the place where everything will be acted out
008local nodes=stage.Nodes;--the walking points for AI's
009local cameras=stage.Cameras;--the camera positions to transition through
010local current_camera=0;--the current camera position the player is on
011local AIChat=playa.PlayerGui.AIChat;--the GUI chat for when an AI is talking
012local blackout=playa.PlayerGui.Blackout;--the black screen for fading to a new scene
013local red_spawn=stage.RDoor;--red door to spawn characters out of
014local blue_spawn=stage.BDoor;--blue door to spawn characters out of
015local follow=false;--keep following target?
View all 211 lines...

Answer this question