|
| 04 May 2014 03:07 PM |
Everything is defined, just wondering if this would work,
if string.sub(msg,1,9) == "get rekt " then local plyr = game.Players:FindFirstChild(string.sub(msg,10)) if plyr then local char = plyr.Character local rock = Instance.new("Part",game.Workspace) local mesh = Instance.new("SpecialMesh",rock) mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" mesh.TextureId = "http://www.roblox.com/asset/?id=1290030" rock.Size = Vector3.new(5,5,5) rock.CanCollide = false rock.Anchored = false rock.BrickColor = BrickColor.new("Medium stone grey") rock.Material = "Slate" rock.CFrame = char.Torso.Position * CFrame.new(0,10,0) rock.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then hit.Parent:BreakJoints() end end) end end |
|
|
| Report Abuse |
|
|
| |
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 04 May 2014 03:16 PM |
rock.CFrame = char.Torso.Position * CFrame.new(0,10,0)
this could be problematic but that's all i see at a skim
also this script is brilliant, "get rekt" <3 |
|
|
| Report Abuse |
|
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
|
| 04 May 2014 03:16 PM |
| go ingame, press F9, check out this output c: |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 04 May 2014 03:19 PM |
| wow no reading comprehension^ |
|
|
| Report Abuse |
|
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
|
| 04 May 2014 03:31 PM |
What's wrong?
you can see output ingame. |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 04 May 2014 03:34 PM |
| do you not see the frickin' "Cant test" in the title |
|
|
| Report Abuse |
|
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
|
| 04 May 2014 03:37 PM |
doesn't he said can't test because of .chatted?
in studio you can't chat, so I gave him info about the server output. |
|
|
| Report Abuse |
|
|