BEART12Join Date: 2008-10-22 Post Count: 3190 |
Made on the spot Dont ask ok i felt like a noob to make this And well the Text Uhh Ummm LOL
function OnClicked()
Player = Parent.Parent.Parent.Parent.Parent.Parent
local Wrk = Instance.new("Message")
Wrk.Parent = Player
Wrk.Text = "OMG YOU PRESSED IT"
Player.Character.["Left leg"]:Remove()
wait(1)
Wrk.Text = "OMG MY LEG"
Player.Character.["Right arm"]:Remove()
Wrk.Text = " *Screams* MY LEG"
wait(1)
Player.Character.["Left arm"]:Remove()
Wrk.Text = "OMG MY OTHER ARM AHHHH"
wait(1)
Player.Character.["Right leg"]:Remove()
Wrk.Text = "Ohh Oh *Cryes*"
wait(1)
Player.Character.["Head"]:Remove()
Wrk.Text = "ROBLOX.You Have Been Killed By Me Muhahaha"
Wrk:Remove()
end
script.Parent.MouseButton1Click:connect(OnClicked) |
|
SpectrumwJoin Date: 2009-08-04 Post Count: 13510 |
Yes, it should work as long you used enough Parents. |
|
Legend26Join Date: 2008-09-08 Post Count: 10586 |
Use a Local script and do this:
Player = game.Players.LocalPlayer |
|
|
It won't. He said m.Parent = Parent.Parent
I don't think it'll work, but I've never tried that. |
|
BEART12Join Date: 2008-10-22 Post Count: 3190 |
Umm well i have this set up
StarterGui
+ScreenGui
-PlayerStats
--ResetPlayer
---Script |
|
SpectrumwJoin Date: 2009-08-04 Post Count: 13510 |
Nice eye waffle :3
function OnClicked()
Player = script.Parent.Parent.Parent.Parent.Parent.Parent
local Wrk = Instance.new("Message")
Wrk.Parent = Player
Wrk.Text = "OMG YOU PRESSED IT"
Player.Character.["Left leg"]:Remove()
wait(1)
Wrk.Text = "OMG MY LEG"
Player.Character.["Right arm"]:Remove()
Wrk.Text = " *Screams* MY LEG"
wait(1)
Player.Character.["Left arm"]:Remove()
Wrk.Text = "OMG MY OTHER ARM AHHHH"
wait(1)
Player.Character.["Right leg"]:Remove()
Wrk.Text = "Ohh Oh *Cryes*"
wait(1)
Player.Character.["Head"]:Remove()
Wrk.Text = "ROBLOX.You Have Been Killed By Me Muhahaha"
Wrk:Remove()
end
script.Parent.MouseButton1Click:connect(OnClicked) |
|
BEART12Join Date: 2008-10-22 Post Count: 3190 |
Eye waffle #) ROFL ill test |
|
|
OH LOOK! A SYNTAX ERROR!
function OnClicked()
Player = script.Parent.Parent.Parent.Parent.Parent.Parent
local Wrk = Instance.new("Message")
Wrk.Parent = Player
Wrk.Text = "OMG YOU PRESSED IT"
Player.Character["Left leg"]:Remove()
wait(1)
Wrk.Text = "OMG MY LEG"
Player.Character["Right arm"]:Remove()
Wrk.Text = " *Screams* MY ARM" --right arm ~= leg :D
wait(1)
Player.Character["Left arm"]:Remove()
Wrk.Text = "OMG MY OTHER ARM AHHHH"
wait(1)
Player.Character["Right leg"]:Remove()
Wrk.Text = "Ohh Oh *Cryes*"
wait(1)
Player.Character["Head"]:Remove()
Wrk.Text = "ROBLOX.You Have Been Killed By Me Muhahaha"
Wrk:Remove()
end
script.Parent.MouseButton1Click:connect(OnClicked) |
|
SpectrumwJoin Date: 2009-08-04 Post Count: 13510 |
NUH CRAZY U R' A SINTAX ERROR *Stabs*
GET OFF MAH LAWN |
|
BEART12Join Date: 2008-10-22 Post Count: 3190 |
Were? |
|
|
You don't put a '.' before brackets.
before:
something.["something"]:remove()
after:
something["something"]:remove()
:D |
|
BEART12Join Date: 2008-10-22 Post Count: 3190 |
Ohh i took a shot in the dark it was my first time using them
OUTPUT:Character is not a valid member of Players
is the output because im in EDIT test? |
|
|
You have too many Parents when you're trying to find the character/player/pancakes.
ROBLOX IS STUPID. |
|
BEART12Join Date: 2008-10-22 Post Count: 3190 |
i wish you could just do Player = P.Workspace or something like that so it knows were to look staright away =P |
|