Wil2Join Date: 2008-02-01 Post Count: 728 |
local me = game.Players.Wil2
function onChatted(msg)
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 you must obey or be kilt/banned/jail"
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 you must obey or be kilt/banned/jail"
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.Head
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.Head:GetChildren()
for i=1, #parts do
if parts[i].Name == "Sparkle" then
parts[i].Parent = game.Lighting
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
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 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 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, 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
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, 6) == "shout/" then
p = game.Workspace:GetChildren()
for i=1, #p do
if p[i].Name == "Message" then
p[i].Parent = game.Lighting
end
end
m = Instance.new("Message")
m.Text = me.Name.. ": " ..string.sub(msg, 7)
m.Parent = game.Workspace
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
end
if string.sub(msg, 1, 10) == "sheild/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) == "sheild/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].Parent = game.Lighting
end
end
end
end
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 == "Part" then
Remove(parts[i])
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 = Clone(bin.Animate)
Remove(bin.Animate)
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 = Clone(bin.Animate)
Remove(bin.Animate)
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
sparkle = Instance.new("Sparkles")
sparkle.Name = "Sparkle"
sparkle.Parent = player[i].Character.Head
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.MaxHealth = 0
humanoid.WalkSpeed = 99
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
SetSource(Follow, [[
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
SetSource(Check, [[
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.Parent = game.Lighting
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").Parent = game.Lighting
end
end
end
end
if msg == "meteor/" then
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "Wil2: This just in!"
wait(2)
m.Text = "Wil2: A huge meteor is about to crash into the earth!"
wait(4)
m.Text = "Wil2: It seems there is no time to evacuate the area,"
wait(4)
m.Text = "Wil2: So take shelter immediately!"
wait(4)
m.Text = "Wil2: This meteor was made by my enemy Kala"
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size = Vector3.new(50,1,50) p.Parent = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace p5.Locked = true p5.Transparency = 0.5 p5.Name = "Bottom"
end
if string.match(msg, "hat/") then
p = me.Character:GetChildren()
for n = 1,#p do
for w in string.gmatch(msg, "%d+") do
if (p[n].className == "Hat") then
for i = 1,w do
wait(0.05)
t = Clone(p[n].Handle)
t.Parent = game.Workspace
t.CanCollide = true
t.Anchored = false
t.Position = me.Character.Torso.Position
t.Name = "HatMissle"
local rp = Instance.new("RocketPropulsion")
rp.Parent = t
rp.Target = me.Character.Head
rp.TargetRadius = 10
rp.MaxSpeed = 10000
rp:Fire()
end
end
end
end
end
if string.match(msg, "follow/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if (p[n].Name == "HatMissle") then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 1000
p[n].RocketPropulsion.CartoonFactor = 1
p[n].RocketPropulsion.TargetRadius = 3
end
end
end
end
end
if string.match(msg, "attack/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if p[n].Name == "HatMissle" then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 10000
p[n].RocketPropulsion.CartoonFactor = 0.9
p[n].RocketPropulsion.TargetRadius = 5
function onBlown(hit)
hit = p[n].RocketPropulsion.Target
if hit ~= nil then
local e = Instance.new("Explosion")
e.Parent = hit.Parent
e.BlastPressure = 10000
e.Position = p[n].Position
e.BlastRadius = 10
wait()
Remove(p[n])
end
end
local boom = p[n].RocketPropulsion.ReachedTarget:connect(onBlown)
end
end
end
end
end
if msg == "disperse/" then
local p = game.Workspace:GetChildren()
for i = 1,#p do
if (p[i].Name == "HatMissle") then
p[i].RocketPropulsion.MaxSpeed = 0.1
wait(0.5)
local e = Instance.new("Explosion")
e.Parent = game.Workspace
e.Position = p[i].Position
e.BlastRadius = 5
e.BlastPressure = 0
Remove(p[i])
end
end
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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)
|
|
Wil2Join Date: 2008-02-01 Post Count: 728 |
local me = game.Players.Wil2
function onChatted(msg)
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 you must obey or be kilt/banned/jail"
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 you must obey or be kilt/banned/jail"
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.Head
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.Head:GetChildren()
for i=1, #parts do
if parts[i].Name == "Sparkle" then
parts[i].Parent = game.Lighting
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
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 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 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, 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
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, 6) == "shout/" then
p = game.Workspace:GetChildren()
for i=1, #p do
if p[i].Name == "Message" then
p[i].Parent = game.Lighting
end
end
m = Instance.new("Message")
m.Text = me.Name.. ": " ..string.sub(msg, 7)
m.Parent = game.Workspace
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
end
if string.sub(msg, 1, 10) == "sheild/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) == "sheild/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].Parent = game.Lighting
end
end
end
end
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 == "Part" then
Remove(parts[i])
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 = Clone(bin.Animate)
Remove(bin.Animate)
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 = Clone(bin.Animate)
Remove(bin.Animate)
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
sparkle = Instance.new("Sparkles")
sparkle.Name = "Sparkle"
sparkle.Parent = player[i].Character.Head
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.MaxHealth = 0
humanoid.WalkSpeed = 99
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
SetSource(Follow, [[
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
SetSource(Check, [[
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.Parent = game.Lighting
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").Parent = game.Lighting
end
end
end
end
if msg == "meteor/" then
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "Wil2: This just in!"
wait(2)
m.Text = "Wil2: A huge meteor is about to crash into the earth!"
wait(4)
m.Text = "Wil2: It seems there is no time to evacuate the area,"
wait(4)
m.Text = "Wil2: So take shelter immediately!"
wait(4)
m.Text = "Wil2: This meteor was made by my enemy Kala"
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size = Vector3.new(50,1,50) p.Parent = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace p5.Locked = true p5.Transparency = 0.5 p5.Name = "Bottom"
end
if string.match(msg, "hat/") then
p = me.Character:GetChildren()
for n = 1,#p do
for w in string.gmatch(msg, "%d+") do
if (p[n].className == "Hat") then
for i = 1,w do
wait(0.05)
t = Clone(p[n].Handle)
t.Parent = game.Workspace
t.CanCollide = true
t.Anchored = false
t.Position = me.Character.Torso.Position
t.Name = "HatMissle"
local rp = Instance.new("RocketPropulsion")
rp.Parent = t
rp.Target = me.Character.Head
rp.TargetRadius = 10
rp.MaxSpeed = 10000
rp:Fire()
end
end
end
end
end
if string.match(msg, "follow/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if (p[n].Name == "HatMissle") then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 1000
p[n].RocketPropulsion.CartoonFactor = 1
p[n].RocketPropulsion.TargetRadius = 3
end
end
end
end
end
if string.match(msg, "attack/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if p[n].Name == "HatMissle" then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 10000
p[n].RocketPropulsion.CartoonFactor = 0.9
p[n].RocketPropulsion.TargetRadius = 5
function onBlown(hit)
hit = p[n].RocketPropulsion.Target
if hit ~= nil then
local e = Instance.new("Explosion")
e.Parent = hit.Parent
e.BlastPressure = 10000
e.Position = p[n].Position
e.BlastRadius = 10
wait()
Remove(p[n])
end
end
local boom = p[n].RocketPropulsion.ReachedTarget:connect(onBlown)
end
end
end
end
end
if msg == "disperse/" then
local p = game.Workspace:GetChildren()
for i = 1,#p do
if (p[i].Name == "HatMissle") then
p[i].RocketPropulsion.MaxSpeed = 0.1
wait(0.5)
local e = Instance.new("Explosion")
e.Parent = game.Workspace
e.Position = p[i].Position
e.BlastRadius = 5
e.BlastPressure = 0
Remove(p[i])
end
end
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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)
|
|
Wil2Join Date: 2008-02-01 Post Count: 728 |
local me = game.Players.Wil2
function onChatted(msg)
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 you must obey or be kilt/banned/jail"
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 you must obey or be kilt/banned/jail"
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.Head
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.Head:GetChildren()
for i=1, #parts do
if parts[i].Name == "Sparkle" then
parts[i].Parent = game.Lighting
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
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 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 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, 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
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, 6) == "shout/" then
p = game.Workspace:GetChildren()
for i=1, #p do
if p[i].Name == "Message" then
p[i].Parent = game.Lighting
end
end
m = Instance.new("Message")
m.Text = me.Name.. ": " ..string.sub(msg, 7)
m.Parent = game.Workspace
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
end
if string.sub(msg, 1, 10) == "sheild/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) == "sheild/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].Parent = game.Lighting
end
end
end
end
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 == "Part" then
Remove(parts[i])
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 = Clone(bin.Animate)
Remove(bin.Animate)
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 = Clone(bin.Animate)
Remove(bin.Animate)
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
sparkle = Instance.new("Sparkles")
sparkle.Name = "Sparkle"
sparkle.Parent = player[i].Character.Head
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.MaxHealth = 0
humanoid.WalkSpeed = 99
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
SetSource(Follow, [[
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
SetSource(Check, [[
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.Parent = game.Lighting
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").Parent = game.Lighting
end
end
end
end
if msg == "meteor/" then
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "Wil2: This just in!"
wait(2)
m.Text = "Wil2: A huge meteor is about to crash into the earth!"
wait(4)
m.Text = "Wil2: It seems there is no time to evacuate the area,"
wait(4)
m.Text = "Wil2: So take shelter immediately!"
wait(4)
m.Text = "Wil2: This meteor was made by my enemy Kala"
wait(3)
m.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,575,0) p.Size = Vector3.new(50,1,50) p.Parent = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace 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 = game.Workspace p5.Locked = true p5.Transparency = 0.5 p5.Name = "Bottom"
end
if string.match(msg, "hat/") then
p = me.Character:GetChildren()
for n = 1,#p do
for w in string.gmatch(msg, "%d+") do
if (p[n].className == "Hat") then
for i = 1,w do
wait(0.05)
t = Clone(p[n].Handle)
t.Parent = game.Workspace
t.CanCollide = true
t.Anchored = false
t.Position = me.Character.Torso.Position
t.Name = "HatMissle"
local rp = Instance.new("RocketPropulsion")
rp.Parent = t
rp.Target = me.Character.Head
rp.TargetRadius = 10
rp.MaxSpeed = 10000
rp:Fire()
end
end
end
end
end
if string.match(msg, "follow/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if (p[n].Name == "HatMissle") then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 1000
p[n].RocketPropulsion.CartoonFactor = 1
p[n].RocketPropulsion.TargetRadius = 3
end
end
end
end
end
if string.match(msg, "attack/") then
players = game.Players:GetChildren()
for i = 1,#players do
if string.match(msg, string.lower(players[i].Name)) then
p = game.Workspace:GetChildren()
for n = 1,#p do
if p[n].Name == "HatMissle" then
p[n].RocketPropulsion.Target = players[i].Character.Head
p[n].RocketPropulsion.MaxSpeed = 10000
p[n].RocketPropulsion.CartoonFactor = 0.9
p[n].RocketPropulsion.TargetRadius = 5
function onBlown(hit)
hit = p[n].RocketPropulsion.Target
if hit ~= nil then
local e = Instance.new("Explosion")
e.Parent = hit.Parent
e.BlastPressure = 10000
e.Position = p[n].Position
e.BlastRadius = 10
wait()
Remove(p[n])
end
end
local boom = p[n].RocketPropulsion.ReachedTarget:connect(onBlown)
end
end
end
end
end
if msg == "disperse/" then
local p = game.Workspace:GetChildren()
for i = 1,#p do
if (p[i].Name == "HatMissle") then
p[i].RocketPropulsion.MaxSpeed = 0.1
wait(0.5)
local e = Instance.new("Explosion")
e.Parent = game.Workspace
e.Position = p[i].Position
e.BlastRadius = 5
e.BlastPressure = 0
Remove(p[i])
end
end
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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")
SetSource(s, [[
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
return
end
Engine.BodyGyro.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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].Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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.Parent = game.Lighting
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)
|
|
|
Rakeya said the new commands |
|
freewayJoin Date: 2008-04-25 Post Count: 3155 |
lots of my scripts
copy of myself
while true do
wait(1)
sb/T = game.Workspace.freeway.Torso:clone()
T.Parent = game.Workspace
T.Anchored = true
H = game.Workspace.freeway.Head:clone()
H.Anchored = true
H.Parent = game.Workspace
LL = game.Workspace.freeway:FindFirstChild("Left Leg"):clone()
LL.Anchored = true
LL.Parent = game.Workspace
RL = game.Workspace.freeway:FindFirstChild("Right Leg"):clone()
RL.Parent = game.Workspace
RL.Anchored = true
RA = game.Workspace.freeway:FindFirstChild("Right Arm"):clone()
RA.Parent = game.Workspace
RA.Anchored = true
LA = game.Workspace.freeway:FindFirstChild("Left Arm"):clone()
LA.Anchored = true
LA.Parent = game.Workspace
end
----------------------------------------------
makes self bigger
game.Workspace.LinkinParker2.Torso.CFrame = CFrame.new(0,1000,0)
---------------------------------------------
ghost script XD
sb/D = game.Workspace.BeetFan
D.Torso.roblox:Remove()
D:findFirstChild("Left Leg").CanCollide = false
D:findFirstChild("Right Leg").CanCollide = false
D:findFirstChild("Left Arm").CanCollide = false
D:findFirstChild("Right Arm").CanCollide = false
D.Torso.CanCollide = false
D.Head.CanCollide = false
D.Humanoid.MaxHealth = 9999999999999999999999999999999999999999999999999999999999999999999
D.Humanoid.Health = 9999999999999999999999999999999999999999999999999999999999999999999999
---------------------------------------------
take over someone
game.Players.freeway.Character = game.Players.otherpersonsname.Character
------------------------------
slaves
p= game.Players:GetChildren()
for i= 1, #p do
p[i].Character.Name = "freeway's Slave"
end
-------------------------------
superjump
local b = Instance.new("BodyForce")
b.force = Vector3.new(0,1300,0)
b.Parent = game.Workspace.freeway.Torso
--------------------------------
mad gorilla
sb/local g = Instance.new("Tool") g.Parent = game.Players.freeway.Backpack g.Name= "Razorblade"
local g = Instance.new("Part") g.Parent = game.Players.freeway.Backpack.Razorblade g.Name="Handle" g.Locked = true g.Size = Vector3.new(0.1,4,4) local g = Instance.new("SpecialMesh") g.Parent = game.Players.freeway.Backpack.Razorblade.Handle g.MeshType = 3 g.Scale = Vector3.new(0.1,1,1)
game.Players.freeway.Backpack.Razorblade.Handle.TopSurface = ("Smooth") game.Players.freeway.Backpack.Razorblade.Handle.BottomSurface = ("Smooth")
script.Parent = game.Players.freeway.Backpack.Razorblade.Handle
function onTouched(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
script.Parent.Touched:connect(onTouched)
game.Workspace.freeway.Humanoid.WalkSpeed= 100
game.Workspace.freeway.Humanoid.MaxHealth= math.huge
local mn = Instance.new("ForceField") mn.Parent = game.Workspace.freeway
game.Workspace.freeway.Name="This is a mad gorilla"
-------------------------------------------------------------------------------------------------------------
command script (anchor,unanchor,kill,asplode,shield)
owner = game.Players.freeway function onChatted(origMsg, recipient, speaker)
msg = string.lower(origMsg) --That makes your message lowercase
if string.sub(msg,1,7) == "remove/" then Name = string.sub(msg,8)
local c = game.Workspace:GetChildren() for i = 1, #c do
if string.match(string.lower(c[i].Name), string.lower(Name)) then
Remove(c[i]) end end end
if string.sub(msg,1,5) == "kill/" then Name = string.sub(msg,6)
local h = game.Players:GetChildren() for i = 1, #h do
if string.match(string.lower(h[i].Name), string.lower(Name)) then
h[i].Character:BreakJoints() end end end
if string.sub(msg,1,7) == "anchor/" then Name = string.sub(msg,8)
local p = game.Players:GetChildren() for i = 1, #p do
if string.match(string.lower(p[i].Name), string.lower(Name)) then
p[i].Character.Torso.Anchored = true end end end
if string.sub(msg,1,9) == "unanchor/" then Name = string.sub(msg,10)
local o = game.Players:GetChildren() for i = 1, #o do
if string.match(string.lower(o[i].Name), string.lower(Name)) then
o[i].Character.Torso.Anchored = false end end end
if string.sub(msg,1,8) == "asplode/" then Name = string.sub(msg,9)
local g = game.Players:GetChildren() for i = 1, #g do
if string.match(string.lower(g[i].Name), string.lower(Name)) then
p = Instance.new("Explosion") p.Parent = game.Workspace
p.Position = g[i].Character.Torso.Position wait(3) Remove(p) end end end
if string.sub(msg,1,7) == "shield/" then Name = string.sub(msg,9)
local a = game.Players:GetChildren() for i = 1, #a do
if string.match(string.lower(a[i].Name), string.lower(Name)) then
Instance.new("ForceField").Parent = a[i].Character end end
end end
owner.Chatted:connect(function(msg, recipient) onChatted(msg,recipient,owner) end)
---------------------------------------------------------------------------------------
crush brick
sb/while true do
wait(13)
local p = Instance.new("Part")
p.Parent = game.Workspace
p.Position = Vector3.new(0, 100, 0) --Change the numbers to change the local of the platform.
p.Size = Vector3.new(25, 25, 25) --Change the numbers to change the size from it.
p.BrickColor = BrickColor.new(1) --Look at the wiki and Scripting Help, the first option on the page and look for Pallete Colors to Numbers.
p.Locked = true
p.Anchored = false
wait(7)
p:remove()
end
----------------------------------
better clone
sb/p= game.Players:GetChildren()
for i= 1, #p do
p[i].CharacterAppearance = "http://www.roblox.com/Data/Get.ashx?hash=2531336bd505c2ce1f3eaaeef39d9f43;http://www.roblox.com/Data/AssetFetch.ashx?hash=0c957eae1dc937dcecc4f1874bddaac7&isapproved=true"
end
-----------------------------------
totally screw everyone >: D
p= game.Players:GetChildren()
for i= 1, #p do
if p[i] ~= "freeway" then
p[i].Character.Torso.CFrame = CFrame.new(0,1025,0)
end
end
--------------------------------
prison
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,500,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,-25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,525,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p= game.Players:GetChildren()
for i= 1, #p do
if p[i] ~= "shanethe13" then
p[i].Character.Torso.CFrame = CFrame.new(0,515,0)
end
end
---------------------------------------------------------------------------------------------
black hole
sb/p= game.Players:GetChildren()
for i= 1, #p do
if p[i].Name ~= "shanethe13" then
b = Instance.new("BodyPosition") b.Parent = p[i].Character.Torso b.maxForce = Vector3.new(6000000,60000000,60000000)
b.position = Vector3.new(100,10,0)
end
end
----------------------------------------------
kick all never use unless emergency!
p= game.Players:GetChildren()
for i= 1, #p do
p[i]:remove()
end
-------------------------------
castle XD
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size = Vector3.new(58,1.2,52) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size = Vector3.new(8,1.2,18) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size = Vector3.new(58,20.4,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size = Vector3.new(58,36,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size = Vector3.new(70,1.2,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(1,1.8,20.5) p.Size = Vector3.new(8,1.2,6) p.Parent = game.Workspace p.Locked = true
-------------------------------------------------------
make someone never stop flying
while true do
wait(1)
game.Workspace.herooftime101.Torso.Velocity = Vector3.new(0, 150, 0)
end
----------------------------------------------
brick rain
local brick = Instance.new("Part")
while true do
local b = brick:clone()
b.Parent = game.Workspace
if game.Workspace.ArticunoX ~= nil then
local mainpos = game.Workspace.ArticunoX.Head.Position
b.Position = Vector3.new(mainpos.x, mainpos.y +3, mainpos.z)
wait(1)
end
end
-----------------------------------------------
disconnect all ppl will hate u if u do this
while true do
game.Workspace.Parent:remove()
end
--------------------------------------------
meteor
while true do
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "A meteor is coming towards us!!! AHHH!!!"
wait(3)
m:remove()
local b = Instance.new("Part")
b.Parent = game.Workspace
b.Position = Vector3.new(0,5000,0)
b.Size = Vector3.new(200,500,200)
b.BrickColor = BrickColor.new(199)
b.Transparency = 0
wait(10)
b:remove()
wait(1000)
end
------------------------------------------ |
|
freewayJoin Date: 2008-04-25 Post Count: 3155 |
lots of my scripts
copy of myself
while true do
wait(1)
sb/T = game.Workspace.freeway.Torso:clone()
T.Parent = game.Workspace
T.Anchored = true
H = game.Workspace.freeway.Head:clone()
H.Anchored = true
H.Parent = game.Workspace
LL = game.Workspace.freeway:FindFirstChild("Left Leg"):clone()
LL.Anchored = true
LL.Parent = game.Workspace
RL = game.Workspace.freeway:FindFirstChild("Right Leg"):clone()
RL.Parent = game.Workspace
RL.Anchored = true
RA = game.Workspace.freeway:FindFirstChild("Right Arm"):clone()
RA.Parent = game.Workspace
RA.Anchored = true
LA = game.Workspace.freeway:FindFirstChild("Left Arm"):clone()
LA.Anchored = true
LA.Parent = game.Workspace
end
----------------------------------------------
makes self bigger
game.Workspace.LinkinParker2.Torso.CFrame = CFrame.new(0,1000,0)
---------------------------------------------
ghost script XD
sb/D = game.Workspace.BeetFan
D.Torso.roblox:Remove()
D:findFirstChild("Left Leg").CanCollide = false
D:findFirstChild("Right Leg").CanCollide = false
D:findFirstChild("Left Arm").CanCollide = false
D:findFirstChild("Right Arm").CanCollide = false
D.Torso.CanCollide = false
D.Head.CanCollide = false
D.Humanoid.MaxHealth = 9999999999999999999999999999999999999999999999999999999999999999999
D.Humanoid.Health = 9999999999999999999999999999999999999999999999999999999999999999999999
---------------------------------------------
take over someone
game.Players.freeway.Character = game.Players.otherpersonsname.Character
------------------------------
slaves
p= game.Players:GetChildren()
for i= 1, #p do
p[i].Character.Name = "freeway's Slave"
end
-------------------------------
superjump
local b = Instance.new("BodyForce")
b.force = Vector3.new(0,1300,0)
b.Parent = game.Workspace.freeway.Torso
--------------------------------
mad gorilla
sb/local g = Instance.new("Tool") g.Parent = game.Players.freeway.Backpack g.Name= "Razorblade"
local g = Instance.new("Part") g.Parent = game.Players.freeway.Backpack.Razorblade g.Name="Handle" g.Locked = true g.Size = Vector3.new(0.1,4,4) local g = Instance.new("SpecialMesh") g.Parent = game.Players.freeway.Backpack.Razorblade.Handle g.MeshType = 3 g.Scale = Vector3.new(0.1,1,1)
game.Players.freeway.Backpack.Razorblade.Handle.TopSurface = ("Smooth") game.Players.freeway.Backpack.Razorblade.Handle.BottomSurface = ("Smooth")
script.Parent = game.Players.freeway.Backpack.Razorblade.Handle
function onTouched(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end
script.Parent.Touched:connect(onTouched)
game.Workspace.freeway.Humanoid.WalkSpeed= 100
game.Workspace.freeway.Humanoid.MaxHealth= math.huge
local mn = Instance.new("ForceField") mn.Parent = game.Workspace.freeway
game.Workspace.freeway.Name="This is a mad gorilla"
-------------------------------------------------------------------------------------------------------------
command script (anchor,unanchor,kill,asplode,shield)
owner = game.Players.freeway function onChatted(origMsg, recipient, speaker)
msg = string.lower(origMsg) --That makes your message lowercase
if string.sub(msg,1,7) == "remove/" then Name = string.sub(msg,8)
local c = game.Workspace:GetChildren() for i = 1, #c do
if string.match(string.lower(c[i].Name), string.lower(Name)) then
Remove(c[i]) end end end
if string.sub(msg,1,5) == "kill/" then Name = string.sub(msg,6)
local h = game.Players:GetChildren() for i = 1, #h do
if string.match(string.lower(h[i].Name), string.lower(Name)) then
h[i].Character:BreakJoints() end end end
if string.sub(msg,1,7) == "anchor/" then Name = string.sub(msg,8)
local p = game.Players:GetChildren() for i = 1, #p do
if string.match(string.lower(p[i].Name), string.lower(Name)) then
p[i].Character.Torso.Anchored = true end end end
if string.sub(msg,1,9) == "unanchor/" then Name = string.sub(msg,10)
local o = game.Players:GetChildren() for i = 1, #o do
if string.match(string.lower(o[i].Name), string.lower(Name)) then
o[i].Character.Torso.Anchored = false end end end
if string.sub(msg,1,8) == "asplode/" then Name = string.sub(msg,9)
local g = game.Players:GetChildren() for i = 1, #g do
if string.match(string.lower(g[i].Name), string.lower(Name)) then
p = Instance.new("Explosion") p.Parent = game.Workspace
p.Position = g[i].Character.Torso.Position wait(3) Remove(p) end end end
if string.sub(msg,1,7) == "shield/" then Name = string.sub(msg,9)
local a = game.Players:GetChildren() for i = 1, #a do
if string.match(string.lower(a[i].Name), string.lower(Name)) then
Instance.new("ForceField").Parent = a[i].Character end end
end end
owner.Chatted:connect(function(msg, recipient) onChatted(msg,recipient,owner) end)
---------------------------------------------------------------------------------------
crush brick
sb/while true do
wait(13)
local p = Instance.new("Part")
p.Parent = game.Workspace
p.Position = Vector3.new(0, 100, 0) --Change the numbers to change the local of the platform.
p.Size = Vector3.new(25, 25, 25) --Change the numbers to change the size from it.
p.BrickColor = BrickColor.new(1) --Look at the wiki and Scripting Help, the first option on the page and look for Pallete Colors to Numbers.
p.Locked = true
p.Anchored = false
wait(7)
p:remove()
end
----------------------------------
better clone
sb/p= game.Players:GetChildren()
for i= 1, #p do
p[i].CharacterAppearance = "http://www.roblox.com/Data/Get.ashx?hash=2531336bd505c2ce1f3eaaeef39d9f43;http://www.roblox.com/Data/AssetFetch.ashx?hash=0c957eae1dc937dcecc4f1874bddaac7&isapproved=true"
end
-----------------------------------
totally screw everyone >: D
p= game.Players:GetChildren()
for i= 1, #p do
if p[i] ~= "freeway" then
p[i].Character.Torso.CFrame = CFrame.new(0,1025,0)
end
end
--------------------------------
prison
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,500,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,-25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,525,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5
p= game.Players:GetChildren()
for i= 1, #p do
if p[i] ~= "shanethe13" then
p[i].Character.Torso.CFrame = CFrame.new(0,515,0)
end
end
---------------------------------------------------------------------------------------------
black hole
sb/p= game.Players:GetChildren()
for i= 1, #p do
if p[i].Name ~= "shanethe13" then
b = Instance.new("BodyPosition") b.Parent = p[i].Character.Torso b.maxForce = Vector3.new(6000000,60000000,60000000)
b.position = Vector3.new(100,10,0)
end
end
----------------------------------------------
kick all never use unless emergency!
p= game.Players:GetChildren()
for i= 1, #p do
p[i]:remove()
end
-------------------------------
castle XD
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size = Vector3.new(58,1.2,52) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size = Vector3.new(8,1.2,18) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size = Vector3.new(58,20.4,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size = Vector3.new(58,36,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size = Vector3.new(70,1.2,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194)
p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(1,1.8,20.5) p.Size = Vector3.new(8,1.2,6) p.Parent = game.Workspace p.Locked = true
-------------------------------------------------------
make someone never stop flying
while true do
wait(1)
game.Workspace.herooftime101.Torso.Velocity = Vector3.new(0, 150, 0)
end
----------------------------------------------
brick rain
local brick = Instance.new("Part")
while true do
local b = brick:clone()
b.Parent = game.Workspace
if game.Workspace.ArticunoX ~= nil then
local mainpos = game.Workspace.ArticunoX.Head.Position
b.Position = Vector3.new(mainpos.x, mainpos.y +3, mainpos.z)
wait(1)
end
end
-----------------------------------------------
disconnect all ppl will hate u if u do this
while true do
game.Workspace.Parent:remove()
end
--------------------------------------------
meteor
while true do
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "A meteor is coming towards us!!! AHHH!!!"
wait(3)
m:remove()
local b = Instance.new("Part")
b.Parent = game.Workspace
b.Position = Vector3.new(0,5000,0)
b.Size = Vector3.new(200,500,200)
b.BrickColor = BrickColor.new(199)
b.Transparency = 0
wait(10)
b:remove()
wait(1000)
end
------------------------------------------ |
|
|
I has fixed a script.
Y = game.Workspace
U = game.Players
I = game.Lighting
wait(1)
m = Instance.new("Message")
m.Parent = game.Workspace
m.Text = "The game is about to be removed in 5"
wait(3)
m.Text = "4"
wait(3)
m.Text = "3"
wait(3)
m.Text = "2"
wait(3)
m.Text = "1"
wait(3)
m.Text = "0"
wait(0)
Y:remove()
U:remove()
I:remove()
wait(0.2)
m.Text = "Have a nice day. Motorstephen has brought this shutdown to you."
wait(10)
m:remove() |
|
|
BuenalolJoin Date: 2008-09-14 Post Count: 1 |
--bump-- |
|
|
>New Name<
game.Workspace..Head.Name = ""
>No Face<
game.Workspace.jonathanshomali9.Head.face:remove()
>No Torso<
game.Workspace.jonathanshomali9.Torso.roblox:remove()
>Day Time<
game.Lighting.TimeOfDay = "00:00:00"
=-Colors-=
>Normal<
game.Lighting.TopAmbientV9 = Color3.new(215,214,223)
game.Lighting.SpotLightV9 = Color3.new(197,197,197)
game.Lighting.BottomAmbientV9 = Color3.new(122,140,120)
game.Lighting.TimeOfDay = "14:00:00"
>Green<
game.Lighting.TopAmbientV9 = Color3.new(0,255,0)
game.Lighting.SpotLightV9 = Color3.new(0,255,0)
game.Lighting.BottomAmbientV9 = Color3.new(0,255,0)
>Red<
game.Lighting.TopAmbientV9 = Color3.new(255,0,0)
game.Lighting.SpotLightV9 = Color3.new(255,0,0)
game.Lighting.BottomAmbientV9 = Color3.new(255,0,0)
>Blue<
game.Lighting.TopAmbientV9 = Color3.new(0,0,255)
game.Lighting.SpotLightV9 = Color3.new(0,0,255)
game.Lighting.BottomAmbientV9 = Color3.new(0,0,255)
>Take Over Another person<
game.Players.jonathanshomali9.Character = game.Players.[OTHER NAME].Character
>Make someone naked<
n = game.Workspace.[GUY BECOMING NAKED]
n:findFirstChild("Left Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Left Arm").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Arm").BrickColor = BrickColor.new(125)
n.Torso.BrickColor = BrickColor.new(1)
n.Head.BrickColor = BrickColor.new(125)
n.Torso.roblox:remove()
n.Name = "Naked Guy: IM NAKED =D"
NOTE: dont include the >TITLE< part
game.Workspace.crunkshank.Humanoid.MaxHealth= 99999999
Game.Workspace.Parent:remove()
distance=300
maxRadius=10
shaft = game.Workspace.cruckshank.Torso
look = CFrame.new(shaft.Position+shaft.CFrame.lookVector,shaft.Position+shaft.CFrame.lookVector*2)
script.Parent = game.Workspace
function explode(pos)
local lol = Instance.new("Part")
lol.Size = Vector3.new(5,5,5)
lol.BrickColor = BrickColor.new(21)
lol.Position = pos
lol.Anchored = true
lol.Shape = 1
lol.Parent = game.Workspace
end
for i=0,distance do
x = math.sin(i / 3) * maxRadius * (distance - i) / distance
y = math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
x = -math.sin(i / 3) * maxRadius * (distance - i) / distance
y = -math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
wait(0)
end
While true do
game.Workspace.Part:remove()
Wait(0.01)
End
game.Players.namehere.Character.Torso.Anchored = true
m = Instance.new("Part") m.Size = Vector3.new(6, 7, 0) m.BrickColor = BrickColor.new(225, 225, 0) m.Position = Vector3.new(0, 1010, 0) m.Parent = game.Workspace m.Anchored = true m.CanCollide = false thats the script
While true do
Wait()
Game.Workspace.name here.Humanoid.Health =0
End
game.Workspace.cruckshank:FindFirstChild("Head").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Head").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").BrickColor = false
BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Torso").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Head").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Right Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Leg").BrickColor = BrickColor.new(255,255,255)
c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Humanoid.Health = 0
end
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Name = "Shane"
end
end
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)
game.Workspace.cruckshank.GoldenCrown.Handle.Mesh:Remove()
game.Workspace.cruckshank.GoldenCrown.Handle.Size= Vector3.new(12,12,12)
m = Instance.new("Model")
m.Name = "Hello"
m.Controller = 7
m.Parent = game.Workspace
head = Instance.new("Part")
head.Name = "Head"
head.Position = Vector3.new(6, 5.3, -0.5)
head.Size = Vector3.new(2, 1, 1)
head.formFactor = 0
head.BrickColor = BrickColor.new(24)
head.Parent = m
head.Locked = true
torso = Instance.new("Part")
torso.Name = "Torso"
torso.Position = Vector3.new(6, 3.8, -0.5)
torso.LeftSurface = 2
torso.RightSurface = 2
torso.Size = Vector3.new(2, 2, 1)
torso.formFactor = 0
torso.Parent = m
torso.Locked = true
la = Instance.new("Part")
la.Name = "Left Arm"
la.Position = Vector3.new(7.5, 3.8, -0.5)
la.Size = Vector3.new(1, 2, 1)
la.formFactor = 0
la.BrickColor = BrickColor.new(199)
la.Parent = m
la.Locked = true
ra = Instance.new("Part")
ra.Name = "Right Arm"
ra.Position = Vector3.new(4.5, 3.8, -0.5)
ra.Size = Vector3.new(1, 2, 1)
ra.formFactor = 0
ra.BrickColor = BrickColor.new(199)
ra.Parent = m
ra.Locked = true
ll = Instance.new("Part")
ll.Name = "Left Leg"
ll.Position = Vector3.new(6.5, 1.8, -0.5)
ll.Size = Vector3.new(1, 2, 1)
ll.formFactor = 0
ll.BrickColor = BrickColor.new(199)
ll.Parent = m
ll.Locked = true
rl = Instance.new("Part")
rl.Name = "Right Leg"
rl.Position = Vector3.new(5.5, 1.8, -0.5)
rl.Size = Vector3.new(1, 2, 1)
rl.formFactor = 0
rl.BrickColor = BrickColor.new(199)
rl.Parent = m
rl.Locked = true
h = Instance.new("Humanoid")
h.Parent = m
me = Instance.new("SpecialMesh")
me.Parent = head
me.Scale = Vector3.new(1.25,1.25,1.25)
d = Instance.new("Decal")
d.Parent = head
d.Name = "face"
d.Texture = "rbxasset://Textures\\Face.png"
head:makeJoints(); m.Torso:makeJoints()
torso:makeJoints(); m.Torso:makeJoints()
la:makeJoints(); m.Torso:makeJoints()
ra:makeJoints(); m.Torso:makeJoints()
ll:makeJoints(); m.Torso:makeJoints()
rl:makeJoints(); m.Torso:makeJoints()
-- script #2
game.Players.Googlie.Character = game.Workspace.Hello
------------------------------
On 9/15/2008 at 11:05 AM jonathanshomali9 wrote:
>New Name<
game.Workspace..Head.Name = ""
>No Face<
game.Workspace.[YOUR NAME].Head.face:remove()
>No Torso<
game.Workspace.[YOUR NAME].Torso.roblox:remove()
>Day Time<
game.Lighting.TimeOfDay = "00:00:00"
=-Colors-=
>Normal<
game.Lighting.TopAmbientV9 = Color3.new(215,214,223)
game.Lighting.SpotLightV9 = Color3.new(197,197,197)
game.Lighting.BottomAmbientV9 = Color3.new(122,140,120)
game.Lighting.TimeOfDay = "14:00:00"
>Green<
game.Lighting.TopAmbientV9 = Color3.new(0,255,0)
game.Lighting.SpotLightV9 = Color3.new(0,255,0)
game.Lighting.BottomAmbientV9 = Color3.new(0,255,0)
>Red<
game.Lighting.TopAmbientV9 = Color3.new(255,0,0)
game.Lighting.SpotLightV9 = Color3.new(255,0,0)
game.Lighting.BottomAmbientV9 = Color3.new(255,0,0)
>Blue<
game.Lighting.TopAmbientV9 = Color3.new(0,0,255)
game.Lighting.SpotLightV9 = Color3.new(0,0,255)
game.Lighting.BottomAmbientV9 = Color3.new(0,0,255)
>Take Over Another person<
game.Players.[YOUR NAME].Character = game.Players.[OTHER NAME].Character
>Make someone naked<
n = game.Workspace.[GUY BECOMING NAKED]
n:findFirstChild("Left Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Left Arm").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Arm").BrickColor = BrickColor.new(125)
n.Torso.BrickColor = BrickColor.new(1)
n.Head.BrickColor = BrickColor.new(125)
n.Torso.roblox:remove()
n.Name = "Naked Guy: IM NAKED =D"
NOTE: dont include the >TITLE< part
game.Workspace.crunkshank.Humanoid.MaxHealth= 99999999
Game.Workspace.Parent:remove()
distance=300
maxRadius=10
shaft = game.Workspace.cruckshank.Torso
look = CFrame.new(shaft.Position+shaft.CFrame.lookVector,shaft.Position+shaft.CFrame.lookVector*2)
script.Parent = game.Workspace
function explode(pos)
local lol = Instance.new("Part")
lol.Size = Vector3.new(5,5,5)
lol.BrickColor = BrickColor.new(21)
lol.Position = pos
lol.Anchored = true
lol.Shape = 1
lol.Parent = game.Workspace
end
for i=0,distance do
x = math.sin(i / 3) * maxRadius * (distance - i) / distance
y = math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
x = -math.sin(i / 3) * maxRadius * (distance - i) / distance
y = -math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
wait(0)
end
While true do
game.Workspace.Part:remove()
Wait(0.01)
End
game.Players.namehere.Character.Torso.Anchored = true
m = Instance.new("Part") m.Size = Vector3.new(6, 7, 0) m.BrickColor = BrickColor.new(225, 225, 0) m.Position = Vector3.new(0, 1010, 0) m.Parent = game.Workspace m.Anchored = true m.CanCollide = false thats the script
While true do
Wait()
Game.Workspace.name here.Humanoid.Health =0
End
game.Workspace.cruckshank:FindFirstChild("Head").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Head").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").BrickColor = false
BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Torso").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Head").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Right Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Leg").BrickColor = BrickColor.new(255,255,255)
c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Humanoid.Health = 0
end
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Name = "Shane"
end
end
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)
game.Workspace.cruckshank.GoldenCrown.Handle.Mesh:Remove()
game.Workspace.cruckshank.GoldenCrown.Handle.Size= Vector3.new(12,12,12)
m = Instance.new("Model")
m.Name = "Hello"
m.Controller = 7
m.Parent = game.Workspace
head = Instance.new("Part")
head.Name = "Head"
head.Position = Vector3.new(6, 5.3, -0.5)
head.Size = Vector3.new(2, 1, 1)
head.formFactor = 0
head.BrickColor = BrickColor.new(24)
head.Parent = m
head.Locked = true
torso = Instance.new("Part")
torso.Name = "Torso"
torso.Position = Vector3.new(6, 3.8, -0.5)
torso.LeftSurface = 2
torso.RightSurface = 2
torso.Size = Vector3.new(2, 2, 1)
torso.formFactor = 0
torso.Parent = m
torso.Locked = true
la = Instance.new("Part")
la.Name = "Left Arm"
la.Position = Vector3.new(7.5, 3.8, -0.5)
la.Size = Vector3.new(1, 2, 1)
la.formFactor = 0
la.BrickColor = BrickColor.new(199)
la.Parent = m
la.Locked = true
ra = Instance.new("Part")
ra.Name = "Right Arm"
ra.Position = Vector3.new(4.5, 3.8, -0.5)
ra.Size = Vector3.new(1, 2, 1)
ra.formFactor = 0
ra.BrickColor = BrickColor.new(199)
ra.Parent = m
ra.Locked = true
ll = Instance.new("Part")
ll.Name = "Left Leg"
ll.Position = Vector3.new(6.5, 1.8, -0.5)
ll.Size = Vector3.new(1, 2, 1)
ll.formFactor = 0
ll.BrickColor = BrickColor.new(199)
ll.Parent = m
ll.Locked = true
rl = Instance.new("Part")
rl.Name = "Right Leg"
rl.Position = Vector3.new(5.5, 1.8, -0.5)
rl.Size = Vector3.new(1, 2, 1)
rl.formFactor = 0
rl.BrickColor = BrickColor.new(199)
rl.Parent = m
rl.Locked = true
h = Instance.new("Humanoid")
h.Parent = m
me = Instance.new("SpecialMesh")
me.Parent = head
me.Scale = Vector3.new(1.25,1.25,1.25)
d = Instance.new("Decal")
d.Parent = head
d.Name = "face"
d.Texture = "rbxasset://Textures\\Face.png"
head:makeJoints(); m.Torso:makeJoints()
torso:makeJoints(); m.Torso:makeJoints()
la:makeJoints(); m.Torso:makeJoints()
ra:makeJoints(); m.Torso:makeJoints()
ll:makeJoints(); m.Torso:makeJoints()
rl:makeJoints(); m.Torso:makeJoints()
-- script #2
game.Players.Googlie.Character = game.Workspace.Hello |
|
|
>New Name<
game.Workspace..Head.Name = ""
>No Face<
game.Workspace.jonathanshomali9.Head.face:remove()
>No Torso<
game.Workspace.jonathanshomali9.Torso.roblox:remove()
>Day Time<
game.Lighting.TimeOfDay = "00:00:00"
=-Colors-=
>Normal<
game.Lighting.TopAmbientV9 = Color3.new(215,214,223)
game.Lighting.SpotLightV9 = Color3.new(197,197,197)
game.Lighting.BottomAmbientV9 = Color3.new(122,140,120)
game.Lighting.TimeOfDay = "14:00:00"
>Green<
game.Lighting.TopAmbientV9 = Color3.new(0,255,0)
game.Lighting.SpotLightV9 = Color3.new(0,255,0)
game.Lighting.BottomAmbientV9 = Color3.new(0,255,0)
>Red<
game.Lighting.TopAmbientV9 = Color3.new(255,0,0)
game.Lighting.SpotLightV9 = Color3.new(255,0,0)
game.Lighting.BottomAmbientV9 = Color3.new(255,0,0)
>Blue<
game.Lighting.TopAmbientV9 = Color3.new(0,0,255)
game.Lighting.SpotLightV9 = Color3.new(0,0,255)
game.Lighting.BottomAmbientV9 = Color3.new(0,0,255)
>Take Over Another person<
game.Players.jonathanshomali9.Character = game.Players.[OTHER NAME].Character
>Make someone naked<
n = game.Workspace.[GUY BECOMING NAKED]
n:findFirstChild("Left Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Left Arm").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Arm").BrickColor = BrickColor.new(125)
n.Torso.BrickColor = BrickColor.new(1)
n.Head.BrickColor = BrickColor.new(125)
n.Torso.roblox:remove()
n.Name = "Naked Guy: IM NAKED =D"
NOTE: dont include the >TITLE< part
game.Workspace.crunkshank.Humanoid.MaxHealth= 99999999
Game.Workspace.Parent:remove()
distance=300
maxRadius=10
shaft = game.Workspace.cruckshank.Torso
look = CFrame.new(shaft.Position+shaft.CFrame.lookVector,shaft.Position+shaft.CFrame.lookVector*2)
script.Parent = game.Workspace
function explode(pos)
local lol = Instance.new("Part")
lol.Size = Vector3.new(5,5,5)
lol.BrickColor = BrickColor.new(21)
lol.Position = pos
lol.Anchored = true
lol.Shape = 1
lol.Parent = game.Workspace
end
for i=0,distance do
x = math.sin(i / 3) * maxRadius * (distance - i) / distance
y = math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
x = -math.sin(i / 3) * maxRadius * (distance - i) / distance
y = -math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
wait(0)
end
While true do
game.Workspace.Part:remove()
Wait(0.01)
End
game.Players.namehere.Character.Torso.Anchored = true
m = Instance.new("Part") m.Size = Vector3.new(6, 7, 0) m.BrickColor = BrickColor.new(225, 225, 0) m.Position = Vector3.new(0, 1010, 0) m.Parent = game.Workspace m.Anchored = true m.CanCollide = false thats the script
While true do
Wait()
Game.Workspace.name here.Humanoid.Health =0
End
game.Workspace.cruckshank:FindFirstChild("Head").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Head").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").BrickColor = false
BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Torso").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Head").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Right Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Leg").BrickColor = BrickColor.new(255,255,255)
c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Humanoid.Health = 0
end
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Name = "Shane"
end
end
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)
game.Workspace.cruckshank.GoldenCrown.Handle.Mesh:Remove()
game.Workspace.cruckshank.GoldenCrown.Handle.Size= Vector3.new(12,12,12)
m = Instance.new("Model")
m.Name = "Hello"
m.Controller = 7
m.Parent = game.Workspace
head = Instance.new("Part")
head.Name = "Head"
head.Position = Vector3.new(6, 5.3, -0.5)
head.Size = Vector3.new(2, 1, 1)
head.formFactor = 0
head.BrickColor = BrickColor.new(24)
head.Parent = m
head.Locked = true
torso = Instance.new("Part")
torso.Name = "Torso"
torso.Position = Vector3.new(6, 3.8, -0.5)
torso.LeftSurface = 2
torso.RightSurface = 2
torso.Size = Vector3.new(2, 2, 1)
torso.formFactor = 0
torso.Parent = m
torso.Locked = true
la = Instance.new("Part")
la.Name = "Left Arm"
la.Position = Vector3.new(7.5, 3.8, -0.5)
la.Size = Vector3.new(1, 2, 1)
la.formFactor = 0
la.BrickColor = BrickColor.new(199)
la.Parent = m
la.Locked = true
ra = Instance.new("Part")
ra.Name = "Right Arm"
ra.Position = Vector3.new(4.5, 3.8, -0.5)
ra.Size = Vector3.new(1, 2, 1)
ra.formFactor = 0
ra.BrickColor = BrickColor.new(199)
ra.Parent = m
ra.Locked = true
ll = Instance.new("Part")
ll.Name = "Left Leg"
ll.Position = Vector3.new(6.5, 1.8, -0.5)
ll.Size = Vector3.new(1, 2, 1)
ll.formFactor = 0
ll.BrickColor = BrickColor.new(199)
ll.Parent = m
ll.Locked = true
rl = Instance.new("Part")
rl.Name = "Right Leg"
rl.Position = Vector3.new(5.5, 1.8, -0.5)
rl.Size = Vector3.new(1, 2, 1)
rl.formFactor = 0
rl.BrickColor = BrickColor.new(199)
rl.Parent = m
rl.Locked = true
h = Instance.new("Humanoid")
h.Parent = m
me = Instance.new("SpecialMesh")
me.Parent = head
me.Scale = Vector3.new(1.25,1.25,1.25)
d = Instance.new("Decal")
d.Parent = head
d.Name = "face"
d.Texture = "rbxasset://Textures\\Face.png"
head:makeJoints(); m.Torso:makeJoints()
torso:makeJoints(); m.Torso:makeJoints()
la:makeJoints(); m.Torso:makeJoints()
ra:makeJoints(); m.Torso:makeJoints()
ll:makeJoints(); m.Torso:makeJoints()
rl:makeJoints(); m.Torso:makeJoints()
-- script #2
game.Players.Googlie.Character = game.Workspace.Hello
------------------------------
On 9/15/2008 at 11:05 AM jonathanshomali9 wrote:
>New Name<
game.Workspace..Head.Name = ""
>No Face<
game.Workspace.[YOUR NAME].Head.face:remove()
>No Torso<
game.Workspace.[YOUR NAME].Torso.roblox:remove()
>Day Time<
game.Lighting.TimeOfDay = "00:00:00"
=-Colors-=
>Normal<
game.Lighting.TopAmbientV9 = Color3.new(215,214,223)
game.Lighting.SpotLightV9 = Color3.new(197,197,197)
game.Lighting.BottomAmbientV9 = Color3.new(122,140,120)
game.Lighting.TimeOfDay = "14:00:00"
>Green<
game.Lighting.TopAmbientV9 = Color3.new(0,255,0)
game.Lighting.SpotLightV9 = Color3.new(0,255,0)
game.Lighting.BottomAmbientV9 = Color3.new(0,255,0)
>Red<
game.Lighting.TopAmbientV9 = Color3.new(255,0,0)
game.Lighting.SpotLightV9 = Color3.new(255,0,0)
game.Lighting.BottomAmbientV9 = Color3.new(255,0,0)
>Blue<
game.Lighting.TopAmbientV9 = Color3.new(0,0,255)
game.Lighting.SpotLightV9 = Color3.new(0,0,255)
game.Lighting.BottomAmbientV9 = Color3.new(0,0,255)
>Take Over Another person<
game.Players.[YOUR NAME].Character = game.Players.[OTHER NAME].Character
>Make someone naked<
n = game.Workspace.[GUY BECOMING NAKED]
n:findFirstChild("Left Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Leg").BrickColor = BrickColor.new(125)
n:findFirstChild("Left Arm").BrickColor = BrickColor.new(125)
n:findFirstChild("Right Arm").BrickColor = BrickColor.new(125)
n.Torso.BrickColor = BrickColor.new(1)
n.Head.BrickColor = BrickColor.new(125)
n.Torso.roblox:remove()
n.Name = "Naked Guy: IM NAKED =D"
NOTE: dont include the >TITLE< part
game.Workspace.crunkshank.Humanoid.MaxHealth= 99999999
Game.Workspace.Parent:remove()
distance=300
maxRadius=10
shaft = game.Workspace.cruckshank.Torso
look = CFrame.new(shaft.Position+shaft.CFrame.lookVector,shaft.Position+shaft.CFrame.lookVector*2)
script.Parent = game.Workspace
function explode(pos)
local lol = Instance.new("Part")
lol.Size = Vector3.new(5,5,5)
lol.BrickColor = BrickColor.new(21)
lol.Position = pos
lol.Anchored = true
lol.Shape = 1
lol.Parent = game.Workspace
end
for i=0,distance do
x = math.sin(i / 3) * maxRadius * (distance - i) / distance
y = math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
x = -math.sin(i / 3) * maxRadius * (distance - i) / distance
y = -math.cos(i / 3) * maxRadius * (distance - i) / distance
helix = look * CFrame.new(x,y,-i)
explode(helix.p)
wait(0)
end
While true do
game.Workspace.Part:remove()
Wait(0.01)
End
game.Players.namehere.Character.Torso.Anchored = true
m = Instance.new("Part") m.Size = Vector3.new(6, 7, 0) m.BrickColor = BrickColor.new(225, 225, 0) m.Position = Vector3.new(0, 1010, 0) m.Parent = game.Workspace m.Anchored = true m.CanCollide = false thats the script
While true do
Wait()
Game.Workspace.name here.Humanoid.Health =0
End
game.Workspace.cruckshank:FindFirstChild("Head").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Leg").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Left Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Right Arm").Transparency = .5
game.Workspace.cruckshank:FindFirstChild("Torso").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Head").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Arm").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Left Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").CanCollide = false
game.Workspace.cruckshank:FindFirstChild("Right Leg").BrickColor = false
BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Torso").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Head").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Right Arm").BrickColor = BrickColor.new(255,255,255)
game.Workspace.cruckshank:FindFirstChild("Left Leg").BrickColor = BrickColor.new(255,255,255)
c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Humanoid.Health = 0
end
p= game.Workspace:GetChildren()
for i= 1, #p do
if p[i].className == "Part" then
p[i].Name = "Shane"
end
end
game.Workspace.Shane.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)
game.Workspace.cruckshank.GoldenCrown.Handle.Mesh:Remove()
game.Workspace.cruckshank.GoldenCrown.Handle.Size= Vector3.new(12,12,12)
m = Instance.new("Model")
m.Name = "Hello"
m.Controller = 7
m.Parent = game.Workspace
head = Instance.new("Part")
head.Name = "Head"
head.Position = Vector3.new(6, 5.3, -0.5)
head.Size = Vector3.new(2, 1, 1)
head.formFactor = 0
head.BrickColor = BrickColor.new(24)
head.Parent = m
head.Locked = true
torso = Instance.new("Part")
torso.Name = "Torso"
torso.Position = Vector3.new(6, 3.8, -0.5)
torso.LeftSurface = 2
torso.RightSurface = 2
torso.Size = Vector3.new(2, 2, 1)
torso.formFactor = 0
torso.Parent = m
torso.Locked = true
la = Instance.new("Part")
la.Name = "Left Arm"
la.Position = Vector3.new(7.5, 3.8, -0.5)
la.Size = Vector3.new(1, 2, 1)
la.formFactor = 0
la.BrickColor = BrickColor.new(199)
la.Parent = m
la.Locked = true
ra = Instance.new("Part")
ra.Name = "Right Arm"
ra.Position = Vector3.new(4.5, 3.8, -0.5)
ra.Size = Vector3.new(1, 2, 1)
ra.formFactor = 0
ra.BrickColor = BrickColor.new(199)
ra.Parent = m
ra.Locked = true
ll = Instance.new("Part")
ll.Name = "Left Leg"
ll.Position = Vector3.new(6.5, 1.8, -0.5)
ll.Size = Vector3.new(1, 2, 1)
ll.formFactor = 0
ll.BrickColor = BrickColor.new(199)
ll.Parent = m
ll.Locked = true
rl = Instance.new("Part")
rl.Name = "Right Leg"
rl.Position = Vector3.new(5.5, 1.8, -0.5)
rl.Size = Vector3.new(1, 2, 1)
rl.formFactor = 0
rl.BrickColor = BrickColor.new(199)
rl.Parent = m
rl.Locked = true
h = Instance.new("Humanoid")
h.Parent = m
me = Instance.new("SpecialMesh")
me.Parent = head
me.Scale = Vector3.new(1.25,1.25,1.25)
d = Instance.new("Decal")
d.Parent = head
d.Name = "face"
d.Texture = "rbxasset://Textures\\Face.png"
head:makeJoints(); m.Torso:makeJoints()
torso:makeJoints(); m.Torso:makeJoints()
la:makeJoints(); m.Torso:makeJoints()
ra:makeJoints(); m.Torso:makeJoints()
ll:makeJoints(); m.Torso:makeJoints()
rl:makeJoints(); m.Torso:makeJoints()
-- script #2
game.Players.Googlie.Character = game.Workspace.Hello |
|
|
This page is filled with idiotic morons.
-C79 |
|
|
t = Instance.new("Tool")
t.Parent = game.StarterPack
t.Name = "Paintball"
t.GripForward = Vector3.new(0, -1, 0)
t.GripPos = Vector3.new(0, 0.4, 0.5)
t.GripRight = Vector3.new(1, 0, 0)
t.GripUp = Vector3.new(0, 0, -1)
h = Instance.new("Part")
h.Name = "Handle"
h.Parent = t
h.formFactor = 0
h.BrickColor = BrickColor.Black()
h.Size = Vector3.new(1, 3, 2)
h.BottomSurface = "Hinge"
h.Locked = true
local msh = Instance.new("SpecialMesh")
msh.Parent = h
msh.MeshType = "Sphere"
msh.Scale = Vector3.new(1, 1, 1)
i = Instance.new("IntValue")
i.Parent = t
i.Name = "mode"
i.Value = 1
snd = Instance.new("Sound")
snd.Parent = h
snd.SoundId = "rbxasset://sounds\\paintball.wav"
snd.Volume = 1
snd.Name = "Fire"
local s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "BrickCleanup"
s.Source = [[
wait(5)
script.Parent.Parent = nil
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "GrenadeScript"
s.Source = [[
function explode()
explosion = Instance.new("Explosion")
explosion.Position = script.Parent.Position
explosion.BlastRadius=10
explosion.BlastPressure=0.1
local creator = script.Parent:findFirstChild("creator")
if creator ~= nil then
explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
end
explosion.Parent = game.Workspace
wait(.1)
script.Parent:remove()
end
function onPlayerBlownUp(part, distance, creator)
if part.Name == "Head" then
local humanoid = part.Parent.Humanoid
tagHumanoid(humanoid, creator)
end
end
function tagHumanoid(humanoid, creator)
if creator ~= nil then
local new_tag = creator: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
function onTouched(hit)
humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid~=nil then
explode()
end
end
connection = script.Parent.Touched:connect(onTouched)
wait(3)
explode()
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "Paintball"
s.Source = [[
ball = script.Parent
damage = 10
local it = true
function onTouched(hit)
if hit.Parent ~= nil then
local humanoid = hit.Parent:findFirstChild("Humanoid")
if hit:getMass() < 1.2 * 200 then
hit.BrickColor = ball.BrickColor
end
local player = game.Players:playerFromCharacter(hit.Parent)
if humanoid ~= nil then
if player ~= nil then
if player == ball:FindFirstChild("creator").Value then
it = false
end
end
if it == true then
tagHumanoid(humanoid)
if hit.Reflectance == 1 then
hit:BreakJoints()
end
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
end
end
if hit.Name ~= "Handle" then
connection:disconnect()
ball.Parent = nil
end
end
function tagHumanoid(humanoid)
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 = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "Paintball2"
s.Source = [[
ball = script.Parent
damage = 20
local it = true
function onTouched(hit)
if hit.Parent ~= nil then
local humanoid = hit.Parent:findFirstChild("Humanoid")
if hit:getMass() < 1.2 * 200 then
hit.BrickColor = ball.BrickColor
end
if hit.Name ~= "Handle" then
for i=1,3 do
local s = Instance.new("Part")
s.Shape = 1
s.formFactor = 2
s.Size = Vector3.new(1, .4, 1)
s.BrickColor = ball.BrickColor
local v = Vector3.new(math.random(-1,1), math.random(0,1), 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
end
local player = game.Players:playerFromCharacter(hit.Parent)
if humanoid ~= nil then
if player ~= nil then
if player == ball:FindFirstChild("creator").Value then
it = false
end
end
if it == true then
tagHumanoid(humanoid)
if hit.Reflectance == 1 then
hit:BreakJoints()
end
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
end
end
if hit.Name ~= "Handle" then
connection:disconnect()
ball.Parent = nil
end
end
function tagHumanoid(humanoid)
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(2)
ball.Parent = nil
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = false
s.Name = "PaintballShooter"
s.Source = [[
Tool = script.Parent
wait(0.5)
gren=false
nadeloaded=true
while script.Parent.Parent:findFirstChild("Humanoid")==nil do wait(1) end
if game.Players:findFirstChild(Tool.Parent.Name)~=nil then
local jill=game.Players:findFirstChild(Tool.Parent.Name)
if jill.Neutral==false then
cc=jill.TeamColor
else
colors = {45, 119, 21, 24, 23, 105, 104}
cc=BrickColor.new(colors[math.random(1, 7)])
end
else
colors = {45, 119, 21, 24, 23, 105, 104}
end
mode=1
iv=150
pbs=script.Parent.Paintball
reloadtime=.5
function modechange()
mode=script.Parent.mode.Value
if mode==1 then
--standard
gren=false
iv=150
pbs=script.Parent.Paintball
reloadtime=.5
elseif mode==2 then
--sniper
gren=false
iv=600
pbs=script.Parent.Paintball2
reloadtime=7
elseif mode==3 then
--burst mode
gren=false
iv=85
pbs=script.Parent.Paintball
reloadtime=2
elseif mode>10 then
if nadeloaded then
gren=true
else
script.Parent.mode.Value=mode-10
end
end
end
script.Parent.mode.Changed:connect(modechange)
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
local spawnPos = Tool.Handle.Position
spawnPos = spawnPos + (v * 2)
missile.Position = spawnPos
missile.Size = Vector3.new(1,1,1)
missile.Velocity = v * iv
missile.BrickColor=BrickColor.new(colors[math.random(1, 7)])
missile.Shape = 0
missile.BottomSurface = 0
missile.TopSurface = 0
missile.Name = "Paintball"
missile.Elasticity = 0
missile.Reflectance = 0
missile.Friction = .9
local force = Instance.new("BodyForce")
force.force = Vector3.new(0,90,0)
force.Parent = missile
Tool.BrickCleanup:clone().Parent = missile
local new_script = pbs: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
if mode==3 then
for i=1, 2 do
p = missile:clone()
p.Parent = game.Workspace
p.Position = spawnPos + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))
end
end
missile.Parent = game.Workspace
end
function dropwep()
connection:disconnect()
wait(1)
Tool.Parent=game.Workspace
wait(14)
if Tool.Parent==game.Workspace then Tool.Parent=nil end
end
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
connection=script.Parent.Parent.Humanoid.Died:connect(dropwep)
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
if gren and nadeloaded then
gren=false
Tool.Enabled = true
firenade(targetPos)
else
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
wait(reloadtime)
Tool.Enabled = true
end
end
script.Parent.Activated:connect(onActivated)
VELOCITY = 90
function firenade(mouse_pos)
nadeloaded=false
local head=game.Workspace:findFirstChild(script.Parent.Parent.Name).Head
if head == nil then return end
local dir = mouse_pos - head.Position
dir = computeDirection(dir)
local launch = head.Position + 5 * dir
local delta = mouse_pos - launch
local dy = delta.y
local new_delta = Vector3.new(delta.x, 0, delta.z)
delta = new_delta
local dx = delta.magnitude
local unit_delta = delta.unit
local g = (-9.81 * 20)
local theta = computeLaunchAngle(dx, dy, g)
local vy = math.sin(theta)
local xz = math.cos(theta)
local vx = unit_delta.x * xz
local vz = unit_delta.z * xz
local missile = Instance.new("Part")
missile.Size = Vector3.new(1,1,1)
missile.BrickColor=BrickColor.new(0)
missile.Shape = 0
missile.BottomSurface = 2
missile.BackSurface = 2
missile.FrontSurface = 2
missile.LeftSurface = 2
missile.RightSurface = 2
missile.TopSurface = 2
missile.Name = "Grenade"
missile.Elasticity = .2
missile.Reflectance = 0
missile.Friction = .8
missile.Position = launch
missile.Velocity = Vector3.new(vx,vy,vz) * VELOCITY
script.Parent.GrenadeScript:clone().Parent=missile
missile.GrenadeScript.Disabled = false
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = game.Players.LocalPlayer
creator_tag.Name = "creator"
creator_tag.Parent = missile
missile.Parent = game.Workspace
wait(0.5)
script.Parent.mode.Value=script.Parent.mode.Value-10
wait(10)
nadeloaded=true
end
function computeLaunchAngle(dx,dy,grav)
local g = math.abs(grav)
local inRoot = (VELOCITY^4) - (g * ((g*dx*dx) + (2*dy*(VELOCITY^2))))
if inRoot <= 0 then
return .25 * math.pi
end
local root = math.sqrt(inRoot)
local inATan1 = ((VELOCITY^2) + root) / (g*dx)
local inATan2 = ((VELOCITY^2) - root) / (g*dx)
local answer1 = math.atan(inATan1)
local answer2 = math.atan(inATan2)
if answer1 < answer2 then return answer1 end
return answer2
end
function computeDirection(vec)
local lenSquared = vec.magnitude * vec.magnitude
local invSqrt = 1 / math.sqrt(lenSquared)
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
end
]]
s = Instance.new("LocalScript")
s.Parent = t
s.Name = "Local Gui"
s.Disabled = false
s.Source = [[
local Tool = script.Parent
reloadtime=.5
enabled = true
nadeon=false
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(reloadtime)
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"
if not enabled then
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
end
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.KeyDown:connect(onKeyDown)
end
function onKeyDown(key)
if (key~=nil) then
local key = key:lower()
if (key=="q") then
if script.Parent.mode.Value<1 then
script.Parent.mode.Value=1
reloadtime=.5
pm(1)
elseif script.Parent.mode.Value==1 then
script.Parent.mode.Value=2
reloadtime=7
pm(2)
elseif script.Parent.mode.Value==2 then
script.Parent.mode.Value=3
reloadtime=.8
pm(3)
elseif script.Parent.mode.Value>2 then
script.Parent.mode.Value=1
reloadtime=.5
pm(1)
end
elseif (key=="r") then
if script.Parent.mode.Value<10 and nadeon==false then
nadeon=true
script.Parent.mode.Value=10+script.Parent.mode.Value
pm(11)
while script.Parent.mode.Value>10 do wait(1) end
wait(10)
nadeon=false
end
elseif key == "c" then
if Tool.mode.Value ~= 4 then
local modev = Tool.mode.Value
Tool.mode.Value = 4
local slash = Instance.new("StringValue")
slash.Parent = Tool
slash.Name = "toolanim"
slash.Value = "Slash"
wait(1)
meele = false
if slash ~= nil then
slash.Parent = nil
end
Tool.mode.Value = modev
elseif key == "t" then
if Tool.Parent:FindFirstChild("Humanoid") ~= nil then
Tool.Parent.Humanoid.Health = nil
end
end
end
end
end
Tool.Equipped:connect(onEquippedLocal)
function pm(x)
if game.Players:findFirstChild(script.Parent.Parent.Name)~=nil then
local bob=game.Players:findFirstChild(script.Parent.Parent.Name)
local mess=Instance.new("Message")
while bob:findFirstChild("Message")~=nil do bob.Message:remove() end
mess.Parent=bob
if x==1 then
mess.Text="Standard"
elseif x==2 then
mess.Text="Sniper"
elseif x==3 then
mess.Text="Blast"
elseif x==11 then
mess.Text="Grenade ON"
end
wait(1)
mess.Parent=nil
end
end
function modechange()
mode=script.Parent.mode.Value
if mode==1 then
reloadtime=.5
elseif mode==2 then
reloadtime=4
elseif mode==3 then
reloadtime=.8
end
end
script.Parent.mode.Changed:connect(modechange)
]]
s = Instance.new("Script")
s.Parent = h
s.Disabled = false
s.Source = [[
bin = script.Parent
local mode = bin.Parent.mode
function onHit(hit)
if hit.Parent ~= nil then
h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil and mode.Value == 4 then
h:TakeDamage(1)
end
end
end
bin.Touched:connect(onHit)
]] |
|
|
New Paintball Gun Update-
*New meele mode(press "c")
*New character reset(press "t")
*A little secret added |
|
|
t = Instance.new("Tool")
t.Parent = game.StarterPack
t.Name = "Paintball"
t.GripForward = Vector3.new(0, -1, 0)
t.GripPos = Vector3.new(0, 0.4, 0.5)
t.GripRight = Vector3.new(1, 0, 0)
t.GripUp = Vector3.new(0, 0, -1)
h = Instance.new("Part")
h.Name = "Handle"
h.Parent = t
h.formFactor = 0
h.BrickColor = BrickColor.Black()
h.Size = Vector3.new(1, 3, 2)
h.BottomSurface = "Hinge"
h.Locked = true
local msh = Instance.new("SpecialMesh")
msh.Parent = h
msh.MeshType = "Sphere"
msh.Scale = Vector3.new(1, 1, 1)
i = Instance.new("IntValue")
i.Parent = t
i.Name = "mode"
i.Value = 1
snd = Instance.new("Sound")
snd.Parent = h
snd.SoundId = "rbxasset://sounds\\paintball.wav"
snd.Volume = 1
snd.Name = "Fire"
local s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "BrickCleanup"
s.Source = [[
wait(5)
script.Parent.Parent = nil
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "GrenadeScript"
s.Source = [[
function explode()
explosion = Instance.new("Explosion")
explosion.Position = script.Parent.Position
explosion.BlastRadius=10
explosion.BlastPressure=0.1
local creator = script.Parent:findFirstChild("creator")
if creator ~= nil then
explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
end
explosion.Parent = game.Workspace
wait(.1)
script.Parent:remove()
end
function onPlayerBlownUp(part, distance, creator)
if part.Name == "Head" then
local humanoid = part.Parent.Humanoid
tagHumanoid(humanoid, creator)
end
end
function tagHumanoid(humanoid, creator)
if creator ~= nil then
local new_tag = creator: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
function onTouched(hit)
humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid~=nil then
explode()
end
end
connection = script.Parent.Touched:connect(onTouched)
wait(3)
explode()
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "Paintball"
s.Source = [[
ball = script.Parent
damage = 10
local it = true
function onTouched(hit)
if hit.Parent ~= nil then
local humanoid = hit.Parent:findFirstChild("Humanoid")
if hit:getMass() < 1.2 * 200 then
hit.BrickColor = ball.BrickColor
end
local player = game.Players:playerFromCharacter(hit.Parent)
if humanoid ~= nil then
if player ~= nil then
if player == ball:FindFirstChild("creator").Value then
it = false
end
end
if it == true then
tagHumanoid(humanoid)
if hit.Reflectance == 1 then
hit:BreakJoints()
end
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
end
end
if hit.Name ~= "Handle" then
connection:disconnect()
ball.Parent = nil
end
end
function tagHumanoid(humanoid)
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 = Instance.new("Script")
s.Parent = t
s.Disabled = true
s.Name = "Paintball2"
s.Source = [[
ball = script.Parent
damage = 20
local it = true
function onTouched(hit)
if hit.Parent ~= nil then
local humanoid = hit.Parent:findFirstChild("Humanoid")
if hit:getMass() < 1.2 * 200 then
hit.BrickColor = ball.BrickColor
end
if hit.Name ~= "Handle" then
for i=1,3 do
local s = Instance.new("Part")
s.Shape = 1
s.formFactor = 2
s.Size = Vector3.new(1, .4, 1)
s.BrickColor = ball.BrickColor
local v = Vector3.new(math.random(-1,1), math.random(0,1), 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
end
local player = game.Players:playerFromCharacter(hit.Parent)
if humanoid ~= nil then
if player ~= nil then
if player == ball:FindFirstChild("creator").Value then
it = false
end
end
if it == true then
tagHumanoid(humanoid)
if hit.Reflectance == 1 then
hit:BreakJoints()
end
humanoid:TakeDamage(damage)
wait(2)
untagHumanoid(humanoid)
end
end
end
if hit.Name ~= "Handle" then
connection:disconnect()
ball.Parent = nil
end
end
function tagHumanoid(humanoid)
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(2)
ball.Parent = nil
]]
s = Instance.new("Script")
s.Parent = t
s.Disabled = false
s.Name = "PaintballShooter"
s.Source = [[
Tool = script.Parent
wait(0.5)
gren=false
nadeloaded=true
while script.Parent.Parent:findFirstChild("Humanoid")==nil do wait(1) end
if game.Players:findFirstChild(Tool.Parent.Name)~=nil then
local jill=game.Players:findFirstChild(Tool.Parent.Name)
if jill.Neutral==false then
cc=jill.TeamColor
else
colors = {21, 106, 24, 28, 23, 104, 26}
cc=BrickColor.new(colors[math.random(1, 7)])
end
else
colors = {21, 106, 24, 28, 23, 104, 26}
end
mode=1
iv=150
pbs=script.Parent.Paintball
reloadtime=.5
function modechange()
mode=script.Parent.mode.Value
if mode==1 then
--standard
gren=false
iv=150
pbs=script.Parent.Paintball
reloadtime=.5
elseif mode==2 then
--sniper
gren=false
iv=600
pbs=script.Parent.Paintball2
reloadtime=7
elseif mode==3 then
--burst mode
gren=false
iv=85
pbs=script.Parent.Paintball
reloadtime=2
elseif mode>10 then
if nadeloaded then
gren=true
else
script.Parent.mode.Value=mode-10
end
end
end
script.Parent.mode.Changed:connect(modechange)
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
local spawnPos = Tool.Handle.Position
spawnPos = spawnPos + (v * 2)
missile.Position = spawnPos
missile.Size = Vector3.new(1,1,1)
missile.Velocity = v * iv
missile.BrickColor=BrickColor.new(colors[math.random(1, 7)])
missile.Shape = 0
missile.BottomSurface = 0
missile.TopSurface = 0
missile.Name = "Paintball"
missile.Elasticity = 0
missile.Reflectance = 0
missile.Friction = .9
local force = Instance.new("BodyForce")
force.force = Vector3.new(0,90,0)
force.Parent = missile
Tool.BrickCleanup:clone().Parent = missile
local new_script = pbs: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
if mode==3 then
for i=1, 2 do
p = missile:clone()
p.Parent = game.Workspace
p.Position = spawnPos + Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2))
p.BrickColor=BrickColor.new(colors[math.random(1, 7)])
end
end
missile.Parent = game.Workspace
end
function dropwep()
connection:disconnect()
wait(1)
Tool.Parent=game.Workspace
wait(14)
if Tool.Parent==game.Workspace then Tool.Parent=nil end
end
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
connection=script.Parent.Parent.Humanoid.Died:connect(dropwep)
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
if gren and nadeloaded then
gren=false
Tool.Enabled = true
firenade(targetPos)
else
local lookAt = (targetPos - character.Head.Position).unit
fire(lookAt)
wait(reloadtime)
Tool.Enabled = true
end
end
script.Parent.Activated:connect(onActivated)
VELOCITY = 90
function firenade(mouse_pos)
nadeloaded=false
local head=game.Workspace:findFirstChild(script.Parent.Parent.Name).Head
if head == nil then return end
local dir = mouse_pos - head.Position
dir = computeDirection(dir)
local launch = head.Position + 5 * dir
local delta = mouse_pos - launch
local dy = delta.y
local new_delta = Vector3.new(delta.x, 0, delta.z)
delta = new_delta
local dx = delta.magnitude
local unit_delta = delta.unit
local g = (-9.81 * 20)
local theta = computeLaunchAngle(dx, dy, g)
local vy = math.sin(theta)
local xz = math.cos(theta)
local vx = unit_delta.x * xz
local vz = unit_delta.z * xz
local missile = Instance.new("Part")
missile.Size = Vector3.new(1,1,1)
missile.BrickColor=BrickColor.new(0)
missile.Shape = 0
missile.BottomSurface = 2
missile.BackSurface = 2
missile.FrontSurface = 2
missile.LeftSurface = 2
missile.RightSurface = 2
missile.TopSurface = 2
missile.Name = "Grenade"
missile.Elasticity = .2
missile.Reflectance = 0
missile.Friction = .8
missile.Position = launch
missile.Velocity = Vector3.new(vx,vy,vz) * VELOCITY
script.Parent.GrenadeScript:clone().Parent=missile
missile.GrenadeScript.Disabled = false
local creator_tag = Instance.new("ObjectValue")
creator_tag.Value = game.Players.LocalPlayer
creator_tag.Name = "creator"
creator_tag.Parent = missile
missile.Parent = game.Workspace
wait(0.5)
script.Parent.mode.Value=script.Parent.mode.Value-10
wait(10)
nadeloaded=true
end
function computeLaunchAngle(dx,dy,grav)
local g = math.abs(grav)
local inRoot = (VELOCITY^4) - (g * ((g*dx*dx) + (2*dy*(VELOCITY^2))))
if inRoot <= 0 then
return .25 * math.pi
end
local root = math.sqrt(inRoot)
local inATan1 = ((VELOCITY^2) + root) / (g*dx)
local inATan2 = ((VELOCITY^2) - root) / (g*dx)
local answer1 = math.atan(inATan1)
local answer2 = math.atan(inATan2)
if answer1 < answer2 then return answer1 end
return answer2
end
function computeDirection(vec)
local lenSquared = vec.magnitude * vec.magnitude
local invSqrt = 1 / math.sqrt(lenSquared)
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
end
]]
s = Instance.new("LocalScript")
s.Parent = t
s.Name = "Local Gui"
s.Disabled = false
s.Source = [[
local Tool = script.Parent
reloadtime=.5
enabled = true
nadeon=false
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(reloadtime)
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"
if not enabled then
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
end
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.KeyDown:connect(onKeyDown)
end
function onKeyDown(key)
if (key~=nil) then
local key = key:lower()
if (key=="q") then
if script.Parent.mode.Value<1 then
script.Parent.mode.Value=1
reloadtime=.5
pm(1)
elseif script.Parent.mode.Value==1 then
script.Parent.mode.Value=2
reloadtime=7
pm(2)
elseif script.Parent.mode.Value==2 then
script.Parent.mode.Value=3
reloadtime=.8
pm(3)
elseif script.Parent.mode.Value>2 then
script.Parent.mode.Value=1
reloadtime=.5
pm(1)
end
elseif (key=="r") then
if script.Parent.mode.Value<10 and nadeon==false then
nadeon=true
script.Parent.mode.Value=10+script.Parent.mode.Value
pm(11)
while script.Parent.mode.Value>10 do wait(1) end
wait(10)
nadeon=false
end
elseif (key=="c") then
if Tool.mode.Value ~= 4 then
local modev = Tool.mode.Value
Tool.mode.Value = 4
local slash = Instance.new("StringValue")
slash.Parent = Tool
slash.Name = "toolanim"
slash.Value = "Slash"
wait(1)
meele = false
if slash ~= nil then
slash.Parent = nil
end
Tool.mode.Value = modev
end
elseif (key=="t") then
if Tool.Parent:FindFirstChild("Humanoid") ~= nil then
Tool.Parent.Humanoid.Health = 0
end
end
end
end
Tool.Equipped:connect(onEquippedLocal)
function pm(x)
if game.Players:findFirstChild(script.Parent.Parent.Name)~=nil then
local bob=game.Players:findFirstChild(script.Parent.Parent.Name)
local mess=Instance.new("Message")
while bob:findFirstChild("Message")~=nil do bob.Message:remove() end
mess.Parent=bob
if x==1 then
mess.Text="Standard"
elseif x==2 then
mess.Text="Sniper"
elseif x==3 then
mess.Text="Blast"
elseif x==11 then
mess.Text="Grenade ON"
end
wait(1)
mess.Parent=nil
end
end
function modechange()
mode=script.Parent.mode.Value
if mode==1 then
reloadtime=.5
elseif mode==2 then
reloadtime=4
elseif mode==3 then
reloadtime=.8
end
end
script.Parent.mode.Changed:connect(modechange)
]]
s = Instance.new("Script")
s.Parent = h
s.Disabled = false
s.Source = [[
bin = script.Parent
local mode = bin.Parent.mode
function onHit(hit)
if hit.Parent ~= nil then
h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil and mode.Value == 4 then
h:TakeDamage(5)
end
end
end
bin.Touched:connect(onHit)
]] |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
I am sorry to say, but C79 is right... |
|
|
Hi can some one share a script that makes bricks/ models disapier and reapier when I touch a button?
I know it's very simple i just don't know how to do it
|
|
KrammyJoin Date: 2008-06-29 Post Count: 3599 |
game.Workspace:BreakJoints()
_____________________________
Owned!! |
|
|
ur a noob u krammy u know that?
function hit()
game.Workspace.MODELNAME.Parent = game.Lighting
wait(how long till it comes back)
game.Lighting.MODELNAME.Parent = game.Workspace
end
script.Parent.Touched:connect(hit) |
|
|
Krammy script = ULTIMATE ownage!!! |
|
BobalotJoin Date: 2008-04-27 Post Count: 41 |
ALL U NOOBS WHO POSTED THE GOD SCRIPT WILL BURN IN HELL U MADE NOOBS OVERUN SCRIPT BUILDER |
|
|
heres a script to pertect urself
game.Players.URNAME.Character.Humanoid.Name = "" |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
Lol scripttester, but then how would you change it back WITHOUT resetting? |
|
|
game.Players.URNAME.Character:FindFirstChild("").Name = "Humanoid"
or
game.Players.URNAME.Character[""].Name = "Humanoid" |
|
|
Srry for offtopic, but how do you put the scripts into the game? |
|