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: Script Isn't working!!!???

Previous Thread :: Next Thread 
gametastic100 is not online. gametastic100
Joined: 15 Jun 2011
Total Posts: 1286
06 Oct 2012 10:07 PM
function h(hit)
Approved = {"gametastic100"}, {"liljj6666"}
if hit.Parent.Name == "gametastic100" or hit.Parent.Name == "liljj6666" then
local g = game.Players:GetPlayerFromCharacter(hit.Parent)
local m = Instance.new("Message")
m.Parent = g.PlayerGui
m.Text = "" .. hit.Parent.Name .. "broke this place"
f = game.Wokspace:GetChildren()
for i = 1, #f do
if f[i]:IsA("Part") then
f[i].CFrame = CFramefromEulerAnglesXYZ(.9,.9,.9)
wait(2)
m:Destroy()
else
j = hit.Parent:findFirstChild("Humanoid")
if (j ~= nil) then
j.Health = 0
local a = game.Players:GetPlayerFromCharacter(hit.Parent)
local m = Instance.new("Message")
m.Parent = a.PlayerGui
m.Text = "Go AWAY!!"
wait(2)
m:Destroy()
end
end
end
end
end

script.Parent.Touched:connect(h)




NO OUTPUT EITHER.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:09 PM
Why do you have this
Approved = {"gametastic100"}, {"liljj6666"}
if you have this line below right after it?
if hit.Parent.Name == "gametastic100" or hit.Parent.Name == "liljj6666" then
Report Abuse
gametastic100 is not online. gametastic100
Joined: 15 Jun 2011
Total Posts: 1286
06 Oct 2012 10:10 PM
I needed to remember the usernames. I will remove it.
There are no errors though, so I am confused.
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:11 PM
I see a few
CFramefromEulerAnglesXYZ
should be
CFrame.fromEulerAnglesXYZ
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:12 PM
put two ends directly after this and take two away from the end
for i = 1, #f do
if f[i]:IsA("Part") then
f[i].CFrame = CFramefromEulerAnglesXYZ(.9,.9,.9)

try it and see if it works now
Report Abuse
gametastic100 is not online. gametastic100
Joined: 15 Jun 2011
Total Posts: 1286
06 Oct 2012 10:13 PM
What else?
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:15 PM
comment the approved line out using -- at the beginning of the line
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
06 Oct 2012 10:15 PM
No I'm not helping you, you called me an idiot

~xXTheRobotXx
Report Abuse
gametastic100 is not online. gametastic100
Joined: 15 Jun 2011
Total Posts: 1286
06 Oct 2012 10:17 PM
KK machination. You should have posted that in the right forum, just like everyone else does.

Go crawl back to OT.
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
06 Oct 2012 10:18 PM
It's just stupid that you called me an idiot because I posted in the wrong forum ONCE.

~xXTheRobotXx
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:20 PM
umadbro?
lol
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
06 Oct 2012 10:22 PM
"umadbro?
lol"

Who?

~xXTheRobotXx
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 10:23 PM

Gametastic < xXTheRobotXx
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
06 Oct 2012 10:25 PM
blackboy167thst > All.

I win!
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:27 PM
the guy wearing the "u mad bro?" shirt
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
06 Oct 2012 10:27 PM
No, I'm not mad bro.

Calm as a cucumber.

~xXTheRobotXx
Report Abuse
killjoy37 is not online. killjoy37
Joined: 27 Aug 2008
Total Posts: 2821
06 Oct 2012 10:30 PM
That's nice, just let the angers and frustrations of the day flow out of your mind, through your limbs, and escape through your fingers and toes...
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