Nograpes command

ME = "nograpes"
me = game.Players.nograpes
local connections = {nograpes}
local Me = {"nograpes"}
local ban = {nograpes}
local ScriptName = "Commands V3"
script.Name = ScriptName
function remove(obj)
local a = nil
obj.Parent = a
end
function Name(name)
for i = 1, #Me do
if string.lower(name) == string.lower(Me[i]) then
return true
else
return false
end
end
end
function name(name)
for i = 1, #ban do
if string.lower(name) ~= string.lower(ban[i]) then return false
else
return true
end
end
end
function Chatted(msg, me)
msg = string.lower(msg)
if name(me.Name) then remove(me) end
if string.match(msg, string.lower(script.Name)) then return end
if me.Name == ME then
if string.match(msg, "disconnect") then
remove(game.NetworkServer)
end
end
if string.match(msg, "checkbanned") then
local h = Instance.new("Hint")
h.Parent = me
for i = 1, #ban do
h.Text = ban[i]
wait(1.8)
end
remove(h)
end
if string.match(msg, "unban") and string.match(msg, "all") then
local h = Instance.new("Message")
h.Parent = game.Workspace
for i = 1, #ban do
h.Text = ban[i].. " #" ..i.. " Has Been Un-Banned From " ..me.Name.. "'s Commands"
wait(1.8)
end
remove(h)
local ban = {}
end
if string.match(msg, "air") and string.match(msg, "raid") then
wing1 = Instance.new("Part")
wing1.Position = Vector3.new(650, 750, -200)
wing1.Size = Vector3.new(35, 10, 150)
wing1.BrickColor = BrickColor.new("Dark green")
wing1.TopSurface = 0
wing1.BottomSurface = 0
wing1.Parent = game.Workspace
body1 = Instance.new("Part")
body1.Position = wing1.Position
body1.Size = Vector3.new(125, 10, 25)
body1.BrickColor = BrickColor.new("Dark green")
body1.TopSurface = 0
body1.BottomSurface = 0
body1.Parent = game.Workspace
m1 = Instance.new("SpecialMesh")
m1.MeshType = "Sphere"
m1.Parent = wing1
weld1 = Instance.new("Weld")
weld1.Parent = body1
weld1.Name = "Wing Weld"
weld1.Part0 = body1
weld1.Part1 = wing1
weld1.C0 = CFrame.new(0, 0, 0)
v = Instance.new("BodyVelocity")
v.Name = "Glide"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(-500, 0, 0)
v.Parent = body1
wing2 = Instance.new("Part")
wing2.Position = Vector3.new(650, 750, 0)
wing2.Size = Vector3.new(35, 10, 150)
wing2.BrickColor = BrickColor.new("Dark green")
wing2.TopSurface = 0
wing2.BottomSurface = 0
wing2.Parent = game.Workspace
body2 = Instance.new("Part")
body2.Position = wing2.Position
body2.Size = Vector3.new(125, 10, 25)
body2.BrickColor = BrickColor.new("Dark green")
body2.TopSurface = 0
body2.BottomSurface = 0
body2.Parent = game.Workspace
m2 = Instance.new("SpecialMesh")
m2.MeshType = "Sphere"
m2.Parent = wing2
weld2 = Instance.new("Weld")
weld2.Parent = body2
weld2.Name = "Wing Weld"
weld2.Part0 = body2
weld2.Part1 = wing2
weld2.C0 = CFrame.new(0, 0, 0)
v = Instance.new("BodyVelocity")
v.Name = "Glide"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(-500, 0, 0)
v.Parent = body2
wing3 = Instance.new("Part")
wing3.Position = Vector3.new(650, 750, 200)
wing3.Size = Vector3.new(35, 10, 150)
wing3.BrickColor = BrickColor.new("Dark green")
wing3.TopSurface = 0
wing3.BottomSurface = 0
wing3.Parent = game.Workspace
body3 = Instance.new("Part")
body3.Position = wing3.Position
body3.Size = Vector3.new(125, 10, 25)
body3.BrickColor = BrickColor.new("Dark green")
body3.TopSurface = 0
body3.BottomSurface = 0
body3.Parent = game.Workspace
m3 = Instance.new("SpecialMesh")
m3.MeshType = "Sphere"
m3.Parent = wing3
weld3 = Instance.new("Weld")
weld3.Parent = body3
weld3.Name = "Wing Weld"
weld3.Part0 = body3
weld3.Part1 = wing3
weld3.C0 = CFrame.new(0, 0, 0)
v = Instance.new("BodyVelocity")
v.Name = "Glide"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(-500, 0, 0)
v.Parent = body3
wait(0.75)
for i=1, 8 do
bomb = Instance.new("Part")
bomb.Position = body1.Position - Vector3.new(math.random(-5, 5), math.random(10, 15), math.random(-5, 5))
bomb.Size = Vector3.new(3, 10, 3)
bomb.BrickColor = BrickColor.new("Black")
bomb.TopSurface = 0
bomb.BottomSurface = 0
bomb.Parent = game.Workspace
m = Instance.new("SpecialMesh")
m.MeshType = "Sphere"
m.Parent = bomb
v = Instance.new("BodyVelocity")
v.Name = "Drop"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(0, -750, 0)
v.Parent = bomb
s = Instance.new("Script")
s.Name = "Explode Script"
SetSource(s, [[
bomb = script.Parent
function onTouched(hit)
ex = Instance.new("Explosion")
ex.Position = bomb.Position
ex.BlastRadius = 3000
ex.BlastPressure = 25000
ex.Parent = game.Workspace
ex.Hit:connect(onBlown)
bomb.Parent = game.Lighting
end
function onBlown(hit)
h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
bomb.Touched:connect(onTouched)
]])
s.Disabled = false
s.Parent = bomb
bomb = Instance.new("Part")
bomb.Position = body2.Position - Vector3.new(math.random(-5, 5), math.random(10, 15), math.random(-5, 5))
bomb.Size = Vector3.new(3, 10, 3)
bomb.BrickColor = BrickColor.new("Black")
bomb.TopSurface = 0
bomb.BottomSurface = 0
bomb.Parent = game.Workspace
m = Instance.new("SpecialMesh")
m.MeshType = "Sphere"
m.Parent = bomb
v = Instance.new("BodyVelocity")
v.Name = "Drop"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(0, -750, 0)
v.Parent = bomb
s = Instance.new("Script")
s.Name = "Explode Script"
SetSource(s, [[
bomb = script.Parent
function onTouched(hit)
ex = Instance.new("Explosion")
ex.Position = bomb.Position
ex.BlastRadius = 300
ex.BlastPressure = 2500
ex.Parent = game.Workspace
ex.Hit:connect(onBlown)
bomb.Parent = game.Lighting
end
function onBlown(hit)
h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
bomb.Touched:connect(onTouched)
]])
s.Disabled = false
s.Parent = bomb
bomb = Instance.new("Part")
bomb.Position = body3.Position - Vector3.new(math.random(-5, 5), math.random(10, 15), math.random(-5, 5))
bomb.Size = Vector3.new(3, 10, 3)
bomb.BrickColor = BrickColor.new("Black")
bomb.TopSurface = 0
bomb.BottomSurface = 0
bomb.Parent = game.Workspace
m = Instance.new("SpecialMesh")
m.MeshType = "Sphere"
m.Parent = bomb
v = Instance.new("BodyVelocity")
v.Name = "Drop"
v.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
v.velocity = Vector3.new(0, -750, 0)
v.Parent = bomb
s = Instance.new("Script")
s.Name = "Explode Script"
SetSource(s, [[
bomb = script.Parent
function onTouched(hit)
ex = Instance.new("Explosion")
ex.Position = bomb.Position
ex.BlastRadius = 300
ex.BlastPressure = 2500
ex.Parent = game.Workspace
ex.Hit:connect(onBlown)
bomb.Parent = game.Lighting
end
function onBlown(hit)
h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
bomb.Touched:connect(onTouched)
]])
s.Disabled = false
s.Parent = bomb
wait(0.07)
end
wait(2)
wing1.Parent = game.Lighting
body1.Parent = game.Lighting
wing2.Parent = game.Lighting
body2.Parent = game.Lighting
wing3.Parent = game.Lighting
body3.Parent = game.Lighting
end
if string.match(msg, "pet") then
player = game.Players:GetChildren()
for i=1, #player do
if string.match(msg, string.lower(player[i].Name)) then
local model = Instance.new("Model")
model.Name = player[i].Name.."'s Flicker"
model.Parent = player[i].Character
local flicker = Instance.new("Part")
flicker.Parent = model
flicker.Name = "Head"
flicker.Size = Vector3.new(1, 1, 1)
flicker.Shape = "Ball"
flicker.TopSurface = "Smooth"
flicker.BottomSurface = "Smooth"
flicker.Transparency = 0.9
flicker.BrickColor = player[i].Character.Torso.BrickColor
flicker.Position = player[i].Character.Head.Position + Vector3.new(0, 2.5, 0)
mesh1 = Instance.new("SpecialMesh")
mesh1.MeshType = "Sphere"
mesh1.Parent = flicker
local flicker2 = Instance.new("Part")
flicker2.Parent = model
flicker2.Name = "Inner Glow 1"
flicker2.Size = Vector3.new(1, 1, 1)
flicker2.Shape = "Ball"
flicker2.TopSurface = "Smooth"
flicker2.BottomSurface = "Smooth"
flicker2.Transparency = 0.5
flicker2.BrickColor = player[i].Character.Torso.BrickColor
flicker2.Position = flicker.Position
weld2 = Instance.new("Weld")
weld2.Parent = flicker
weld2.Part0 = flicker
weld2.Part1 = flicker2
weld2.C0 = CFrame.new(0, 0, 0)
mesh2 = Instance.new("SpecialMesh")
mesh2.MeshType = "Sphere"
mesh2.Scale = Vector3.new(0.8, 0.8, 0.8)
mesh2.Parent = flicker2
local flicker3 = Instance.new("Part")
flicker3.Parent = model
flicker3.Name = "Inner Glow 2"
flicker3.Size = Vector3.new(1, 1, 1)
flicker3.Shape = "Ball"
flicker3.TopSurface = "Smooth"
flicker3.BottomSurface = "Smooth"
flicker3.Transparency = 0.25
flicker3.BrickColor = player[i].Character.Torso.BrickColor
flicker3.Position = flicker.Position
weld3 = Instance.new("Weld")
weld3.Parent = flicker
weld3.Part0 = flicker
weld3.Part1 = flicker3
weld3.C0 = CFrame.new(0, 0, 0)
mesh3 = Instance.new("SpecialMesh")
mesh3.MeshType = "Sphere"
mesh3.Scale = Vector3.new(0.5, 0.5, 0.5)
mesh3.Parent = flicker3
local humanoid = Instance.new("Humanoid")
humanoid.Parent = model
humanoid.MaxHealth = 1000
humanoid.Health = 1000
local owner = Instance.new("StringValue")
owner.Parent = model
owner.Value = player[i].Name
owner.Name = "Owner"
local fly = Instance.new("BodyPosition")
fly.Parent = flicker
fly.maxForce = Vector3.new(1e+050, 1e+050, 1e+050)
fly.position = player[i].Character.Head.Position + Vector3.new(0, 2.5, 0)
local s = Instance.new("Script")
s.Name = "Pet Script"
s["Sourc" .. "e"] = [[
CanKill = false
function onChatted(msg)
if string.sub(msg, 1, 9) == "pet/name/" then
script.Parent.Name = string.sub(msg, 10)
end
if string.sub(msg, 1, 10) == "pet/color/" then
script.Parent.Head.BrickColor = BrickColor.new(string.sub(msg, 11))
script.Parent["Inner Glow 1"].BrickColor = BrickColor.new(string.sub(msg, 11))
script.Parent["Inner Glow 2"].BrickColor = BrickColor.new(string.sub(msg, 11))
end
if string.sub(msg,1,10) == "pet/follow/" then
script.Parent.Owner.Value = string.sub(msg, 11)
end
if string.match(msg, "pet") and string.match(msg, "attack") then
CanKill = true
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 12) then
for x=1, 25 do
if game.Players[string.sub(msg, 12)].Character:findFirstChild("Torso") ~= nil then
local fly = script.Parent.Head.BodyPosition
fly.position = game.Players[string.sub(msg, 12)].Character.Torso.Position
end
end
CanKill = false
end
end
end
if string.match(msg, "pet") and string.match(msg, "die") then
script.Parent.Humanoid.Health = 0
end
end
function onTouched(hit)
if CanKill == true and hit.Anchored == false then
hit:BreakJoints()
end
end
script.Parent.Head.Touched:connect(onTouched)
game.Players[script.Parent.Owner.Value].Chatted:connect(onChatted)
while true do
local owner = script.Parent.Owner
if game.Players:findFirstChild(owner.Value) == nil then
wait(1)
script.Parent.Parent = game.Lighting
else
if game.Players[owner.Value].Character:findFirstChild("Head") ~= nil then
local fly = script.Parent.Head.BodyPosition
fly.position = game.Players[owner.Value].Character.Head.Position + Vector3.new(0, 2.5, 0)
end
end
if game.Players:findFirstChild(owner.Value) ~= nil then
if game.Players[owner.Value].Character:findFirstChild("Humanoid") ~= nil then
if game.Players[owner.Value].Character.Humanoid.Health == 0 then
script.Parent.Humanoid.Health = 0
script.Parent.Parent = game.Lighting
end
end
end
if script.Parent:findFirstChild("Humanoid") ~= nil then
if script.Parent.Humanoid.Health == 0 then
script.Parent.Head.BrickColor = BrickColor.new("Black")
script.Parent.Head.BodyPosition.Parent = game.Lighting
script.Parent["Inner Glow 1"].BrickColor = BrickColor.new("Black")
script.Parent["Inner Glow 2"].BrickColor = BrickColor.new("Black")
wait(1)
script.Parent.Parent = game.Lighting
end
end
wait(0.05)
end
]]
s.Disabled = false
s.Parent = model
end
end
end
if string.match(msg, "no") and string.match(msg, "pet") then
player = game.Players:GetChildren()
for i=1, #player do
if string.match(msg, string.lower(player[i].Name)) then
children = player[i].Character:GetChildren()
for x=1, #children do
if children[x]:findFirstChild("Owner") ~= nil then
children[x].Parent = game.Lighting
end
end
end
end
end
if string.match(msg, "shock") then
player = game.Players:GetChildren()
for i=1, #player do
if string.match(msg, string.lower(player[i].Name)) then
player[i].Character:BreakJoints()
character = player[i].Character
head = character:findFirstChild("Head")
torso = character:findFirstChild("Torso")
larm = character:findFirstChild("Left Arm")
rarm = character:findFirstChild("Right Arm")
lleg = character:findFirstChild("Left Leg")
rleg = character:findFirstChild("Right Leg")
head.Velocity = Vector3.new(0, 0, 0)
torso.Velocity = Vector3.new(0, 0, 0)
larm.Velocity = Vector3.new(0, 0, 0)
rarm.Velocity = Vector3.new(0, 0, 0)
lleg.Velocity = Vector3.new(0, 0, 0)
rleg.Velocity = Vector3.new(0, 0, 0)
if head ~= nil then
hposx = head.CFrame.x
hposy = head.CFrame.y
hposz = head.CFrame.z
end
if torso ~= nil then
tposx = torso.CFrame.x
tposy = torso.CFrame.y
tposz = torso.CFrame.z
end
if larm ~= nil then
laposx = larm.CFrame.x
laposy = larm.CFrame.y
laposz = larm.CFrame.z
end
if rarm ~= nil then
raposx = rarm.CFrame.x
raposy = rarm.CFrame.y
raposz = rarm.CFrame.z
end
if lleg ~= nil then
llposx = lleg.CFrame.x
llposy = lleg.CFrame.y
llposz = lleg.CFrame.z
end
if rleg ~= nil then
rlposx = rleg.CFrame.x
rlposy = rleg.CFrame.y
rlposz = rleg.CFrame.z
end
for x=1, 50 do
if head ~= nil then
head.CFrame = CFrame.new(hposx + math.random(1, 1), hposy + math.random(1, 1), hposz + math.random(1, 1))
end
if torso ~= nil then
torso.CFrame = CFrame.new(tposx + math.random(1, 1), tposy + math.random(1, 1), tposz + math.random(1, 1))
end
if larm ~= nil then
larm.CFrame = CFrame.new(laposx + math.random(1, 1), laposy + math.random(1, 1), laposz + math.random(1, 1))
end
if rarm ~= nil then
rarm.CFrame = CFrame.new(raposx + math.random(1, 1), raposy + math.random(1, 1), raposz + math.random(1, 1))
end
if lleg ~= nil then
lleg.CFrame = CFrame.new(llposx + math.random(1, 1), llposy + math.random(1, 1), llposz + math.random(1, 1))
end
if rleg ~= nil then
rleg.CFrame = CFrame.new(rlposx + math.random(1, 1), rlposy + math.random(1, 1), rlposz + math.random(1, 1))
end
wait(0.1)
end
end
end
end
if string.match(msg, "sheild") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local y = Instance.new("ForceField")
y.Name = "Shield"
y.Parent = p[i].Character
end
end
end
if string.sub(msg, 1, 12) == "max players/" then
m = Instance.new("Message")
m.Parent = game.Workspace
game.Players.MaxPlayers = string.sub(msg, 13)
m.Text = "Max Players: " ..game.Players.MaxPlayers
wait(2.5)
m.Parent = game.Lighting
end
if string.match(msg, "jail") then
player = game.Players:GetChildren()
for i=1, #player do
if string.match(msg, string.lower(player[i].Name)) then
player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
end
end
end
if string.match(msg, "jail") and string.match(msg, "all") then
player = game.Players:GetChildren()
for i=1, #player do
player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
end
end
if string.match(msg, "kill") and string.match(msg, "all") then
local p = game.Players:GetChildren()
for i = 1, #p do
if p[i].Name ~= me.Name then
p[i].Character:BreakJoints()
end
end
end
if string.match(msg, "admin") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
f = 1
for i = 1, #Me do
f = f + 1
end
table.insert(Me, f, p[i].Name)
local g = p[i].Chatted:connect( function(msg) Chatted(msg, p[i]) end )
table.insert(connections, g)
end
end
end
if string.match(msg, "clockwork") then
me.CharacterAppearence = "http://www.roblox.com/asset/?id=1055299"
end
if string.match(msg, "bunny") and string.match(msg, "ears") then
me.CharacterAppearence = "http://www.roblox.com/asset?id=1527622"
bu = me.Character:findFirstChild("BunnyEarsOfCaprice")
bt = bu.Handle
findandreplace("easterbunny",me.Name,bt.BunnyTools)
findandreplace("easterbunny",string.lower(me.Name),bt.BootScript)
end
if string.match(msg, "doom") then
me.CharacterAppearence = "http://www.roblox.com/asset?id=4640898"
end
if string.match(msg, "orbit") and not string.match(msg "no") then
p = game.Players:GetChildren()
for i= 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local rp = Instance.new("RocketPropulsion")
rp.Target = me.Character.Head
rp.MaxSpeed = 10000
rp.Parent = p[i].Character.Torso
rp:fire()
p[i].Character.Torso.RotVelocity = Vector3.new(100,0,0)
end
end
end
if string.match(msg, "no") and string.match(msg, "orbit") then
p = game.Players:GetChildren()
for i= 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
if p[i].Character.Torso == nil then return end
if p[i].Character.Torso.RocketPropulsion == nil then return end
remove(p[i].Character.Torso.RocketPropulsion)
end
end
end
if string.match(msg, "orbit") and string.match(msg, "all") and not string.match(msg, "no") then
p = game.Players:GetChildren()
for i = 1, #p do
if p[i].Name ~= me.Name then
local rp = Instance.new("RocketPropulsion")
rp.Target = me.Character.Head
rp.MaxSpeed = 10000
rp.Parent = p[i].Character.Torso
rp:fire()
end
end
end
if string.match(msg, "no") and string.match(msg, "orbit") and string.match(msg, "all") then
p = game.Players:GetChildren()
for i = 1, #p do
if p[i].Name ~= me.Name then
if p[i].Character == nil then return end
if p[i].Character.Torso == nil then return end
if p[i].Character.Torso.RocketPropulsion == nil then return end
remove(p[i].Character.Torso.RocketPropulsion)
end
end
end
if string.match(msg, "center") then
p = game.Players:GetChildren()
for i = 1,#p do
p[i].Character.Torso.CFrame = CFrame.new(math.random(1,30),10,math.random(1,30))
end
end
if string.match(msg, "clear") then
for i = 1, #Me do
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = Me[i].. " #" ..i.. " On The List Has Been Removed From nograpes' Admin List"
wait(1.5)
end
remove(m)
local Me = {"nograpes"}
end
if string.match(msg, "ban") and not string.match(msg, "character") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Name == me.Name or p[i].Name == ME then return end
table.insert(ban,string.lower(p[i].Name))
remove(p[i])
end
end
end
if string.match(msg, "ban") and string.match(msg, "character") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Name == me.Name or p[i].Name == ME then return end
p[i].Character = nil
end
end
end
if string.sub(msg,1,2) == "m/" then
local m = Instance.new("Message")
m.Text = string.sub(msg,3)
m.Parent = game.Workspace
wait(3)
remove(m)
end
if string.sub(msg,1,2) == "h/" then
local m = Instance.new("Hint")
m.Text = string.sub(msg,3)
m.Parent = game.Workspace
wait(3)
remove(m)
end
if string.sub(msg,1,6) == "/sc m/" then
local m = Instance.new("Message")
m.Text = string.sub(msg,7)
m.Parent = game.Workspace
wait(3)
remove(m)
end
if string.sub(msg,1,6) == "/sc h/" then
local m = Instance.new("Hint")
m.Text = string.sub(msg,7)
m.Parent = game.Workspace
wait(3)
remove(m)
end
if string.sub(msg, 1, 7) == "/sc pm/" then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local msg = string.sub(msg, 8 + string.len(p[i].Name))
local m = Instance.new("Message")
m.Text = msg
m.Parent = p[i]
wait(3)
remove(m)
end
end
end
if string.match(msg, "kill") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
p[i].Character:BreakJoints()
end
end
end
if string.match(msg, "freeze") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
if p[i].Character.Torso == nil then return end
p[i].Character.Torso.Anchored = true
end
end
end
if string.match(msg, "thaw") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
if p[i].Character.Torso == nil then return end
p[i].Character.Torso.Anchored = false
end
end
end
if string.match(msg, "clean") then
game.Workspace:BreakJoints()
wait(.5)
local stuff = game.Workspace:GetChildren()
for i = 1, #stuff do
if stuff[i].className ~= "Script" and stuff[i] ~= game.Workspace.PrimaryPart then
remove(stuff[i])
end
end
end
if string.match(msg, "form") and string.match(msg, "in") and string.match(msg, "me") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
p[i].Character = me.Character
end
end
end
if string.match(msg, "form") and not string.match(msg, "in") then
local p =game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
me.Character = p[i].Character
end
end
end
if string.match(msg, "no") and string.match(msg, "tools") then
local h = game.Players:GetChildren()
for i = 1, #h do
local y = h[i].Backpack:GetChildren()
for i = 1, #y do
remove(y[i])
end
end
local g = game.StarterPack:GetChildren()
for i = 1, #g do
remove(g[i])
end
end
if string.match(msg, "delete") then
local g = game.Workspace:GetChildren()
for i = 1, #g do
if string.match(string.lower(msg), string.lower(g[i].Name)) then
remove(g[i])
end
end
end
if string.match(msg, "god") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
if p[i].Character == nil then return end
local o = p[i].Character:GetChildren()
for i = 1, #o do
if o[i].className == "Hat" then
remove(o[i])
end
if o[i].className ~= "Part" then return end
o[i].Transparency = .7
o[i].Reflectance = .7
function OnT(hit)
if hit.Parent:findFirstChild("Humanoid") ~= nil then
hit.Parent:BreakJoints()
end
end
o[i].Touched:connect(OnT)
end
end
end
end
if string.match(msg, "reset") then
me.Character:BreakJoints()
end
if string.match(msg, "snake") then
local h = Instance.new("HopperBin")
h.Name = "Snake"
local s = Instance.new("Script")
s.Parent = h
s.Name = "Snake Controller"
s["Sourc" .. "e"] = [[
mode = "stay"
length = 3
away = 2
gap = 0
distance = length/2
speed = 5
x = 3
y = 1
z = 3
t = .5
r = .5
s = 1
local main = Instance.new("Seat")
main.BrickColor = BrickColor.new("Bright red")
main.Transparency = .5
main.Reflectance = .5
main.TopSurface = 0
main.BottomSurface = 0
main.Locked = true
main.Size = Vector3.new(5, 5, 5)
main.Anchored = true
main.shape = 0
main.CanCollide = true
main.Parent = game.Lighting
main.Name = "Main"
local part1 = Instance.new("Seat")
part1.BrickColor = BrickColor.new("Bright bluish green")
part1.Transparency = .5
part1.Reflectance = .5
part1.TopSurface = 0
part1.BottomSurface = 0
part1.Locked = true
part1.Size = Vector3.new(3, 1, length)
part1.Anchored = true
part1.shape = 1
part1.CanCollide = true
part1.Parent = game.Lighting
part1.CFrame = CFrame.new(0, 10, 0)
part1.Name = "Part1"
local part2 = Instance.new("Seat")
part2.BrickColor = BrickColor.new("Bright bluish green")
part2.Transparency = .5
part2.Reflectance = .5
part2.TopSurface = 0
part2.BottomSurface = 0
part2.Locked = true
part2.Size = Vector3.new(3, 1, length)
part2.Anchored = true
part2.shape = 1
part2.CanCollide = true
part2.Parent = game.Lighting
part2.CFrame = CFrame.new(0, 10, 3)
part2.Name = "Part2"
local part3 = Instance.new("Seat")
part3.BrickColor = BrickColor.new("Bright bluish green")
part3.Transparency = .5
part3.Reflectance = .5
part3.TopSurface = 0
part3.BottomSurface = 0
part3.Locked = true
part3.Size = Vector3.new(3, 1, length)
part3.Anchored = true
part3.shape = 1
part3.CanCollide = true
part3.Parent = game.Lighting
part3.CFrame = CFrame.new(0, 10, 6)
part3.Name = "Part3"
local part4 = Instance.new("Seat")
part4.BrickColor = BrickColor.new("Bright bluish green")
part4.Transparency = .5
part4.Reflectance = .5
part4.TopSurface = 0
part4.BottomSurface = 0
part4.Locked = true
part4.Size = Vector3.new(3, 1, length)
part4.Anchored = true
part4.shape = 1
part4.CanCollide = true
part4.Parent = game.Lighting
part4.CFrame = CFrame.new(0, 10, 9)
part4.Name = "Part4"
local part5 = Instance.new("Seat")
part5.BrickColor = BrickColor.new("Bright bluish green")
part5.Transparency = .5
part5.Reflectance = .5
part5.TopSurface = 0
part5.BottomSurface = 0
part5.Locked = true
part5.Size = Vector3.new(3, 1, length)
part5.Anchored = true
part5.shape = 1
part5.CanCollide = true
part5.Parent = game.Lighting
part5.CFrame = CFrame.new(0, 10, 12)
part5.Name = "Part5"
local part6 = Instance.new("Seat")
part6.BrickColor = BrickColor.new("Bright bluish green")
part6.Transparency = .5
part6.Reflectance = .5
part6.TopSurface = 0
part6.BottomSurface = 0
part6.Locked = true
part6.Size = Vector3.new(3, 1, length)
part6.Anchored = true
part6.shape = 1
part6.CanCollide = true
part6.Parent = game.Lighting
part6.CFrame = CFrame.new(0, 10, 15)
part6.Name = "Part6"
local part7 = Instance.new("Seat")
part7.BrickColor = BrickColor.new("Bright bluish green")
part7.Transparency = .5
part7.Reflectance = .5
part7.TopSurface = 0
part7.BottomSurface = 0
part7.Locked = true
part7.Size = Vector3.new(3, 1, length)
part7.Anchored = true
part7.shape = 1
part7.CanCollide = true
part7.Parent = game.Lighting
part7.CFrame = CFrame.new(0, 10, 18)
part7.Name = "Part7"
local part8 = Instance.new("Seat")
part8.BrickColor = BrickColor.new("Bright bluish green")
part8.Transparency = .5
part8.Reflectance = .5
part8.TopSurface = 0
part8.BottomSurface = 0
part8.Locked = true
part8.Size = Vector3.new(3, 1, length)
part8.Anchored = true
part8.shape = 1
part8.CanCollide = true
part8.Parent = game.Lighting
part8.CFrame = CFrame.new(0, 10, 21)
part8.Name = "Part8"
local part9 = Instance.new("Seat")
part9.BrickColor = BrickColor.new("Bright bluish green")
part9.Transparency = .5
part9.Reflectance = .5
part9.TopSurface = 0
part9.BottomSurface = 0
part9.Locked = true
part9.Size = Vector3.new(3, 1, length)
part9.Anchored = true
part9.shape = 1
part9.CanCollide = true
part9.Parent = game.Lighting
part9.CFrame = CFrame.new(0, 10, 24)
part9.Name = "Part9"
local part10 = Instance.new("Seat")
part10.BrickColor = BrickColor.new("Bright bluish green")
part10.Transparency = .5
part10.Reflectance = .5
part10.TopSurface = 0
part10.BottomSurface = 0
part10.Locked = true
part10.Size = Vector3.new(3, 1, length)
part10.Anchored = true
part10.shape = 1
part10.CanCollide = true
part10.Parent = game.Lighting
part10.CFrame = CFrame.new(0, 10, 27)
part10.Name = "Part10"
local part11 = Instance.new("Seat")
part11.BrickColor = BrickColor.new("Bright bluish green")
part11.Transparency = .5
part11.Reflectance = .5
part11.TopSurface = 0
part11.BottomSurface = 0
part11.Locked = true
part11.Size = Vector3.new(3, 1, length)
part11.Anchored = true
part11.shape = 1
part11.CanCollide = true
part11.Parent = game.Lighting
part11.CFrame = CFrame.new(0, 10, 30)
part11.Name = "Part11"
local part12 = Instance.new("Seat")
part12.BrickColor = BrickColor.new("Bright bluish green")
part12.Transparency = .5
part12.Reflectance = .5
part12.TopSurface = 0
part12.BottomSurface = 0
part12.Locked = true
part12.Size = Vector3.new(3, 1, length)
part12.Anchored = true
part12.shape = 1
part12.CanCollide = true
part12.Parent = game.Lighting
part12.CFrame = CFrame.new(0, 10, 33)
part12.Name = "Part12"
local part13 = Instance.new("Seat")
part13.BrickColor = BrickColor.new("Bright bluish green")
part13.Transparency = .5
part13.Reflectance = .5
part13.TopSurface = 0
part13.BottomSurface = 0
part13.Locked = true
part13.Size = Vector3.new(3, 1, length)
part13.Anchored = true
part13.shape = 1
part13.CanCollide = true
part13.Parent = game.Lighting
part13.CFrame = CFrame.new(0, 10, 36)
part13.Name = "Part13"
local part14 = Instance.new("Seat")
part14.BrickColor = BrickColor.new("Bright bluish green")
part14.Transparency = .5
part14.Reflectance = .5
part14.TopSurface = 0
part14.BottomSurface = 0
part14.Locked = true
part14.Size = Vector3.new(3, 1, length)
part14.Anchored = true
part14.shape = 1
part14.CanCollide = true
part14.Parent = game.Lighting
part14.CFrame = CFrame.new(0, 10, 38)
part14.Name = "Part14"
local part15 = Instance.new("Seat")
part15.BrickColor = BrickColor.new("Bright bluish green")
part15.Transparency = .5
part15.Reflectance = .5
part15.TopSurface = 0
part15.BottomSurface = 0
part15.Locked = true
part15.Size = Vector3.new(3, 1, length)
part15.Anchored = true
part15.shape = 1
part15.CanCollide = true
part15.Parent = game.Lighting
part15.CFrame = CFrame.new(0, 10, 41)
part15.Name = "Part15"
local part16 = Instance.new("Seat")
part16.BrickColor = BrickColor.new("Bright bluish green")
part16.Transparency = .5
part16.Reflectance = .5
part16.TopSurface = 0
part16.BottomSurface = 0
part16.Locked = true
part16.Size = Vector3.new(3, 1, length)
part16.Anchored = true
part16.shape = 1
part16.CanCollide = true
part16.Parent = game.Lighting
part16.CFrame = CFrame.new(0, 10, 44)
part16.Name = "Part16"
local part17 = Instance.new("Seat")
part17.BrickColor = BrickColor.new("Bright bluish green")
part17.Transparency = .5
part17.Reflectance = .5
part17.TopSurface = 0
part17.BottomSurface = 0
part17.Locked = true
part17.Size = Vector3.new(3, 1, length)
part17.Anchored = true
part17.shape = 1
part17.CanCollide = true
part17.Parent = game.Lighting
part17.CFrame = CFrame.new(0, 10, 47)
part17.Name = "Part17"
local part18 = Instance.new("Seat")
part18.BrickColor = BrickColor.new("Bright bluish green")
part18.Transparency = .5
part18.Reflectance = .5
part18.TopSurface = 0
part18.BottomSurface = 0
part18.Locked = true
part18.Size = Vector3.new(3, 1, length)
part18.Anchored = true
part18.shape = 1
part18.CanCollide = true
part18.Parent = game.Lighting
part18.CFrame = CFrame.new(0, 10, 50)
part18.Name = "Part18"
local part19 = Instance.new("Seat")
part19.BrickColor = BrickColor.new("Bright bluish green")
part19.Transparency = .5
part19.Reflectance = .5
part19.TopSurface = 0
part19.BottomSurface = 0
part19.Locked = true
part19.Size = Vector3.new(3, 1, length)
part19.Anchored = true
part19.shape = 1
part19.CanCollide = true
part19.Parent = game.Lighting
part19.CFrame = CFrame.new(0, 10, 53)
part19.Name = "Part19"
local part20 = Instance.new("Seat")
part20.BrickColor = BrickColor.new("Bright bluish green")
part20.Transparency = .5
part20.Reflectance = .5
part20.TopSurface = 0
part20.BottomSurface = 0
part20.Locked = true
part20.Size = Vector3.new(3, 1, length)
part20.Anchored = true
part20.shape = 1
part20.CanCollide = true
part20.Parent = game.Lighting
part20.CFrame = CFrame.new(0, 10, 56)
part20.Name = "Part20"
function resize(x, y, z)
length = z
part1.Size = Vector3.new(x, y, z)
part2.Size = Vector3.new(x, y, z)
part3.Size = Vector3.new(x, y, z)
part4.Size = Vector3.new(x, y, z)
part5.Size = Vector3.new(x, y, z)
part6.Size = Vector3.new(x, y, z)
part7.Size = Vector3.new(x, y, z)
part8.Size = Vector3.new(x, y, z)
part9.Size = Vector3.new(x, y, z)
part10.Size = Vector3.new(x, y, z)
part11.Size = Vector3.new(x, y, z)
part12.Size = Vector3.new(x, y, z)
part13.Size = Vector3.new(x, y, z)
part14.Size = Vector3.new(x, y, z)
part15.Size = Vector3.new(x, y, z)
part16.Size = Vector3.new(x, y, z)
part17.Size = Vector3.new(x, y, z)
part18.Size = Vector3.new(x, y, z)
part19.Size = Vector3.new(x, y, z)
part20.Size = Vector3.new(x, y, z)
end
function color(c)
part1.BrickColor = c
part2.BrickColor = c
part3.BrickColor = c
part4.BrickColor = c
part5.BrickColor = c
part6.BrickColor = c
part7.BrickColor = c
part8.BrickColor = c
part9.BrickColor = c
part10.BrickColor = c
part11.BrickColor = c
part12.BrickColor = c
part13.BrickColor = c
part14.BrickColor = c
part15.BrickColor = c
part16.BrickColor = c
part17.BrickColor = c
part18.BrickColor = c
part19.BrickColor = c
part20.BrickColor = c
end
function reflect(r)
part1.Reflectance = r
part2.Reflectance = r
part3.Reflectance = r
part4.Reflectance = r
part5.Reflectance = r
part6.Reflectance = r
part7.Reflectance = r
part8.Reflectance = r
part9.Reflectance = r
part10.Reflectance = r
part11.Reflectance = r
part12.Reflectance = r
part13.Reflectance = r
part14.Reflectance = r
part15.Reflectance = r
part16.Reflectance = r
part17.Reflectance = r
part18.Reflectance = r
part19.Reflectance = r
part20.Reflectance = r
end
function transparency(t)
part1.Transparency = t
part2.Transparency = t
part3.Transparency = t
part4.Transparency = t
part5.Transparency = t
part6.Transparency = t
part7.Transparency = t
part8.Transparency = t
part9.Transparency = t
part10.Transparency = t
part11.Transparency = t
part12.Transparency = t
part13.Transparency = t
part14.Transparency = t
part15.Transparency = t
part16.Transparency = t
part17.Transparency = t
part18.Transparency = t
part19.Transparency = t
part20.Transparency = t
end
function shape(s)
part1.shape = s
part2.shape = s
part3.shape = s
part4.shape = s
part5.shape = s
part6.shape = s
part7.shape = s
part8.shape = s
part9.shape = s
part10.shape = s
part11.shape = s
part12.shape = s
part13.shape = s
part14.shape = s
part15.shape = s
part16.shape = s
part17.shape = s
part18.shape = s
part19.shape = s
part20.shape = s
end
function onButton1Down(mouse)
local player = game.Players.LocalPlayer
if player == nil then return end
me = player.Character
main.Parent = me
part1.Parent = me
part2.Parent = me
part3.Parent = me
part4.Parent = me
part5.Parent = me
part6.Parent = me
part7.Parent = me
part8.Parent = me
part9.Parent = me
part10.Parent = me
part11.Parent = me
part12.Parent = me
part13.Parent = me
part14.Parent = me
part15.Parent = me
part16.Parent = me
part17.Parent = me
part18.Parent = me
part19.Parent = me
part20.Parent = me
follow = true
while follow do
distance = length/2
mousehit = mouse.Hit.p
if (main.Position - mousehit).magnitude > speed then
main_mousehit = (main.Position - mousehit).unit * speed
else
main_mousehit = (main.Position - mousehit).unit * 1
end
start1 = main.Position - main_mousehit
main.CFrame = CFrame.new(start1.x, start1.y, start1.z) + part1.CFrame.lookVector
p1pos = part1.Position
start1_p1pos = (start1 - p1pos).unit
spreadp1 = start1_p1pos * (distance + away)
part1.CFrame = CFrame.new(start1 - spreadp1, start1)
p1c = part1.CFrame
start2 = part1.Position - (p1c.lookVector * distance)
p2pos = part2.Position
start2_p2pos = (start2 - p2pos).unit
spreadp2 = start2_p2pos * (distance + gap)
part2.CFrame = CFrame.new(start2 - spreadp2, start2)
p2c = part2.CFrame
start3 = part2.Position-(p2c.lookVector * distance)
p3pos = part3.Position
start3_p3pos = (start3 - p3pos).unit
spreadp3 = start3_p3pos * (distance + gap)
part3.CFrame = CFrame.new(start3 - spreadp3, start3)
p3c = part3.CFrame
start4 = part3.Position-(p3c.lookVector * distance)
p4pos = part4.Position
start4_p4pos = (start4 - p4pos).unit
spreadp4 = start4_p4pos * (distance + gap)
part4.CFrame = CFrame.new(start4 - spreadp4, start4)
p4c = part4.CFrame
start5 = part4.Position - (p4c.lookVector * distance)
p5pos = part5.Position
start5_p5pos = (start5 - p5pos).unit
spreadp5 = start5_p5pos * (distance+gap)
part5.CFrame = CFrame.new(start5 - spreadp5, start5)
p5c = part5.CFrame
start6 = part5.Position - (p5c.lookVector * distance)
p6pos = part6.Position
start6_p6pos = (start6 - p6pos).unit
spreadp6 = start6_p6pos * (distance+gap)
part6.CFrame = CFrame.new(start6 - spreadp6, start6)
p6c = part6.CFrame
start7 = part6.Position - (p6c.lookVector * distance)
p7pos = part7.Position
start7_p7pos = (start7 - p7pos).unit
spreadp7 = start7_p7pos * (distance + gap)
part7.CFrame = CFrame.new(start7 - spreadp7, start7)
p7c = part7.CFrame
start8 = part7.Position - (p7c.lookVector * distance)
p8pos = part8.Position
start8_p8pos = (start8 - p8pos).unit
spreadp8 = start8_p8pos * (distance + gap)
part8.CFrame = CFrame.new(start8 - spreadp8, start8)
p8c = part8.CFrame
start9 = part8.Position - (p8c.lookVector * distance)
p9pos = part9.Position
start9_p9pos = (start9 - p9pos).unit
spreadp9 = start9_p9pos * (distance + gap)
part9.CFrame = CFrame.new(start9 - spreadp9, start9)
p9c = part9.CFrame
start10 = part9.Position - (p9c.lookVector * distance)
p10pos = part10.Position
start10_p10pos = (start10 - p10pos).unit
spreadp10 = start10_p10pos * (distance + gap)
part10.CFrame = CFrame.new(start10 - spreadp10, start10)
p10c = part10.CFrame
start11 = part10.Position - (p10c.lookVector * distance)
p11pos = part11.Position
start11_p11pos = (start11 - p11pos).unit
spreadp11 = start11_p11pos * (distance + gap)
part11.CFrame = CFrame.new(start11 - spreadp11, start11)
p11c = part11.CFrame
start12 = part11.Position - (p11c.lookVector * distance)
p12pos = part12.Position
start12_p12pos = (start12 - p12pos).unit
spreadp12 = start12_p12pos * (distance + gap)
part12.CFrame = CFrame.new(start12 - spreadp12, start12)
p12c = part12.CFrame
start13 = part12.Position - (p12c.lookVector * distance)
p13pos = part13.Position
start13_p13pos = (start13 - p13pos).unit
spreadp13 = start13_p13pos * (distance + gap)
part13.CFrame = CFrame.new(start13 - spreadp13, start13)
p13c = part13.CFrame
start14 = part13.Position - (p13c.lookVector * distance)
p14pos = part14.Position
start14_p14pos = (start14 - p14pos).unit
spreadp14 = start14_p14pos * (distance + gap)
part14.CFrame = CFrame.new(start14 - spreadp14, start14)
p14c = part14.CFrame
start15 = part14.Position - (p14c.lookVector * distance)
p15pos = part15.Position
start15_p15pos = (start15 - p15pos).unit
spreadp15 = start15_p15pos * (distance + gap)
part15.CFrame = CFrame.new(start15 - spreadp15, start15)
p15c = part15.CFrame
start16 = part15.Position - (p15c.lookVector * distance)
p16pos = part16.Position
start16_p16pos = (start16 - p16pos).unit
spreadp16 = start16_p16pos * (distance+gap)
part16.CFrame = CFrame.new(start16 - spreadp16, start16)
p16c = part16.CFrame
start17 = part16.Position - (p16c.lookVector * distance)
p17pos = part17.Position
start17_p17pos = (start17 - p17pos).unit
spreadp17 = start17_p17pos * (distance + gap)
part17.CFrame = CFrame.new(start17 - spreadp17, start17)
p17c = part17.CFrame
start18 = part17.Position - (p17c.lookVector * distance)
p18pos = part18.Position
start18_p18pos = (start18 - p18pos).unit
spreadp18 = start18_p18pos * (distance + gap)
part18.CFrame = CFrame.new(start18 - spreadp18, start18)
p18c = part18.CFrame
start19 = part18.Position - (p18c.lookVector * distance)
p19pos = part19.Position
start19_p19pos = (start19 - p19pos).unit
spreadp19 = start19_p19pos * (distance + gap)
part19.CFrame = CFrame.new(start19 - spreadp19, start19)
p19c = part19.CFrame
start20 = part19.Position - (p19c.lookVector * distance)
p20pos = part20.Position
start20_p20pos = (start20 - p20pos).unit
spreadp20 = start20_p20pos * (distance + gap)
part20.CFrame = CFrame.new(start20 - spreadp20, start20)
wait()
end
end
function onButton1Up(mouse)
follow = false
if mode == "hide" then
main.Parent = game.Lighting
part1.Parent = game.Lighting
part2.Parent = game.Lighting
part3.Parent = game.Lighting
part4.Parent = game.Lighting
part5.Parent = game.Lighting
part6.Parent = game.Lighting
part7.Parent = game.Lighting
part8.Parent = game.Lighting
part9.Parent = game.Lighting
part10.Parent = game.Lighting
part11.Parent = game.Lighting
part12.Parent = game.Lighting
part13.Parent = game.Lighting
part14.Parent = game.Lighting
part15.Parent = game.Lighting
part16.Parent = game.Lighting
part17.Parent = game.Lighting
part18.Parent = game.Lighting
part19.Parent = game.Lighting
part20.Parent = game.Lighting
else
return
end
end
msg = Instance.new("Hint")
player = game.Players.LocalPlayer
if player == nil then return end
function say(message)
msg.Parent = player
msg.Text = message
wait(1)
msg.Parent = game.Lighting
end
function onKeyDown(key)
if (key~=nil) then
if (key=="z") then
mode = "stay"
say("Mode: "..mode)
end
if (key=="x") then
mode = "hide"
say("Mode: "..mode)
end
if (key=="c") then
if x == 1 or y == 1 or z == 1 then return end
x = x - 1
y = y - 1
z = z - 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="v") then
if x == 10 or y == 10 or z == 10 then return end
x = x + 1
y = y + 1
z = z + 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="b") then
x = 1
y = 1
z = 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="r") then
if r >= .9 then return end
r = r + .1
reflect(r)
say("Reflectance: "..r)
end
if (key=="f") then
if r <= .1 then return end
r = r - .1
reflect(r)
say("Reflectance: "..r)
end
if (key=="t") then
if t >= .9 then return end
t = t + .1
transparency(t)
say("Transparency: "..t)
end
if (key=="g") then
if t <= .1 then return end
t = t - .1
transparency(t)
say("Transparency: "..t)
end
if (key=="n") then
if s == 2 then
s = 0
shape(s)
say("Shape: "..s)
else
s = s + 1
shape(s)
say("Shape: "..s)
end
end
if (key=="m") then
if gap == 5 then
gap = 0
say("Gap: "..gap)
else
gap = gap + 1
say("Gap: "..gap)
end
end
if (key=="y") then
if x == 10 then return end
x = x + 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="h") then
if x == 1 then return end
x = x - 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="u") then
if y == 10 then return end
y = y + 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="j") then
if y == 1 then return end
y = y - 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="k") then
if z == 10 then return end
z = z + 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="l") then
if z == 1 then return end
z = z - 1
resize(x, y, z)
say("Size: "..x..", "..y..", "..z)
end
if (key=="/") then
color(BrickColor.random())
say("color changed")
end
if (key=="q") then
if speed == 10 then return end
speed = speed + 1
say("Speed: "..speed)
end
if (key=="e") then
if speed == 0 then return end
speed = speed - 1
say("Speed: "..speed)
end
end
end
function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.Button1Up:connect(function() onButton1Up(mouse) end)
mouse.KeyDown:connect(onKeyDown)
end
script.Parent.Selected:connect(onSelected)
]]
s.Disabled = false
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local g = Clone(h)
g.Parent = p[i].Backpack
end
if string.match(msg, "all") then
local g = Clone(h)
g.Parent = p[i].Backpack
end
if string.match(msg, "starter") then
local g = Clone(h)
g.Parent = game.StarterPack
game.Workspace:BreakJoints()
end
end
end
if string.match(msg, "mace") then
local p=game.Players:GetChildren()
t = Instance.new("Tool")
t.Name = "Mace"
t.GripPos = Vector3.new(0,-2,.20)
p = Instance.new("Part")
p.Parent = t
p.Name = "Handle"
p.Locked = true
p.formFactor = "Plate"
p.Size = Vector3.new(0.4,6,1.47)
p.BrickColor = BrickColor.new(12)
p.TopSurface = "Smooth"
p.BottomSurface = "Smooth"
p1 = Instance.new("Part")
p1.Parent = t
p1.Name = "Handle1"
p1.Locked = true
p1.Shape = "Ball"
p1.Size = Vector3.new(2,2,2)
p1.BrickColor = BrickColor.Black()
p1.TopSurface = "Smooth"
p1.BottomSurface = "Smooth"
p2 = Instance.new("Part")
p2.Parent = t
p2.Name = "Handle2"
p2.Locked = true
p2.Size = Vector3.new(1,4,1)
p2.BrickColor = BrickColor.Red()
p2.TopSurface = "Smooth"
p2.BottomSurface = "Smooth"
p3 = Instance.new("Part")
p3.Parent = t
p3.Name = "Handle3"
p3.Locked = true
p3.Size = Vector3.new(1,1,4)
p3.BrickColor = BrickColor.Red()
p3.TopSurface = "Smooth"
p3.BottomSurface = "Smooth"
p4 = Instance.new("Part")
p4.Parent = t
p4.Name = "Handle4"
p4.Locked = true
p4.Size = Vector3.new(1,1,4)
p4.BrickColor = BrickColor.Red()
p4.TopSurface = "Smooth"
p4.BottomSurface = "Smooth"
p5 = Instance.new("Part")
p5.Parent = t
p5.Name = "Handle6"
p5.Locked = true
p5.Size = Vector3.new(4,1,1)
p5.BrickColor = BrickColor.Red()
p5.TopSurface = "Smooth"
p5.BottomSurface = "Smooth"
p6 = Instance.new("Part")
p6.Parent = t
p6.Name = "Handle6"
p6.Locked = true
p6.Size = Vector3.new(4,1,1)
p6.BrickColor = BrickColor.Red()
p6.TopSurface = "Smooth"
p6.BottomSurface = "Smooth"
w = Instance.new("Weld")
w.Parent = p
w.Part0 = p
w.Part1 = p1
w.C0 = CFrame.new(0,4,0)
w2 = Instance.new("Weld")
w2.Parent = p1
w2.Part0 = p1
w2.Part1 = p2
w2.C0 = CFrame.new(0,1,0)
w3 = Instance.new("Weld")
w3.Parent = p1
w3.Part0 = p1
w3.Part1 = p3
w3.C0 = CFrame.new(0,0,1)
w4 = Instance.new("Weld")
w4.Parent = p1
w4.Part0 = p1
w4.Part1 = p4
w4.C0 = CFrame.new(0,0,-1)
w5 = Instance.new("Weld")
w5.Parent = p1
w5.Part0 = p1
w5.Part1 = p5
w5.C0 = CFrame.new(1,0,0)
w5 = Instance.new("Weld")
w5.Parent = p1
w5.Part0 = p1
w5.Part1 = p6
w5.C0 = CFrame.new(-1,0,0)
m = Instance.new("SpecialMesh")
m.Parent = p
m.Scale = Vector3.new(0.4,1,0.4)
m2 = Instance.new("SpecialMesh")
m2.Parent = p2
m2.MeshType = "Sphere"
m2.Scale = Vector3.new(0.5,0.6,0.5)
m3 = Instance.new("SpecialMesh")
m3.Parent = p3
m3.MeshType = "Sphere"
m3.Scale = Vector3.new(0.5,0.5,0.6)
m4 = Instance.new("SpecialMesh")
m4.Parent = p4
m4.MeshType = "Sphere"
m4.Scale = Vector3.new(0.5,0.5,0.6)
m5 = Instance.new("SpecialMesh")
m5.Parent = p5
m5.MeshType = "Sphere"
m5.Scale = Vector3.new(0.6,0.5,0.5)
m6 = Instance.new("SpecialMesh")
m6.Parent = p6
m6.MeshType = "Sphere"
m6.Scale = Vector3.new(0.6,0.5,0.6)
local swordscript = Instance.new("Script")
swordscript.Parent = t
swordscript.Disabled = false
swordscript["Sourc" .. "e"] = [[
-—- OMG HAX
r = game:service("RunService")

local damage = 0

local slash_damage = 100
local lunge_damage = 100
sword = script.Parent.Handle1
Tool = script.Parent

local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset:sounds\\swordslash.wav"
SlashSound.Parent = sword
SlashSound.Volume = .7
local LungeSound = Instance.new("Sound")
LungeSound.SoundId = "rbxasset:
sounds\\swordlunge.wav"
LungeSound.Parent = sword
LungeSound.Volume = .6
local UnsheathSound = Instance.new("Sound")
UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
UnsheathSound.Parent = sword
UnsheathSound.Volume = 1

function blow(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local hum = vCharacter:findFirstChild("Humanoid") — non-nil if tool held by a character
if humanoid~=nil and humanoid ~= hum and hum ~= nil then
print("SWORD HIT")
tagHumanoid(humanoid, vPlayer)
humanoid:TakeDamage(damage)
wait(1)
untagHumanoid(humanoid)
end
end

function tagHumanoid(humanoid, player)
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = player
creator_tag.Name = "creator"
creator_tag.Parent = humanoid
end
function untagHumanoid(humanoid)
if humanoid ~= nil then
local tag = humanoid:findFirstChild("creator")
if tag ~= nil then
tag.Parent = Lighting
end
end
end

function attack()
damage = slash_damage
SlashSound:play()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Slash"
anim.Parent = Tool
end
function lunge()
damage = lunge_damage
LungeSound:play()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Lunge"
anim.Parent = Tool

force = Instance.new("BodyVelocity")
force.velocity = Vector3.new(0,10,0) Tool.Parent.Torso.CFrame.lookVector * 80
force.Parent = Tool.Parent.Torso
wait(.25)
swordOut()
wait(.25)
a = nil
force.Parent = a
wait(.5)
swordUp()
damage = slash_damage
end
function swordUp()
Tool.GripForward = Vector3.new(0,0,-1)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,1,0)
end
function swordOut()
Tool.GripForward = Vector3.new(0,0,1)
Tool.GripRight = Vector3.new(-1,0,0)
Tool.GripUp = Vector3.new(0,0,-1)
end
function swordAcross()
parry
end

Tool.Enabled = true
local last_attack = 0
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent;
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
t = r.Stepped:wait()
if (t - last_attack < .2) then
lunge()
else
attack()
end
last_attack = t
wait(.5)
Tool.Enabled = true
end

function onEquipped()
UnsheathSound:play()
end

script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(onEquipped)

connection = sword.Touched:connect(blow)

]]
swordscript.Name = "SwordScript"
— local guide
local localguide = Instance.new("LocalScript")
localguide.Parent = t
localguide["Sourc" .. "e"] = [[
local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset:textures\\GunWaitCursor.png"
wait(.5)
mouse.Icon = "rbxasset:
textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil then
print("Mouse not found")
return
end
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end

Tool.Equipped:connect(onEquippedLocal)
]]
localguide.Name = "Local Gui"
newss = Clone(swordscript)
newlg = Clone(localguide)
wait()
remove(swordscript)
remove(localguide)
wait()
newss.Parent = t
newlg.Parent = t
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local t = Clone(t)
t.Parent = p[i].Backpack
end
if string.match(msg, "all") then
g = Clone(t)
g.Parent = p[i].Backpack
end
if string.match(msg, "starter") then
game.Workspace:BreakJoints()
local t = Clone(t)
t.Parent = game:GetService("StarterPack")
end
end
end
if string.match(msg, "immortal") then
local p=game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local s=Instance.new("Script")
s["Sourc" .. "e"] = [[
character = script.Parent
function Save(object, match, copy, parent)
if character == nil then return end
local animate = character.Animate
cani = Clone(animate)
if object == match then
copy.Parent = parent
parent.ChildRemoved:connect(function(property) Save(property, copy, Clone(copy), parent) end)
animate.Parent = game.Lighting
cani.Parent = character
end
end
local head = character:FindFirstChild("Head")
if head~=nil then
local weld = head:FindFirstChild("HeadWeld")
if weld~=nil then
local Cweld = Clone(weld)
head.ChildRemoved:connect(function(property) Save(property, weld, Cweld, head) end)
end
end
local torso = character:FindFirstChild("Torso")
if torso~=nil then
local neck = torso:FindFirstChild("Neck")
if neck~=nil then
local Cneck = Clone(neck)
torso.ChildRemoved:connect(function(property) Save(property, neck, Cneck, torso) end)
end
local lhip = torso:FindFirstChild("Left Hip")
if lhip~=nil then
local Clhip = Clone(lhip)
torso.ChildRemoved:connect(function(property) Save(property, lhip, Clhip, torso) end)
end
local rhip = torso:FindFirstChild("Right Hip")
if rhip~=nil then
local Crhip = Clone(rhip)
torso.ChildRemoved:connect(function(property) Save(property, rhip, Crhip, torso) end)
end
local lsho = torso:FindFirstChild("Left Shoulder")
if lsho~=nil then
local Clsho = Clone(lsho)
torso.ChildRemoved:connect(function(property) Save(property, lsho, Clsho, torso) end)
end
local rsho = torso:FindFirstChild("Right Shoulder")
if rsho~=nil then
local Crsho = Clone(rsho)
torso.ChildRemoved:connect(function(property) Save(property, rsho, Crsho, torso) end)
end
end
local h = character:FindFirstChild("Humanoid")
if h~=nil then
h.MaxHealth = (2^30)
h.Health = (2^30)
end
function healthChanged(property)
if property == "Health" then
character.Humanoid.Health = (2^35)
elseif property == "MaxHealth" then
character.Humanoid.MaxHealth = (2^35)
end
end
function onChanged(property)
if property.className == "Hat" then
wait(1)
local head = character:FindFirstChild("Head")
if head~=nil then
local weld = head:FindFirstChild("HeadWeld")
if weld~=nil then
local Cweld = Clone(weld)
head.ChildRemoved:connect(function(property) Save(property, weld, Cweld, head) end)
end
end
end
end
character.ChildAdded:connect(onChanged)
character.Humanoid.Changed:connect(healthChanged)
]]
s.Parent=p[i].Character
s.Name = "Immortal"
s.Disabled = false
end
end
end
if string.match(msg, "suit") then
player = game.Players:GetChildren()
for i=1, #player do
if string.match(msg, string.lower(player[i].Name)) then
wearer = player[i]
if wearer.Character:findFirstChild("Torso") == nil then return end
if wearer.Character:findFirstChild("Right Leg") == nil then return end
if wearer.Character:findFirstChild("Left Leg") == nil then return end
if wearer.Character:findFirstChild("Right Arm") == nil then return end
if wearer.Character:findFirstChild("Left Arm") == nil then return end
if wearer.Character:findFirstChild("Head") == nil then return end
p1 = Instance.new("Part")
p1.Name = "K-40"
p1.Parent = wearer.Character
p1.Size = Vector3.new(1, 3, 1)
p1.BrickColor = BrickColor.new("Dark stone grey")
p1.TopSurface = 0
p1.BottomSurface = 0
p1:BreakJoints()
w1 = Instance.new("Weld")
w1.Name = "Part 1 Weld"
w1.Parent = wearer.Character.Torso
w1.Part0 = wearer.Character.Torso
w1.Part1 = p1
w1.C0 = CFrame.new(-0.5, 0.3, 1)
w1.C1 = CFrame.new(0, 0, 0)
p2 = Instance.new("Part")
p2.Name = "Goggles"
p2.Parent = wearerCharacter
p2.Size = Vector3.new(2, 1, 1)
p2.BrickColor = BrickColor.new("Black")
p2.Transparency = 0.75
p2.TopSurface = 0
p2.BottomSurface = 0
p2:BreakJoints()
m2 = Instance.new("SpecialMesh")
m2.MeshType = "Sphere"
m2.Scale = Vector3.new(0.7, 0.5, 1)
m2.Parent = p2
w2 = Instance.new("Weld")
w2.Name = "Part 2 Weld"
w2.Parent = wearer.Character.Head
w2.Part0 = wearer.Character.Head
w2.Part1 = p2
w2.C0 = CFrame.new(0, 0.25, -0.25) * CFrame.fromEulerAnglesXYZ(0, 0, -0.01)
w2.C1 = CFrame.new(0, 0, 0)
p3 = Instance.new("Part")
p3.Name = "Badge"
p3.Parent = wearer.Character
p3.Size = Vector3.new(1, 1, 1)
p3.BrickColor = BrickColor.new("White")
p3.Reflectance = 0.25
p3.TopSurface = 0
p3.BottomSurface = 0
p3:BreakJoints()
m3 = Instance.new("SpecialMesh")
m3.MeshType = "Brick"
m3.Scale = Vector3.new(0.5, 0.4, 0.8)
m3.Parent = p3
w3 = Instance.new("Weld")
w3.Name = "Part 3 Weld"
w3.Parent = wearer.Character.Torso
w3.Part0 = wearer.Character.Torso
w3.Part1 = p3
w3.C0 = CFrame.new(0.5, 0.5, -0.2)
w3.C1 = CFrame.new(0, 0, 0)
p4 = Instance.new("Part")
p4.Name = "Strap 1"
p4.Parent = wearer.Character
p4.Size = Vector3.new(3, 1, 1)
p4.BrickColor = BrickColor.new("Black")
p4.TopSurface = 0
p4.BottomSurface = 0
p4:BreakJoints()
m4 = Instance.new("SpecialMesh")
m4.MeshType = "Brick"
m4.Scale = Vector3.new(0.8, 0.3, 1.15)
m4.Parent = p4
w4 = Instance.new("Weld")
w4.Name = "Part 4 Weld"
w4.Parent = wearer.Character.Torso
w4.Part0 = wearer.Character.Torso
w4.Part1 = p4
w4.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0.8)
w4.C1 = CFrame.new(0, 0, 0)
p5 = Instance.new("Part")
p5.Name = "Strap 2"
p5.Parent = wearer.Character
p5.Size = Vector3.new(3, 1, 1)
p5.BrickColor = BrickColor.new("Black")
p5.TopSurface = 0
p5.BottomSurface = 0
p5:BreakJoints()
m5 = Instance.new("SpecialMesh")
m5.MeshType = "Brick"
m5.Scale = Vector3.new(0.8, 0.3, 1.15)
m5.Parent = p5
w5 = Instance.new("Weld")
w5.Name = "Part 5 Weld"
w5.Parent = wearer.Character.Torso
w5.Part0 = wearer.Character.Torso
w5.Part1 = p5
w5.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, -0.8)
w5.C1 = CFrame.new(0, 0, 0)
p6 = Instance.new("Part")
p6.Name = "Grenade"
p6.Parent = wearer.Character
p6.Size = Vector3.new(1, 1, 1)
p6.BrickColor = BrickColor.new("Bright green")
p6.TopSurface = 0
p6.BottomSurface = 0
p6:BreakJoints()
m6 = Instance.new("SpecialMesh")
m6.MeshType = "Head"
m6.Scale = Vector3.new(0.75, 0.9, 0.75)
m6.Parent = p6
w6 = Instance.new("Weld")
w6.Name = "Part 6 Weld"
w6.Parent = wearer.Character["Right Leg"]
w6.Part0 = wearer.Character["Right Leg"]
w6.Part1 = p6
w6.C0 = CFrame.new(0.75, 0.85, 0)
w6.C1 = CFrame.new(0, 0, 0)
p7 = Instance.new("Part")
p7.Name = "Belt Strap"
p7.Parent = wearer.Character
p7.Size = Vector3.new(2, 1, 1)
p7.BrickColor = BrickColor.new("Black")
p7.TopSurface = 0
p7.BottomSurface = 0
p7:BreakJoints()
m7 = Instance.new("SpecialMesh")
m7.MeshType = "Brick"
m7.Scale = Vector3.new(1.15, 0.25, 1.15)
m7.Parent = p7
w7 = Instance.new("Weld")
w7.Name = "Part 7 Weld"
w7.Parent = wearer.Character.Torso
w7.Part0 = wearer.Character.Torso
w7.Part1 = p7
w7.C0 = CFrame.new(0, -0.9, 0)
w7.C1 = CFrame.new(0, 0, 0)
p8 = Instance.new("Part")
p8.Name = "Belt Buckle"
p8.Parent = wearer.Character
p8.Size = Vector3.new(1, 1, 1)
p8.BrickColor = BrickColor.new("White")
p8.Reflectance = 0.25
p8.TopSurface = 0
p8.BottomSurface = 0
p8:BreakJoints()
m8 = Instance.new("SpecialMesh")
m8.MeshType = "Brick"
m8.Scale = Vector3.new(1, 0.25, 1.15)
m8.Parent = p8
w8 = Instance.new("Weld")
w8.Name = "Part 8 Weld"
w8.Parent = wearer.Character.Torso
w8.Part0 = wearer.Character.Torso
w8.Part1 = p8
w8.C0 = CFrame.new(0, -0.9, -0.15)
w8.C1 = CFrame.new(0, 0, 0)
p9 = Instance.new("Part")
p9.Name = "Rocket Launcher"
p9.Parent = wearer.Character
p9.Size = Vector3.new(1, 5, 1)
p9.BrickColor = BrickColor.new("Dark stone grey")
p9.TopSurface = 0
p9.BottomSurface = 0
p9:BreakJoints()
w9 = Instance.new("Weld")
w9.Name = "Part 9 Weld"
w9.Parent = wearer.Character.Torso
w9.Part0 = wearer.Character.Torso
w9.Part1 = p9
w9.C0 = CFrame.new(0.6, 0, 1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.1)
w9.C1 = CFrame.new(0, 0, 0)
p10 = Instance.new("Part")
p10.Name = "Left Arm Plate"
p10.Parent = wearer.Character
p10.Size = Vector3.new(1, 1, 1)
p10.BrickColor = BrickColor.new("Black")
p10.TopSurface = 0
p10.BottomSurface = 0
p10:BreakJoints()
m10 = Instance.new("SpecialMesh")
m10.MeshType = "Brick"
m10.Scale = Vector3.new(1.1, 1.25, 1.1)
m10.Parent = p10
w10 = Instance.new("Weld")
w10.Name = "Part 10 Weld"
w10.Parent = wearer.Character["Left Arm"]
w10.Part0 = wearer.Character["Left Arm"]
w10.Part1 = p10
w10.C0 = CFrame.new(0, 0.4, 0)
w10.C1 = CFrame.new(0, 0, 0)
p11 = Instance.new("Part")
p11.Name = "Right Arm Plate"
p11.Parent = wearer.Character
p11.Size = Vector3.new(1, 1, 1)
p11.BrickColor = BrickColor.new("Black")
p11.TopSurface = 0
p11.BottomSurface = 0
p11:BreakJoints()
m11 = Instance.new("SpecialMesh")
m11.MeshType = "Brick"
m11.Scale = Vector3.new(1.1, 1.25, 1.1)
m11.Parent = p11
w11 = Instance.new("Weld")
w11.Name = "Part 10 Weld"
w11.Parent = wearer.Character["Right Arm"]
w11.Part0 = wearer.Character["Right Arm"]
w11.Part1 = p11
w11.C0 = CFrame.new(0, 0.4, 0)
w11.C1 = CFrame.new(0, 0, 0)
tool1 = Instance.new("Tool")
tool1.Name = "K-40"
tool1.GripPos = Vector3.new(0, -0.65, 0.4)
tool1s1 = Instance.new("Script")
tool1s1.Name = "Gun Shooter"
tool1s1["Sourc" .. "e"] = [[
Tool = script.Parent
Tool.Enabled = true
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local ball = Instance.new("Part")
local spawnPos = vCharacter.PrimaryPart.Position
spawnPos = spawnPos + (v * 10)
ball.Position = spawnPos
ball.Size = Vector3.new(1, 1, 1)
ball.Velocity = v * 500
ball.BrickColor = BrickColor.new("Black")
ball.Shape = 0
ball.BottomSurface = 0
ball.TopSurface = 0
ball.Name = "Bullet"
ball.Elasticity = 0
ball.Friction = .9
local force = Instance.new("BodyForce")
force.force = Vector3.new(0, 90, 0)
force.Parent = ball
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = vPlayer
creator_tag.Name = "creator"
creator_tag.Parent = ball
ball.Parent = game.Workspace
ball.Touched:connect(function(hit) onTouched(hit, ball) end)
function onTouched(hit, part)
damage = 15
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
part.Parent = game.Lighting
tagHumanoid(humanoid, part)
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
part.Parent = game.Lighting
end
function tagHumanoid(humanoid, part)
local tag = part:findFirstChild("creator")
if tag ~= nil then
tag.Parent = humanoid
end
end
function untagHumanoid(humanoid)
if humanoid ~= nil then
local tag = humanoid:findFirstChild("creator")
if tag ~= nil then
tag.Parent = game.Lighting
end
end
end
end
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
local targetPos = humanoid.TargetPoint
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
wait(0.25)
Tool.Enabled = true
end
script.Parent.Activated:connect(onActivated)
]]
tool1s1.Parent = tool1
tool1s2 = Instance.new("LocalScript")
tool1s2.Name = "Local Gui"
tool1s2["Sourc" .. "e"] = [[
local Tool = script.Parent
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset:textures\\GunWaitCursor.png"
wait(0.25)
mouse.Icon = "rbxasset:
textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil then
print("Mouse not found")
return
end
if script.Parent.Parent:findFirstChild("K-40") ~= nil then
script.Parent.Parent["K-40"].Transparency = 1
end
mouse.Icon = "rbxasset:textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
function onUnequippedLocal(mouse)
wait(0.01)
if script.Parent.Parent.Parent.Character:findFirstChild("K-40") ~= nil then
script.Parent.Parent.Parent.Character["K-40"].Transparency = 0
end
end
Tool.Equipped:connect(onEquippedLocal)
Tool.Unequipped:connect(onUnequippedLocal)
]]
tool1s2.Parent = tool1
tool1p1 = Instance.new("Part")
tool1p1.Name = "Handle"
tool1p1.Size = Vector3.new(1, 1, 3)
tool1p1.TopSurface = 0
tool1p1.BottomSurface = 0
tool1p1.BrickColor = BrickColor.new("Dark stone grey")
tool1p1.Locked = true
tool1p1.Parent = tool1
tool1s = Instance.new("Sound")
tool1s.Name = "Fire"
tool1s.SoundId = "http://www.roblox.com/asset/?id=2697431"
tool1s.Volume = 1
tool1s.Looped = false
tool1s.Parent = tool1p1
tool1.Parent = wearer.Backpack
tool2 = Instance.new("Tool")
tool2.Name = "Grenade"
tool2.GripPos = Vector3.new(0, -0.3, 0.1)
tool2s1 = Instance.new("Script")
tool2s1.Name = "Grenade Shooter"
tool2s1["Sourc" .. "e"] = [[
Tool = script.Parent
Tool.Enabled = true
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local ball = Instance.new("Part")
local spawnPos = vCharacter.PrimaryPart.Position
spawnPos = spawnPos + (v * 10)
ball.Position = spawnPos
ball.Size = Vector3.new(1, 1, 1)
ball.Velocity = v * math.random(50, 75) + Vector3.new(0, 35, 0)
ball.RotVelocity = Vector3.new(math.random(5, 10), math.random(5, 10), math.random(5, 10))
ball.BrickColor = BrickColor.new("Bright green")
ball.Shape = 0
ball.BottomSurface = 0
ball.TopSurface = 0
ball.Name = "Grenade"
ball.Elasticity = 1
ball.Friction = 0.1
mesh = Instance.new("SpecialMesh")
mesh.MeshType = "Head"
mesh.Scale = Vector3.new(0.75, 0.9, 0.75)
mesh.Parent = ball
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = vPlayer
creator_tag.Name = "creator"
creator_tag.Parent = ball
ball.Parent = game.Workspace
delay(3, (function() onBlown(ball) end))
function onBlown(part)
ex = Instance.new("Explosion")
ex.Parent = game.Workspace
ex.Position = part.Position
ex.BlastRadius = 30
ex.BlastPressure = 250
s = Instance.new("Sound")
s.SoundId = "rbxasset:
sounds\\collide.wav"
s.Volume = 1
s.Parent = part
s:play()
part.Parent = game.Lighting
end
end
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
local targetPos = humanoid.TargetPoint
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
wait(1)
Tool.Enabled = true
end
script.Parent.Activated:connect(onActivated)
]]
tool2s1.Parent = tool2
tool2s2 = Instance.new("LocalScript")
tool2s2.Name = "Local Gui"
tool2s2["Sourc" .. "e"] = [[
local Tool = script.Parent
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset:textures\\GunWaitCursor.png"
wait(1)
mouse.Icon = "rbxasset:
textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil then
print("Mouse not found")
return
end
if script.Parent.Parent:findFirstChild("Grenade") ~= nil then
script.Parent.Parent["Grenade"].Transparency = 1
end
mouse.Icon = "rbxasset:textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
function onUnequippedLocal(mouse)
wait(0.01)
if script.Parent.Parent.Parent.Character:findFirstChild("Grenade") ~= nil then
script.Parent.Parent.Parent.Character["Grenade"].Transparency = 0
end
end
Tool.Equipped:connect(onEquippedLocal)
Tool.Unequipped:connect(onUnequippedLocal)
]]
tool2s2.Parent = tool2
tool2p1 = Instance.new("Part")
tool2p1.Name = "Handle"
tool2p1.Size = Vector3.new(1, 1, 1)
tool2p1.TopSurface = 0
tool2p1.BottomSurface = 0
tool2p1.BrickColor = BrickColor.new("Bright green")
tool2p1.Locked = true
tool2p1.Parent = tool2
tool2m1 = Instance.new("SpecialMesh")
tool2m1.MeshType = "Head"
tool2m1.Scale = Vector3.new(0.75, 0.9, 0.75)
tool2m1.Parent = tool2p1
tool2.Parent = wearer.Backpack
tool3 = Instance.new("Tool")
tool3.Name = "RPG4"
tool3.GripPos = Vector3.new(0, -0.65, 0.4)
tool3s1 = Instance.new("Script")
tool3s1.Name = "Gun Shooter"
tool3s1["Sourc" .. "e"] = [[
Tool = script.Parent
Tip = script.Parent.Tip
Tool.Enabled = true
function Weld()
handle = script.Parent.Handle
p1 = script.Parent.Tip
w1 = Instance.new("Weld")
w1.Parent = handle
w1.Part0 = handle
w1.Part1 = p1
w1.C0 = CFrame.new(0, 0, -3)
w1.C1 = CFrame.new(0, 0, 0)
end
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local rocket = Instance.new("Part")
local spawnPos = vCharacter.PrimaryPart.Position
spawnPos = spawnPos + (v * 25)
rocket.Position = (Tip.CFrame.lookVector) + spawnPos
rocket.Size = Vector3.new(1, 1, 1)
rocket.BrickColor = BrickColor.new("Black")
rocket.BottomSurface = 0
rocket.TopSurface = 0
rocket.Name = "Rocket"
rocket.Elasticity = 0
rocket.Friction = .9
local sound1 = Instance.new("Sound")
sound1.Name = "Explosion"
sound1.SoundId = "rbxasset:
sounds\\swoosh.wav"
sound1.Volume = 1
sound1.Looped = true
sound1.Parent = rocket
local sound2 = Instance.new("Sound")
sound2.Name = "Swoosh"
sound2.SoundId = "rbxasset:sounds\\Rocket whoosh 01.wav"
sound2.Volume = 1
sound2.Looped = false
sound2.Parent = rocket
local force = Instance.new("BodyVelocity")
force.velocity = v * 75
force.Parent = rocket
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = vPlayer
creator_tag.Name = "creator"
creator_tag.Parent = rocket
rocket.Parent = game.Workspace
sound2:play()
rocket.Touched:connect(function(hit) onTouched(hit, rocket) end)
function onTouched(hit, part)
ex = Instance.new("Explosion")
ex.Parent = game.Workspace
ex.BlastRadius = 15
ex.BlastPressure = 250
ex.Position = part.Position
part.Explosion:play()
part.Swoosh:stop()
part.Parent = game.Lighting
end
end
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
local targetPos = humanoid.TargetPoint
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
Tip.Transparency = 1
wait(1)
Tip.Transparency = 0
Tool.Enabled = true
end
script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(Weld)
script.Parent.Unequipped:connect(Weld)
]]
tool3s1.Parent = tool3
tool3s2 = Instance.new("LocalScript")
tool3s2.Name = "Local Gui"
tool3s2["Sourc" .. "e"] = [[
local Tool = script.Parent
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset:
textures\\GunWaitCursor.png"
wait(1)
mouse.Icon = "rbxasset:textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil then
print("Mouse not found")
return
end
if script.Parent.Parent:findFirstChild("Rocket Launcher") ~= nil then
script.Parent.Parent["Rocket Launcher"].Transparency = 1
end
mouse.Icon = "rbxasset:
textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
function onUnequippedLocal(mouse)
wait(0.01)
if script.Parent.Parent.Parent.Character:findFirstChild("Rocket Launcher") ~= nil then
script.Parent.Parent.Parent.Character["Rocket Launcher"].Transparency = 0
end
end
Tool.Equipped:connect(onEquippedLocal)
Tool.Unequipped:connect(onUnequippedLocal)
]]
tool3s2.Parent = tool3
tool3p1 = Instance.new("Part")
tool3p1.Name = "Handle"
tool3p1.Size = Vector3.new(1, 1, 5)
tool3p1.TopSurface = 0
tool3p1.BottomSurface = 0
tool3p1.FrontSurface = 2
tool3p1.BrickColor = BrickColor.new("Dark stone grey")
tool3p1.Locked = true
tool3p1.Parent = tool3
tool3p2 = Instance.new("Part")
tool3p2.Name = "Tip"
tool3p2.Size = Vector3.new(1, 1, 1)
tool3p2.TopSurface = 0
tool3p2.BottomSurface = 0
tool3p2.BrickColor = BrickColor.new("Black")
tool3p2.Locked = true
tool3p2.Parent = tool3
tool3s = Instance.new("Sound")
tool3s.Name = "Fire"
tool3s.SoundId = "rbxasset:sounds\\Shoulder fired rocket.wav"
tool3s.Volume = 1
tool3s.Looped = false
tool3s.Parent = tool3p1
tool3.Parent = wearer.Backpack
wearer.Character.Name = wearer.Character.Name.. " SWAT Officer"
end
end
end
if string.match(msg, "suit") and string.match(msg, "2") then
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(msg, string.lower(p[i].Name)) then
local wearer = p[i]
local h = Instance.new("Message")
h.Parent = game.Workspace
h.Text = wearer.Name"'s Suit Loading"
wait(3)
Remove(game.Workspace.Message)
if wearer.Character:findFirstChild("Torso") == nil then return end
if wearer.Character:findFirstChild("Right Leg") == nil then return end
if wearer.Character:findFirstChild("Left Leg") == nil then return end
if wearer.Character:findFirstChild("Right Arm") == nil then return end
if wearer.Character:findFirstChild("Left Arm") == nil then return end
if wearer.Character:findFirstChild("Head") == nil then return end
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 5, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = me.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,0,1)*CFrame.fromEulerAnglesXYZ(0,0,7)
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 5, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,0,1)*CFrame.fromEulerAnglesXYZ(0,0,-7)
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 2.8, 2)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,0,0.4)*CFrame.fromEulerAnglesXYZ(0,0,-7)
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 2.8, 2)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,0,0.4)*CFrame.fromEulerAnglesXYZ(0,0,7)
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 2, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(-1.4,-1.5,0)*CFrame.fromEulerAnglesXYZ(-7,0,0)
belt1 = Instance.new("Part")
belt1.Shape = 0
belt1.Size = Vector3.new(2, 2, 2)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0.3
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,1.5,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
belt1 = Instance.new("Part")
belt1.formFactor = 2
belt1.Size = Vector3.new(1, 1, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(1.5,1,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
belt1 = Instance.new("Part")
belt1.formFactor = 2
belt1.Size = Vector3.new(1, 1, 1)
belt1.BrickColor = BrickColor:Red()
belt1.Reflectance = 0.4
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(0,0,-0.2)*CFrame.fromEulerAnglesXYZ(0,0,0)
belt1 = Instance.new("Part")
belt1.formFactor = 2
belt1.Size = Vector3.new(1, 1, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 0
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = wearer.Character
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = wearer.Character.Torso
weld6.Part1 = belt1
weld6.Parent = wearer.Character.Torso
weld6.C0 = CFrame.new(-1.5,1,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
t = Instance.new("Tool")
t.Name = "Cluster"
h = Instance.new("Part")
h.Name = "Handle"
h.Size = Vector3.new(1,1,4)
h.BrickColor = BrickColor.new(26)
h.TopSurface = 0
h.BottomSurface = 0
bc = Instance.new("Script")
bc.Name = "BrickCleanup"
bc["Sourc" .. "e"] = [[
wait(0)
function Hit(hit)
hit:BreakJoints()
e = Instance.new("Explosion")
e.BlastRadius = 10
e.BlastPressure = 900
e.Position = script.Parent.Position
e.Parent = game.Workspace
script.Parent.Parent = nil
end
script.Parent.Touched:connect(Hit)
]]
bc.Disabled = true
s = Instance.new("Script")
z = Instance.new("LocalScript")
z["Sourc" .. "e"] = [[
a=false
cam=0
function onEquipped(mouse2)
mouse2.KeyDown:connect(onkeyDown)
mouse = mouse2
end
function onkeyDown(key)
if key == "q" then
if not a then
cam=Clone(game.Workspace.CurrentCamera)
cam.Parent=game.Workspace
game.Workspace.CurrentCamera.CameraSubject = mouse.Target
game.Workspace.CurrentCamera.CameraType=4
a=true
else
game.Workspace.CurrentCamera.CameraSubject=game.Players.LocalPlayer.Character
Remove(game.Workspace.CurrentCamera)
game.Workspace.CurrentCamera=cam
a=false
end
end
end
script.Parent.Equipped:connect(onEquipped)
]]
z.Parent = t
s["Sourc" .. "e"] = [[
Tool = script.Parent
colors = {45, 119, 21, 24, 23, 105, 104}
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
local spawnPos = vCharacter.PrimaryPart.Position
spawnPos = spawnPos + (v * 8)
missile.Position = spawnPos
missile.Size = Vector3.new(1,1,1)
missile.Velocity = v * 200
missile.BrickColor = BrickColor.new(21)
missile.Shape = 0
missile.BottomSurface = 0
missile.TopSurface = 0
missile.Name = "Paintball"
missile.Elasticity = 0
missile.Reflectance = 0
missile.Friction = .9
local force = Instance.new("BodyForce")
force.force = Vector3.new(0,100,0)
force.Parent = missile
Clone(Tool.BrickCleanup).Parent = missile
local new_script = Clone(script.Parent.Paintball)
new_script.Disabled = false
new_script.Parent = missile
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = vPlayer
creator_tag.Name = "creator"
creator_tag.Parent = missile
missile.Parent = game.Workspace
end
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent;
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
local targetPos = humanoid.TargetPoint
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
wait(0.1)
Tool.Enabled = true
end
function e()
Tool.Parent.Cluster1.Transparency = 1
end
function u()
Tool.Parent.Parent.Character.Cluster1.Transparency = 0
end
script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(e)
script.Parent.Unequipped:connect(u)
]]
s2 = Instance.new("Script")
s2.Name = "Paintball"
s2.Disabled = true
s2["Sourc" .. "e"] = [[
ball = script.Parent
damage = 100
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
for i=1,50 do
local s = Instance.new("Part")
s.Shape = 1 — block
s.formFactor = 2 — plate
s.Size = Vector3.new(1,.4,1)
s.BrickColor = ball.BrickColor
local v = Vector3.new(math.random(-1,1), math.random(2,15), math.random(-1,1))
s.Velocity = 15 * v
s.CFrame = CFrame.new(ball.Position + v, v)
Clone(ball.BrickCleanup).Parent = s
s.BrickCleanup.Disabled = false
s.Parent = game.Workspace
end
if humanoid ~= nil then
tagHumanoid(humanoid)
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
hit:BreakJoints()
end
e = Instance.new("Explosion")
e.BlastRadius = 50
e.BlastPressure = 900
e.Position = script.Parent.Position
e.Parent = game.Workspace
connection:disconnect()
ball.Parent = nil
end
function tagHumanoid(humanoid)
— todo: make tag expire
local tag = ball:findFirstChild("creator")
if tag ~= nil then
Clone(local new_tag = tag)
new_tag.Parent = humanoid
end
end
function untagHumanoid(humanoid)
if humanoid ~= nil then
local tag = humanoid:findFirstChild("creator")
if tag ~= nil then
tag.Parent = nil
end
end
end
connection = ball.Touched:connect(onTouched)
wait(8)
ball.Parent = nil
]]
s.Parent = t
s2.Parent = t
h.Parent = t
bc.Parent = t
t.Parent = wearer.Backpack
i = Instance.new ("Tool")
i.Name = "Sythe"
e = Instance.new ("Part")
e.Name = "Handle1"
e.Size = Vector3.new(1, 1.2, 1)
e.Position = Vector3.new(26.5, 11.8, -17.5)
e.BrickColor = BrickColor.new(199)
e.Parent = i
t = Instance.new ("Part")
t.Name = "Handle"
t.Size = Vector3.new(1, 10.8, 1)
t.Position = Vector3.new(26.5, 5.8, -17.5)
t.BrickColor = BrickColor.new(26)
t.Parent = i
y = Instance.new ("Part")
y.Name = "Handle2"
y.Size = Vector3.new(5, 1.2, 1)
y.Position = Vector3.new(23.5, 10, -17.5)
y.BrickColor = BrickColor.new(21)
y.Parent = i
r = Instance.new ("Part")
r.Name = "Handle3"
r.Size = Vector3.new(1, 1.2, 2)
r.Position = Vector3.new(20, 10, -17.5)
r.BrickColor = BrickColor.new(21)
r.Parent = i
yt = Instance.new("Sparkles")
yt.Parent = e
yt.Color = Color3.new(0.3,0,0)
iy = Instance.new("SpecialMesh")
iy.Parent = e
iy.MeshType = 0
iy.Scale = Vector3.new(0.6, 0.6, 0.6)
ty = Instance.new("SpecialMesh")
ty.Parent = r
ty.MeshType = 2
ty.Scale = Vector3.new(0.4, 1, 1)
toy = Instance.new("SpecialMesh")
toy.Parent = t
toy.MeshType = 0
py = Instance.new("SpecialMesh")
py.Parent = y
py.MeshType = 1
py.Scale = Vector3.new(1, 1, 0.4)
scr = Instance.new("Script")
scr.Parent = i
scr["Sourc" .. "e"] = [[
-- OMG HAX
r = game:service("RunService")
local damage = 10
local slash_damage = 20
local lunge_damage = 40
sword = script.Parent.Handle
Tool = script.Parent
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset:
sounds\\swordslash.wav"
SlashSound.Parent = sword
SlashSound.Volume = .7
local LungeSound = Instance.new("Sound")
LungeSound.SoundId = "rbxasset:sounds\\swordlunge.wav"
LungeSound.Parent = sword
LungeSound.Volume = .6
local UnsheathSound = Instance.new("Sound")
UnsheathSound.SoundId = "rbxasset:
sounds\\unsheath.wav"
UnsheathSound.Parent = sword
UnsheathSound.Volume = 1
function blow(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local hum = vCharacter:findFirstChild("Humanoid") — non-nil if tool held by a character
if humanoid~=nil and humanoid ~= hum and hum ~= nil then
final check, make sure sword is in-hand
local right_arm = vCharacter:FindFirstChild("Right Arm")
if (right_arm ~= nil) then
local joint = right_arm:FindFirstChild("RightGrip")
if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
tagHumanoid(humanoid, vPlayer)
humanoid:TakeDamage(damage)
wait(1)
untagHumanoid(humanoid)
end
end
end
end
function tagHumanoid(humanoid, player)
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = player
creator_tag.Name = "creator"
creator_tag.Parent = humanoid
end
function untagHumanoid(humanoid)
if humanoid ~= nil then
local tag = humanoid:findFirstChild("creator")
if tag ~= nil then
tag.Parent = nil
end
end
end
function attack()
damage = slash_damage
SlashSound:play()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Slash"
anim.Parent = Tool
end
function lunge()
damage = lunge_damage
LungeSound:play()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Lunge"
anim.Parent = Tool
local force = Instance.new("BodyVelocity")
force.velocity = Vector3.new(0,10,0) Tool.Parent.Torso.CFrame.lookVector * 80
force.Parent = Tool.Parent.Torso
wait(.25)
swordOut()
wait(.25)
force.Parent = nil
wait(.5)
swordUp()
damage = slash_damage
end
function swordUp()
Tool.GripForward = Vector3.new(0,0,-1)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,1,0)
end
function swordOut()
Tool.GripForward = Vector3.new(0,0,1)
Tool.GripRight = Vector3.new(-1,0,0)
Tool.GripUp = Vector3.new(0,0,-1)
end
function swordAcross()
parry
end
Tool.Enabled = true
local last_attack = 0
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
local character = Tool.Parent;
local humanoid = character.Humanoid
if humanoid == nil then
print("Humanoid not found")
return
end
t = r.Stepped:wait()
if (t - last_attack < 2) then
lunge()
else
attack()
end
last_attack = t
—wait(.5)
Tool.Enabled = true
end
function onEquipped()
UnsheathSound:play()
end
script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(onEquipped)
connection = sword.Touched:connect(blow)
]]
sctr = Instance.new("Script")
sctr.Parent = i
sctr["Sourc" .. "e"] = [[
function Weldnow()
local w1 = Instance.new("Weld")
w1.Parent = script.Parent.Handle
w1.Part0 = w1.Parent
w1.Part1 = script.Parent.Handle1 w1.C1 = CFrame.new(0, -5.8, 0)
local w2 = Instance.new("Weld")
w2.Parent = script.Parent.Handle
w2.Part0 = w2.Parent
w2.Part1 = script.Parent.Handle2
w2.C1 = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) * CFrame.new(0, -5.4, 1.7)
local w3 = Instance.new("Weld")
w3.Parent = script.Parent.Handle
w3.Part0 = w3.Parent
w3.Part1 = script.Parent.Handle3
w3.C1 = CFrame.new(0, -5.4, 4.2)
end
script.Parent.Equipped:connect(Weldnow)
script.Parent.Unequipped:connect(Weldnow)
do
local w1 = Instance.new("Weld")
w1.Parent = script.Parent.Handle
w1.Part0 = w1.Parent
w1.Part1 = script.Parent.Handle1 w1.C1 = CFrame.new(0, -5.8, 0)
local w2 = Instance.new("Weld")
w2.Parent = script.Parent.Handle
w2.Part0 = w2.Parent
w2.Part1 = script.Parent.Handle2
w2.C1 = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) * CFrame.new(0, -5.4, 1.7)
local w3 = Instance.new("Weld")
w3.Parent = script.Parent.Handle
w3.Part0 = w3.Parent
w3.Part1 = script.Parent.Handle3
w3.C1 = CFrame.new(0, -5.4, 4.2)
end
]]
str = Instance.new("Script")
str.Parent = r
str["Sourc" .. "e"] = [[
function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Health = h.Health -50
end
end
script.Parent.Touched:connect(onTouched)
]]
sty = Instance.new("Script")
sty.Parent = y
sty["Sourc" .. "e"] = [[
function onTouched(part)
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Health = h.Health -50
end
end
script.Parent.Touched:connect(onTouched)
]]
i.Parent = wearer.Backpack
wearer.Character.Humanoid.WalkSpeed = 100
c = Instance.new("Part")
c.Parent = workspace
c.BrickColor = BrickColor:Red()
c.Transparency = 0.6
c.Shape = "1"
c.TopSurface = 0
c.BottomSurface = 0
c.Anchored = true
c.Size = Vector3.new(10,1,10)
while true do
wait()
c.CFrame = CFrame.new(wearer.Character.Torso.Position.x,0,wearer.Character.Torso.Position.z)
end
end
end
end
if string.match(msg, "sound") then
if string.match(msg, "blues") then
s = Instance.new("Sound")
s.Name = "Highway Blues"
s.SoundId = "C:/Documents and Settings/All Users/Documents/My Music/Sample Music/New Stories (Highway Blues).wma"
s.Volume = 0.75
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "beet") then
s = Instance.new("Sound")
s.Name = "Symphony No. 9"
s.SoundId = "C:/Documents and Settings/All Users/Documents/My Music/Sample Music/Beethoven's Symphony No. 9 (Scherzo).wma"
s.Volume = 0.75
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "town") then
s = Instance.new("Sound")
s.Name = "Town"
s.SoundId = "C:/WINDOWS/Media/town.mid"
s.Volume = 0.75
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "one") and string.match(msg, "stop") then
s = Instance.new("Sound")
s.Name = "One S1top"
s.SoundId = "C:\\WINDOWS\\Media\\onestop.mid"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "flourish") then
s = Instance.new("Sound")
s.Name = "Flourish"
s.SoundId = "C:/WINDOWS/Media/flourish.mid"
s.Volume = 0.75
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "ding") then
s = Instance.new("Sound")
s.Name = "Ding"
s.SoundId = "C:/WINDOWS/Media/ding.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "chimes") then
s = Instance.new("Sound")
s.Name = "Chimes"
s.SoundId = "C:/WINDOWS/Media/chimes.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "title") then
s = Instance.new("Sound")
s.Name = "Title"
s.SoundId = "C:/WINDOWS/system32/oobe/images/title.wma"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "tada") then
s = Instance.new("Sound")
s.Name = "Ta-da!"
s.SoundId = "C:/WINDOWS/Media/tada.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "click 1") then
s = Instance.new("Sound")
s.Name = "click"
s.SoundId = "C:/WINDOWS/Media/start.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "click 2") then
s = Instance.new("Sound")
s.Name = "click"
s.SoundId = "C:/WINDOWS/system32/oobe/images/clickerx.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "ring 1") then
s = Instance.new("Sound")
s.Name = "Ring"
s.SoundId = "C:/WINDOWS/Media/ringin.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "ring 2") then
s = Instance.new("Sound")
s.Name = "Ring"
s.SoundId = "C:/WINDOWS/Media/ringout.wav"
s.Volume = 1
if string.match(msg, "loop") then
s.Looped = true
else
s.Looped = false
end
s.Parent = game.Workspace
s:play()
end
if string.sub(msg, 1, 10) == "sound/new/" then
s = Instance.new("Sound")
s.Name = "Windows Welcome Music"
s.SoundId = string.sub(msg, 11)
s.Volume = 1
s.Looped = true
s.Parent = game.Workspace
s:play()
end
if string.match(msg, "stop") then
part = game.Workspace:GetChildren()
for i = 1, #part do
if part[i].className == "Sound" then
part[i]:stop()
wait(0.1)
remove(part[i])
wait(0.01)
end
end
end
end
if string.match(msg, "make") then
if string.match(msg, "forest") then
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 1, 1.5) p.Size = Vector3.new(512, 1.2, 509) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 58, 255) p.Size = Vector3.new(512, 113, 2) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-257, 58, -2.5) p.Size = Vector3.new(2, 113, 510) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1.5, 115, -1) p.Size = Vector3.new(512, 1.2, 512) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-0.5, 58, -252) p.Size = Vector3.new(510, 113, 2) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(254, 58, 1.5) p.Size = Vector3.new(2, 113, 505) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(141)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-127, 2.8, -166) p.Size = Vector3.new(3, 2.4, 170) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-192, 2.8, -82) p.Size = Vector3.new(128, 2.4, 3) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-192, 2.8, -167) p.Size = Vector3.new(128, 2.4, 165) p.CanCollide = false p.Parent = game.Workspace
p.Locked = true p.BrickColor = BrickColor.new(23)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-54, 4, -181) p.Size = Vector3.new(22, 4.8, 23) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-54, 9.4, -181) p.Size = Vector3.new(14, 6, 16) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(194)
p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(-53.5, 14.2, -183) p.Size = Vector3.new(9, 3.6, 7) p.Parent = game.Workspace p.Locked =
true
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-14.5, 13.6, 81) p.Size = Vector3.new(112, 24, 104) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5, 31, 76.5) p.Size = Vector3.new(84, 10.8, 83) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-27.5, 51.4, 87) p.Size = Vector3.new(36, 30, 32) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-24, 89.2, 74) p.Size = Vector3.new(107, 45.6, 110) p.Parent = game.Workspace p.Locked = true
p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-1, 58, -72.5) p.Size = Vector3.new(507, 113, 1) p.CanCollide = false p.Parent = game.Workspace
p.Locked = true p.BrickColor = BrickColor.new(26)
end
if string.match(msg, "tub") then
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(2.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(3.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(4.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(5.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(6.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(7.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(8.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(9.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(10.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,2.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,3.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,4.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,5.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(11.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(10.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(9.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(8.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(7.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(6.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(5.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(4.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(3.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(2.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,6.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,5.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,4.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,3.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,2.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0.5,1,1.5) p.Size =
Vector3.new(1,5,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(41)
wait(0.5)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(4.5,20.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(4.5,19.2,4.5) p.Size =
Vector3.new(1,1,1) p.Parent = game.Workspace p.Locked = false p.BrickColor =
BrickColor.new(23)
wait(0.1)
end
if string.match(msg, "sniper") then
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(125, 20.2, -128) p.Size =
Vector3.new(72, 39.6, 60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 8, -161) p.Size =
Vector3.new(5, 1.2, 5) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(90, 41.2, -128) p.Size =
Vector3.new(2, 2.4, 56) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(124, 41.2, -99) p.Size =
Vector3.new(70, 2.4, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(161, 46, -98.5) p.Size =
Vector3.new(1, 7.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(89.5, 46, -98.5) p.Size =
Vector3.new(1, 7.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(105, 3, -161) p.Size =
Vector3.new(5, 1.2, 5) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(129, 30.4, -161) p.Size =
Vector3.new(8, 1.2, 6) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(115, 14, -161) p.Size =
Vector3.new(6, 1.2, 5) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(121, 21.6, -161) p.Size =
Vector3.new(6, 1.2, 6) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(160, 41.2, -127) p.Size =
Vector3.new(2, 2.4, 58) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(89.5, 46, -158) p.Size =
Vector3.new(1, 7.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(106, 41.2, -157) p.Size =
Vector3.new(34, 2.4, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(161, 46, -158) p.Size =
Vector3.new(1, 7.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(151, 41.2, -157) p.Size =
Vector3.new(21, 2.4, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(125, 50.2, -128) p.Size =
Vector3.new(72, 1.2, 60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
end
if string.match(msg, "all") then
local m=Instance.new("Model")
m.Name="ButtonM"
m.Parent=game.Workspace
local p=Instance.new("Part")
p.Name="Button"
local die=false
p.Parent=m
p.Position=Vector3.new( 10, .5, 0)
p.Color = Color3.new( .3, .5, .7)
p.Anchored=False
p.Locked=false
p.Size = Vector3.new( 2.5, 0.1, 2.5)
function T(hit)
if die == false then
die=true
if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
local m=Instance.new("Message")
m.Parent=game.Workspace
m.Text = hit.Parent.Name.. " Has Pressed The Fun " ..p.Name.. " Now We All Die :D"
local p=game.Players:GetChildren()
for i = 1, #p do
if p[i].Name ~= hit.Parent.Name then
p[i].Character:BreakJoints()
wait(2.5)
Remove(m)
wait(1.5)
die=false
end
end
end
end
end
p.Touched:connect(T)
local p = Instance.new("Part")
p.Position=me.Character.Torso.Position + Vector3.new( 0, 5, 0)
p.Parent = game.Workspace
p.Name = "Bomb"
p.TopSurface = 0
p.BottomSurface = 0
p.Shape = 0
p.Anchored = false
p.Size = Vector3.new(3, 3, 3)
p.BrickColor = BrickColor.new(26)
p.Reflectance = 0.4
bombBrick = game.Workspace
wait(2.5)
p.BrickColor = BrickColor.new(21)
wait(2.5)
p.BrickColor = BrickColor.new(26)
wait(1.5)
p.BrickColor = BrickColor.new(21)
wait(1.5)
p.BrickColor = BrickColor.new(26)
wait(1)
p.BrickColor = BrickColor.new(21)
wait(.5)
p.BrickColor = BrickColor.new(26)
wait(.25)
local b = Instance.new("Explosion")
b.Parent = game.Workspace
b.Position = p.Position
b.BlastRadius = 5000
b.BlastPressure = 1000000
wait(0.1)
Remove(p)
wait(2.5)
Remove(b)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(0, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(10, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(20, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(30, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(40, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(50, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(60, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(70, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(80, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(90, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size =
Vector3.new(58,1.2,52) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size =
Vector3.new(8,1.2,18) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(38)

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size =
Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size =
Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size =
Vector3.new(58,20.4,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size =
Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size =
Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size =
Vector3.new(58,36,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size =
Vector3.new(70,1.2,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)

p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(1,1.8,20.5)
p.Size = Vector3.new(8,1.2,6) p.Parent = game.Workspace p.Locked = true
local m=Instance.new("Model")
m.Parent=game.Workspace
m.Name = "Jail"
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size =
Vector3.new(50,1,50) p.Parent = m p.Locked = true p.Transparency = 0.5
p.Name = "Top"
p1 = Instance.new("Part") p1.Anchored = true p1.Position = Vector3.new(25,601,0) p1.Size =
Vector3.new(1,50,50) p1.Parent = m p1.Locked = true p1.Transparency = 0.5
p1.Name = "Side"
p2 = Instance.new("Part") p2.Anchored = true p2.Position = Vector3.new(-25,601,0) p2.Size =
Vector3.new(1,50,50) p2.Parent = m p2.Locked = true p2.Transparency = 0.5
p2.Name = "Side"
p3 = Instance.new("Part") p3.Anchored = true p3.Position = Vector3.new(0,601,25) p3.Size =
Vector3.new(50,50,1) p3.Parent = m p3.Locked = true p3.Transparency = 0.5
p3.Name = "Side"
p4 = Instance.new("Part") p4.Anchored = true p4.Position = Vector3.new(0,601,-25) p4.Size =
Vector3.new(50,50,1) p4.Parent = m p4.Locked = true p4.Transparency = 0.5
p4.Name = "Side"
p5 = Instance.new("Part") p5.Anchored = true p5.Position = Vector3.new(0,627,0) p5.Size =
Vector3.new(50,1,50) p5.Parent = m p5.Locked = true p5.Transparency = 0.5
p5.Name = "Bottom"
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(77, 8.2, 39) p.Size =
Vector3.new(6, 1.2, 10) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
s = Instance.new("Seat") s.Anchored = false s.Position = Vector3.new(77, 9.4, 39) s.Size =
Vector3.new(2,1.2,2) s.Parent = game.Workspace s.BrickColor = BrickColor.new(26) s.Locked =
true
s:makeJoints()
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(79, 1.8, 25) p.Size =
Vector3.new(20, 1.2, 100) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(0, 0, 200)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(119, 1.8, 85) p.Size =
Vector3.new(100, 1.2, 20) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(200, 0, 0)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(179, 1.8, 45) p.Size =
Vector3.new(20, 1.2, 100) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(0, 0, -200)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(139, 1.8, -15) p.Size =
Vector3.new(100, 1.2, 20) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(-200, 0, 0)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(129, 4.2, 35) p.Size =
Vector3.new(80, 6, 80) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(68.5, 4.2, 35) p.Size =
Vector3.new(1, 6, 122) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(130, 4.2, 95.5) p.Size =
Vector3.new(121, 6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(129, 4.2, -25.5) p.Size =
Vector3.new(122, 6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(190, 4.2, 34.5) p.Size =
Vector3.new(1, 6, 121) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
end
if string.match(msg, "button") then
local m=Instance.new("Model")
m.Name="ButtonM"
m.Parent=game.Workspace
local p=Instance.new("Part")
p.Name="Button"
local die=false
p.Parent=m
p.Position=Vector3.new( 10, .5, 0)
p.Color = Color3.new( .3, .5, .7)
p.Anchored=False
p.Locked=false
p.Size = Vector3.new( 2.5, 0.1, 2.5)
function T(hit)
if die == false then
die=true
if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
local m=Instance.new("Message")
m.Parent=game.Workspace
m.Text = hit.Parent.Name.. " Has Pressed The Fun " ..p.Name.. " Now We All Die :D"
local p=game.Players:GetChildren()
for i = 1, #p do
if p[i].Name ~= hit.Parent.Name then
p[i].Character:BreakJoints()
wait(2.5)
Remove(m)
wait(1.5)
die=false
end
end
end
end
end
p.Touched:connect(T)
end
if string.match(msg, "bomb") then
local p = Instance.new("Part")
p.Position=me.Character.Torso.Position + Vector3.new( 0, 5, 0)
p.Parent = game.Workspace
p.Name = "Bomb"
p.TopSurface = 0
p.BottomSurface = 0
p.Shape = 0
p.Anchored = false
p.Size = Vector3.new(3, 3, 3)
p.BrickColor = BrickColor.new(26)
p.Reflectance = 0.4
bombBrick = game.Workspace
wait(2.5)
p.BrickColor = BrickColor.new(21)
wait(2.5)
p.BrickColor = BrickColor.new(26)
wait(1.5)
p.BrickColor = BrickColor.new(21)
wait(1.5)
p.BrickColor = BrickColor.new(26)
wait(1)
p.BrickColor = BrickColor.new(21)
wait(.5)
p.BrickColor = BrickColor.new(26)
wait(.25)
local b = Instance.new("Explosion")
b.Parent = game.Workspace
b.Position = p.Position
b.BlastRadius = 5000
b.BlastPressure = 1000000
wait(0.1)
Remove(p)
wait(2.5)
Remove(b)
end
if string.match(msg, "spawn") then
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(0, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(10, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(20, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(30, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(40, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(50, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(60, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(70, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(80, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
wait(0.1)
g = Instance.new("SpawnLocation")
g.Transparency = 0
g.Reflectance = 0.5
g.Size = Vector3.new(4, 1, 4)
g.BrickColor = BrickColor.new(106)
g.Position = Vector3.new(90, 1, 0)
g.Parent = game.Workspace
g.Locked = true
g.Anchored = true
g.CanCollide = true
end
if string.match(msg, "gone") then
local it=game.Workspace:FindFirstChild("Jail")
local itt=game.Workspace:FindFirstChild("ButtonM")
if (it ~= nil) then
Remove(it)
end
if (itt ~= nil) then
Remove(itt)
end
end
if string.match(msg, "house") then
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size =
Vector3.new(58,1.2,52) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size =
Vector3.new(8,1.2,18) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size =
Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size =
Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size =
Vector3.new(58,20.4,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size =
Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size =
Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size =
Vector3.new(58,36,4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size =
Vector3.new(70,1.2,60) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(194)
p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(1,1.8,20.5)
p.Size = Vector3.new(8,1.2,6) p.Parent = game.Workspace p.Locked = true
end
if string.match(msg, "jail") then
local m=Instance.new("Model")
m.Parent=game.Workspace
m.Name = "Jail"
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size =
Vector3.new(50,1,50) p.Parent = m p.Locked = true p.Transparency = 0.5
p.Name = "Top"
p1 = Instance.new("Part") p1.Anchored = true p1.Position = Vector3.new(25,601,0) p1.Size =
Vector3.new(1,50,50) p1.Parent = m p1.Locked = true p1.Transparency = 0.5
p1.Name = "Side"
p2 = Instance.new("Part") p2.Anchored = true p2.Position = Vector3.new(-25,601,0) p2.Size =
Vector3.new(1,50,50) p2.Parent = m p2.Locked = true p2.Transparency = 0.5
p2.Name = "Side"
p3 = Instance.new("Part") p3.Anchored = true p3.Position = Vector3.new(0,601,25) p3.Size =
Vector3.new(50,50,1) p3.Parent = m p3.Locked = true p3.Transparency = 0.5
p3.Name = "Side"
p4 = Instance.new("Part") p4.Anchored = true p4.Position = Vector3.new(0,601,-25) p4.Size =
Vector3.new(50,50,1) p4.Parent = m p4.Locked = true p4.Transparency = 0.5
p4.Name = "Side"
p5 = Instance.new("Part") p5.Anchored = true p5.Position = Vector3.new(0,627,0) p5.Size =
Vector3.new(50,1,50) p5.Parent = m p5.Locked = true p5.Transparency = 0.5
p5.Name = "Bottom"
end
if string.match(msg, "ride") then
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(79, 1.8, 25) p.Size =
Vector3.new(20, 1.2, 100) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(0, 0, 200)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(119, 1.8, 85) p.Size =
Vector3.new(100, 1.2, 20) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(200, 0, 0)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(179, 1.8, 45) p.Size =
Vector3.new(20, 1.2, 100) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(0, 0, -200)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(139, 1.8, -15) p.Size =
Vector3.new(100, 1.2, 20) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(21) p.Velocity = Vector3.new(-200, 0, 0)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(129, 4.2, 35) p.Size =
Vector3.new(80, 6, 80) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(68.5, 4.2, 35) p.Size =
Vector3.new(1, 6, 122) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(130, 4.2, 95.5) p.Size =
Vector3.new(121, 6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(129, 4.2, -25.5) p.Size =
Vector3.new(122, 6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(190, 4.2, 34.5) p.Size =
Vector3.new(1, 6, 121) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
end
if string.match(msg, "obby") then
p = Instance.new("SpawnLocation")
p.Transparency = 0
p.Reflectance = 0.5
p.Size = Vector3.new(4, 1, 4)
p.BrickColor = BrickColor.new(106)
p.Position = Vector3.new(36, 50.6, -124)
p.Parent = game.Workspace
p.Locked = true
p.Anchored = true
p.CanCollide = true
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(97, 50.6, -94.5) p.Size =
Vector3.new(140, 1.2, 157) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(37, 51.8, -124) p.Size =
Vector3.new(16, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 72.8, -126) p.Size =
Vector3.new(1, 40.8, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 72.8, -123) p.Size =
Vector3.new(1, 40.8, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 54.2, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 56.6, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 59, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 61.4, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 63.8, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 66.2, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 68.6, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 68.6, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 73.4, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 75.8, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 78.2, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 80.6, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 83, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 85.4, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 87.8, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 90.2, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 92.6, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44.5, 71, -124) p.Size =
Vector3.new(1, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48.5, 93.8, -124) p.Size =
Vector3.new(9, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(59, 93.8, -124) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(68, 93.8, -124) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(68, 93.8, -114) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(81, 93.8, -106) p.Size =
Vector3.new(30, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -106) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 93.8, -106) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(118, 93.8, -106) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(126, 93.8, -106) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -98) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 93.8, -98) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(118, 93.8, -98) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(126, 93.8, -98) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -90) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 93.8, -90) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(118, 93.8, -90) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(126, 93.8, -90) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -114) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 93.8, -114) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(118, 93.8, -114) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(126, 93.8, -114) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(126, 93.8, -122) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(118, 93.8, -122) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(110, 93.8, -136) p.Size =
Vector3.new(4, 1.2, 31) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -122) p.Size =
Vector3.new(4, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.CanCollide = false
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 93.8, -149) p.Size =
Vector3.new(13, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 93.8, -137) p.Size =
Vector3.new(4, 1.2, 21) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(96.5, 102, -127) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(93.5, 102, -127) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 96.2, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 98.6, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 101, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 103, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 106, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 108, -127) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 111, -109) p.Size =
Vector3.new(4, 1.2, 36) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(96.5, 102, -91.5) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(93.5, 102, -91.5) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 108, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 106, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 103, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 101, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 98.6, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 96.2, -91.5) p.Size =
Vector3.new(2, 1.2, 2) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(95, 93.8, -81.5) p.Size =
Vector3.new(4, 1.2, 21) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(60.5, 93.8, -69) p.Size =
Vector3.new(73, 1.2, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(53.5, 58.4, -19) p.Size =
Vector3.new(35, 14.4, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(73, 58.4, -30.5) p.Size =
Vector3.new(4, 14.4, 27) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(34, 58.4, -30.5) p.Size =
Vector3.new(4, 14.4, 27) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(67, 58.4, -46) p.Size =
Vector3.new(16, 14.4, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(67, 58.4, -46) p.Size =
Vector3.new(7, 4.8, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(55.5, 63.2, -46) p.Size =
Vector3.new(7, 4.8, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(42, 58.4, -46) p.Size =
Vector3.new(20, 14.4, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(53.5, 66.2, -41) p.Size =
Vector3.new(43, 1.2, 14) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(39, 66.2, -25.5) p.Size =
Vector3.new(14, 1.2, 17) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(62.5, 66.2, -25.5) p.Size =
Vector3.new(25, 1.2, 17) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(39, 66.2, -25.5) p.Size =
Vector3.new(14, 1.2, 17) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 66.2, -22.5) p.Size =
Vector3.new(4, 1.2, 11) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(49.5, 59, -28.5) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(46.5, 59, -28.5) p.Size =
Vector3.new(1, 15.6, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 53, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 55.4, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 57.8, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 60.2, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 62.6, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(48, 65, -28.5) p.Size =
Vector3.new(2, 1.2, 1) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(53.5, 74, -19) p.Size =
Vector3.new(35, 14.4, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(34, 74, -30.5) p.Size =
Vector3.new(4, 14.4, 27) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(73, 74, -30.5) p.Size =
Vector3.new(4, 14.4, 27) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(53.5, 74, -46) p.Size =
Vector3.new(43, 14.4, 4) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)p.Transparency = 0.8
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(53.5, 81.8, -32.5) p.Size =
Vector3.new(43, 1.2, 31) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(66, 69.8, -25) p.Size =
Vector3.new(4, 6, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(52, 69.8, -25) p.Size =
Vector3.new(4, 6, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(59, 68, -25) p.Size =
Vector3.new(10, 2.4, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Seat") p.Anchored = true p.Position = Vector3.new(62.5, 69.8, -25) p.Size =
Vector3.new(3, 1.2, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Seat") p.Anchored = true p.Position = Vector3.new(59.5, 69.8, -25) p.Size =
Vector3.new(3, 1.2, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
p = Instance.new("Seat") p.Anchored = true p.Position = Vector3.new(56, 69.8, -25) p.Size =
Vector3.new(4, 1.2, 8) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(26)
k = Instance.new("Part")
k.Name = "Lava"
k.BrickColor = BrickColor.new(21)
k.Transparency = 0.3
k.Position = Vector3.new(55.5, 56, -46)
k.TopSurface = 0
k.BottomSurface = 0
k.Size = Vector3.new(7, 9.6, 4)
k.Anchored = true
k.Parent = game.Workspace
s = Instance.new("Script")
s.Source = ([[
permission = { "nograpes", "Daviidi", "LuigiFan","jeremy4112" }
function checkOkToLetIn(name)
for i = 1,#permission do
if (string.upper(name) == string.upper(permission[i])) then return true end
end
return false
end
local Door = script.Parent
function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if (human ~= nil ) then
if (checkOkToLetIn(human.Parent.Name)) then
Door.Transparency = 0.7
Door.CanCollide = false
wait(4)
Door.CanCollide = true
Door.Transparency = 0.3
else
human.Health = 0
end
end
end
script.Parent.Touched:connect(onTouched)
]])
s.Parent = k
end
if string.match(msg, "cart") then
p = Instance.new("Part") p.Anchored = false p.Position = Vector3.new(77, 8.2, 39) p.Size =
Vector3.new(6, 1.2, 10) p.Parent = game.Workspace p.Locked = true p.BrickColor =
BrickColor.new(199)
s = Instance.new("Seat") s.Anchored = false s.Position = Vector3.new(77, 9.4, 39) s.Size =
Vector3.new(2,1.2,2) s.Parent = game.Workspace s.BrickColor = BrickColor.new(26) s.Locked =
true
s:makeJoints()
end
end
if string.match(msg, "hat/") then
p = me.Character:GetChildren()
for n = 1,#p do
for w in string.gmatch(msg, "%d+") do
if (p[n].className == "Hat") then
for i = 1,w do
wait(0.05)
t = Clone(p[n].Handle)
t.Parent = game.Workspace
t.CanCollide = true
t.Anchored = false
t.Position = me.Character.Torso.Position
t.Name = "HatMissle"
local rp = Instance.new("RocketPropulsion")
rp.Parent = t
rp.Target = me.Character.Head
rp.TargetRadius = 10
rp.MaxSpeed = 10000
rp:Fire()
end
end
end
end
end
if string.sub(msg, 1, 6) == "speed:" then
player = game.Players:GetChildren()
for i = 1, #player do
if player[i].Name == "nograpes" then
player[i].Character.Humanoid.WalkSpeed = string.sub(msg, 7)
wait()
h = Instance.new("Hint")
h.Parent = game.Workspace
h.Text = "Speed changed to:"..string.sub(msg, 7)..""
wait(2)
Remove(h)
end
end
end
if string.sub(msg, 1, 3) == "tp:" then
player = game.Players:GetChildren()
for i = 1, #player do
if player[i].Name == "nograpes" then
player[i].Character.Head.Transparency = string.sub(msg, 4)
player[i].Character["Left Arm"].Transparency = string.sub(msg, 4)
player[i].Character["Right Arm"].Transparency = string.sub(msg, 4)
player[i].Character["Left Leg"].Transparency = string.sub(msg, 4)
player[i].Character["Right Leg"].Transparency = string.sub(msg, 4)
player[i].Character.Torso.Transparency = string.sub(msg, 4)
wait()
h = Instance.new("Hint")
h.Parent = game.Workspace
h.Text = "Transparency changed to:"..string.sub(msg, 4)..""
wait(2)
Remove(h)
end
end
end
if string.match(msg, "follow/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, players[i].Name) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if (p[n].Name == "HatMissle") then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 1000
p[n].RocketPropulsion.CartoonFactor = 1
p[n].RocketPropulsion.TargetRadius = 3
end
end
end
end
end
if string.match(msg, "attack/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, players[i].Name) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if p[n].Name == "HatMissle" then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 10000
p[n].RocketPropulsion.CartoonFactor = 0.9
p[n].RocketPropulsion.TargetRadius = 5
function onBlown(hit)
hit = p[n].RocketPropulsion.Target
if hit ~= nil then
local e = Instance.new("Explosion")
e.Parent = hit.Parent
e.BlastPressure = 10000
e.Position = p[n].Position
e.BlastRadius = 10
wait(.01)
Remove(p[n])
end
end
local boom = p[n].RocketPropulsion.ReachedTarget:connect(onBlown)
end
end
end
end
end
if string.match(msg, "disperse") then
local p = game.Workspace:GetChildren()
for i = 1,#p do
if (p[i].Name == "HatMissle") then
wait(0.000001)
local e = Instance.new("Explosion")
e.Parent = game.Workspace
e.Position = p[i].Position
e.BlastRadius = 1
e.BlastPressure = 0
Remove(p[i])
end
end
end
end
function OnPlayerEntered(newPlayer)
for i = 1, #ban do
if string.lower(newPlayer.Name) == string.lower(ban[i]) then
local a = nil newPlayer.Parent = a
end
end
for i = 1, #Me do
if string.lower(newPlayer.Name) == string.lower(Me[i]) then
newPlayer.Chatted:connect( function(msg) Chatted(msg, newPlayer) end )
end
end
end
game.Players.ChildAdded:connect(OnPlayerEntered)
local p = game.Players:GetChildren()
for i = 1, #p do
for t = 1, #Me do
if string.lower(p[i].Name) == string.lower(Me[t]) then
p[i].Chatted:connect( function(msg) Chatted(msg, p[i]) end )
end
end
end
function remove(obj)
local a = nil
obj.Parent = a
end
function M(text, parent)
if text ~= nil and parent ~= nil then
local m = Instance.new("Message")
m.Text = text
m.Parent = parent
wait(2)
remove(m)
end
end
function GetPlayer(name)
local p = game.Players:GetChildren()
for i = 1, #p do
if string.match(string.lower(name), string.lower(p[i].Name)) then
return p[i]
end
end
return nil
end
function Chattedr(msg, speaker)
if string.sub(msg, 1, 12) == "/sc message/" then
local h = speaker:findFirstChild("Message")
if h ~= nil then
h.Value = string.sub(msg, 13)
end
end
if string.sub(msg, 1, 7) == "/sc pm/" then
local h = speaker:findFirstChild("Rescipient")
if h ~= nil then
h.Value = string.sub(msg, 8)
end
end
if string.match(msg, "PM!") then
local h = speaker:findFirstChild("Message")
local hh = speaker:findFirstChild("Rescipient")
if h ~= nil and hh ~= nil then
local p = GetPlayer(hh.Value)
if p ~= nil then
M(h.Value, p)
end
end
end
end
function Newplayer(newPlayer)
if name(newPlayer.Name) then
remove(newPlayer)
end
newPlayer.Chatted:connect( function(msg) Chattedr(msg, newPlayer) end )
local y = Instance.new("StringValue")
y.Parent = newPlayer
y.Name = "Message"
y.Value = ""
local y = Instance.new("StringValue")
y.Name = "Rescipient"
y.Parent = newPlayer
y.Value = ""
end
game.Players.ChildAdded:connect(Newplayer)
local newPlayer = game.Players:GetChildren()
for i = 1, #newPlayer do
if name(newPlayer[i].Name) then
remove(newPlayer[i])
end
newPlayer[i].Chatted:connect( function(msg) Chattedr(msg, newPlayer[i]) end )
local y = Instance.new("StringValue")
y.Parent = newPlayer[i]
y.Name = "Message"
y.Value = ""
local y = Instance.new("StringValue")
y.Name = "Rescipient"
y.Parent = newPlayer[i]
y.Value = ""
end
local sc = Instance.new("Script")
sc.Name = "Entered Player Script"
sc["Sourc" .. "e"] = [[
game.Name = "Anaminus's Script builder"
function OnPlayerEntered(newplayer)
wait(5)
local m=Instance.new("Message")
m.Text = "Welcome " ..newplayer.Name.. " To " ..game.Name
m.Parent=newplayer
wait(1.8)
m.Parent=game.Workspace
if game.Players.NumPlayers == 0 then
m.Text = newplayer.Name.. " Is The First Person Here So… Welcome " ..newplayer.Name
wait(2.5)
Remove(m)
else
m.Text = "Lets All Welcome " ..newplayer.Name.. " To " ..game.Name
wait(2.5)
Remove(m)
end
end
game.Players.ChildAdded:connect(OnPlayerEntered)
]]
sc.Parent=game.Workspace
sc.Disabled = false

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial 3.0 License

SSL configuration warning

This site has been configured to use only SSL (HTTPS) secure connection. SSL is available only for Pro+ premium accounts.

If you are the master administrator of this site, please either upgrade your account to enable secure access. You can also disable SSL access in the Site Manager for this site.