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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: PlayerGui Script Help Please!

Previous Thread :: Next Thread 
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
04 Jul 2014 10:33 AM
function Added(player)
local f = Instance.new("TextButton")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = player.PlayerGui

f.Position = UDim.new2(0.1, 0, 0.1, 0)
f.Size = UDim.new2(0.5 0, 0.5, 0)
f.Text = ("RuntoBulletAdmin Loaded! Click Anywhere To Exit")
f.MouseButton1Down:connect(function()
s:Remove()
f:Remove()
end)
end
Added(game.Players.runtoheven)

---------- END! ------------------

so? did i do something wrong?
Report Abuse
FauxHawke is not online. FauxHawke
Joined: 08 Jun 2012
Total Posts: 2190
04 Jul 2014 10:43 AM
uncapitalize r in remove, and remove the parenthesis around your string for the text
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
04 Jul 2014 10:48 AM
What are you talking about Faux?
Those work fine the way they are!

Although, :Remove() is deprecated, and :Destroy() is more efficient.
Use :Destroy() instead.
Report Abuse
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
04 Jul 2014 05:30 PM
what exactly is the parenthasis? im new to this stuff. is it the variables?
Report Abuse
WishNite is not online. WishNite
Joined: 11 Feb 2009
Total Posts: 15828
04 Jul 2014 05:32 PM
ignore Faux, he posted Faux info LEL IM SO FUNNY

function Added(player)
if player.Name == "runtoheven" then
local f = Instance.new("TextButton")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = player.PlayerGui
f.Position = UDim.new2(0.1, 0, 0.1, 0)
f.Size = UDim.new2(0.5 0, 0.5, 0)
f.Text = ("RuntoBulletAdmin Loaded! Click Anywhere To Exit")
f.MouseButton1Down:connect(function()
s:Destroy()
f:Destory()
end)
end
end
Added(game.Players.PlayerAdded)


Report Abuse
robokittydestroyer is not online. robokittydestroyer
Joined: 20 Jul 2010
Total Posts: 311
04 Jul 2014 05:32 PM
(This is inside a set of parenthesis)
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
04 Jul 2014 05:35 PM
Doesn't seem anyone knows what they're doing here.

function Added(player)
local f = Instance.new("TextButton")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = player.PlayerGui

f.Position = UDim2.new(0.1, 0, 0.1, 0)
f.Size = UDim2.new(0.5 0, 0.5, 0)
f.Text ="RuntoBulletAdmin Loaded! Click Anywhere To Exit"
f.MouseButton1Down:connect(function()
s:Remove()
f:Remove()
end)
end
game.Players.PlayerAdded:connect(function(player)
if player.Name=="your name" then
Added(game.Players.runtoheven)
end end)
Report Abuse
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
05 Jul 2014 08:02 AM
Thanks! you were the most helpful (no offence)
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 08:09 AM
Well no one else helped in any way lol

Except robo, arguably

If it works then you're welcome
Report Abuse
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
05 Jul 2014 08:14 AM
[string function Added(player)...]8: ')' expected near '0'


i used the script

function Added(player)
if player.Name == "runtoheven" then
local f = Instance.new("TextButton")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = player.PlayerGui
f.Position = UDim.new2(0.1, 0, 0.1, 0)
f.Size = UDim.new2(0.5 0, 0.5, 0)
f.Text = ("RuntoBulletAdmin Loaded! Click Anywhere To Exit")
f.MouseButton1Down:connect(function()
s:Destroy()
f:Destory()
end)
end
end
Added(game.Players.PlayerAdded)


--end--
help?
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 08:14 AM
...

Use mine, it should work.
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
05 Jul 2014 08:36 AM
smileys should work, the script was basically fine from the start except you had no connection line, you only called it. The game probably called the event before the player "runtoheven" even joined the game
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 08:38 AM
no the script had a few more problems
Report Abuse
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
05 Jul 2014 02:36 PM
heres what happened:

https://www.youtube.com/watch?v=1PVg8tNfYeo
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 02:40 PM
I see what happened.
I don't feel comfortable helping botters.
Report Abuse
FizBloxx is not online. FizBloxx
Joined: 18 Jan 2014
Total Posts: 95
05 Jul 2014 03:00 PM
Ugh



game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
if player.Name == "runtoheven" then
local f = Instance.new("TextButton")
local s = Instance.new("ScreenGui")
f.Parent = s
s.Parent = player.PlayerGui
f.Position = UDim.new2(0.1, 0, 0.1, 0)
f.Size = UDim.new2(0.5 0, 0.5, 0)
f.Text = ("RuntoBulletAdmin Loaded! Click Anywhere To Exit")
f.MouseButton1Down:connect(function()
s:Destroy()
f:Destory()
end)
end
end)
end)
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 03:02 PM
Work work^

Thankfully
Report Abuse
runtoheven is not online. runtoheven
Joined: 14 Sep 2011
Total Posts: 42
05 Jul 2014 06:19 PM
same error. every script builder. can someone just rewrite a working one? or something?
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
05 Jul 2014 06:21 PM
i dont like writing for skids
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 06:21 PM
What even is a script kiddie?
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
05 Jul 2014 06:22 PM
someone who uses other people's scripts/programs to look cool/show off to their friends.
examples: warspyking kevkev[numbers]
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
05 Jul 2014 06:25 PM
oh I thought it was a kid who thought he was being cool using CE to "hack"

Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
05 Jul 2014 06:28 PM
I guess you can call that a skid too.
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