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 » Scripting Helpers
Home Search
 

Re: why is this script not working?

Previous Thread :: Next Thread 
CrazyKilla15 is not online. CrazyKilla15
Joined: 20 Nov 2009
Total Posts: 1379
17 Jul 2012 01:14 PM
can someone please tell me why the make orb function of this script dosent work?(its NOT my script im just editing it)

for full script ask me and ill PM it

button20pc=Instance.new("TextButton")
button20pc.Parent = frame1p
button20pc.Text = "Make Orb"-------------------------------------- MAKE ORB IS HERE--------------------------------
button20pc.Style = 1
button20pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
button20pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
button20pc.Position = UDim2.new ( 0.5, 0, 0.1, 0)
if script.className=="LocalScript"then
button20pc.Visible=true
else
button20pc.Visible=true
end
button20pc.MouseButton1Click:connect(function()
player1=game.Players:findFirstChild(selected)
if player1~=nil then
gui1:Remove()
script:clone().Parent = game.Players:findFirstChild(selected).Character
ddrree95=false
owners=player1.Name
name = player1.Name .. defname
end
end)
Report Abuse
CrazyKilla15 is not online. CrazyKilla15
Joined: 20 Nov 2009
Total Posts: 1379
17 Jul 2012 01:36 PM
bumper
Report Abuse
CrazyKilla15 is not online. CrazyKilla15
Joined: 20 Nov 2009
Total Posts: 1379
17 Jul 2012 02:31 PM
REPLY ALREADY
Report Abuse
michael1784 is not online. michael1784
Joined: 15 Feb 2011
Total Posts: 3322
17 Jul 2012 02:46 PM
Lol. I dunno.
Report Abuse
Penguin999999 is not online. Penguin999999
Joined: 15 Jul 2012
Total Posts: 46
17 Jul 2012 04:58 PM
I dont know how to script.Im looking at scritps to check them and see if they have something I need hwne I try to script
Report Abuse
Penguin999999 is not online. Penguin999999
Joined: 15 Jul 2012
Total Posts: 46
17 Jul 2012 04:59 PM
wait..the visible part is transprency = 1--1 is visibe
now.....invisible is transperency = 0
Report Abuse
doctorwhosmith2000 is not online. doctorwhosmith2000
Joined: 15 May 2010
Total Posts: 2761
17 Jul 2012 05:00 PM
Try geting rid of "end)" right at the bottom
Report Abuse
doctorwhosmith2000 is not online. doctorwhosmith2000
Joined: 15 May 2010
Total Posts: 2761
17 Jul 2012 05:04 PM
dont do what i said but it might be the ")" at the bottom I dont know
Report Abuse
1518NICENICKEY is not online. 1518NICENICKEY
Joined: 29 Apr 2009
Total Posts: 1136
17 Jul 2012 05:34 PM
Its the end)
replace it to
end..

Please next time, post a error code if you can?
Report Abuse
OwneD1991 is not online. OwneD1991
Joined: 16 Oct 2009
Total Posts: 12623
17 Jul 2012 06:30 PM
@1518, you need the end), look at this line: button20pc.MouseButton1Click:connect(function()
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
17 Jul 2012 06:48 PM
@1598 - This is getting ridiculous. Every single post I've seen from you here is either irrelevant, redundant, or simply incorrect. If you're not going to be intelligent here, I advise you leave.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
17 Jul 2012 06:49 PM
What's the point of :

    if script.className=="LocalScript"then
    button20pc.Visible=true
    else
    button20pc.Visible=true
    end

?

† KMXD †
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Jul 2012 06:52 PM
@Penguin; It's the other way around actually.
Report Abuse
CrazyKilla15 is not online. CrazyKilla15
Joined: 20 Nov 2009
Total Posts: 1379
17 Jul 2012 07:52 PM
@knight it used to be if it was local script it waent visibe but i changed it

and the error code is


20:49:55 - PlayerGui is not a valid member of Player
20:49:55 - Script "Players.CrazyKilla15.PlayerGui.LocalScript", Line 2975
20:49:55 - stack end

^^^

the objective is to copy the script(localscript) so it and gives said player the orb

im not great and scripting and dont really understand it but i can edit scripts somewhat

20:50:00 - Players.CrazyKilla15.PlayerGui.LocalScript:2868: attempt to index global 'orbehaa' (a nil value)
20:50:00 - Script "Players.CrazyKilla15.PlayerGui.LocalScript", Line 2868
20:50:00 - stack end

^^ above i dont think paticualy matters
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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