|
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? |
|
FauxHawkeJoin Date: 2012-06-08 Post Count: 2190 |
uncapitalize r in remove, and remove the parenthesis around your string for the text |
|
|
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. |
|
|
what exactly is the parenthasis? im new to this stuff. is it the variables? |
|
wish_zJoin Date: 2009-02-11 Post Count: 15392 |
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)
|
|
|
(This is inside a set of parenthesis) |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
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) |
|
|
Thanks! you were the most helpful (no offence) |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
Well no one else helped in any way lol
Except robo, arguably
If it works then you're welcome |
|
|
[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? |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
...
Use mine, it should work. |
|
|
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 |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
no the script had a few more problems |
|
|
heres what happened:
https://www.youtube.com/watch?v=1PVg8tNfYeo |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
I see what happened.
I don't feel comfortable helping botters. |
|
FizBloxxJoin Date: 2014-01-18 Post Count: 95 |
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) |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
Work work^
Thankfully |
|
|
same error. every script builder. can someone just rewrite a working one? or something? |
|
LacrymaJoin Date: 2010-02-15 Post Count: 22696 |
i dont like writing for skids |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
What even is a script kiddie? |
|
LacrymaJoin Date: 2010-02-15 Post Count: 22696 |
someone who uses other people's scripts/programs to look cool/show off to their friends.
examples: warspyking kevkev[numbers] |
|
smiley599Join Date: 2010-01-23 Post Count: 21869 |
oh I thought it was a kid who thought he was being cool using CE to "hack"
|
|
LacrymaJoin Date: 2010-02-15 Post Count: 22696 |
I guess you can call that a skid too. |
|