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: Lolwut SCRIPT Error D:

Previous Thread :: Next Thread 
SirIngenuity is not online. SirIngenuity
Joined: 06 Oct 2012
Total Posts: 3149
09 Jun 2015 07:13 PM
Output
18:13:01.251 - Value is not a valid member of UnionOperation
18:13:01.251 - Script 'Workspace.I1.Script', Line 3
18:13:01.252 - Stack End

Script:
function onTouched(hit)
if hit.Parent.Name == "Puck" then
game.Workspace.IcingA.Value = true
if game.Workspace.IcingA.Value == true and game.Workspace.DValue.Value == false and game.Workspace.TouchedLast.Value == "White" then
workspace.Puck:remove()
workspace.time.IsRunning.Value = false
workspace.OOBblock3.Light.light.Visible = true
workspace.display.Value = "Icing"
wait(5)
workspace.display.Value = "Faceoff where the yellow light is"
wait(5)
workspace.display.Value = ""
workspace.countdown.Value = "5"
wait(1)
workspace.countdown.Value = "4"
wait(1)
workspace.countdown.Value = "3"
wait(1)
workspace.countdown.Value = "2"
wait(1)
workspace.countdown.Value = "1"
wait(1)
workspace.countdown.Value = "Go"
wait(1)
workspace.countdown.Value = ""
game.Lighting.Puck3:clone().Parent = game.Workspace
game.Workspace.Puck3.Name = "Puck"
workspace.OOBblock3.Light.light.Visible = false
game.workspace.time.IsRunning.Value = true
game.Workspace.IcingA.Value = false
end
end
end

script.Parent.Touched:connect(onTouched)
Report Abuse
swordmaster7359 is not online. swordmaster7359
Joined: 17 May 2012
Total Posts: 14
09 Jun 2015 07:15 PM
Specify, what is the error?
Report Abuse
infortality is not online. infortality
Joined: 28 May 2012
Total Posts: 942
09 Jun 2015 07:15 PM
Line 3 says
"game.Workspace.IcingA.Value = true"
According to the error, IcingA is a UnionOperation, but UnionOperations do not have .Value properties (according to the wiki)
Report Abuse
SirIngenuity is not online. SirIngenuity
Joined: 06 Oct 2012
Total Posts: 3149
09 Jun 2015 07:18 PM
I don't know. Thats why I need help. It goes like dis if player is not touching a brick, and the touched last value is white, and if the puck touches the brick. then it goes if puck touches brick = true and (brick player isn't touching) = false and touched last = white then
---code
Report Abuse
SirIngenuity is not online. SirIngenuity
Joined: 06 Oct 2012
Total Posts: 3149
09 Jun 2015 07:19 PM
My bad I think I know why. I have a value named IcingA thats the thing I want and I have a union part name IcingA
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