Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
- print("FE Compatibility: by WaverlyCole & Mokiros")
- InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput"
- local function NewFakeEvent()
- local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
- return Fake
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Function then
- Trigger.Function(...)
- end
- end
- Mouse.TrigEvent = TriggerEvent
- UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then end
- if Input.MouseEvent then
- Mouse.Target = Input.Target
- Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then
- return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
- end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do
- if Key==Input.KeyCode then
- Action.Function(Action.Name,Input.UserInputState,Input)
- end
- end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse
- InternalData["ContextActionService"] = ContextActionService
- InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner
- local Event = script:WaitForChild("UserInput")
- local UserInputService = game:GetService("UserInputService")
- local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input)
- UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)
- return InternalData["Mouse"]
- end
- end
- return function (self,...)
- return RealPlayer[Index](RealPlayer,...)
- end
- else
- if Index == "PlrObj" then
- return RealPlayer
- end
- return RealPlayer[Index]
- end
- end;
- __tostring = function(self)
- return RealPlayer.Name
- end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- if Service:lower() == "players" then
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "localplayer" then
- return Sandbox(owner)
- end
- return RealService[Index2]
- end
- end;
- __tostring = function(self)
- return RealGame:GetService(Service).Name
- end
- })
- elseif Service:lower() == "contextactionservice" then
- return InternalData["ContextActionService"]
- elseif Service:lower() == "contextactionservice" then
- return InternalData["UserInputService"]
- elseif Service:lower() == "runservice" then
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...)
- return RealService[Index2](RealService,...)
- end
- else
- if Index2:lower() == "bindtorenderstep" then
- return function (self,Name,Priority,Function)
- return RealGame:GetService("RunService").Stepped:Connect(Function)
- end
- end
- if Index2:lower() == "renderstepped" then
- return RealService["Stepped"]
- end
- return RealService[Index2]
- end
- end
- })
- else
- return RealGame:GetService(Service)
- end
- end
- end
- return function (self,...)
- return RealGame[Index](RealGame,...)
- end
- else
- if game:GetService(Index) then
- return game:GetService(Index)
- end
- return RealGame[Index]
- end
- else
- return nil
- end
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
- print("Complete! Running...")
- --[[disappear,
- appear,
- transform, 1-9
- dance,
- guns, ot
- guns, out
- guns, in
- guns, explodingbullet
- guns, smokebullet
- guns, normalbullet
- ride,
- unride,
- ]]--
- char = game.Players.LocalPlayer.Character
- plr = game.Players.LocalPlayer
- char.Archivable = true
- folder = Instance.new('Folder', game.Workspace.CurrentCamera)
- folder.Name = 'DataValue'
- nvm = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm.Value = 0
- nvm.Name = "IsGunsOut"
- nvm2 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm2.Value = 1
- nvm2.Name = "IsFollowMode"
- nvm3 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm3.Value = 0
- nvm3.Name = "IsRideMode"
- nvm4 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm4.Value = 0
- nvm4.Name = "IsVisible"
- nvm5 = Instance.new('NumberValue', game.Workspace.CurrentCamera)
- nvm5.Value = 0
- nvm5.Name = "IsBulletType"
- nvm.Parent = folder
- nvm2.Parent = folder
- nvm3.Parent = folder
- nvm4.Parent = folder
- nvm5.Parent = folder
- bg1 = char:Clone()
- bg1.Archivable = false
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bgname1 = math.random(1, 10)
- if bgname1 == 1 then
- bg1.Name = "John"
- end
- if bgname1 == 2 then
- bg1.Name = "Max"
- end
- if bgname1 == 3 then
- bg1.Name = "Christian"
- end
- if bgname1 == 4 then
- bg1.Name = "Laurence"
- end
- if bgname1 == 5 then
- bg1.Name = "Kelvin"
- end
- if bgname1 == 6 then
- bg1.Name = "Johvany"
- end
- if bgname1 == 7 then
- bg1.Name = "Scott"
- end
- if bgname1 == 8 then
- bg1.Name = "Jonathan"
- end
- if bgname1 == 9 then
- bg1.Name = "Darryl"
- end
- if bgname1 == 10 then
- bg1.Name = "Archie"
- end
- bgpoint1 = Instance.new('Part', char)
- bgpoint1.Anchored = false
- bgpoint1.CanCollide = false
- bgpoint1.Transparency = 1
- bgpoint1.Size = Vector3.new(0.2,0.2,0.2)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- bg2 = char:Clone()
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Archivable = false
- bgname2 = math.random(1, 10)
- if bgname2 == 1 then
- bg2.Name = "John"
- end
- if bgname2 == 2 then
- bg2.Name = "Max"
- end
- if bgname2 == 3 then
- bg2.Name = "Christian"
- end
- if bgname2 == 4 then
- bg2.Name = "Kevin"
- end
- if bgname2 == 5 then
- bg2.Name = "Steven"
- end
- if bgname2 == 6 then
- bg2.Name = "Steve"
- end
- if bgname2 == 7 then
- bg2.Name = "David"
- end
- if bgname2 == 8 then
- bg2.Name = "Michael"
- end
- if bgname2 == 9 then
- bg2.Name = "Robert"
- end
- if bgname2 == 10 then
- bg2.Name = "James"
- end
- bgpoint2 = Instance.new('Part', char)
- bgpoint2.Anchored = false
- bgpoint2.CanCollide = false
- bgpoint2.Transparency = 1
- bgpoint2.Size = Vector3.new(0.2,0.2,0.2)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Accessory') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Accessory') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('CharacterMesh') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('CharacterMesh') then
- c:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- bg2.Parent = char
- bg1.Parent = char
- bg2.Torso.CFrame = bgpoint2.CFrame
- bg1.Torso.CFrame = bgpoint1.CFrame
- health = game.Players.LocalPlayer.Character.Humanoid.Health
- game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function()
- if game.Players.LocalPlayer.Character.Humanoid.Health < health then
- bgheal = math.random(1, 2)
- if bgheal == 1 then
- bgpoint1.CFrame = char.Torso.CFrame
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wait(3.5)
- char.Humanoid.Health = char.Humanoid.Health + 50
- bgpoint1.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint1
- Weld.C1 = CFrame.new(10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- if bgheal == 2 then
- bgpoint2.CFrame = char.Torso.CFrame
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wait(3.5)
- char.Humanoid.Health = char.Humanoid.Health + 50
- bgpoint2.CFrame = char.Torso.CFrame * CFrame.new(0,0.1,0)
- Weld = Instance.new("Weld",game.Players.LocalPlayer.Character)
- Weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
- Weld.Part1 = bgpoint2
- Weld.C1 = CFrame.new(-10, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- health = game.Players.LocalPlayer.Character.Humanoid.Health
- end)
- bgskin = math.random(1, 2)
- if bgskin == 1 then
- r = bg1:getChildren()
- for i = 1, #r do
- if r[i].className == "Part" then
- r[i].BrickColor = BrickColor.new('Cool yellow')
- end
- end
- end
- if bgskin == 1 then
- a = bg2:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i].BrickColor = BrickColor.new('CGA brown')
- end
- end
- end
- game.Players.LocalPlayer.Chatted:connect(function(say)
- if say == "disappear," then
- bg1["Head"].Transparency = 1
- bg1["Left Arm"].Transparency = 1
- bg1["Left Leg"].Transparency = 1
- bg1["Right Leg"].Transparency = 1
- bg1["Right Arm"].Transparency = 1
- bg1["Torso"].Transparency = 1
- bg1.Head.face.Transparency = 1
- bg2["Head"].Transparency = 1
- bg2["Left Arm"].Transparency = 1
- bg2["Left Leg"].Transparency = 1
- bg2["Right Leg"].Transparency = 1
- bg2["Right Arm"].Transparency = 1
- bg2["Torso"].Transparency = 1
- bg2.Head.face.Transparency = 1
- brick22 = Instance.new("Part")
- brick22.CanCollide = false
- brick22.Anchored = true
- brick22.CFrame = bg1.Torso.CFrame
- brick22.Transparency = 1
- brick22.Parent = game.Workspace
- brick222 = Instance.new("Part")
- brick222.CanCollide = false
- brick222.Anchored = true
- brick222.CFrame = bg2.Torso.CFrame
- brick222.Transparency = 1
- brick222.Parent = game.Workspace
- local sou2 = Instance.new("Sound")
- sou2.Pitch = 1
- sou2.Volume = 1
- sou2.SoundId = "rbxassetid://722960601"
- sou2.Parent = bg1.Torso
- sou2:Play()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 8, 0)
- pe2.Lifetime = NumberRange.new(1, 1.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = brick22
- pe2.Enabled = true
- clpe2 = pe2:Clone()
- clpe2.Parent = brick222
- wait(0.25)
- pe2.Enabled = false
- clpe2.Enabled = false
- nvm4.Value = 1
- bg1.Humanoid.HipHeight = 10000
- bg2.Humanoid.HipHeight = 10000
- end
- if say == "appear," then
- bg1.Humanoid.HipHeight = 0
- bg2.Humanoid.HipHeight = 0
- bg1.Torso.CFrame = bgpoint1.CFrame
- bg2.Torso.CFrame = bgpoint2.CFrame
- bg1["Head"].Transparency = 0
- bg1["Left Arm"].Transparency = 0
- bg1["Left Leg"].Transparency = 0
- bg1["Right Leg"].Transparency = 0
- bg1["Right Arm"].Transparency = 0
- bg1["Torso"].Transparency = 0
- bg1.Head.face.Transparency = 0
- bg2["Head"].Transparency = 0
- bg2["Left Arm"].Transparency = 0
- bg2["Left Leg"].Transparency = 0
- bg2["Right Leg"].Transparency = 0
- bg2["Right Arm"].Transparency = 0
- bg2["Torso"].Transparency = 0
- bg2.Head.face.Transparency = 0
- brick223 = Instance.new("Part")
- brick223.CanCollide = false
- brick223.Anchored = true
- brick223.CFrame = bg1.Torso.CFrame
- brick223.Transparency = 1
- brick223.Parent = game.Workspace
- brick2223 = Instance.new("Part")
- brick2223.CanCollide = false
- brick2223.Anchored = true
- brick2223.CFrame = bg2.Torso.CFrame
- brick2223.Transparency = 1
- brick2223.Parent = game.Workspace
- local sou23 = Instance.new("Sound")
- sou23.Pitch = 1
- sou23.Volume = 1
- sou23.SoundId = "rbxassetid://722960601"
- sou23.Parent = bg1.Torso
- sou23:Play()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 8, 0)
- pe2.Lifetime = NumberRange.new(1, 1.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = brick223
- pe2.Enabled = true
- clpe2 = pe2:Clone()
- clpe2.Parent = brick2223
- wait(0.25)
- pe2.Enabled = false
- clpe2.Enabled = false
- nvm4.Value = 0
- end
- if say == "transform, 9" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=31728834"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=70292296"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1038653"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1038654"
- hair.BrickColor = BrickColor.new('Pearl')
- hairmesh.Scale = Vector3.new(1, 1, 1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 8" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=11380110"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=11380099"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=5808536"
- hair.BrickColor = BrickColor.new('Pearl')
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 4" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://519774803"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://519782833"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://519782833"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://519774803"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 3" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=412444864"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=108783381"
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1028788"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1028787"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- end
- end
- if say == "transform, 1" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=132066612"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=47740174"
- end
- end
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 7" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=119839939"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://575169492"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://768690244"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://768690244"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://575169492"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
- hairmesh.Scale = Vector3.new(1, 0.95, 0.85)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 6" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=7074749"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=2577832"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=4904066"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=1286427"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=1309894"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.10, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=25648271"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28664001"
- hairmesh.Scale = Vector3.new(1.3, 1.35, 1.3)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.60, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 5" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "rbxassetid://146364138"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "rbxassetid://195399271"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "rbxassetid://175602621"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=16190466"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=59293792"
- hairmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- clhair.Mesh.TextureId = "http://www.roblox.com/asset/?id=114723589"
- clhair.Mesh.MeshId = "http://www.roblox.com/asset/?id=16101994"
- clhair.Mesh.Scale = Vector3.new(1.02,1.02,1.02)
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.14, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "transform, 2" then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20612916"
- a = bg1.Head:getChildren()
- for i = 1, #a do
- if a[i].className == "Part" then
- a[i]:Destroy()
- end
- end
- b = bg2.Head:getChildren()
- for i = 1, #b do
- if b[i].className == "Part" then
- b[i]:Destroy()
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "http://www.roblox.com/asset/?id=28035864"
- hairmesh.TextureId = "http://www.roblox.com/asset/?id=28035854"
- hairmesh.Scale = Vector3.new(1.03, 1.03, 0.98)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- clhair = hair:Clone()
- clhair.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- hair3 = Instance.new("Part", bg1.Head)
- hairmesh3 = Instance.new("SpecialMesh", hair3)
- hairmesh3.MeshId = "http://www.roblox.com/asset/?id=30166087"
- hairmesh3.TextureId = "http://www.roblox.com/asset/?id=30166098"
- hairmesh3.Scale = Vector3.new(1, 1, 1)
- hair3.Transparency = 0
- hair3.CanCollide = false
- hair3.Name = "plrhair"
- hair3.Anchored = false
- clhair3 = hair3:Clone()
- clhair3.Parent = bg2.Head
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Weld = Instance.new("Weld", bg2)
- Weld.Part0 = bg2.Head
- Weld.Part1 = clhair3
- Weld.C1 = CFrame.new(0, -0.10, 0.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=747111515"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153259531"
- end
- end
- brick = Instance.new("Part")
- brick.CanCollide = false
- brick.Anchored = true
- brick.CFrame = bg1.Torso.CFrame
- brick.Transparency = 1
- brick.Parent = game.Workspace
- brick2 = Instance.new("Part")
- brick2.CanCollide = false
- brick2.Anchored = true
- brick2.CFrame = bg2.Torso.CFrame
- brick2.Transparency = 1
- brick2.Parent = game.Workspace
- local sou = Instance.new("Sound")
- sou.Pitch = 1
- sou.Volume = 1
- sou.SoundId = "rbxassetid://722960601"
- sou.Parent = bg1.Torso
- sou:Play()
- local pe = Instance.new("ParticleEmitter")
- pe.Acceleration = Vector3.new(0, 8, 0)
- pe.Lifetime = NumberRange.new(1, 1.5)
- pe.Rate = 20000
- pe.RotSpeed = NumberRange.new(-30, 30)
- pe.Rotation = NumberRange.new(0, 360)
- pe.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 4.38, 0),
- NumberSequenceKeypoint.new(0.672, 4.14, 0),
- NumberSequenceKeypoint.new(1, 1.48, 0)
- })
- pe.Texture = "rbxassetid://244221440"
- pe.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(0.529, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 1)
- })
- pe.ZOffset = 5
- pe.VelocitySpread = 360
- pe.Parent = brick
- pe.Enabled = true
- clpe = pe:Clone()
- clpe.Parent = brick2
- wait(0.25)
- pe.Enabled = false
- clpe.Enabled = false
- while wait() do
- if not sou.IsPlaying then
- sou:Destroy()
- end
- end
- end
- if say == "guns, normalbullet" then
- nvm5.Value = 0
- end
- if say == "guns, explodingbullet" then
- nvm5.Value = 1
- end
- if say == "guns, smokebullet" then
- nvm5.Value = 2
- end
- if say == "guns, out" then
- nvm.Value = 1
- Mouse = plr:GetMouse()
- Mouse.Button1Down:connect(function()
- if nvm.Value == 1 then
- randomg = math.random(1,2)
- if randomg == 1 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- if nvm5.Value == 0 then
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 1 then
- bullet.CFrame = Mouse.Hit
- local Ex = Instance.new("Explosion", Workspace)
- Ex.BlastRadius = 16
- Ex.DestroyJointRadiusPercent = 0.5
- Ex.Position = Mouse.Hit.p
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 2 then
- bullet.CFrame = Mouse.Hit
- x1 = Instance.new("Smoke", bullet)
- x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
- x1.Opacity = 0.89999997615814
- x1.RiseVelocity = 20
- x1.Size = 45
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 5)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, Mouse.Hit.p)
- end
- end
- if randomg == 2 then
- bullet = Instance.new('Part', game.Workspace)
- bullet.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- if nvm5.Value == 0 then
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.CFrame = Mouse.Hit
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 1 then
- bullet.CFrame = Mouse.Hit
- local Ex = Instance.new("Explosion", Workspace)
- Ex.BlastRadius = 16
- Ex.DestroyJointRadiusPercent = 0.5
- Ex.Position = Mouse.Hit.p
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 1)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- end
- if nvm5.Value == 2 then
- bullet.CFrame = Mouse.Hit
- x1 = Instance.new("Smoke", bullet)
- x1.Color = Color3.new(0.596078, 0.596078, 0.596078)
- x1.Opacity = 0.89999997615814
- x1.RiseVelocity = 20
- x1.Size = 45
- bullet.Anchored = false
- bullet.CanCollide = false
- bullet.Size = Vector3.new(0.2,0.2,0.2)
- bullet.BrickColor = BrickColor.new('Really black')
- bullet.Name = 'Bullet'
- game.Debris:AddItem(bullet, 50)
- local shoot2 = Instance.new("Sound", bg2["Right Arm"])
- shoot2.SoundId="rbxassetid://180955656"
- shoot2:Play()
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, Mouse.Hit.p)
- wait(4)
- x1.Enabled = false
- end
- end
- end
- end)
- part1 = Instance.new("Part")
- part1.Parent = char
- part1.Transparency = 0
- part1.BrickColor = BrickColor.new('Really black')
- part1.TopSurface = 0
- part1.BottomSurface = 0
- part1.CanCollide = false
- part1.Anchored = false
- gun = Instance.new("SpecialMesh", part1)
- gun.MeshId = "rbxassetid://4372594"
- gun.Scale = Vector3.new(1, 1, 1)
- part1.CFrame = bg1["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld5 = Instance.new("Weld", bg1)
- Weld5.Part0 = bg1["Right Arm"]
- Weld5.Part1 = part1
- Weld5.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- part2 = Instance.new("Part")
- part2.Parent = char
- part2.Transparency = 0
- part2.BrickColor = BrickColor.new('Really black')
- part2.TopSurface = 0
- part2.BottomSurface = 0
- part2.CanCollide = false
- part2.Anchored = false
- gun2 = Instance.new("SpecialMesh", part2)
- gun2.MeshId = "rbxassetid://4372594"
- gun2.Scale = Vector3.new(1, 1, 1)
- part2.CFrame = bg2["Right Arm"].CFrame * CFrame.new(0, 1, 1.75)
- Weld10 = Instance.new("Weld", bg1)
- Weld10.Part0 = bg2["Right Arm"]
- Weld10.Part1 = part2
- Weld10.C1 = CFrame.Angles(math.rad(-83),math.rad(180),math.rad(180)) * CFrame.new(0, 1.50, 0.2) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- charbg1 = bg1
- arm = {charbg1["Right Arm"]}
- charbg1.Torso["Right Shoulder"].Archivable = true
- mc = charbg1.Torso["Right Shoulder"]:Clone()
- weld = Instance.new("Weld", arm[1])
- weld.Part0 = charbg1.Torso
- weld.Part1 = weld.Parent
- weld.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- charbg2 = bg2
- arm = {charbg2["Right Arm"]}
- charbg2.Torso["Right Shoulder"].Archivable = true
- mc3 = charbg2.Torso["Right Shoulder"]:Clone()
- weld12 = Instance.new("Weld", arm[1])
- weld12.Part0 = charbg2.Torso
- weld12.Part1 = weld12.Parent
- weld12.C1 = CFrame.new(-1.5,.5,.5)*CFrame.Angles(math.rad(-90),0,0)
- end
- if say == "dance," then
- dance1 = math.random(1,7)
- if dance1 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance1 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- dance2 = math.random(1,7)
- if dance2 == 1 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://27789359"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 2 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://30196114"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 3 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://248263260"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 4 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://45834924"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 5 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://33796059"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 6 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://28488254"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if dance2 == 7 then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://52155728"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- end
- if say == "focus," then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg1.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://0"
- local animTrack = bg2.Humanoid:LoadAnimation(animation)
- animTrack:Play()
- end
- if say == "guns, in" then
- nvm.Value = 0
- weld:Destroy()
- mc.Parent = charbg1.Torso
- Weld10:Destroy()
- Weld5:Destroy()
- part1:Destroy()
- part2:Destroy()
- weld12:Destroy()
- mc3.Parent = charbg2.Torso
- end
- if say == "unride," then
- nvm3.Value = 0
- nvm2.Value = 1
- if bg1.Head:FindFirstChild('noobweld') then
- bg1.Head.noobweld:Destroy()
- end
- if char.Head:FindFirstChild('firstweld') then
- char.Head.firstweld:Destroy()
- end
- bg2.Humanoid.WalkSpeed = 16
- bg1.Humanoid.Sit = false
- bg2.Humanoid.Sit = false
- char.Humanoid.Sit = false
- end
- if say == "ride," then
- Mouse = plr:GetMouse()
- nvm2.Value = 0
- nvm3.Value = 1
- p = Instance.new('Weld', plr.Character.Head)
- p.Part0 = plr.Character:FindFirstChild("Torso") or plr.Character:FindFirstChild("UpperTorso")
- p.Part1 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- p.Name = 'firstweld'
- p.C0 = CFrame.new(0,-2.2,-.50)
- a = Instance.new('Weld', bg1.Head)
- a.Part0 = bg1:FindFirstChild("Torso") or bg1:FindFirstChild("UpperTorso")
- a.Part1 = bg2:FindFirstChild("Torso") or bg2:FindFirstChild("UpperTorso")
- a.C0 = CFrame.new(0,-2.2,-.50)
- a.Name = 'noobweld'
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- while wait() do
- if nvm3.Value == 1 then
- bg2.Humanoid:MoveTo(Mouse.Hit.p)
- plr.Character.Humanoid.Sit = true
- bg1.Humanoid.Sit = true
- bg1.Humanoid.Health = bg1.Humanoid.Health + 100
- bg2.Humanoid.Health = bg2.Humanoid.Health + 100
- bg2.Humanoid.WalkSpeed = 65
- end
- end
- if say == "spy," then
- signal = Instance.new('Part', game.ReplicatedStorage)
- local ply = game.Players:GetPlayers()[math.random(game.Players.NumPlayers)]
- bgchoose = math.random(1, 2)
- if bgchoose == 1 then
- bg1.Head.face.Texture = "http://www.roblox.com/asset/?id=20722053"
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg1)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=144076759"
- end
- end
- for _,c in pairs(bg1:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg1)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=382538058"
- end
- end
- hair = Instance.new("Part", bg1.Head)
- hairmesh = Instance.new("SpecialMesh", hair)
- hairmesh.MeshId = "rbxassetid://494950128"
- hairmesh.Scale = Vector3.new(1, 1, 1)
- hair.Transparency = 0
- hair.CanCollide = false
- hair.Name = "plrhair"
- hair.Anchored = false
- hair.BrickColor = BrickColor.new("Really red")
- Weld = Instance.new("Weld", bg1)
- Weld.Part0 = bg1.Head
- Weld.Part1 = hair
- Weld.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part') then
- bg1.Torso.CFrame = CFrame.new(bg1.Torso.Position, ply.Character.Torso.Position)
- end
- end
- if bgchoose == 2 then
- bg2.Head.face.Texture = "http://www.roblox.com/asset/?id=20418518"
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Pants') then
- c:Destroy()
- pants = Instance.new("Pants", bg2)
- pants.PantsTemplate = "http://www.roblox.com/asset/?id=442560707"
- end
- end
- for _,c in pairs(bg2:GetChildren()) do
- if c:IsA('Shirt') then
- c:Destroy()
- shirt = Instance.new("Shirt", bg2)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=442557590"
- end
- end
- hair1 = Instance.new("Part", bg2.Head)
- hairmesh1 = Instance.new("SpecialMesh", hair1)
- hairmesh1.MeshId = "rbxassetid://494950128"
- hairmesh1.Scale = Vector3.new(1, 1, 1)
- hair1.Transparency = 0
- hair1.CanCollide = false
- hair1.Name = "plrhair"
- hair1.Anchored = false
- hair1.BrickColor = BrickColor.new("Really black")
- Weld1 = Instance.new("Weld", bg2)
- Weld1.Part0 = bg2.Head
- Weld1.Part1 = hair1
- Weld1.C1 = CFrame.new(0, -0.50, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
- signal2 = Instance.new('Part', game.ReplicatedStorage)
- signal2.Name = "Part2"
- while wait() do
- if game.ReplicatedStorage:FindFirstChild('Part2') then
- bg2.Torso.CFrame = CFrame.new(bg2.Torso.Position, ply.Character.Torso.Position)
- end
- end
- end
- end
- end
- end
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- if nvm2.Value == 1 then
- bg1.Humanoid.Health = bg1.Humanoid.Health + 5000
- bg2.Humanoid.Health = bg2.Humanoid.Health + 5000
- bg1.Humanoid:MoveTo(bgpoint1.Position)
- bg2.Humanoid:MoveTo(bgpoint2.Position)
- if bg1.Humanoid.PlatformStand == true then
- bg1.Humanoid.PlatformStand = false
- end
- if bg2.Humanoid.PlatformStand == true then
- bg2.Humanoid.PlatformStand = false
- end
- if bg1.Humanoid.Sit == true then
- bg1.Humanoid.Sit = false
- end
- if bg2.Humanoid.Sit == true then
- bg2.Humanoid.Sit = false
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg1.Torso.Position).magnitude <=2 then
- bg1.Humanoid.Jump=true
- end
- end
- end
- for _,v in pairs(workspace:children()) do
- if v:IsA('Model') and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
- if (v.HumanoidRootPart.Position-bg2.Torso.Position).magnitude <=2 then
- bg2.Humanoid.Jump=true
- end
- end
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg2.Torso.Position).magnitude <= 20 then
- bg2.Humanoid.WalkSpeed = 16
- else
- bg2.Humanoid.WalkSpeed = 55
- end
- if (game.Players.LocalPlayer.Character.Torso.Position - bg1.Torso.Position).magnitude <= 20 then
- bg1.Humanoid.WalkSpeed = 16
- else
- bg1.Humanoid.WalkSpeed = 55
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement