Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 19 Jan 2014 03:35 AM |
I'm assuming not, I've yet to learn onChatted functionalities.. This is just a personal little admin filled with onTouched sequences. Revision is more than likely needed I'm guessing. Please do so?
function onChatted(msg,recipient,speaker) msg = string.lower(msg)
if msg == "Eat Mode" then function hit(p) h = Instance.new("Hint", game.Workspace) if p:IsA("BasePart") then h.Text = "Mmmm.. " .. p.Name .. " was so nummy in Goulstem's tummy :3" p.Transparency = .1 wait(.15) p.Transparency = .2 wait(.15) p.Transparency = .3 wait(.15) p.Transparency = .4 wait(.15) p.Transparency = .5 wait(.15) p.Transparency = .6 wait(.15) p.Transparency = .7 wait(.15) p.Transparency = .8 wait(.15) p.Transparency = .9 wait(.15) p.Transparency = 1 wait(.15) wait(.1) p:Destroy() h:Destroy() game.Workspace.Goulstem.Torso.Touched:connect(hit) game.Workspace.Goulstem.Head.Touched:connect(hit)
elseif msg == "Kick Mode" then function onTouched() g = game.Workspace.Goulstem.Torso p = p.Parent.Parent.Parent if g:FindFirstChild("Humanoid") ~= nil then p:Destroy() game.Workspace.Goulstem.Torso.Touched:connect(onTouched)
elseif msg == "Fling Mode" then g = game.Workspace.Goulstem.Torso p = p.Parent.Parent.Parent if g:FindFirstChild("Humanoid") ~= nil then v = Instance.new("Velocity", p.Character.Torso) v = Vector3.new(200,200,0) game.Workspace.Goulstem.Torso.Touched:connect(onTouched)
elseif msg == "Kill Mode" then g = game.Workspace.Goulstem.Torso p = p.Parent.Parent.Parent if g:FindFirstChild("Humanoid") ~= nil then p:BreakJoints() game.Workspace.Goulstem.Torso.Touched:connect(onTouched)
elseif msg == "Freeze Mode" then g = game.Workspace.Goulstem.Torso p = p.Parent.Parent.Parent if g:FindFirstChild("Humanoid") ~= nil then p.Character.Torso.Anchored = true game.Workspace.Goulstem.Torso.Touched:connect(onTouched)
elseif msg == "Fire Mode" then g = game.Workspace.Goulstem.Torso p = p.Parent.Parent.Parent if g:FindFirstChild("Humanoid") ~= nil then f = Instance.new("Fire", p.Character.Torso) f.Size = 99 f.Color = Color3.new("Really Black") game.Workspace.Goulstem.Torso.Touched:connect(onTouched)
elseif msg == "Commands" then h = Instance.new("Hint", game.Workspace) h.Text = "Eat Mode" wait(1) h.Text = "Kick Mode" wait(1) h.Text = "Fling Mode" h.Text = "Kill Mode" wait(1) h.Text = "Freeze Mode" wait(1) h.Text = "Fire Mode" wait(1) h:Destroy() end end end end end end end end end end
game.Players.Goulstem.Chatted:connect(onChatted)
|
|
|
| Report Abuse |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |