Mini Me
Mini Me
humanoid.Jump = true
wait(.4)
if anim then
anim:Destroy()
end
rj.C0 = CFrame.new()
rj.C1 = CFrame.new()
Instance.new("HumanoidController", game:service'ControllerService')
Instance.new("SkateboardController", game:service'ControllerService')
Instance.new("VehicleController", game:service'ControllerService')
--minimize
rh.Parent = nil
lh.Parent = nil
rs.Parent = nil
ls.Parent = nil
neck.Parent = nil
rj.Parent = nil
rl.FormFactor = "Custom"
ll.FormFactor = "Custom"
ra.FormFactor = "Custom"
la.FormFactor = "Custom"
torso.FormFactor = "Custom"
head.FormFactor = "Custom"
rootpart.FormFactor = "Custom"
rh.Parent = torso
lh.Parent = torso
rs.Parent = torso
ls.Parent = torso
neck.Parent = torso
rj.Parent = rootpart
if torso:findFirstChild("roblox") then
local p = Instance.new("Part", char)
p.FormFactor = "Custom"
p.Size = torso.Size
p.Transparency = 1
p:BreakJoints()
local w = Instance.new("Weld", char)
w.Part0 = p
w.Part1 = torso
torso:findFirstChild("roblox").Parent = p
end
ls.C0 = CFrame.new(-.3,.1,0)
ls.C1 = CFrame.new(0,.1,0)
rs.C0 = CFrame.new(.3,.1,0)
rs.C1 = CFrame.new(0,.1,0)
rh.C0 = CFrame.new(.1,-.2,0)
rh.C1 = CFrame.new(0, .2, 0)
lh.C0 = CFrame.new(-.1,-.2,0)
lh.C1 = CFrame.new(0, .2, 0)
neck.C0 = CFrame.new(0,.2,0)
neck.C1 = CFrame.new(0,-.1,0)
wait(1)
local body = {}
for i,v in pairs(char:children()) do
if v:IsA'BasePart' then
print(v.Name)
body[v.Name] = {Color = v.BrickColor}
end
end
print(body.Torso)
function restorecolors()
for _,bp in pairs(char:children()) do
if bp:IsA("BasePart") then
bp.BrickColor = body[bp.Name].Color
end
end
end
count = 0
countspeed = 1
sine = 0
sinespeed = 1
humanoid.WalkSpeed = 11
humanoid.Died:connect(function()
for cframe_parts = 0, 100 do
local p = Instance.new("Part")
p.FormFactor = "Custom"
p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
p.Size = Vector3.new(1, 1, 1)
Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
p.Locked = true
p.CanCollide = false
p.Anchored = true
p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36,
36),math.random(-36, 36),math.random(-36, 36))
p.Parent = workspace
game:service'Debris':AddItem(p, 5)
coroutine.wrap(function()
while wait() do
if p ~= nil then
p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) +
Vector3.new(0, 0.01, 0)
p.Transparency = p.Transparency + 0.015
else
break
end
end
end)()
end
for _,v in pairs(char:children()) do
if v:IsA("Part") then
v:Destroy()
end
end
end)
mouse.KeyDown:connect(function(k)
if string.byte(k) == 50 then
if hitz then
controller.Parent = nil
humanoid.WalkSpeed = 0
coroutine.wrap(function()
while wait() do
humanoid.PlatformStand = true
if sitting == false then humanoid.PlatformStand = false
break end
end
end)()
rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-
math.rad(10), 0, -math.pi/16)
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-
math.rad(10), 0, math.pi/16)
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -
math.pi/10)
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0,
math.pi/10)
if k == "z" then
if dancing then return end
if not sitting then
dancing = true
superannoying = true
super_annoying:play()
end
end
if k == "k" then
if dancing then return end
if not sitting then
dancing = true
sheddy = true
spitfire:play()
end
end
if k == "n" then
if dancing then return end
if not sitting then
dancing = true
gangnam = true
gangy_style:play()
end
end
if k == "r" then
if dancing then return end
if not sitting then
dancing = true
burndem = true
burn_dem:play()
end
end
if k == "x" then
if dancing then return end
if not sitting then
dancing = true
barrelroll = true
barrel_roll:play()
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = torso.Size
hat.Locked = true
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
hatmesh.Scale = Vector3.new(.22, .2, .22)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = torso
end
end
if k == "h" then
if dancing then return end
if not sitting then
dancing = true
heman:play()
heya = true
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
hat.Locked = true
hat.BrickColor = BrickColor.new("Hot pink")
hat:breakJoints()
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = torso
end
end
if k == "j" then
if dancing then return end
if not sitting then
dancing = true
justin:play()
jb = true
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = head.Size
hat.Locked = true
hat.BrickColor = BrickColor.new("Hot pink")
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
hatmesh.Scale = Vector3.new(.23, .23, .23)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = head
hatweld.C0 = CFrame.new(0.025, -0.05, 0)
end
end
if k == "c" then
if dancing then return end
if not sitting then
dancing = true
dubstepgun = true
dubstep_gun:play()
end
end
if k == "v" then
if dancing then return end
if not sitting then
dancing = true
youpirate = true
you_are_pirate:play()
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = head.Size
hat.Locked = true
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
hatmesh.Scale = Vector3.new(.2, .2, .2)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = head
hatweld.C0 = CFrame.new(0, -0.15, 0)
end
end
if k == "m" then
if dancing then return end
if not sitting then
dancing = true
canttouch = true
cant_touch:play()
end
end
if k == "b" then
if dancing then return end
if not sitting then
dancing = true
bronymusic = true
brony_music:play()
for _,bp in pairs(char:children()) do
if bp:IsA("BasePart") then
bp.BrickColor = BrickColor.new("Lavender")
end
end
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = head.Size
hat.Locked = true
hat.BrickColor = BrickColor.new("Lavender")
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
hatmesh.Scale = Vector3.new(.1, .2, .1)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = head
hatweld.C0 = CFrame.new(0, -0.1, 0.05)
end
end
if k == "l" then
if dancing then return end
if not sitting then
dancing = true
foxie = true
fox_say:play()
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = head.Size
hat.Locked = true
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
hatmesh.Scale = Vector3.new(.2, .2, .2)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = head
hatweld.C0 = CFrame.new(0, -0.1, 0)
end
end
if k == "f" then
if dancing then return end
if not sitting then
dancing = true
durka = true
durk:play()
end
end
if k == "g" then
if dancing then return end
if not sitting then
dancing = true
saxguy = true
sax_guy:play()
hat = Instance.new("Part", char)
hat.FormFactor = "Custom"
hat.CanCollide = false
hat.Size = head.Size
hat.Locked = true
hat:breakJoints()
local hatmesh = Instance.new("SpecialMesh", hat)
hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
hatmesh.Scale = Vector3.new(.25, .25, .25)
local hatweld = Instance.new("Weld", hat)
hatweld.Part0 = hat
hatweld.Part1 = la
hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi -
math.rad(18), 0, math.pi/4)
end
end
if k == "q" then
if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >=
14 then return end
if sitting then return end
looking = true
rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0,
math.pi/4)
end
if k == "e" then
if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >=
14 then return end
if sitting then return end
looking = true
rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0,
-math.pi/4)
end
if k == "t" then
if dancing then return end
if sitting then return end
dancing = true
aj:play()
end
if string.byte(k) == 48 or string.byte(k) == 47 then
if sitting then return end
humanoid.WalkSpeed = 18
end
if string.byte(k) == 52 then
if sitting then return end
humanoid.WalkSpeed = 6
end
end)
mouse.KeyUp:connect(function(k)
if string.byte(k) == 48 or string.byte(k) == 47 then
if sitting then return end
humanoid.WalkSpeed = 11
end
if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32
then
superannoying = false
barrelroll = false
heya = false
dubstepgun = false
youpirate = false
canttouch = false
gangnam = false
sheddy = false
durka = false
saxguy = false
foxie = false
burndem = false
bronymusic = false
aj:stop()
brony_music:stop()
fox_say:stop()
spitfire:stop()
heman:stop()
justin:stop()
jb = false
durk:stop()
restorecolors()
burn_dem:stop()
if hat then
hat:Destroy()
end
sax_guy:stop()
gangy_style:stop()
cant_touch:stop()
you_are_pirate:stop()
dubstep_gun:stop()
super_annoying:stop()
barrel_roll:stop()
dancing = false
global_wait = 0
LightForTorso.Color = torso.BrickColor.Color
end
if k == "q" then
if looking then
if sitting then return end
rj.C0 = CFrame.new()
looking = false
end
end
if k == "e" then
if looking then
if sitting then return end
rj.C0 = CFrame.new()
looking = false
end
end
end)
game:service'RunService'.Stepped:connect(function()
count = (count % 100) + (countspeed/2)
angle = math.pi * math.sin(math.pi*2/100*count)
-- idle anim
anim = "Idle"
if anim ~= lastanim then
if lastanim == "Walking" then
speed = 0.5
slidecount = 1
slidecountmax = 0
elseif lastanim == "Running" then
speed = 2.5
slidecount = 5
slidecountmax = 0
else
slidecount = 0
slidecountmax = 0
end
end
countspeed = 1
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.02, 0, 0)
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.01, 0, 0)
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
if not looking then
rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0,
0)
end
neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0,
0)
elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14
then
looking = false
-- walk anim
anim = "Walking"
if anim ~= lastanim then
speed = 0.2
slidecount = 0
slidecountmax = 1
if lastanim == "Running" then
slidecount = 5
end
end
countspeed = 6
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.3, 0,
math.abs(angle*0.02))
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -
math.abs(angle*0.02))
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.28, 0, -
math.abs(angle*0.01))
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0,
math.abs(angle*0.01))
rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-
math.pi/8/5*slidecount, 0, 0)
neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0,
0)
elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14
then
--run anim
anim = "Running"
if anim ~= lastanim then
speed = 1
slidecount = 0
slidecountmax = 5
if lastanim == "Walking" then
slidecount = 1
end
end
looking = false
countspeed = 9
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(angle*0.4, 0,
math.abs(angle*0.07))
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -
math.abs(angle*0.07))
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(-angle*0.38, 0, -
math.abs(angle*0.03))
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0,
math.abs(angle*0.03))
neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0,
0)
rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-
math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
end
lastanim = anim
else
countspeed = 1
local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
local hitz, enz = workspace:FindPartOnRay(ray, char)
if not hitz then
rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -
math.pi/16)
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0,
math.pi/16)
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30),
0, -math.pi/10)
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30),
0, math.pi/10)
else
rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-
math.rad(10), 0, -math.pi/16)
rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-
math.rad(10), 0, math.pi/16)
ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -
math.pi/10)
rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0,
math.pi/10)
end
plr.Chatted:connect(function(msg)
game:service'Chat':Chat(head, msg, 1)
if msg == "die/" then
char:breakJoints()
end
end)
end)
if not ran and err then
print(err)
end