|
| 17 May 2015 12:43 PM |
Ok so when i click test and test the guis in the studio i can hear the sounds when i click it but when i go to the game from the browser it doesnt work help please? I dont get this but here the script
also i got the Soundzz and this script in startergui
fort link ; http://www.roblox.com/games/249169739/Valorous-Fort-Dustorn
repeat wait() until game.Players.LocalPlayer.Character
print("Character is loaded, beginning sequence") print("Loading variables")
MO = script.Parent.Soundzz.MO OC = script.Parent.Soundzz.OC Ally = script.Parent.opening.MainFrame.Ally Hostiles = script.Parent.opening.MainFrame.Hostiles
print("Variables loaded!")
Ally.MouseButton1Down:connect(function(RR) if Ally.Visible == true then Ally.Visible = false OC:Play() elseif Ally.Visible == false then Ally.Visible = true OC:Play() end end)
local gui = script.Parent local mouseInGui = false
Hostiles.MouseEnter:connect(function(x, y) mouseInGui = true Hostiles.Visible = true MO:Play() end)
Hostiles.MouseLeave:connect(function(x, y) mouseInGui = false Hostiles.Visible = true end)
Ally.MouseEnter:connect(function(x, y) mouseInGui = true Ally.Visible = true MO:Play() end)
Ally.MouseLeave:connect(function(x, y) mouseInGui = false Ally.Visible = true end) |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 12:44 PM |
so i basicly mean i can hear the sound effects while in-studio testing but not from ROBLOX site
- Join Valorous. |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 12:46 PM |
anyone what the problem is?
- Join Valorous. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 17 May 2015 02:00 PM |
It's probably because they're not loaded yet. Try preloading.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 02:08 PM |
how to preload sir? i have basic knowledge with scripts im just good at editing
- Join Valorous. |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 02:21 PM |
help damnn
- Join Valorous. |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 02:48 PM |
Sorry for the late reply, my wifi had some heart attacks. e.e
Go to: http://wiki.roblox.com/index.php?title=API:Class/ContentProvider/Preload And make your sounds get preloaded.
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
|
| 17 May 2015 04:55 PM |
didnt work
- Join Valorous. |
|
|
| Report Abuse |
|
|