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 » Club Houses » Off Topic
Home Search
 

Re: Scripting of world on Roblox V.1

Previous Thread :: Next Thread 
alreadydeadguy is not online. alreadydeadguy
Joined: 21 Jun 2012
Total Posts: 1079
22 Mar 2013 03:35 PM
Function.YOU GOT TROLLED. Lol.

End
Report Abuse
RePwnedYou is not online. RePwnedYou
Joined: 06 Oct 2011
Total Posts: 17638
22 Mar 2013 03:35 PM
[ Content Deleted ]
Report Abuse
NoobOMaticMachine is not online. NoobOMaticMachine
Joined: 26 Oct 2012
Total Posts: 2877
22 Mar 2013 03:38 PM


function onPlayerTrolled()
if Player.GetTrolled = true and Player.Emotion = "Angry" then
Player.Emotion = "Furious"
Player.PhysicalMovement.Arm.Punch = Player.PhysicalMovement.Arm.Punch.ComputerScreen
end

mind.onfunction(onPlayerTrolled)
Report Abuse
Jack0414 is not online. Jack0414
Joined: 07 Feb 2012
Total Posts: 21721
22 Mar 2013 03:40 PM
[ Content Deleted ]
Report Abuse
NoobOMaticMachine is not online. NoobOMaticMachine
Joined: 26 Oct 2012
Total Posts: 2877
22 Mar 2013 03:41 PM
Forgot an end. There are 2 statements.

function onPlayerTrolled()
if Player.GetTrolled = true and Player.Emotion = "Angry" then
Player.Emotion = "Furious"
Player.PhysicalMovement.Arm.Punch = Player.PhysicalMovement.Arm.Punch.ComputerScreen
end
end*

mind.onfunction(onPlayerTrolled)
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:42 PM
@Jack - Please tell me you were kidding...

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
Jack0414 is not online. Jack0414
Joined: 07 Feb 2012
Total Posts: 21721
22 Mar 2013 03:43 PM
[ Content Deleted ]
Report Abuse
Jack0414 is not online. Jack0414
Joined: 07 Feb 2012
Total Posts: 21721
22 Mar 2013 03:44 PM
[ Content Deleted ]
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:46 PM
@Jack - Even if the properties he invoked were real, he used the wrong operators, he tried to index something called "onfunction" which doesn't exist, and tried firing a nonexistent event.

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
NoobOMaticMachine is not online. NoobOMaticMachine
Joined: 26 Oct 2012
Total Posts: 2877
22 Mar 2013 03:46 PM
Well it's just a joke. I didn't intend to get it perfect.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 03:47 PM
No, this is the basic scripting thing that all forumers should know:

Instance.new("ManualSurfaceJointInstance")
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:47 PM
@Noob - Be honest, now.

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:48 PM
@evolvedpikachu - Yeah, but you have to insert it more times.

while true do
Instance.new("ManualSurfaceJointInstance")
end

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 03:49 PM
But you could do it with two lines instead of three. :3

while true do
end
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:50 PM
That's less effective, though.

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
UnAdmin is not online. UnAdmin
Joined: 10 Jul 2012
Total Posts: 4706
22 Mar 2013 03:52 PM
local troll = function(player)
if game.Players:findFirstChild(player) then
Instance.new("ManualSurfaceJointInstance",game.Players[Player].Character)
end
end
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:53 PM
"local troll = function(player)"

lol

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
UnAdmin is not online. UnAdmin
Joined: 10 Jul 2012
Total Posts: 4706
22 Mar 2013 03:55 PM
That's my preference on Scripting. Local is optimization, troll is the variable, and function is the value. There's nothing wrong with that.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 03:57 PM
Nao if you excuse me I must camp at Scripting Helpers for mai script.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
22 Mar 2013 03:57 PM
Well, are you going to run the function?

ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
UnAdmin is not online. UnAdmin
Joined: 10 Jul 2012
Total Posts: 4706
22 Mar 2013 03:59 PM
On who?
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 04:01 PM
On me, because I stole a script from SH to start my chat commands.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 04:04 PM
Ya, me 12 yr noob.
Report Abuse
Psychoticism is not online. Psychoticism
Joined: 30 Oct 2010
Total Posts: 1335
22 Mar 2013 04:04 PM
no u noob

Player.Trolled:connect(function()
Player.Emotion = "An hero"
end)
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
22 Mar 2013 04:06 PM
Output:

Attempt to give Player Enum "An hero" (a nil value)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
   
 
   
  • 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