|
| 22 Mar 2013 03:35 PM |
Function.YOU GOT TROLLED. Lol.
End |
|
|
| Report Abuse |
|
|
| |
|
|
| 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
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 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 |
|
|
|
| 22 Mar 2013 03:46 PM |
| Well it's just a joke. I didn't intend to get it perfect. |
|
|
| Report Abuse |
|
|
|
| 22 Mar 2013 03:47 PM |
No, this is the basic scripting thing that all forumers should know:
Instance.new("ManualSurfaceJointInstance") |
|
|
| Report Abuse |
|
|
|
| 22 Mar 2013 03:47 PM |
@Noob - Be honest, now.
ElectricBlaze • Programmer • Wiki Writer | http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 22 Mar 2013 03:49 PM |
But you could do it with two lines instead of three. :3
while true do end |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 22 Mar 2013 03:57 PM |
| Nao if you excuse me I must camp at Scripting Helpers for mai script. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
| |
|
|
| 22 Mar 2013 04:01 PM |
| On me, because I stole a script from SH to start my chat commands. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Mar 2013 04:04 PM |
no u noob
Player.Trolled:connect(function() Player.Emotion = "An hero" end) |
|
|
| Report Abuse |
|
|
|
| 22 Mar 2013 04:06 PM |
Output:
Attempt to give Player Enum "An hero" (a nil value) |
|
|
| Report Abuse |
|
|