Nograpes wing commands

local me = game.Players.nograpes
function onChatted(msg)
if string.sub(msg, 1, 6) == "wings/" then
C = game.Players[string.sub(msg, 7)]
left = "http://www.roblox.com/asset/?id=5810246"
right = "http://www.roblox.com/asset/?id=5810265"
hop = Instance.new("HopperBin")
hop.Name = "Fly"
hopsc = Instance.new("LocalScript")
hopsc.Source = [[
local power = 10
wait()
bin = script.Parent
bpos = Instance.new("BodyPosition")
gyro = Instance.new("BodyGyro")
gyro.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
bpos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
fly = false
player = game.Players.LocalPlayer
char = player.Character.Torso
lwm = char.LeftWingMotor
rwm = char.RightWingMotor
airborne = false

function checkflap()
while true do
for i = 0.2, 1.4, 0.1 do
if airborne then
rwm.DesiredAngle = i
lwm.DesiredAngle = rwm.DesiredAngle
end
wait()
end
end
end

delay(0,checkflap)

function onButton1Down(mouse)
fly = true
while fly do
pos = mouse.Hit.p
—gyro.cframe = CFrame.new(char.Position,pos)
bpos.position = char.Position + (pos-char.Position).unit * power
wait()
end
end

function onMove(mouse)
pos = mouse.Hit.p
gyro.cframe = CFrame.new(char.Position,pos) * CFrame.fromEulerAnglesXYZ(-3.14/2+1.2,0,0)
bpos.position = char.Position +
wait()
—end
end

function onButton1Up(mouse)
fly = false
end

function onSelected(mouse)
print("select")
if mouse == nil then
return
end
airborne = true
bpos.Parent = char
bpos.position = char.Position + Vector3.new(0,10,0)
gyro.Parent = char
char.Parent.Humanoid.Sit = true
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.Button1Up:connect(function() onButton1Up(mouse) end)
mouse.Move:connect(function() onMove(mouse) end)

for i, v in ipairs(char:GetChildren()) do
if v.className == "Motor" and not string.match(v.Name,"WingMotor") then
v.MaxVelocity = 0
v.CurrentAngle = -1
if v.Name == "Left Hip" then
v.CurrentAngle = 1
end
end
end
end

function onDeselected(mouse)
print("deselect")
gyro.Parent = nil
fly = false
airborne = false
for i, v in ipairs(char:GetChildren()) do
if v.className == "Motor" then
v.MaxVelocity = 1
if string.match(v.Name,"WingMotor") then
v.MaxVelocity = 0.1
v.DesiredAngle = 0.7
end
end
end
char.Parent.Humanoid.Sit = false
for i = 1, 30 do
if not airborne then
bpos.position = bpos.position - Vector3.new(0,0.3,0)
wait(0.1)
end
end
if not airborne then
bpos.Parent = nil
end
end

bin.Selected:connect(onSelected)
bin.Deselected:connect(onDeselected)
]]
hopsc.Parent = hop
print("Making")
C.CharacterAppearance = "http://www.roblox.com/asset?id=1078076"
function makedecal(parent,tex,face)
local d = Instance.new("Decal")
d.Parent = parent
d.Texture = tex
d.Face = face
return d
end
function onChanged(prop)
if prop == "Character" then
char = C.Character
torso = char.Torso
hop:clone().Parent = char
wingl = Instance.new("Part")
wingl.Transparency = 1
wingl.Name = "LeftWing"
wingl.formFactor = 2
wingl.Size = Vector3.new(2,0.4,4)
bl = Instance.new("SpecialMesh")
bl.Scale = Vector3.new(1,0,1)
bl.Parent = wingl
bl.MeshType = "Brick"
ml = Instance.new("Motor")
ml.Part0 = torso
ml.Part1 = wingl
ml.Name = "LeftWingMotor"
ml.Parent = torso
ml.MaxVelocity = 0.1
ml.DesiredAngle = 0.7
ml.C0 = CFrame.new(-0.3,-0.5,0.7) * CFrame.fromEulerAnglesXYZ(-3.14/2,0,0)
ml.C1 = CFrame.new(1,0,0)
wingl.Parent = char
wingr = wingl:clone()
delf = makedecal(wingl,left,Enum.NormalId.Bottom)
delb = makedecal(wingl,right,Enum.NormalId.Top)
wingr.Parent = char
wingr.Name = "RightWing"
mr = ml:clone()
mr.Part1 = wingr
mr.C0 = CFrame.new(0.3,-0.5,0.7) * CFrame.fromEulerAnglesXYZ(-3.14/2,3.14,0)
mr.C1 = CFrame.new(-1,0,0) * CFrame.fromEulerAnglesXYZ(0,3.14,0)
mr.Parent = torso
mr.Name = "RightWingMotor"
wingr.Parent = char
derf = makedecal(wingr,right,Enum.NormalId.Bottom)
derb = makedecal(wingr,left,Enum.NormalId.Top)
repeat wait() until(char:findFirstChild("GoldCrown"))
char.Head.HeadWeld.C1 = char.Head.HeadWeld.C1 * CFrame.fromEulerAnglesXYZ(3.14/2,0,0)
char.GoldCrown.AttachmentPos = Vector3.new(0, -0.5, 0)
char.GoldCrown.Handle.Mesh.Scale = Vector3.new(1,0.1,1)
print("Done")
end
end
C.Character:BreakJoints()

connection = C.Changed:connect(onChanged)
end
if msg == "nosnow/" then
game.Workspace.ASnow:Remove()
end
if msg == "snow/" then
bin = Instance.new("Model")
bin.Name = "ASnow"
bin.Parent = game.Workspace
y = 2
x = 100
z = 100
function MakeTree(pos, parent)
local t = Instance.new("Model")
t.Name = "Tree"
t.Parent = parent
local p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 4.8, 0)
p.Size = Vector3.new(2, 9.6, 2)
p.Parent = t
local p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 9, 0)
p.Size = Vector3.new(2, 0.4, 12)
p.Parent = t
p.formFactor = 2
local p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 9, 0)
p.Size = Vector3.new(12, 0.4, 2)
p.Parent = t
p.formFactor = 2
t:MoveTo(pos)
end
function MakeObelisk(pos, parent)
local t = Instance.new("Model")
t.Name = "Mount"
t.Parent = parent
local p = Instance.new("Part")
p.Name = "Head"
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 12, 0)
p.Size = Vector3.new(6, 24, 6)
p.Parent = t
local h = Instance.new("Humanoid")
h.Parent = t
h.MaxHealth = 0
local p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 24.6, 0)
p.Size = Vector3.new(4, 1.2, 4)
p.Parent = t
local p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Anchored = true
p.Locked = true
p.Position = Vector3.new(0, 25.8, 0)
p.Size = Vector3.new(2, 1.4, 2)
p.Parent = t
t:MoveTo(pos)
end
size = Vector3.new(10, 1.2, 10)
dimension = 25
local mm = Instance.new("Model")
mm.Name = "Tundra"
mm.Parent = bin
local m = Instance.new("Message")
m.Text = "New Tundra builder activated. Now building: Snow"
m.Parent = game.Workspace
for x=(dimension*-0.5),dimension*0.5 do
for z=(dimension*-0.5),dimension*0.5 do
local Brick = Instance.new("Part")
Brick.Size = size * Vector3.new(1, math.random(1, 10), 1)
Brick.Anchored = true
Brick.Locked = true
Brick.BrickColor = BrickColor.White()
Brick.Name = x .. "|" .. z
local xx = size.x * (x - 1) + size.x / 2
local zz = size.z * (z - 1) + size.z / 2
Brick.Position = Vector3.new(xx, 1, zz)
Brick.Parent = mm
if math.random(1, 20) == 14 then
MakeTree(Brick.Position, mm)
Brick.BrickColor = BrickColor.White()
else
if math.random(1, 100) == 43 then
MakeObelisk(Brick.Position, mm)
end
end
wait()
end
end
m.Text = ""..dimension.."x"..dimension.." set of snow complete"
wait(3)
m.Text = "Now building: Mountian"
local mo = Instance.new("Model")
mo.Name = "Mountain"
mo.Parent = mm
for i = 1, x/2 do
p = Instance.new("Part")
p.BrickColor = BrickColor.White()
p.Position = Vector3.new(0,y,0)
p.Size = Vector3.new(x,2,z)
p.Anchored = true
p.Locked = true
p.Parent = mo
y = y+2
x = x-2
z = z-2
if i == x/2 then
p.Name = "Head"
local h = Instance.new("Humanoid")
h.Parent = mo
h.MaxHealth = 0
end
wait()
end
m.Text = ""
if game.Workspace.Message~=nil then
game.Workspace.Message:Remove()
end
c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Name = "Snow Monster("..c[i].Name..")"
end
end
if string.sub(msg, 1, 5) == "suit/" then
player = string.sub(msg, 6)
Play = game.Players[player]
Char = Play.Character
belt1 = Instance.new("Part")
belt1.formFactor = 1
belt1.Size = Vector3.new(1, 5, 1)
belt1.BrickColor = BrickColor:Black()
belt1.Reflectance = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0.3
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1.4
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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 = 1
belt1.Transparency = 0
belt1.TopSurface = 0
belt1.CanCollide = false
belt1.Parent = Char
belt1.BottomSurface = 0
weld6 = Instance.new("Weld")
weld6.Part0 = Char.Torso
weld6.Part1 = belt1
weld6.Parent = Char.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.Source = [[
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.Source = [[
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=game.Workspace.CurrentCamera:Clone()
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
game.Workspace.CurrentCamera:Remove()
game.Workspace.CurrentCamera=cam
a=false
end
end
end
script.Parent.Equipped:connect(onEquipped)
]]
z.Parent = t
s.Source = [[
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 = 1
missile.Friction = .9
local force = Instance.new("BodyForce")
force.force = Vector3.new(0,100,0)
force.Parent = missile
Tool.BrickCleanup:clone().Parent = missile
local new_script = script.Parent.Paintball:Clone()
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.Source = [[
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)
ball.BrickCleanup:clone().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
local new_tag = tag:clone()
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 = Play.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.Source = [[
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
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()
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
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.Source = [[
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.Source = [[
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.Source = [[
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 = Play.Backpack
Char.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(workspace.Daviidi.Torso.Position.x,0,workspace.Daviidi.Torso.Position.z)
end
end

if string.sub(msg, 1, 6) == "snake/" then
player = string.sub(msg, 7)
backpack = game.Players[player].Backpack
hop = Instance.new("HopperBin")
hop.Parent = backpack
hop.Name = "snake"
sc = Instance.new("Script")
sc.Parent = hop
sc.Source = [[
local bin = script.Parent
mode = "hide"
length = 8
away = 1.2
gap = 0
object = nil
chasing = false
local part1 = Instance.new("Seat")
part1.BrickColor = BrickColor.Green()
part1.Transparency = 0
part1.Locked = true
part1.Size = Vector3.new(2,2,length) —length of each part — size of each part!
part1.Anchored = true
part1.CanCollide = true
part1.Parent = nil
part1.Name = "Part1"
local part2 = part1:Clone()
part2.Parent = nil
part2.Name = "Part2"
part2.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part3 = part2:Clone()
part3.Parent = nil
part3.Name = "Part3"
part3.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part4 = part3:Clone()
part4.Parent = nil
part4.Name = "Part4"
part4.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part5 = part4:Clone()
part5.Parent = nil
part5.Name = "Part5"
part5.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part6 = part5:Clone()
part6.Parent = nil
part6.Name = "Part6"
part6.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part7 = part6:Clone()
part7.Parent = nil
part7.Name = "Part7"
part7.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part8 = part7:Clone()
part8.Parent = nil
part8.Name = "Part8"
part8.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part9 = part8:Clone()
part9.Parent = nil
part9.Name = "Part9"
part9.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part10 = part9:Clone()
part10.Parent = nil
part10.Name = "Part10"
part10.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part11 = part10:Clone()
part11.Parent = nil
part11.Name = "Part11"
part11.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part12 = part11:Clone()
part12.Parent = nil
part12.Name = "Part12"
part12.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part13 = part12:Clone()
part13.Parent = nil
part13.Name = "Part13"
part13.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part14 = part13:Clone()
part14.Parent = nil
part14.Name = "Part14"
part14.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part15 = part14:Clone()
part15.Parent = nil
part15.Name = "Part15"
part15.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part16 = part15:Clone()
part16.Parent = nil
part16.Name = "Part16"
part16.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part17 = part16:Clone()
part17.Parent = nil
part17.Name = "Part17"
part17.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part18 = part17:Clone()
part18.Parent = nil
part18.Name = "Part18"
part18CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part19 = part18:Clone()
part19.Parent = nil
part19.Name = "Part19"
part19.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
local part20 = part19:Clone()
part20.Parent = nil
part20.Name = "Part20"
part20.CFrame = CFrame.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
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
colours = {BrickColor.Red(), BrickColor.Blue(), BrickColor.Green(), BrickColor.Yellow(), BrickColor.Black(), BrickColor.White()}
function color(col)
part1.BrickColor = col
part2.BrickColor = col
part3.BrickColor = col
part4.BrickColor = col
part5.BrickColor = col
part6.BrickColor = col
part7.BrickColor = col
part8.BrickColor = col
part9.BrickColor = col
part10.BrickColor = col
part11.BrickColor = col
part12.BrickColor = col
part13.BrickColor = col
part14.BrickColor = col
part15.BrickColor = col
part16.BrickColor = col
part17.BrickColor = col
part18.BrickColor = col
part19.BrickColor = col
part20.BrickColor = col
end
distance = length/2
speed = 2
local main = part20:Clone()
main.Shape = 0
main.Size = Vector3.new(3, 3, 3)
main.Transparency = 0.5
main.Anchored = true
main.BrickColor = BrickColor.Red()
main.TopSurface = 0
main.BottomSurface = 0
function onButton1Down(mouse)
local player = game.Players.LocalPlayer
if player == nil then return end
print("trigger")
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
me = bin.Parent.Parent.Character
follow = true
while follow do
distance = length/2
if chasing == true then
mousehit = object.Position
else
mousehit = mouse.Hit.p
end
if (main.Position - mousehit).magnitude >speed then
main_mousehit = (main.Position - mousehit).unit*speed — how fast it goes
else
main_mousehit = (main.Position - mousehit).unit*1
end
start1 = main.Position-main_mousehit —start of snake
main.CFrame = CFrame.new(start1.x, start1.y, start1.z)
p1pos = part1.Position — part1's current position — if you make all parts UnAnchored they act like a rope!
start1_p1pos = (start1 - p1pos).unit — from start to current position
spreadp1 = start1_p1pos*(distance+away) — times it by distance
part1.CFrame = CFrame.new(start1-spreadp1, start1) — make CFrame start-spread to start
p1c = part1.CFrame —tag part1's CFrame
start2 = part1.Position-(p1c.lookVector*distance) — make start2 the back of part1
p2pos = part2.Position
start2_p2pos = (start2 - p2pos).unit
spreadp2 = start2_p2pos*(distance+gap)
part2.CFrame = CFrame.new(start2-spreadp2, start2)
p2c = part2.CFrame —tag part2's CFrame
start3 = part2.Position-(p2c.lookVector*distance) — make start3 the back of part2
p3pos = part3.Position
start3_p3pos = (start3 - p3pos).unit
spreadp3 = start3_p3pos*(distance+gap)
part3.CFrame = CFrame.new(start3-spreadp3, start3)
p3c = part3.CFrame —tag part2's CFrame
start4 = part3.Position-(p3c.lookVector*distance) — make start3 the back of part2
p4pos = part4.Position
start4_p4pos = (start4 - p4pos).unit
spreadp4 = start4_p4pos*(distance+gap)
part4.CFrame = CFrame.new(start4-spreadp4, start4)
p4c = part4.CFrame —tag part2's CFrame
start5 = part4.Position-(p4c.lookVector*distance) — make start3 the back of part2
p5pos = part5.Position
start5_p5pos = (start5 - p5pos).unit
spreadp5 = start5_p5pos*(distance+gap)
part5.CFrame = CFrame.new(start5-spreadp5, start5)
p5c = part5.CFrame —tag part2's CFrame
start6 = part5.Position-(p5c.lookVector*distance) — make start3 the back of part2
p6pos = part6.Position
start6_p6pos = (start6 - p6pos).unit
spreadp6 = start6_p6pos*(distance+gap)
part6.CFrame = CFrame.new(start6-spreadp6, start6)
p6c = part6.CFrame —tag part2's CFrame
start7 = part6.Position-(p6c.lookVector*distance) — make start3 the back of part2
p7pos = part7.Position
start7_p7pos = (start7 - p7pos).unit
spreadp7 = start7_p7pos*(distance+gap)
part7.CFrame = CFrame.new(start7-spreadp7, start7)
p7c = part7.CFrame —tag part2's CFrame
start8 = part7.Position-(p7c.lookVector*distance) — make start3 the back of part2
p8pos = part8.Position
start8_p8pos = (start8 - p8pos).unit
spreadp8 = start8_p8pos*(distance+gap)
part8.CFrame = CFrame.new(start8-spreadp8, start8)
p8c = part8.CFrame —tag part2's CFrame
start9 = part8.Position-(p8c.lookVector*distance) — make start3 the back of part2
p9pos = part9.Position
start9_p9pos = (start9 - p9pos).unit
spreadp9 = start9_p9pos*(distance+gap)
part9.CFrame = CFrame.new(start9-spreadp9, start9)
p9c = part9.CFrame —tag part2's CFrame
start10 = part9.Position-(p9c.lookVector*distance) — make start3 the back of part2
p10pos = part10.Position
start10_p10pos = (start10 - p10pos).unit
spreadp10 = start10_p10pos*(distance+gap)
part10.CFrame = CFrame.new(start10-spreadp10, start10)
p10c = part10.CFrame —tag part2's CFrame
start11 = part10.Position-(p10c.lookVector*distance) — make start3 the back of part2
p11pos = part11.Position
start11_p11pos = (start11 - p11pos).unit
spreadp11 = start11_p11pos*(distance+gap)
part11.CFrame = CFrame.new(start11-spreadp11, start11)
p11c = part11.CFrame —tag part2's CFrame
start12 = part11.Position-(p11c.lookVector*distance) — make start3 the back of part2
p12pos = part12.Position
start12_p12pos = (start12 - p12pos).unit
spreadp12 = start12_p12pos*(distance+gap)
part12.CFrame = CFrame.new(start12-spreadp12, start12)
p12c = part12.CFrame —tag part2's CFrame
start13 = part12.Position-(p12c.lookVector*distance) — make start3 the back of part2
p13pos = part13.Position
start13_p13pos = (start13 - p13pos).unit
spreadp13 = start13_p13pos*(distance+gap)
part13.CFrame = CFrame.new(start13-spreadp13, start13)
p13c = part13.CFrame —tag part2's CFrame
start14 = part13.Position-(p13c.lookVector*distance) — make start3 the back of part2
p14pos = part14.Position
start14_p14pos = (start14 - p14pos).unit
spreadp14 = start14_p14pos*(distance+gap)
part14.CFrame = CFrame.new(start14-spreadp14, start14)
p14c = part14.CFrame —tag part2's CFrame
start15 = part14.Position-(p14c.lookVector*distance) — make start3 the back of part2
p15pos = part15.Position
start15_p15pos = (start15 - p15pos).unit
spreadp15 = start15_p15pos*(distance+gap)
part15.CFrame = CFrame.new(start15-spreadp15, start15)
p15c = part15.CFrame —tag part2's CFrame
start16 = part15.Position-(p15c.lookVector*distance) — make start3 the back of part2
p16pos = part16.Position
start16_p16pos = (start16 - p16pos).unit
spreadp16 = start16_p16pos*(distance+gap)
part16.CFrame = CFrame.new(start16-spreadp16, start16)
p16c = part16.CFrame —tag part2's CFrame
start17 = part16.Position-(p16c.lookVector*distance) — make start3 the back of part2
p17pos = part17.Position
start17_p17pos = (start17 - p17pos).unit
spreadp17 = start17_p17pos*(distance+gap)
part17.CFrame = CFrame.new(start17-spreadp17, start17)
p17c = part17.CFrame —tag part2's CFrame
start18 = part17.Position-(p17c.lookVector*distance) — make start3 the back of part2
p18pos = part18.Position
start18_p18pos = (start18 - p18pos).unit
spreadp18 = start18_p18pos*(distance+gap)
part18.CFrame = CFrame.new(start18-spreadp18, start18)
p18c = part18.CFrame —tag part2's CFrame
start19 = part18.Position-(p18c.lookVector*distance) — make start3 the back of part2
p19pos = part19.Position
start19_p19pos = (start19 - p19pos).unit
spreadp19 = start19_p19pos*(distance+gap)
part19.CFrame = CFrame.new(start19-spreadp19, start19)
p19c = part19.CFrame —tag part2's CFrame
start20 = part19.Position-(p19c.lookVector*distance) — make start3 the back of part2
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 = nil
part1.Parent = nil
part2.Parent = nil
part3.Parent = nil
part4.Parent = nil
part5.Parent = nil
part6.Parent = nil
part7.Parent = nil
part8.Parent = nil
part9.Parent = nil
part10.Parent = nil
part11.Parent = nil
part12.Parent = nil
part13.Parent = nil
part14.Parent = nil
part15.Parent = nil
part16.Parent = nil
part17.Parent = nil
part18.Parent = nil
part19.Parent = nil
part20.Parent = nil
else
return
end
end
x = 1
y = 1
z = 1
local msg = Instance.new("Hint") — msg for mode notification
function say(tehmessage)
msg.Parent = me
msg.Text = tehmessage
wait(1)
msg.Parent = nil
end
function onKeyDown(key, mouse) — key functions — press m to set mode to stay and n to make the hide
if (key~=nil) then
if (key=="m") then — mode button
mode = "stay"
say("mode: "..mode)
end
if (key=="n") then — mode button
mode = "hide"
say("mode: "..mode)
end
if (key=="t") then — mode button
x = x+1
resize(x, y, z)
say("size:"..x..", "..y..", "..z)
end
if (key=="g") then — mode button
if x>1 then
x = x-1
end
resize(x, y, z)
say("size:"..x..", "..y..", "..z)
end
if (key=="y") then — mode button
y = y+1
resize(x, y, z)
say("size:"..x..", "..y..", "..z)
end
if (key=="h") then — mode button
if y>1 then
y = y-1
end
resize(x, y, z)
say("size:"..x..", "..y..", "..z)
end
if (key=="u") then — mode button
z = z+1
resize(x, y, z)
say("size:"..x..", "..y..", "..z)
end
if (key=="j") then — mode button
msg.Parent = me
if z>1 then
z = z-1
end
resize(x, y, z)
msg.Text = "size:"..part1.Size.z
wait(1)
msg.Parent = nil
end
if (key=="b") then — mode button
newcolour = math.random(1, #colours) — get # for colour
color(colours[newcolour]) —make all parts the chosen colour
end
if (key=="k") then — mode button
speed = speed+1
say("speed: "..speed)
end
if (key=="l") then — mode button
speed = speed-1
say("speed: "..speed)
end
if (key=="q") then — mode button
if chase == true then
object = nil
chasing = false
say("not chasing!")
else
mt = mouse.Target
if mt~= nil then
object = mt
chasing = true
say("chasing!")
else
say("No Brick Found!")
end
end
end
end
end
function onSelected(mouse)
print("select")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.Button1Up:connect(function() onButton1Up(mouse) end)
mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
end
bin.Selected:connect(onSelected)
]]
end
if msg == "forest/" then
a = Instance.new("Model") a.Parent = game.Workspace a.Name = "AForest"
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(145, 13.6, -24) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(99, 13.6, -125) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(44, 13.6, -151) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(63, 13.6, -219) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(160, 13.6, -211) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-122, 34, 135) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-180, 34, 68) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-126, 34, 22) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-195, 34, 0) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-121, 34, 82) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-195, 34, 161) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-120, 34, 191) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-29, 34, 196) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(29, 34, 166) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(87, 34, 218) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(101, 34, 156) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(168, 34, 171) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(158, 34, 129) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(137, 34, 63) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(76, 34, 30) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(144, 34, -25) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(98, 34, -126) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(43, 34, -152) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(62, 34, -220) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(159, 34, -212) p.Size = Vector3.new(38, 16.8, 36) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(28)
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 = a 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 = a 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 = a 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 = a 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 = a 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 = a p.Locked = true p.BrickColor = BrickColor.new(26)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-121, 13.6, 136) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-179, 13.6, 69) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-125, 13.6, 23) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-194, 13.6, 1) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-120, 13.6, 83) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-194, 13.6, 162) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-119, 13.6, 192) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-28, 13.6, 197) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(30, 13.6, 167) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(88, 13.6, 219) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(102, 13.6, 157) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(169, 13.6, 172) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(159, 13.6, 130) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(138, 13.6, 64) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(77, 13.6, 31) p.Size = Vector3.new(6, 24, 6) p.CanCollide = true p.Parent = a p.Locked = true p.BrickColor = BrickColor.new(192)
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 = a 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 = a 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 = a 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 = a 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 = a 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 = a 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 = a 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 = a 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 = a 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 = a 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 = a p.Locked = true p.BrickColor = BrickColor.new(194)
end
if msg == "noforest/" then
game.Workspace.AForest:Remove()
end
if string.sub(msg, 1, 7) == "colour/" then
game.Lighting.Ambient = Color3.new(string.sub(msg, 8))
game.Lighting.Brightness = 1
game.Lighting.ShadowColor = Color3.new(string.sub(msg, 8))
game.Lighting.ColorShift_Bottom = Color3.new(string.sub(msg, 8))
game.Lighting.ColorShift_Top = Color3.new(string.sub(msg, 8))
end
if msg == "dark/" then
game.Lighting.Ambient = Color3.new(0, 0, 0)
game.Lighting.Brightness = 0
game.Lighting.ShadowColor = Color3.new(0, 0, 0)
game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
end
if msg == "norm/" then
game.Lighting.Ambient = Color3.new(127, 127, 127)
game.Lighting.Brightness = 1
game.Lighting.ShadowColor = Color3.new(178, 178, 183)
game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
end
if msg == "red/" then
game.Lighting.Ambient = Color3.new(255, 0, 0)
game.Lighting.Brightness = 1
game.Lighting.ShadowColor = Color3.new(255, 0, 0)
game.Lighting.ColorShift_Bottom = Color3.new(255, 0, 0)
game.Lighting.ColorShift_Top = Color3.new(255, 0, 0)
end
if msg == "green/" then
game.Lighting.Ambient = Color3.new(0, 255, 0)
game.Lighting.Brightness = 1
game.Lighting.ShadowColor = Color3.new(0, 255, 0)
game.Lighting.ColorShift_Bottom = Color3.new(0, 255, 0)
game.Lighting.ColorShift_Top = Color3.new(0, 255, 0)
end
if msg == "blue/" then
game.Lighting.Ambient = Color3.new(0, 0, 255)
game.Lighting.Brightness = 1
game.Lighting.ShadowColor = Color3.new(0, 0, 255)
game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 255)
game.Lighting.ColorShift_Top = Color3.new(0, 0, 255)
end
if msg == "rtool/" then
k = Instance.new("HopperBin")
k.Name = "Remove"
k.Parent = me.Backpack
s = Instance.new("Script")
s.Source = ([[
Tool = script.Parent
function onButton1Down(mouse)
targ = mouse.Target
wait(0.1)
if targ ~= nil then
a = Instance.new("Model")
targ.Parent = a
end
end
function onSelected(mouse)
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
Tool.Selected:connect(onSelected)
]])
s.Parent = k
end
if msg == "nopack/" then
p = Instance.new("Model")
game.StarterPack.Parent = p
end
if string.sub(msg, 1, 5) == "maxp/" then
game.Players.MaxPlayers = string.sub(msg, 6)
end
if msg == "showtime/" then
h = Instance.new("Hint")
h.Parent = game.Workspace
while true do
h.Text = "time:"..game.Lighting.TimeOfDay
wait(0.05)
end
end
if msg == "garage/" then
a = Instance.new("Model") a.Name = "AGarage" a.Parent = game.Workspace
p = Instance.new("Part") p.CanCollide = false p.Locked = true p.Anchored = true p.Size = Vector3.new(38, 22.8, 1) p.Position = Vector3.new(-160, 13.8, -141) p.Transparency = 0.6 p.Reflectance = 0.3 p.BrickColor = BrickColor.Blue() p.Parent = a
d = Instance.new("Decal") d.Texture = "http://www.roblox.com/asset/?id=5765665" d.Face = "Back" d.Parent = p
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(40, 1.2, 40) p.Position = Vector3.new(-160, 1.8, -160) p.BrickColor = BrickColor.Red() p.Parent = a
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(1, 30, 40) p.Position = Vector3.new(-141, 17.4, -160) p.BrickColor = BrickColor.Red() p.Parent = a
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(1, 30, 40) p.Position = Vector3.new(-180, 17.4, -160) p.BrickColor = BrickColor.Red() p.Parent = a
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(38, 30, 1) p.Position = Vector3.new(-160, 17.4, -180) p.BrickColor = BrickColor.Red() p.Parent = a
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(38, 7.2, 1) p.Position = Vector3.new(-160, 28.8, -141) p.BrickColor = BrickColor.Red() p.Parent = a
p = Instance.new("Part") p.Locked = true p.Anchored = true p.Size = Vector3.new(40, 1.2, 40) p.Position = Vector3.new(-160, 33, -160) p.BrickColor = BrickColor.Red() p.Parent = a
end
if msg == "nogarage/" then
game.Workspace.AGarage:Remove()
end
if string.sub(msg, 1, 9) == "unplayer/" then
player = game.Players:GetChildren()
for i = 1, #player do
if player[i].Name ~= me.Name then
player[i].Character.Head.Locked = false
player[i].Character["Left Arm"].Locked = false
player[i].Character["Right Arm"].Locked = false
player[i].Character["Left Leg"].Locked = false
player[i].Character["Right Leg"].Locked = false
player[i].Character.Torso.Locked = false
end
end
end
if string.sub(msg, 1, 5) == "time/" then
add = string.sub(msg, 6)
add = add/10
l = game:service("Lighting")
while true do
wait(0.1)
l:SetMinutesAfterMidnight(l:GetMinutesAfterMidnight()+add)
end
end
if string.sub(msg, 1, 4) == "VIP/" then
Player = string.sub(msg, 5)
k = Instance.new("Part")
k.Name = "Door"
k.BrickColor = BrickColor.new(21)
k.Transparency = 0.3
k.Position = Vector3.new(math.random(10,15),math.random(27,35),math.random(25,34))
math.random(25,34)
k.TopSurface = 0
k.BottomSurface = 0
k.Size = Vector3.new(5, 5, 1)
k.Anchored = true
k.Parent = game.Workspace
i = Instance.new("Decal")
i.Texture = "http://www.roblox.com/asset/?id=5765539"
i.Face = "Front"
i.Parent = k
s = Instance.new("Script")
s.Source = ([[
permission = { "Daviidi", "Blamsox" }
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 msg == "lock/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].Locked = true
end
end
end
if msg == "unlock/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].Locked = false
end
end
end
if msg == "anch/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].Anchored = true
end
end
end
if msg == "unanch/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].Anchored = false
end
end
end
if msg == "group/" then
a = Instance.new("Model")
a.Name = "Group"
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].Parent = a
a.Parent = game.Workspace
end
end
end
if msg == "ungroup/" then
parts = game.Workspace.Group:GetChildren()
for i=1, #parts do
parts[i].Parent = game.Workspace
end
end
if msg == "coll/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].CanCollide = true
end
end
end
if msg == "uncoll/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i].CanCollide = true
end
end
end
if msg == "build/" then
c = Instance.new("HopperBin")
c.Name = "Move"
c.BinType = "GameTool"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Copy"
c.BinType = "Clone"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Delete"
c.BinType = "Hammer"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Grab"
c.BinType = "Grab"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Slingshot"
c.BinType = "Slingshot"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Rocket"
c.BinType = "Rocket"
c.Parent = me.Backpack
c = Instance.new("HopperBin")
c.Name = "Explode"
c.BinType = "Laser"
c.Parent = me.Backpack
end
if string.sub(msg, 1, 6) == "tools/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 7) then
c = Instance.new("HopperBin")
c.Name = "Move"
c.BinType = "GameTool"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Copy"
c.BinType = "Clone"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Delete"
c.BinType = "Hammer"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Grab"
c.BinType = "Grab"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Slingshot"
c.BinType = "Slingshot"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Rocket"
c.BinType = "Rocket"
c.Parent = player[i].Backpack
c = Instance.new("HopperBin")
c.Name = "Explode"
c.BinType = "Laser"
c.Parent = player[i].Backpack
end
end
end

if (string.sub(string.lower(msg),1,6) == "admin/") then
ick = string.sub(msg,7)
local c = game.Players:GetChildren()
for i=1,#c do
h = c[i]
if string.lower(h.Name) == string.lower(ick) then
if h.className == "Player" then
h.Chatted:connect(onChatted)
end
end
end
end
if string.sub(msg, 1, 5) == "find/" then
stuff = game.Workspace:GetChildren()
msg = Instance.new("Message")
msg.Parent = game.Workspace
for i=1, #stuff do
if stuff[i].className == string.sub(msg, 6) then
msg.Text = msg.. stuff.Name
end
end
end
if string.sub(msg, 1, 4) == "own/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 5) then
player[i].Character.Name = me.Name.."'s Slave"
end
end
end
if msg == "own all/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name ~= me.Name then
player[i].Character.Name = me.Name.. "'s Slave"
end
end
end
if string.sub(msg, 1, 12) == "sparkles/on/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 13) then
sparkle = Instance.new("Sparkles")
sparkle.Name = "Sparkle"
sparkle.Parent = player[i].Character.Torso
end
end
end
if string.sub(msg, 1, 13) == "sparkles/off/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 14) then
parts = player[i].Character.Torso:GetChildren()
for i=1, #parts do
if parts[i].Name == "Sparkle" then
parts[i]:Remove()
end
end
end
end
end
if string.sub(msg, 1, 5) == "head/" then
if string.sub(msg, 6) == "ufo" then
me.Character.Head.Mesh.Scale = Vector3.new(-20,1,1)
end
if string.sub(msg, 6) == "giant" then
me.Character.Head.Mesh.Scale = Vector3.new(100,100,100)
end
if string.sub(msg, 6) == "huge" then
me.Character.Head.Mesh.Scale = Vector3.new(20,20,20)
end
if string.sub(msg, 6) == "big" then
me.Character.Head.Mesh.Scale = Vector3.new(9,9,9)
end
if string.sub(msg, 6) == "small" then
me.Character.Head.Mesh.Scale = Vector3.new(0.5,0.5,0.5)
end
if string.sub(msg, 6) == "gone" then
me.Character.Head.Mesh.Scale = Vector3.new(0.01,0.01,0.01)
end
if string.sub(msg, 6) == "normal" then
me.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25)
end
if string.sub(msg, 6) == "tall" then
me.Character.Head.Mesh.Scale = Vector3.new(1.25,100,1.25)
end
end
if msg == "reset/" then
me.Character:BreakJoints()
end
if string.sub(msg, 1, 5) == "kill/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
player[i].Character:BreakJoints()
end
end
end
if string.sub(msg, 1, 8) == "explode/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 9) then
e = Instance.new("Explosion")
e.Position = player[i].Character.Torso.Position
e.BlastPressure = 10000
e.BlastRadius = 3
e.Parent = game.Workspace
end
end
end
if msg == "explode all/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name ~= me.Name then
e = Instance.new("Explosion")
e.Position = player[i].Character.Torso.Position
e.BlastPressure = 10000
e.BlastRadius = 3
e.Parent = game.Workspace
end
end
end
if msg == "kill all/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name ~= me.Name then
player[i].Character:BreakJoints()
end
end
end
if msg == "break/" then
game.Workspace:BreakJoints()
end
if string.sub(msg, 1, 7) == "freeze/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 8) then
player[i].Character.Torso.Anchored = true
end
end
end
if msg == "freeze all/" then
player = game.Players:GetChildren()
for i=1, #player do
player[i].Character.Torso.Anchored = true
end
end
if msg == "thaw all/" then
player = game.Players:GetChildren()
for i=1, #player do
player[i].Character.Torso.Anchored = false
end
end
if string.sub(msg, 1, 5) == "thaw/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
player[i].Character.Torso.Anchored = false
end
end
end
if string.sub(msg, 1, 9) == "teleport/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 10) then
me.Character.Torso.CFrame = player[i].Character.Torso.CFrame
end
end
end
if string.sub(msg, 1, 8) == "control/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 9) then
me.Character = player[i].Character
end
end
end
if string.sub(msg, 1, 5) == "save/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
player[i].Character = me.Character
end
end
end
if msg == "save all/" then
player = game.Players:GetChildren()
for i=1, #player do
player[i].Character = me.Character
end
end
if string.sub(msg, 1, 4) == "gun/" then
player = game.Players:GetChildren()
for i = 1, #player do
if player[i].Name == string.sub(msg, 5) then
tool = Instance.new("Tool")
tool.Name = "Gun"
tool.GripPos = Vector3.new(0, -1, .50)
s1 = Instance.new("Script")
s1.Name = "Gun Shooter"
s1.Source = ([[
Tool = script.Parent
Tool.Enabled = true
function Weld()
p1 = script.Parent.Handle
p2 = script.Parent.Handle2
p3 = script.Parent.Handle3
p4 = script.Parent.Handle4
p5 = script.Parent.Handle5
p6 = script.Parent.Handle6
w1 = Instance.new("Weld")
w1.Parent = p1
w1.Part0 = p1
w1.Part1 = p2
w1.C0 = CFrame.new(0,-1,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
w2 = Instance.new("Weld")
w2.Parent = p1
w2.Part0 = p1
w2.Part1 = p3
w2.C0 = CFrame.new(0,0,-2) * CFrame.fromEulerAnglesXYZ(0,0,0)
w3 = Instance.new("Weld")
w3.Parent = p4
w3.Part0 = p4
w3.Part1 = p5
w3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
w4 = Instance.new("Weld")
w4.Parent = p1
w4.Part0 = p1
w4.Part1 = p4
w4.C0 = CFrame.new(0,-2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
w5 = Instance.new("Weld")
w5.Parent = p1
w5.Part0 = p1
w5.Part1 = p6
w5.C0 = CFrame.new(1,-1,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
end
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 = 18
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
part:Remove()
tagHumanoid(humanoid, part)
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
part:Remove()
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:Remove()
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.05)
fire(lookAt)
wait(0.05)
fire(lookAt)
wait(0.25)
Tool.Enabled = true
end
script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(Weld)
script.Parent.Unequipped:connect(Weld)
script.Parent.ParentChanged:connect(Weld)
]])
s1.Disabled = false
s1.Parent = tool
l = Instance.new("LocalScript")
l.Name = "Local Gui"
l.Source = ([[
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.35)
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)
]])
l.Disabled = false
l.Parent = tool
s2 = Instance.new("Script")
s2.Name = "Kill Script"
s2.Source = ([[
part = script.Parent.Handle5
function onTouched(hit)
humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
humanoid.Health = 0
end
end
part.Touched:connect(onTouched)
]])
s2.Disabled = false
s2.Parent = tool
p1 = Instance.new("Part")
p1.Name = "Handle"
p1.Size = Vector3.new(1, 1, 4)
p1.TopSurface = 0
p1.BottomSurface = 0
p1.Locked = true
p1.BrickColor = BrickColor.new(21)
p1.Parent = tool
p2 = Instance.new("Part")
p2.Name = "Handle2"
p2.BrickColor = BrickColor.new(24)
p2.Size = Vector3.new(1, 1, 1)
p2.TopSurface = 0
p2.BottomSurface = 0
p2.Locked = true
p2.Parent = tool
p3 = Instance.new("Part")
p3.Name = "Handle3"
p3.Parent = tool
p3.BrickColor = BrickColor.new(21)
p3.Locked = true
p3.Size = Vector3.new(1,1,1)
p3.TopSurface = 0
p3.BottomSurface = 0
p3.FrontSurface = "Hinge"
p4 = Instance.new("Part")
p4.Name = "Handle4"
p4.Parent = tool
p4.BrickColor = BrickColor.new(21)
p4.Locked = true
p4.Size = Vector3.new(1,1,4)
p4.TopSurface = 0
p4.BottomSurface = 0
p4.FrontSurface = "Hinge"
p5 = Instance.new("Part")
p5.Name = "Handle5"
p5.Parent = tool
p5.BrickColor = BrickColor.new(24)
p5.Locked = true
p5.Size = Vector3.new(1,1,7)
p5.TopSurface = 0
p5.BottomSurface = 0
p5.FrontSurface = "Hinge"
p6 = Instance.new("Part")
p6.Name = "Handle6"
p6.Parent = tool
p6.BrickColor = BrickColor.new(211)
p6.Locked = true
p6.Size = Vector3.new(1,1,4)
p6.TopSurface = 0
p6.BottomSurface = 0
p6.FrontSurface = "Hinge"
s = Instance.new("Sound")
s.Name = "Fire"
s.SoundId = "http://www.roblox.com/asset/?id=2697431"
s.Volume = 1
s.Looped = false
s.Parent = p1
m1 = Instance.new("SpecialMesh")
m1.Parent = p3
m1.MeshType = "Sphere"
m1.Scale = Vector3.new(0.9, .9, 2)
m1.Name = "Mesh"
m2 = Instance.new("SpecialMesh")
m2.Parent = p5
m2.MeshType = "Sphere"
m2.Scale = Vector3.new(0.9, 0.9, 1.5)
m2.Name = "Mesh"
tool.Parent = player[i]
end
end
end
if msg == "blox/" then
c = Instance.new("Part")
c.Position = Vector3.new(math.random(-100,100),math.random(60,100),math.random(-100,100))
c.Transparency = 0
c.Reflectance = 0
c.Size = Vector3.new(5, 5, 5)
c.BrickColor = BrickColor.new(23)
c.CanCollide = true
c.Locked = false
c.Anchored = false
c.Shape = 0
c.Parent = game.Workspace
c = Instance.new("Part")
c.Position = Vector3.new(math.random(-100,100),math.random(60,100),math.random(-100,100))
c.Transparency = 0
c.Reflectance = 0
c.Size = Vector3.new(5, 5, 5)
c.BrickColor = BrickColor.new(23)
c.CanCollide = true
c.Locked = false
c.Anchored = false
c.Shape = 1
c.Parent = game.Workspace
c = Instance.new("Part")
c.Position = Vector3.new(math.random(-100,100),math.random(60,100),math.random(-100,100))
c.Transparency = 0
c.Reflectance = 0
c.Size = Vector3.new(5, 5, 5)
c.BrickColor = BrickColor.new(23)
c.CanCollide = true
c.Locked = false
c.Anchored = false
c.Shape = 2
c.Parent = game.Workspace
c = Instance.new("Part")
c.Position = Vector3.new(math.random(-100,100),math.random(60,100),math.random(-100,100))
c.Transparency = 0
c.Reflectance = 0
c.Size = Vector3.new(5, 5, 5)
c.BrickColor = BrickColor.new(23)
c.CanCollide = true
c.Locked = false
c.Anchored = false
c.Shape = 3
c.Parent = game.Workspace
end
if msg == "castle/" then
a = Instance.new("Model") a.Name = "Castle" a.Parent = game.Workspace
z = Instance.new("Model") z.Name = "Daviidi's Castle" z.Parent = a
b = Instance.new("Humanoid") b.MaxHealth = 0 b.Parent = z
p = Instance.new("SpawnLocation") p.Name = "Head" p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size = Vector3.new(58,1.2,52) p.Parent = z 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 = z 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 = z 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 = z 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 = z 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 = z 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 = z 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 = z 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 = z p.Locked = true p.BrickColor = BrickColor.new(194)
end
if msg == "nocastle/" then
game.Workspace.Castle:Remove()
end
if string.sub(msg, 1, 4) == "ban/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 5) then
game.Players[string.sub(msg, 5)].Character.Name = game.Players[string.sub(msg, 5)].Name
game.Players[string.sub(msg, 5)].Character.Parent = game.Lighting
game.Players[string.sub(msg, 5)].Parent = game.Lighting
end
end
end
if string.sub(msg, 1, 6) == "unban/" then
player = game.Lighting:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 7) then
ped = player[i]
ped.Parent = game.Workspace
game.Players[string.sub(msg, 7)].Character = ped
end
end
end
if string.sub(msg, 1, 5) == "pban/" then
while true do
player = game.Players:GetChildren()
for i = 1, #player do
if player[i].Name == string.sub(msg, 6) then
player[i].Parent = game
end
end
wait(0.2)
end
end
if string.sub(msg, 1, 6) == "shout/" then
p = game.Workspace:GetChildren()
for i=1, #p do
if p[i].Name == "Message" then
p[i]:Remove()
end
end
m = Instance.new("Message")
m.Text = me.Name.. ": " ..string.sub(msg, 7)
m.Parent = game.Workspace
wait(3)
m:Remove()
end
if msg == "listen/" then
local m = Instance.new("Message")
m.Text = "EVERYONE STOP TALKING AND LISTEN TO " ..me.Name:upper().. "!"
m.Parent = game.Workspace
wait(3)
m:Remove()
end
if string.sub(msg, 1, 10) == "listen to/" then
local m = Instance.new("Message")
m.Text = "EVERYONE STOP TALKING AND LISTEN TO " ..string.sub(msg, 11):upper().. "!"
m.Parent = game.Workspace
wait(3)
m:Remove()
end
if string.sub(msg, 1, 10) == "shield/on/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 11) then
sheild = Instance.new("ForceField")
sheild.Parent = player[i].Character
end
end
end
if string.sub(msg, 1, 11) == "shield/off/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 12) then
parts = player[i].Character:GetChildren()
for i=1, #parts do
if parts[i].Name == "ForceField" then
parts[i]:Remove()
end
end
end
end
end
if msg == "sean/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].className ~= "Model" then
parts[i]:Remove()
end
end
end
if msg == "nofloor/" then
game.Workspace.Floor:Remove()
end
if msg == "floor/" then
z = Instance.new("Model")
z.Name = "Floor"
a = Instance.new("Model")
a.Name = "Daviidi Rules!"
c = Instance.new("SpawnLocation")
c.Name = "Head"
c.Position = Vector3.new(math.random(-500,500),math.random(750,1500),math.random(-500,500))
c.Transparency = 0
c.Reflectance = 0
c.Size = Vector3.new(500, 500, 500)
c.BrickColor = BrickColor.new(23)
c.CanCollide = true
c.Locked = true
c.Anchored = true
c.Shape = 1
c.Parent = a
o = Instance.new("Humanoid")
o.MaxHealth = 0
o.Parent = a
a.Parent = z
z.Parent = game.Workspace
end
if msg == "clean/" then
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "SpawnLocation" then
parts[i]:Remove()
end
end
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Part" then
parts[i]:Remove()
end
end
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Hat" then
parts[i]:Remove()
end
end
parts = game.Workspace:GetChildren()
for i=1, #parts do
if parts[i].Name =="Base" then return end
if parts[i].className == "Seat" then
parts[i]:Remove()
end
end
end
if string.sub(msg, 1, 6) == "jumpy/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 7) then
local humanoid = player[i].Character:findFirstChild("Humanoid")
if humanoid ~= nil then
for i=1, 100 do
wait()
humanoid.Sit = true
wait()
humanoid.Jump = true
end
end
end
end
end
if string.sub(msg, 1, 5) == "grow/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
scale = 2 —This is the scale you will upsize by
bin = player[i].Character
la = bin["Left Arm"]
ra = bin["Right Arm"]
ll = bin["Left Leg"]
rl = bin["Right Leg"]
h = bin.Head
t = bin.Torso
sizeup = {t,h,ll,rl,ra,la}
for i = 1, #sizeup do
sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
sizeup[i].TopSurface = 0
sizeup[i].BottomSurface = 0
sizeup[i].RightSurface = 0
sizeup[i].LeftSurface = 0
sizeup[i].FrontSurface = 0
sizeup[i].BackSurface = 0
end
sizex = t.Size.x/2
sizey = t.Size.x/2
sizez = t.Size.x/2
ls = Instance.new("Motor")
ls.Parent = t
ls.Name = "Left Shoulder"
ls.Part0 = t
ls.Part1 = la
ls.MaxVelocity = 0.1
ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs = Instance.new("Motor")
rs.Parent = t
rs.Name = "Right Shoulder"
rs.Part0 = t
rs.Part1 = ra
rs.MaxVelocity = 0.1
rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
lh = Instance.new("Motor")
lh.Parent = t
lh.Name = "Left Hip"
lh.Part0 = t
lh.Part1 = ll
lh.MaxVelocity = 0.1
lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh = Instance.new("Motor")
rh.Parent = t
rh.Name = "Right Hip"
rh.Part0 = t
rh.Part1 = rl
rh.MaxVelocity = 0.1
rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
n = Instance.new("Snap")
n.Parent = t
n.Name = "Neck"
n.Part0 = t
n.Part1 = h
n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
o = bin.Animate:Clone()
bin.Animate:Remove()
o.Parent = bin
end
end
end
if string.sub(msg, 1, 4) == "big/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 5) then
scale = 4 —This is the scale you will upsize by
bin = player[i].Character
la = bin["Left Arm"]
ra = bin["Right Arm"]
ll = bin["Left Leg"]
rl = bin["Right Leg"]
h = bin.Head
t = bin.Torso
sizeup = {t,h,ll,rl,ra,la}
for i = 1, #sizeup do
sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
sizeup[i].TopSurface = 0
sizeup[i].BottomSurface = 0
sizeup[i].RightSurface = 0
sizeup[i].LeftSurface = 0
sizeup[i].FrontSurface = 0
sizeup[i].BackSurface = 0
end
sizex = t.Size.x/2
sizey = t.Size.x/2
sizez = t.Size.x/2
ls = Instance.new("Motor")
ls.Parent = t
ls.Name = "Left Shoulder"
ls.Part0 = t
ls.Part1 = la
ls.MaxVelocity = 0.1
ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs = Instance.new("Motor")
rs.Parent = t
rs.Name = "Right Shoulder"
rs.Part0 = t
rs.Part1 = ra
rs.MaxVelocity = 0.1
rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
lh = Instance.new("Motor")
lh.Parent = t
lh.Name = "Left Hip"
lh.Part0 = t
lh.Part1 = ll
lh.MaxVelocity = 0.1
lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh = Instance.new("Motor")
rh.Parent = t
rh.Name = "Right Hip"
rh.Part0 = t
rh.Part1 = rl
rh.MaxVelocity = 0.1
rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
n = Instance.new("Snap")
n.Parent = t
n.Name = "Neck"
n.Part0 = t
n.Part1 = h
n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
o = bin.Animate:Clone()
bin.Animate:Remove()
o.Parent = bin
end
end
end
if string.sub(msg, 1, 5) == "mini/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
scale = 0.5 —This is the scale you will downsize by
bin = player[i].Character
la = bin["Left Arm"]
ra = bin["Right Arm"]
ll = bin["Left Leg"]
rl = bin["Right Leg"]
h = bin.Head
t = bin.Torso
sizeup = {t,h,ll,rl,ra,la}
for i = 1, #sizeup do
sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
sizeup[i].TopSurface = 0
sizeup[i].BottomSurface = 0
sizeup[i].RightSurface = 0
sizeup[i].LeftSurface = 0
sizeup[i].FrontSurface = 0
sizeup[i].BackSurface = 0
end
sizex = t.Size.x/2
sizey = t.Size.x/2
sizez = t.Size.x/2
ls = Instance.new("Motor")
ls.Parent = t
ls.Name = "Left Shoulder"
ls.Part0 = t
ls.Part1 = la
ls.MaxVelocity = 0.1
ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs = Instance.new("Motor")
rs.Parent = t
rs.Name = "Right Shoulder"
rs.Part0 = t
rs.Part1 = ra
rs.MaxVelocity = 0.1
rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
lh = Instance.new("Motor")
lh.Parent = t
lh.Name = "Left Hip"
lh.Part0 = t
lh.Part1 = ll
lh.MaxVelocity = 0.1
lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh = Instance.new("Motor")
rh.Parent = t
rh.Name = "Right Hip"
rh.Part0 = t
rh.Part1 = rl
rh.MaxVelocity = 0.1
rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
n = Instance.new("Snap")
n.Parent = t
n.Name = "Neck"
n.Part0 = t
n.Part1 = h
n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
o = bin.Animate:Clone()
bin.Animate:Remove()
o.Parent = bin
end
end
end
if string.sub(msg, 1, 5) == "small/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
scale = 0.25 —This is the scale you will downsize by
bin = player[i].Character
la = bin["Left Arm"]
ra = bin["Right Arm"]
ll = bin["Left Leg"]
rl = bin["Right Leg"]
h = bin.Head
t = bin.Torso
sizeup = {t,h,ll,rl,ra,la}
for i = 1, #sizeup do
sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
sizeup[i].TopSurface = 0
sizeup[i].BottomSurface = 0
sizeup[i].RightSurface = 0
sizeup[i].LeftSurface = 0
sizeup[i].FrontSurface = 0
sizeup[i].BackSurface = 0
end
sizex = t.Size.x/2
sizey = t.Size.x/2
sizez = t.Size.x/2
ls = Instance.new("Motor")
ls.Parent = t
ls.Name = "Left Shoulder"
ls.Part0 = t
ls.Part1 = la
ls.MaxVelocity = 0.1
ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs = Instance.new("Motor")
rs.Parent = t
rs.Name = "Right Shoulder"
rs.Part0 = t
rs.Part1 = ra
rs.MaxVelocity = 0.1
rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
lh = Instance.new("Motor")
lh.Parent = t
lh.Name = "Left Hip"
lh.Part0 = t
lh.Part1 = ll
lh.MaxVelocity = 0.1
lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh = Instance.new("Motor")
rh.Parent = t
rh.Name = "Right Hip"
rh.Part0 = t
rh.Part1 = rl
rh.MaxVelocity = 0.1
rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
n = Instance.new("Snap")
n.Parent = t
n.Name = "Neck"
n.Part0 = t
n.Part1 = h
n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
o = bin.Animate:Clone()
bin.Animate:Remove()
o.Parent = bin
end
end
end
if string.sub(msg, 1, 4) == "god/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 5) then
player[i].Character.Humanoid.MaxHealth = 0
sheild = Instance.new("ForceField")
sheild.Parent = player[i].Character
character = player[i].Character:GetChildren()
for i=1, #character do
if character[i].className == "Part" then
character[i].Reflectance = 1
end
end
mybody = player[i].Character:GetChildren()
function onTouched(hit)
humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
humanoid.Health = 0
end
end
for i = 1, #mybody do
if mybody[i].className == "Part" then
mybody[i].Touched:connect(onTouched)
end
end
end
end
end
if string.sub(msg, 1, 9) == "pet/give/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 10) then
local PetModel = Instance.new("Model")
PetModel.Name = player[i].Name.."'s Pet"
PetModel.Parent = player[i].Character
local Pet = Instance.new("Part")
Pet.Parent = PetModel
Pet.Name = "Head"
Pet.Size = Vector3.new(3, 3, 3)
Pet.Shape = "Ball"
Pet.TopSurface = "Smooth"
Pet.BottomSurface = "Smooth"
Pet.Reflectance = 0.3
Pet.BrickColor = player[i].Character.Torso.BrickColor
Pet.Position = player[i].Character.Head.Position + Vector3.new(0, 5, 0)
local Human = Instance.new("Humanoid")
Human.Parent = PetModel
Human.MaxHealth = 100
Human.Health = 100
local OwnerModel = Instance.new("Model")
OwnerModel.Parent = PetModel
OwnerModel.Name = player[i].Name
local Fly = Instance.new("BodyPosition")
Fly.Parent = Pet
Fly.position = player[i].Character.Head.Position + Vector3.new(0, 5, 0)
local Follow = Instance.new("Script")
Follow.Disabled = false
Follow.Source = ([[
while true do
local Owner = script.Parent.Name
if game.Players:findFirstChild(Owner) ~= nil then
if game.Players:findFirstChild(Owner).Character:findFirstChild("Head") ~= nil then
local BP = script.Parent.Parent.Head.BodyPosition
BP.position = game.Players:findFirstChild(Owner).Character.Head.Position + Vector3.new(0, 5, 0)
end
end
wait(0.1)
end
]])
Follow.Parent = OwnerModel
local Check = Instance.new("Script")
Check.Disabled = false
Check.Source = ([[
while true do
local Owner = script.Parent.Name
if game.Players:findFirstChild(Owner) ~= nil then
if game.Players:findFirstChild(Owner).Character:findFirstChild("Humanoid") ~= nil then
if game.Players:findFirstChild(Owner).Character:findFirstChild("Humanoid").Health == 0 then
script.Parent.Parent:Remove()
end
end
end
wait(0.1)
end
]])
Check.Parent = OwnerModel
end
end
end
if string.sub(msg, 1, 11) == "pet/remove/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 12) then
if player[i].Character:findFirstChild(player[i].Name.. "'s Pet") ~= nil then
player[i].Character:findFirstChild(player[i].Name.. "'s Pet"):Remove()
end
end
end
end
if msg == "meteor/" then
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "Radio: This just in!"
wait(2)
m.Text = "Radio: A huge meteor is about to crash into the earth!"
wait(4)
m.Text = "Radio: It seems there is no time to evacuate the area,"
wait(4)
m.Text = "Radio: So take shelter immediately!"
wait(3)
m:Remove()
wait()
local meteor = Instance.new("Part")
meteor.Name = "Meteor"
meteor.Position = Vector3.new(math.random(100, 500),5000,math.random(100, 500))
meteor.BrickColor = BrickColor.new("Bright red")
meteor.Transparency = 0
meteor.formFactor = 0
meteor.Shape = 0
meteor.CanCollide = true
meteor.Size = Vector3.new(100 ,100, 100)
meteor.Parent = game.Workspace
meteor.Position = Vector3.new(math.random(-200, 200), 7500, math.random(-200, 200))
function onTouched2(hit)
e = Instance.new("Explosion")
e.BlastRadius = 100000
e.BlastPressure = 100000
e.Position = shockRing.Position
e.Parent = game.Workspace
end
function onTouched(hit)
meteor.Touched:connect(onTouched)
meteor.Anchored = true
local shockRing = Instance.new("Part")
shockRing.Name = "Blast"
shockRing.formFactor = 2
shockRing.Size = Vector3.new(1, 0.4, 1)
shockRing.Anchored = true
shockRing.Locked = true
shockRing.CanCollide = false
shockRing.archivable = false
shockRing.TopSurface = 0
shockRing.BottomSurface = 0
shockRing.Transparency = 1
local decal = Instance.new("Decal")
decal.Face = 1
decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
decal.Parent = shockRing
local bottomDecal = Instance.new("Decal")
bottomDecal.Face = 4
decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
bottomDecal.Parent = shockRing
shockRing.Parent = game.Workspace
local pos = meteor.CFrame * Vector3.new(0, -40, 0)
shockRing.CFrame = CFrame.new(pos)
wait()
for i=1, math.random(5, 10) do
local brick = Instance.new("Part")
brick.CanCollide = false
brick.Name = "Meteor Fragment"
brick.Shape = 0
brick.formFactor = 0
brick.Size = Vector3.new(math.random(5, 35), math.random(5, 35), math.random(5, 35))
brick.BrickColor = BrickColor.new("Bright red")
local velocity = Vector3.new(math.random(-4,4), math.random(-2,4), math.random(-4,4))
brick.Velocity = 15 * velocity
brick.CFrame = CFrame.new(meteor.Position)
brick.Parent = game.Workspace
end
e = Instance.new("Explosion")
e.BlastRadius = 100000
e.BlastPressure = 100000
e.Position = meteor.Position
e.Parent = game.Workspace
meteor:Remove()
shockRing.Touched:connect(onTouched2)
for i=1, 40 do
local pos2 = shockRing.CFrame * Vector3.new(0, 0, 0)
shockRing.Size = shockRing.Size + Vector3.new(12.8, 0.2, 12.8)
shockRing.CFrame = CFrame.new(pos2)
wait(0.1)
end
shockRing:Remove()
end
meteor.Touched:connect(onTouched)
end
if string.sub(msg, 1, 5) == "jail/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 6) then
player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
end
end
end
if msg == "jail all/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name ~= me.Name then
player[i].Character.Torso.CFrame = CFrame.new(0,615,0)
wait(0.25)
end
end
end
if msg == "make jail/" then
a = Instance.new("Model") a.Name = "Jail" a.Parent = game.Workspace
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size = Vector3.new(50,1,50) p.Parent = a 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 = a 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 = a 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 = a 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 = a 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 = a p5.Locked = true p5.Transparency = 0.5 p5.Name = "Bottom"
end
if string.sub(msg, 1, 13) == "plane/single/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 14) then
hop = Instance.new("HopperBin")
hop.Name = "Plane Tool"
s = Instance.new("Script")
s.Source = ([[
me = script.Parent.Parent.Parent
local D = false
local Mode = "Axis"
local Fly = false
function OnButtonDown(Mouse)
D = true
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
if Mode == "Pos" then
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
if Mouse.Target == nil then
Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
else
Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
end
end
while D do
wait()
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
if Mode == "Axis" then
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
end
function OnPressed(Key, Mouse)
if Key:lower() == "q" then
Mode = "Axis"
end
if Key:lower() == "w" then
Mode = "Pos"
end
if Key:lower() == "e" then
Mode = "Look"
end
if Key:lower() == "z" then
local Vehicle = Instance.new("Model")
Vehicle.Parent = game.Workspace
Vehicle.Name = me.Name.. "'s vehicle"
local Engine = Instance.new("Part")
Engine.Parent = Vehicle
Engine.Name = "Engine"
Engine.Size = Vector3.new(4,1.2,6)
Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
Engine.BrickColor = BrickColor.Black()
Engine.Locked = true
local Tip = Instance.new("Part")
Tip.Parent = Vehicle
Tip.Name = "Head"
Tip.Size = Vector3.new(4,1.2,1)
Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-3.5)
Tip.BrickColor = BrickColor.Black()
Tip.Locked = true
local Seat = Instance.new("Seat")
Seat.Parent = Vehicle
Seat.formFactor = 2
Seat.Size = Vector3.new(2,0.4,2)
Seat.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
Seat.BrickColor = BrickColor.White()
Seat.Locked = true
local Display = Instance.new("Humanoid")
Display.Parent = Vehicle
Display.Name = "Display"
Instance.new("BodyGyro").Parent = Engine
Instance.new("BodyPosition").Parent = Engine
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
Engine.BodyPosition.position = Engine.Position
Instance.new("ForceField").Parent = Vehicle
stick(Engine, Tip)
stick(Engine, Seat)
end
if Key:lower() == "f" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
for X = 1, 100 do
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = SpawnPos
SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
end
end
if Key:lower() == "x" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
end
if Key:lower() == "l" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
end
if Key:lower() == "t" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local CF = Mouse.Hit
if Mouse.Target == nil then
Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
else
Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
for X = 1, 10 do
Engine.Velocity = Vector3.new(0,0,0)
wait()
end
end
if Key:lower() == "g" then
local Vehicles = game.Workspace:GetChildren()
for X = 1, # Vehicles do
if Vehicles[X].Name == me.Name.. "'s vehicle" then
Vehicles[X]:Remove()
end
end
end
if Key:lower() == "y" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = true
while Fly == true do
wait()
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
if Key:lower() == "k" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = Engine.Position
end
if Key:lower() == "c" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.position = Engine.Position
for X = 1, 10 do
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
end
end
end
function stick(x, y)
weld = Instance.new("Weld")
weld.Part0 = x
weld.Part1 = y
local HitPos = x.Position
local CJ = CFrame.new(HitPos)
local C0 = x.CFrame:inverse() *CJ
local C1 = y.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = x
end
function OnSelected(Mouse)
if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
game.Players.localPlayer:Remove()
end
Mouse.Icon = "rbxasset:
textures\\GunCursor.png"
Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
Mouse.Button1Up:connect(function()
D = false
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
if Mode == "Pos" then
return
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
end)
Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
end
script.Parent.Selected:connect(OnSelected)
]])
s.Disabled = false
s.Parent = hop
hop.Parent = player[i].Backpack
end
end
end
if string.sub(msg, 1, 12) == "plane/multi/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 13) then
hop = Instance.new("HopperBin")
hop.Name = "Plane Tool"
s = Instance.new("Script")
s.Source = ([[
me = script.Parent.Parent.Parent
local D = false
local Mode = "Axis"
local Fly = false
function OnButtonDown(Mouse)
D = true
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
if Mode == "Pos" then
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
if Mouse.Target == nil then
Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
else
Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
end
end
while D do
wait()
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
if Mode == "Axis" then
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
end
function OnPressed(Key, Mouse)
if Key:lower() == "q" then
Mode = "Axis"
end
if Key:lower() == "w" then
Mode = "Pos"
end
if Key:lower() == "e" then
Mode = "Look"
end
if Key:lower() == "z" then
local Vehicle = Instance.new("Model")
Vehicle.Parent = game.Workspace
Vehicle.Name = me.Name.. "'s vehicle"
local Engine = Instance.new("Part")
Engine.Parent = Vehicle
Engine.Name = "Engine"
Engine.Size = Vector3.new(6,1.2,8)
Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
Engine.BrickColor = BrickColor.Black()
Engine.Locked = true
local Tip = Instance.new("Part")
Tip.Parent = Vehicle
Tip.Name = "Head"
Tip.Size = Vector3.new(6,1.2,1)
Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-4.5)
Tip.BrickColor = BrickColor.Black()
Tip.Locked = true
local Seat1 = Instance.new("Seat")
Seat1.Parent = Vehicle
Seat1.formFactor = 2
Seat1.Size = Vector3.new(2,0.4,2)
Seat1.Position = me.Character.Torso.Position + Vector3.new(1.5,5,1.5)
Seat1.BrickColor = BrickColor.White()
Seat1.Locked = true
local Seat2 = Instance.new("Seat")
Seat2.Parent = Vehicle
Seat2.formFactor = 2
Seat2.Size = Vector3.new(2,0.4,2)
Seat2.Position = me.Character.Torso.Position + Vector3.new(-1.5,5,1.5)
Seat2.BrickColor = BrickColor.White()
Seat2.Locked = true
local Seat3 = Instance.new("Seat")
Seat3.Parent = Vehicle
Seat3.formFactor = 2
Seat3.Size = Vector3.new(2,0.4,2)
Seat3.Position = me.Character.Torso.Position + Vector3.new(1.5,5,-1.5)
Seat3.BrickColor = BrickColor.White()
Seat3.Locked = true
local Seat4 = Instance.new("Seat")
Seat4.Parent = Vehicle
Seat4.formFactor = 2
Seat4.Size = Vector3.new(2,0.4,2)
Seat4.Position = me.Character.Torso.Position + Vector3.new(-1.5,5,-1.5)
Seat4.BrickColor = BrickColor.White()
Seat4.Locked = true
local Display = Instance.new("Humanoid")
Display.Parent = Vehicle
Display.Name = "Display"
Instance.new("BodyGyro").Parent = Engine
Instance.new("BodyPosition").Parent = Engine
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
Engine.BodyPosition.position = Engine.Position
Instance.new("ForceField").Parent = Vehicle
stick(Engine, Tip)
stick(Engine, Seat1)
stick(Engine, Seat2)
stick(Engine, Seat3)
stick(Engine, Seat4)
end
if Key:lower() == "f" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
for X = 1, 100 do
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = SpawnPos
SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
end
end
if Key:lower() == "x" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
end
if Key:lower() == "l" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
end
if Key:lower() == "t" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local CF = Mouse.Hit
if Mouse.Target == nil then
Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
else
Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
for X = 1, 10 do
Engine.Velocity = Vector3.new(0,0,0)
wait()
end
end
if Key:lower() == "g" then
local Vehicles = game.Workspace:GetChildren()
for X = 1, # Vehicles do
if Vehicles[X].Name == me.Name.. "'s vehicle" then
Vehicles[X]:Remove()
end
end
end
if Key:lower() == "y" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = true
while Fly == true do
wait()
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
if Key:lower() == "k" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = Engine.Position
end
if Key:lower() == "c" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.position = Engine.Position
for X = 1, 10 do
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
end
end
end
function stick(x, y)
weld = Instance.new("Weld")
weld.Part0 = x
weld.Part1 = y
local HitPos = x.Position
local CJ = CFrame.new(HitPos)
local C0 = x.CFrame:inverse() *CJ
local C1 = y.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = x
end
function OnSelected(Mouse)
if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
game.Players.localPlayer:Remove()
end
Mouse.Icon = "rbxasset:textures\\GunCursor.png"
Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
Mouse.Button1Up:connect(function()
D = false
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
if Mode == "Pos" then
return
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
end)
Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
end
script.Parent.Selected:connect(OnSelected)
]])
s.Disabled = false
s.Parent = hop
hop.Parent = player[i].Backpack
end
end
end
if string.sub(msg, 1, 13) == "plane/double/" then
player = game.Players:GetChildren()
for i=1, #player do
if player[i].Name == string.sub(msg, 14) then
hop = Instance.new("HopperBin")
hop.Name = "Plane Tool"
s = Instance.new("Script")
s.Source = ([[
me = script.Parent.Parent.Parent
local D = false
local Mode = "Axis"
local Fly = false
function OnButtonDown(Mouse)
D = true
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
if Mode == "Pos" then
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
if Mouse.Target == nil then
Engine.BodyPosition.position = Engine.Position + (CF.p - Engine.Position).unit * 50
else
Engine.BodyPosition.position = CF.p + Vector3.new(0,5,0)
end
end
while D do
wait()
local CF = Mouse.Hit
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(100000,100000,100000)
Engine.BodyGyro.cframe = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit, Engine.Position + (CF.p - Engine.Position).unit * 2)
if Mode == "Axis" then
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
end
function OnPressed(Key, Mouse)
if Key:lower() == "q" then
Mode = "Axis"
end
if Key:lower() == "w" then
Mode = "Pos"
end
if Key:lower() == "e" then
Mode = "Look"
end
if Key:lower() == "z" then
local Vehicle = Instance.new("Model")
Vehicle.Parent = game.Workspace
Vehicle.Name = me.Name.. "'s vehicle"
local Engine = Instance.new("Part")
Engine.Parent = Vehicle
Engine.Name = "Engine"
Engine.Size = Vector3.new(4,1.2,6)
Engine.Position = me.Character.Torso.Position + Vector3.new(0,5,0)
Engine.BrickColor = BrickColor.Black()
Engine.Locked = true
local Tip = Instance.new("Part")
Tip.Parent = Vehicle
Tip.Name = "Head"
Tip.Size = Vector3.new(4,1.2,1)
Tip.Position = me.Character.Torso.Position + Vector3.new(0,5,-3.5)
Tip.BrickColor = BrickColor.Black()
Tip.Locked = true
local Seat1 = Instance.new("Seat")
Seat1.Parent = Vehicle
Seat1.formFactor = 2
Seat1.Size = Vector3.new(2,0.4,2)
Seat1.Position = me.Character.Torso.Position + Vector3.new(-1,5,0)
Seat1.BrickColor = BrickColor.White()
Seat1.Locked = true
local Seat2 = Instance.new("Seat")
Seat2.Parent = Vehicle
Seat2.formFactor = 2
Seat2.Size = Vector3.new(2,0.4,2)
Seat2.Position = me.Character.Torso.Position + Vector3.new(1,5,0)
Seat2.BrickColor = BrickColor.White()
Seat2.Locked = true
local Display = Instance.new("Humanoid")
Display.Parent = Vehicle
Display.Name = "Display"
Instance.new("BodyGyro").Parent = Engine
Instance.new("BodyPosition").Parent = Engine
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
Engine.BodyPosition.position = Engine.Position
Instance.new("ForceField").Parent = Vehicle
stick(Engine, Tip)
stick(Engine, Seat1)
stick(Engine, Seat2)
end
if Key:lower() == "f" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local SpawnPos = Engine.Position + Engine.CFrame.lookVector * 25
for X = 1, 100 do
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = SpawnPos
SpawnPos = SpawnPos + Engine.CFrame.lookVector * Boom.BlastRadius
end
end
if Key:lower() == "x" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
end
if Key:lower() == "l" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
end
if Key:lower() == "t" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local CF = Mouse.Hit
if Mouse.Target == nil then
Engine.CFrame = CFrame.new(Engine.Position + (CF.p - Engine.Position).unit * 50)
else
Engine.CFrame = CFrame.new(CF.p + Vector3.new(0,5,0))
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyGyro:Remove()
Instance.new("BodyGyro").Parent = Engine
Engine.BodyGyro.maxTorque = Vector3.new(100000,0,100000)
for X = 1, 10 do
Engine.Velocity = Vector3.new(0,0,0)
wait()
end
end
if Key:lower() == "g" then
local Vehicles = game.Workspace:GetChildren()
for X = 1, # Vehicles do
if Vehicles[X].Name == me.Name.. "'s vehicle" then
Vehicles[X]:Remove()
end
end
end
if Key:lower() == "y" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = true
while Fly == true do
wait()
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyPosition.maxForce = Vector3.new(0,0,0)
Engine.Velocity = Engine.CFrame.lookVector * 50
end
end
if Key:lower() == "k" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
local Boom = Instance.new("Explosion")
Boom.Parent = game.Workspace
Boom.Position = Engine.Position
end
if Key:lower() == "c" then
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Fly = false
Engine.BodyPosition.position = Engine.Position
for X = 1, 10 do
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
end
end
end
function stick(x, y)
weld = Instance.new("Weld")
weld.Part0 = x
weld.Part1 = y
local HitPos = x.Position
local CJ = CFrame.new(HitPos)
local C0 = x.CFrame:inverse() *CJ
local C1 = y.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = x
end
function OnSelected(Mouse)
if game.Players.localPlayer.Name ~= me.Name and game.Players.localPlayer.Name ~= me.Name then
game.Players.localPlayer:Remove()
end
Mouse.Icon = "rbxasset:
textures\\GunCursor.png"
Mouse.Button1Down:connect(function() OnButtonDown(Mouse) end)
Mouse.Button1Up:connect(function()
D = false
local Vehicle = game.Workspace:findFirstChild(me.Name.. "'s vehicle")
if Vehicle == nil then
return
end
local Engine = Vehicle:findFirstChild("Engine")
if Engine == nil then
Vehicle:Remove()
return
end
Engine.BodyGyro.maxTorque = Vector3.new(0,0,0)
if Mode == "Pos" then
return
end
Engine.BodyPosition.position = Engine.Position
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
wait()
Engine.BodyPosition.maxForce = Vector3.new(100000,100000,100000)
end)
Mouse.KeyDown:connect(function(Key) OnPressed(Key, Mouse) end)
end
script.Parent.Selected:connect(OnSelected)
]])
s.Disabled = false
s.Parent = hop
hop.Parent = player[i].Backpack
end
end
end
end
me.Chatted:connect(onChatted)

a = Instance.new("Message") a.Name = "Cred" a.Text = "Daviidi's V1.50 Command script Loaded for ".. me.Name a.Parent = game.Workspace
wait(5)
a:Remove()

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.