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
 

Script Fix

Previous Thread :: Next Thread 
Gamered1337 is not online. Gamered1337
Joined: 30 Aug 2013
Total Posts: 116
02 Jan 2015 01:36 PM
Hello, people. I'm a standard scripting user who is making a game. It is a game that has an exploding core. You know Innovation Labs? It's kind of the same thing. Although, I have been having some issues with one script and I can't figure it out. The script checker says that it's okay, but I seem to have it not working. This script edits a brick of a TextLabel that tells what the temperature of the core would be. Here's what the script looks like:

local textlabel = game.Workspace.GubTempHQ.SurfaceGui.TextLabel.Text -- the edit to change the brick's SurfaceGui text for the TV
local main = game.Workspace.GubTempHQ.SurfaceGui.TextLabel -- the main source of the text on the brick
local celcueasoirhiniasydiu = game.Workspace.Temp.Current -- the temperature of the core
while true do
wait()
textlabel = "Temperature: "..celcueasoirhiniasydiu.." C"
end

The GubTempHQ is the main brick of the TextLabel. If anybody would tell me the problem of this script and how to fix it, it would be greatly appreciated. Let me know in the comments if you need more information to fix the script. Many thanks.

Sincerely,
Gamered1337
Owner of Gub, Inc.
Report Abuse
Gamered1337 is not online. Gamered1337
Joined: 30 Aug 2013
Total Posts: 116
02 Jan 2015 01:38 PM
By the way, the script is to be edited. The lines will be separated for any mistakes.

local textlabel = game.Workspace.GubTempHQ.SurfaceGui.TextLabel.Text -- the edit to change the brick's SurfaceGui text for the TV

local main = game.Workspace.GubTempHQ.SurfaceGui.TextLabel -- the main source of the text on the brick

local celcueasoirhiniasydiu = game.Workspace.Temp.Current -- the temperature of the core

while true do

wait()

textlabel = "Temperature: "..celcueasoirhiniasydiu.." C"

end
Report Abuse
iShinyCoil is not online. iShinyCoil
Joined: 03 Dec 2012
Total Posts: 165
02 Jan 2015 01:46 PM
Well. If the Script Corrector says it's okay, I don't get what won't work.

Make sure you put it in the Part And name it TheGubTempHQ, oh and another thing make sure there's not Spaces between TheGubTempHQ.

Try It in a LocalScript.

It should be good!

Report Abuse
Gamered1337 is not online. Gamered1337
Joined: 30 Aug 2013
Total Posts: 116
02 Jan 2015 01:57 PM
1. That's okay if you don't know.
2. I edited the name, but there wasn't any spaces.
3. Didn't work :o
Thanks for helping me though
Report Abuse
Gamered1337 is not online. Gamered1337
Joined: 30 Aug 2013
Total Posts: 116
17 Jan 2015 10:00 AM
I think I fixed it.
I placed the script into the brick to SurfaceGui to TextLabel. Here's my change:

local celcueasoirhiniasydiu = game.Workspace.Temp.Current.Value -- the temperature of the core

while true do

script.Parent.Text = "Temperature: "..celcueasoirhiniasydiu.."C" -- the string to update TextLabel of TheGubTempHQ

wait(3) -- time of each update

end
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