Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
- v:Destroy()
- end
- end
- Camera0 = Instance.new("Camera")
- Part1 = Instance.new("Part")
- Model2 = Instance.new("Model")
- LocalScript3 = Instance.new("LocalScript")
- Model4 = Instance.new("Model")
- BodyColors5 = Instance.new("BodyColors")
- Humanoid6 = Instance.new("Humanoid")
- Part7 = Instance.new("Part")
- SpecialMesh8 = Instance.new("SpecialMesh")
- Sound9 = Instance.new("Sound")
- PitchShiftSoundEffect10 = Instance.new("PitchShiftSoundEffect")
- Dialog11 = Instance.new("Dialog")
- DialogChoice12 = Instance.new("DialogChoice")
- Script13 = Instance.new("Script")
- ParticleEmitter14 = Instance.new("ParticleEmitter")
- Part15 = Instance.new("Part")
- Motor6D16 = Instance.new("Motor6D")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- SpecialMesh19 = Instance.new("SpecialMesh")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Part23 = Instance.new("Part")
- Motor6D24 = Instance.new("Motor6D")
- Motor6D25 = Instance.new("Motor6D")
- Motor6D26 = Instance.new("Motor6D")
- Motor6D27 = Instance.new("Motor6D")
- Motor6D28 = Instance.new("Motor6D")
- Decal29 = Instance.new("Decal")
- SpecialMesh30 = Instance.new("SpecialMesh")
- ParticleEmitter31 = Instance.new("ParticleEmitter")
- Sound32 = Instance.new("Sound")
- Script33 = Instance.new("Script")
- Sound34 = Instance.new("Sound")
- Sound35 = Instance.new("Sound")
- ParticleEmitter36 = Instance.new("ParticleEmitter")
- Camera37 = Instance.new("Camera")
- Script38 = Instance.new("Script")
- Script39 = Instance.new("Script")
- NumberValue40 = Instance.new("NumberValue")
- Script41 = Instance.new("Script")
- SpecialMesh42 = Instance.new("SpecialMesh")
- Script43 = Instance.new("Script")
- SelectionBox44 = Instance.new("SelectionBox")
- Sound45 = Instance.new("Sound")
- NumberValue46 = Instance.new("NumberValue")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- BillboardGui49 = Instance.new("BillboardGui")
- ImageLabel50 = Instance.new("ImageLabel")
- Sound51 = Instance.new("Sound")
- Script52 = Instance.new("Script")
- SpecialMesh53 = Instance.new("SpecialMesh")
- ParticleEmitter54 = Instance.new("ParticleEmitter")
- BodyPosition55 = Instance.new("BodyPosition")
- Sound56 = Instance.new("Sound")
- Sound57 = Instance.new("Sound")
- Script58 = Instance.new("Script")
- BrickColorValue59 = Instance.new("BrickColorValue")
- Script60 = Instance.new("Script")
- StringValue61 = Instance.new("StringValue")
- Animation62 = Instance.new("Animation")
- StringValue63 = Instance.new("StringValue")
- Animation64 = Instance.new("Animation")
- StringValue65 = Instance.new("StringValue")
- Animation66 = Instance.new("Animation")
- NumberValue67 = Instance.new("NumberValue")
- Animation68 = Instance.new("Animation")
- NumberValue69 = Instance.new("NumberValue")
- StringValue70 = Instance.new("StringValue")
- Animation71 = Instance.new("Animation")
- StringValue72 = Instance.new("StringValue")
- Animation73 = Instance.new("Animation")
- StringValue74 = Instance.new("StringValue")
- Animation75 = Instance.new("Animation")
- StringValue76 = Instance.new("StringValue")
- Animation77 = Instance.new("Animation")
- Script78 = Instance.new("Script")
- Script79 = Instance.new("Script")
- Sound80 = Instance.new("Sound")
- Camera0.Parent = mas
- Camera0.CFrame = CFrame.new(-5.53657913, 6.43760109, -16.6288605, 0.365646064, 0.471259266, -0.802631676, -0, 0.862345755, 0.50631988, 0.930754006, -0.185133874, 0.315313309)
- Camera0.CoordinateFrame = CFrame.new(-5.53657913, 6.43760109, -16.6288605, 0.365646064, 0.471259266, -0.802631676, -0, 0.862345755, 0.50631988, 0.930754006, -0.185133874, 0.315313309)
- Camera0.Focus = CFrame.new(0.705411971, 2.49999905, -19.0810223, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera0.focus = CFrame.new(0.705411971, 2.49999905, -19.0810223, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Name = "Baseplate"
- Part1.Parent = mas
- Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(0, -10, 0)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(512, 20, 512)
- Part1.Anchored = true
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.Locked = true
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- Model2.Name = "CompiledScripts"
- Model2.Parent = mas
- LocalScript3.Name = "Script1"
- LocalScript3.Parent = Model2
- table.insert(cors,sandbox(LocalScript3,function()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
- v:Destroy()
- end
- end
- Camera0 = Instance.new("Camera")
- Part1 = Instance.new("Part")
- Model2 = Instance.new("Model")
- Model3 = Instance.new("Model")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Decal6 = Instance.new("Decal")
- Weld7 = Instance.new("Weld")
- Part8 = Instance.new("Part")
- Fire9 = Instance.new("Fire")
- Part10 = Instance.new("Part")
- Fire11 = Instance.new("Fire")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- Snap15 = Instance.new("Snap")
- Fire16 = Instance.new("Fire")
- Humanoid17 = Instance.new("Humanoid")
- Part18 = Instance.new("Part")
- Snap19 = Instance.new("Snap")
- CylinderMesh20 = Instance.new("CylinderMesh")
- Fire21 = Instance.new("Fire")
- Script22 = Instance.new("Script")
- Script23 = Instance.new("Script")
- Part24 = Instance.new("Part")
- Snap25 = Instance.new("Snap")
- Fire26 = Instance.new("Fire")
- Weld27 = Instance.new("Weld")
- BodyColors28 = Instance.new("BodyColors")
- Script29 = Instance.new("Script")
- Shirt30 = Instance.new("Shirt")
- Pants31 = Instance.new("Pants")
- Hat32 = Instance.new("Hat")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- Camera35 = Instance.new("Camera")
- Model36 = Instance.new("Model")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Decal39 = Instance.new("Decal")
- Weld40 = Instance.new("Weld")
- Part41 = Instance.new("Part")
- Fire42 = Instance.new("Fire")
- Part43 = Instance.new("Part")
- Fire44 = Instance.new("Fire")
- Part45 = Instance.new("Part")
- Part46 = Instance.new("Part")
- Part47 = Instance.new("Part")
- Snap48 = Instance.new("Snap")
- Fire49 = Instance.new("Fire")
- Humanoid50 = Instance.new("Humanoid")
- Part51 = Instance.new("Part")
- Snap52 = Instance.new("Snap")
- CylinderMesh53 = Instance.new("CylinderMesh")
- Fire54 = Instance.new("Fire")
- Script55 = Instance.new("Script")
- Script56 = Instance.new("Script")
- Part57 = Instance.new("Part")
- Snap58 = Instance.new("Snap")
- Fire59 = Instance.new("Fire")
- Weld60 = Instance.new("Weld")
- BodyColors61 = Instance.new("BodyColors")
- Script62 = Instance.new("Script")
- Hat63 = Instance.new("Hat")
- Part64 = Instance.new("Part")
- SpecialMesh65 = Instance.new("SpecialMesh")
- Shirt66 = Instance.new("Shirt")
- Pants67 = Instance.new("Pants")
- Camera0.Parent = mas
- Camera0.CFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
- Camera0.CoordinateFrame = CFrame.new(-26.2206421, 12.0959606, -20.6886711, -0.0595999733, 0.408445835, -0.91083467, -0, 0.912456691, 0.409173191, 0.998222351, 0.0243867114, -0.0543823987)
- Camera0.Focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera0.focus = CFrame.new(-6.11873436, 3.06560421, -19.4884644, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Name = "Baseplate"
- Part1.Parent = mas
- Part1.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(0, -10, 0)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(512, 20, 512)
- Part1.Anchored = true
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.Locked = true
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- Model2.Parent = mas
- Model3.Name = "SSGSS Goku"
- Model3.Parent = Model2
- Part4.Name = "Head"
- Part4.Parent = Model3
- Part4.CFrame = CFrame.new(-4.13871002, 4.90002108, -11.4352522, 0, 0, 0.999999404, 0, 1.00000036, -1.74622983e-10, -1, 0, 0)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Position = Vector3.new(-4.13871002, 4.90002108, -11.4352522)
- Part4.Rotation = Vector3.new(90, 89.9400024, 0)
- Part4.Color = Color3.new(1, 0.8, 0.6)
- Part4.Size = Vector3.new(2, 1, 1)
- Part4.BrickColor = BrickColor.new("Pastel brown")
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Pastel brown")
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh5.Parent = Part4
- SpecialMesh5.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal6.Parent = Part4
- Decal6.Texture = "http://www.roblox.com/asset/?id=268802651"
- Weld7.Name = "HeadWeld"
- Weld7.Parent = Part4
- Weld7.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
- Weld7.Part0 = Part4
- Weld7.Part1 = Part33
- Weld7.part1 = Part33
- Part8.Name = "Left Arm"
- Part8.Parent = Model3
- Part8.CFrame = CFrame.new(-4.13871002, 3.40002298, -9.93525219, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part8.Orientation = Vector3.new(0, 90, 0)
- Part8.Position = Vector3.new(-4.13871002, 3.40002298, -9.93525219)
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.Color = Color3.new(1, 0.8, 0.6)
- Part8.Size = Vector3.new(1, 2, 1)
- Part8.BrickColor = BrickColor.new("Pastel brown")
- Part8.brickColor = BrickColor.new("Pastel brown")
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.formFactor = Enum.FormFactor.Symmetric
- Fire9.Parent = Part8
- Fire9.Color = Color3.new(1, 0.709804, 0)
- Fire9.Enabled = false
- Fire9.Size = 30
- Fire9.Heat = 25
- Fire9.SecondaryColor = Color3.new(1, 0, 0)
- Fire9.size = 30
- Part10.Name = "Left Leg"
- Part10.Parent = Model3
- Part10.CFrame = CFrame.new(-4.13871002, 1.40002406, -10.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part10.Orientation = Vector3.new(0, 90, 0)
- Part10.Position = Vector3.new(-4.13871002, 1.40002406, -10.9352522)
- Part10.Rotation = Vector3.new(0, 90, 0)
- Part10.Color = Color3.new(1, 0.8, 0.6)
- Part10.Size = Vector3.new(1, 2, 1)
- Part10.BottomSurface = Enum.SurfaceType.Weld
- Part10.BrickColor = BrickColor.new("Pastel brown")
- Part10.brickColor = BrickColor.new("Pastel brown")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Fire11.Parent = Part10
- Fire11.Color = Color3.new(1, 0.709804, 0)
- Fire11.Enabled = false
- Fire11.Size = 30
- Fire11.Heat = 25
- Fire11.SecondaryColor = Color3.new(1, 0, 0)
- Fire11.size = 30
- Part12.Name = "Right Arm"
- Part12.Parent = Model3
- Part12.CFrame = CFrame.new(-4.13871002, 3.40002298, -12.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part12.Orientation = Vector3.new(0, 90, 0)
- Part12.Position = Vector3.new(-4.13871002, 3.40002298, -12.9352522)
- Part12.Rotation = Vector3.new(0, 90, 0)
- Part12.Color = Color3.new(1, 0.8, 0.6)
- Part12.Size = Vector3.new(1, 2, 1)
- Part12.BrickColor = BrickColor.new("Pastel brown")
- Part12.brickColor = BrickColor.new("Pastel brown")
- Part12.FormFactor = Enum.FormFactor.Symmetric
- Part12.formFactor = Enum.FormFactor.Symmetric
- Part13.Name = "Right Leg"
- Part13.Parent = Model3
- Part13.CFrame = CFrame.new(-4.13871002, 1.40002406, -11.9352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part13.Orientation = Vector3.new(0, 90, 0)
- Part13.Position = Vector3.new(-4.13871002, 1.40002406, -11.9352522)
- Part13.Rotation = Vector3.new(0, 90, 0)
- Part13.Color = Color3.new(1, 0.8, 0.6)
- Part13.Size = Vector3.new(1, 2, 1)
- Part13.BottomSurface = Enum.SurfaceType.Weld
- Part13.BrickColor = BrickColor.new("Pastel brown")
- Part13.brickColor = BrickColor.new("Pastel brown")
- Part13.FormFactor = Enum.FormFactor.Symmetric
- Part13.formFactor = Enum.FormFactor.Symmetric
- Part14.Name = "Torso"
- Part14.Parent = Model3
- Part14.CFrame = CFrame.new(-4.13871002, 3.40002298, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part14.Orientation = Vector3.new(0, 90, 0)
- Part14.Position = Vector3.new(-4.13871002, 3.40002298, -11.4352522)
- Part14.Rotation = Vector3.new(0, 90, 0)
- Part14.Color = Color3.new(1, 0.8, 0.6)
- Part14.Size = Vector3.new(2, 2, 1)
- Part14.BrickColor = BrickColor.new("Pastel brown")
- Part14.LeftParamA = 0
- Part14.LeftParamB = 0
- Part14.LeftSurface = Enum.SurfaceType.Weld
- Part14.RightParamA = 0
- Part14.RightParamB = 0
- Part14.RightSurface = Enum.SurfaceType.Weld
- Part14.brickColor = BrickColor.new("Pastel brown")
- Part14.FormFactor = Enum.FormFactor.Symmetric
- Part14.formFactor = Enum.FormFactor.Symmetric
- Snap15.Name = "Neck"
- Snap15.Parent = Part14
- Snap15.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap15.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Fire16.Parent = Part14
- Fire16.Color = Color3.new(1, 0.709804, 0)
- Fire16.Enabled = false
- Fire16.Size = 30
- Fire16.Heat = 25
- Fire16.SecondaryColor = Color3.new(1, 0, 0)
- Fire16.size = 30
- Humanoid17.Name = "Morph"
- Humanoid17.Parent = Model3
- Humanoid17.Health = 0
- Humanoid17.LeftLeg = Part10
- Humanoid17.MaxHealth = 0
- Humanoid17.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid17.RightLeg = Part13
- Humanoid17.Torso = Part14
- Humanoid17.WalkSpeed = 0
- Humanoid17.maxHealth = 0
- Part18.Name = "MorphButton"
- Part18.Parent = Model3
- Part18.CFrame = CFrame.new(-7.63871002, 0.600023985, -11.4352522, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part18.Orientation = Vector3.new(0, 90, 0)
- Part18.Position = Vector3.new(-7.63871002, 0.600023985, -11.4352522)
- Part18.Rotation = Vector3.new(0, 90, 0)
- Part18.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part18.Size = Vector3.new(4, 0.400000006, 4)
- Part18.BottomSurface = Enum.SurfaceType.Weld
- Part18.BrickColor = BrickColor.new("Bright yellow")
- Part18.LeftParamA = 0
- Part18.LeftParamB = 0
- Part18.Reflectance = 0.5
- Part18.RightParamA = 0
- Part18.RightParamB = 0
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.brickColor = BrickColor.new("Bright yellow")
- Part18.FormFactor = Enum.FormFactor.Plate
- Part18.formFactor = Enum.FormFactor.Plate
- Snap19.Name = "Neck"
- Snap19.Parent = Part18
- Snap19.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap19.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- CylinderMesh20.Parent = Part18
- Fire21.Parent = Part18
- Fire21.Color = Color3.new(1, 1, 0)
- Fire21.Enabled = false
- Fire21.Size = 30
- Fire21.Heat = 25
- Fire21.SecondaryColor = Color3.new(1, 0, 0)
- Fire21.size = 30
- Script22.Name = "SmartMorphButton"
- Script22.Parent = Part18
- table.insert(cors,sandbox(Script22,function()
- -- Smart Morph script by CoolbuilderManClub
- while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
- local g = Instance.new("ScreenGui")
- g.Name = "InfoBox"
- local t = Instance.new("TextLabel")
- t.Name = "Info"
- t.Text = "Smart Morph Script By TankLeadfoot"
- t.BackgroundTransparency = 0
- t.BackgroundColor3 = Color3.new(0, 0, 0)
- t.BorderSizePixel = 0
- t.TextColor3 = Color3.new(1, 1, 1)
- t.Position = UDim2.new(0, 0, 0.95, 0)
- t.Size = UDim2.new(1, 0, 0.05, 0)
- t.Parent = g
- local CanMorph = nil
- local Lock = nil
- local s = script.InfoRemover:Clone()
- s.Parent = g
- s.Disabled = false
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- function onTouch(hit)
- if (Lock == nil) then
- Lock = true
- script.Parent.BrickColor = BrickColor.new("Medium stone grey")
- CanMorph = nil
- BodyParts = hit.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "Humanoid") then
- CanMorph = true
- end
- wait(0.1)
- end
- if (CanMorph == nil) then
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- Lock = nil
- return
- end
- script.Parent.BrickColor = BrickColor.new("Black")
- g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
- BodyParts = hit.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
- b:Remove()
- end
- if (b.className == "Part") then
- if (b.Name == "Torso") then
- if (b:findFirstChild("roblox") ~= nil) then
- b.roblox:Remove()
- elseif (b:findFirstChild("Decal") ~= nil) then
- b.Decal:Remove()
- end
- end
- if (b.Name == "Head") then
- if (b:findFirstChild("Mesh") ~= nil) then
- b.Mesh:Remove()
- end
- end
- end
- wait(0.1)
- end
- BodyParts = script.Parent.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
- b:Clone().Parent = hit.Parent
- end
- if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
- hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
- hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
- hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
- hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
- hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
- hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
- end
- if (b.className == "Part") then
- if (b.Name == "Torso") then
- if (b:findFirstChild("roblox") ~= nil) then
- b.roblox:Clone().Parent = hit.Parent.Torso
- elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
- b.Decal:Clone().Parent = hit.Parent.Torso
- end
- end
- if (b.Name == "Head") then
- if (b:findFirstChild("face") ~= nil) then
- hit.Parent.Head.face.Texture = b.face.Texture
- elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
- hit.Parent.Head.face.Texture = b.Decal.Texture
- end
- if (b:findFirstChild("Mesh") ~= nil) then
- b.Mesh:Clone().Parent = hit.Parent.Head
- end
- end
- end
- if (b.className == "Hat") then
- local h = Instance.new("Hat")
- h.Name = b.Name
- h.AttachmentPos = b.AttachmentPos
- b.Handle:Clone().Parent = h
- h.Parent = hit.Parent
- end
- wait(0.1)
- end
- g.Parent = nil
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- Lock = nil
- end
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Script23.Name = "InfoRemover"
- Script23.Parent = Script22
- table.insert(cors,sandbox(Script23,function()
- script.Parent:Remove(wait(10))
- end))
- Script23.Disabled = true
- Part24.Parent = Model3
- Part24.CFrame = CFrame.new(-6.13871002, 0.200023651, -11.4352522, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part24.Orientation = Vector3.new(0, 90, 0)
- Part24.Position = Vector3.new(-6.13871002, 0.200023651, -11.4352522)
- Part24.Rotation = Vector3.new(0, 90, 0)
- Part24.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part24.Size = Vector3.new(6, 0.400000006, 9)
- Part24.BottomSurface = Enum.SurfaceType.Weld
- Part24.BrickColor = BrickColor.new("Bright orange")
- Part24.LeftParamA = 0
- Part24.LeftParamB = 0
- Part24.Reflectance = 0.5
- Part24.RightParamA = 0
- Part24.RightParamB = 0
- Part24.TopSurface = Enum.SurfaceType.Smooth
- Part24.brickColor = BrickColor.new("Bright orange")
- Part24.FormFactor = Enum.FormFactor.Plate
- Part24.formFactor = Enum.FormFactor.Plate
- Snap25.Name = "Neck"
- Snap25.Parent = Part24
- Snap25.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap25.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Fire26.Parent = Part24
- Fire26.Color = Color3.new(1, 0.709804, 0)
- Fire26.Enabled = false
- Fire26.Size = 30
- Fire26.Heat = 25
- Fire26.SecondaryColor = Color3.new(1, 0, 0)
- Fire26.size = 30
- Weld27.Parent = Part24
- Weld27.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld27.C1 = CFrame.new(-6.13871002, 10.0000238, -11.4352522, 0, 1, 0, 0, 0, -1, -1, 0, 0)
- Weld27.Part0 = Part24
- Weld27.Part1 = Part1
- Weld27.part1 = Part1
- BodyColors28.Parent = Model3
- BodyColors28.HeadColor = BrickColor.new("Pastel brown")
- BodyColors28.HeadColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors28.LeftArmColor = BrickColor.new("Pastel brown")
- BodyColors28.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors28.LeftLegColor = BrickColor.new("Pastel brown")
- BodyColors28.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors28.RightArmColor = BrickColor.new("Pastel brown")
- BodyColors28.RightArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors28.RightLegColor = BrickColor.new("Pastel brown")
- BodyColors28.RightLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors28.TorsoColor = BrickColor.new("Pastel brown")
- BodyColors28.TorsoColor3 = Color3.new(1, 0.8, 0.6)
- Script29.Name = "How To Make A Morph"
- Script29.Parent = Model3
- table.insert(cors,sandbox(Script29,function()
- First Pick This Morph
- Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
- If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
- Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
- Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
- If U Want To Put Hats At Your Morph Do # 9
- First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
- If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
- So Grab Your Hats One By One To The Morph So It Will Work Tnx
- Message Me If You Dont Understand
- If U Cant Message Me If Im Online
- Meet Me At My Place This Is The Link See Number 13
- http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
- Tnx Pls Like My Morph Before Taking!!!
- If U Want To Be A Superhero Morph Or Robloxian 2.0
- First Pick The Morph U Want And Go In The Front Of It
- And Then Go To Your Character And Press Plus (+) To Copy It
- And Then 1 By 1 To Copy It
- Tnx For Making Morph!!
- Pls Enjoy!!!
- end))
- Shirt30.Name = "Shirt"
- Shirt30.Parent = Model3
- Shirt30.ShirtTemplate = "http://www.roblox.com/asset/?id=235808304"
- Pants31.Name = "Pants"
- Pants31.Parent = Model3
- Pants31.PantsTemplate = "http://www.roblox.com/asset/?id=235808401"
- Hat32.Name = "SuperSaiyanHair"
- Hat32.Parent = Model3
- Hat32.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
- Hat32.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
- Hat32.AttachmentPos = Vector3.new(0, -0.100000001, 0)
- Hat32.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
- Part33.Name = "Handle"
- Part33.Parent = Hat32
- Part33.CFrame = CFrame.new(-4.13862658, 5.50002146, -11.4352522, 0, 0.000833332422, 0.999998987, 0, 1, -0.000833333528, -1, 0, 0)
- Part33.Orientation = Vector3.new(0.0500000007, 90, 0)
- Part33.Position = Vector3.new(-4.13862658, 5.50002146, -11.4352522)
- Part33.Rotation = Vector3.new(90, 89.9199982, -90)
- Part33.Color = Color3.new(0, 1, 1)
- Part33.Size = Vector3.new(2, 2, 2)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.BrickColor = BrickColor.new("Toothpaste")
- Part33.CanCollide = false
- Part33.Material = Enum.Material.Neon
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.brickColor = BrickColor.new("Toothpaste")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshId = "rbxassetid://430344159"
- SpecialMesh34.Offset = Vector3.new(-0.0500000007, 0.449999988, 0.5)
- SpecialMesh34.Scale = Vector3.new(5.5, 5.5, 5.5)
- SpecialMesh34.MeshType = Enum.MeshType.FileMesh
- Camera35.Name = "ThumbnailCamera"
- Camera35.Parent = Hat32
- Camera35.CFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
- Camera35.CameraType = Enum.CameraType.Custom
- Camera35.CoordinateFrame = CFrame.new(7.09014845, 4.30502892, 16.8996258, -0.979573905, -0.0921030194, 0.178751379, 7.4505806e-09, 0.888936162, 0.458031207, -0.201084614, 0.448675424, -0.87077862)
- Camera35.FieldOfView = 40
- Camera35.Focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera35.focus = CFrame.new(6.73264551, 3.38896608, 18.6411839, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model36.Name = "SSJ3 Goku"
- Model36.Parent = Model2
- Part37.Name = "Head"
- Part37.Parent = Model36
- Part37.CFrame = CFrame.new(-5.14130402, 4.90000677, -19.4327965, 0, -1.75787136e-08, 0.999999285, 0, 1.00000036, 1.72294676e-08, -1, 0, 0)
- Part37.Orientation = Vector3.new(0, 90, 0)
- Part37.Position = Vector3.new(-5.14130402, 4.90000677, -19.4327965)
- Part37.Rotation = Vector3.new(-90, 89.9300003, 90)
- Part37.Color = Color3.new(1, 0.8, 0.6)
- Part37.Size = Vector3.new(2, 1, 1)
- Part37.BrickColor = BrickColor.new("Pastel brown")
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.brickColor = BrickColor.new("Pastel brown")
- Part37.FormFactor = Enum.FormFactor.Symmetric
- Part37.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh38.Parent = Part37
- SpecialMesh38.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal39.Parent = Part37
- Decal39.Texture = "http://www.roblox.com/asset/?id=231488603"
- Weld40.Name = "HeadWeld"
- Weld40.Parent = Part37
- Weld40.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld40.C1 = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
- Weld40.Part0 = Part37
- Weld40.Part1 = Part64
- Weld40.part1 = Part64
- Part41.Name = "Left Arm"
- Part41.Parent = Model36
- Part41.CFrame = CFrame.new(-5.14130402, 3.40001106, -17.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part41.Orientation = Vector3.new(0, 90, 0)
- Part41.Position = Vector3.new(-5.14130402, 3.40001106, -17.9327965)
- Part41.Rotation = Vector3.new(0, 90, 0)
- Part41.Color = Color3.new(1, 0.8, 0.6)
- Part41.Size = Vector3.new(1, 2, 1)
- Part41.BrickColor = BrickColor.new("Pastel brown")
- Part41.brickColor = BrickColor.new("Pastel brown")
- Part41.FormFactor = Enum.FormFactor.Symmetric
- Part41.formFactor = Enum.FormFactor.Symmetric
- Fire42.Parent = Part41
- Fire42.Color = Color3.new(1, 0.709804, 0)
- Fire42.Enabled = false
- Fire42.Size = 30
- Fire42.Heat = 25
- Fire42.SecondaryColor = Color3.new(1, 0, 0)
- Fire42.size = 30
- Part43.Name = "Left Leg"
- Part43.Parent = Model36
- Part43.CFrame = CFrame.new(-5.14127302, 1.40001905, -18.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part43.Orientation = Vector3.new(0, 90, 0)
- Part43.Position = Vector3.new(-5.14127302, 1.40001905, -18.9327965)
- Part43.Rotation = Vector3.new(0, 90, 0)
- Part43.Color = Color3.new(1, 0.8, 0.6)
- Part43.Size = Vector3.new(1, 2, 1)
- Part43.BottomSurface = Enum.SurfaceType.Weld
- Part43.BrickColor = BrickColor.new("Pastel brown")
- Part43.brickColor = BrickColor.new("Pastel brown")
- Part43.FormFactor = Enum.FormFactor.Symmetric
- Part43.formFactor = Enum.FormFactor.Symmetric
- Fire44.Parent = Part43
- Fire44.Color = Color3.new(1, 0.709804, 0)
- Fire44.Enabled = false
- Fire44.Size = 30
- Fire44.Heat = 25
- Fire44.SecondaryColor = Color3.new(1, 0, 0)
- Fire44.size = 30
- Part45.Name = "Right Arm"
- Part45.Parent = Model36
- Part45.CFrame = CFrame.new(-5.14127302, 3.3999939, -20.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part45.Orientation = Vector3.new(0, 90, 0)
- Part45.Position = Vector3.new(-5.14127302, 3.3999939, -20.9327965)
- Part45.Rotation = Vector3.new(0, 90, 0)
- Part45.Color = Color3.new(1, 0.8, 0.6)
- Part45.Size = Vector3.new(1, 2, 1)
- Part45.BrickColor = BrickColor.new("Pastel brown")
- Part45.brickColor = BrickColor.new("Pastel brown")
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.formFactor = Enum.FormFactor.Symmetric
- Part46.Name = "Right Leg"
- Part46.Parent = Model36
- Part46.CFrame = CFrame.new(-5.14127302, 1.39997196, -19.9327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part46.Orientation = Vector3.new(0, 90, 0)
- Part46.Position = Vector3.new(-5.14127302, 1.39997196, -19.9327965)
- Part46.Rotation = Vector3.new(0, 90, 0)
- Part46.Color = Color3.new(1, 0.8, 0.6)
- Part46.Size = Vector3.new(1, 2, 1)
- Part46.BottomSurface = Enum.SurfaceType.Weld
- Part46.BrickColor = BrickColor.new("Pastel brown")
- Part46.brickColor = BrickColor.new("Pastel brown")
- Part46.FormFactor = Enum.FormFactor.Symmetric
- Part46.formFactor = Enum.FormFactor.Symmetric
- Part47.Name = "Torso"
- Part47.Parent = Model36
- Part47.CFrame = CFrame.new(-5.14130402, 3.40001106, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part47.Orientation = Vector3.new(0, 90, 0)
- Part47.Position = Vector3.new(-5.14130402, 3.40001106, -19.4327965)
- Part47.Rotation = Vector3.new(0, 90, 0)
- Part47.Color = Color3.new(1, 0.8, 0.6)
- Part47.Size = Vector3.new(2, 2, 1)
- Part47.BrickColor = BrickColor.new("Pastel brown")
- Part47.LeftParamA = 0
- Part47.LeftParamB = 0
- Part47.LeftSurface = Enum.SurfaceType.Weld
- Part47.RightParamA = 0
- Part47.RightParamB = 0
- Part47.RightSurface = Enum.SurfaceType.Weld
- Part47.brickColor = BrickColor.new("Pastel brown")
- Part47.FormFactor = Enum.FormFactor.Symmetric
- Part47.formFactor = Enum.FormFactor.Symmetric
- Snap48.Name = "Neck"
- Snap48.Parent = Part47
- Snap48.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap48.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Fire49.Parent = Part47
- Fire49.Color = Color3.new(1, 0.709804, 0)
- Fire49.Enabled = false
- Fire49.Size = 30
- Fire49.Heat = 25
- Fire49.SecondaryColor = Color3.new(1, 0, 0)
- Fire49.size = 30
- Humanoid50.Name = "Morph"
- Humanoid50.Parent = Model36
- Humanoid50.Health = 0
- Humanoid50.LeftLeg = Part43
- Humanoid50.MaxHealth = 0
- Humanoid50.RightLeg = Part46
- Humanoid50.Torso = Part47
- Humanoid50.WalkSpeed = 0
- Humanoid50.maxHealth = 0
- Part51.Name = "MorphButton"
- Part51.Parent = Model36
- Part51.CFrame = CFrame.new(-8.64122772, 0.600019991, -19.4327965, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part51.Orientation = Vector3.new(0, 90, 0)
- Part51.Position = Vector3.new(-8.64122772, 0.600019991, -19.4327965)
- Part51.Rotation = Vector3.new(0, 90, 0)
- Part51.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part51.Size = Vector3.new(4, 0.400000006, 4)
- Part51.BottomSurface = Enum.SurfaceType.Weld
- Part51.BrickColor = BrickColor.new("Bright yellow")
- Part51.LeftParamA = 0
- Part51.LeftParamB = 0
- Part51.Reflectance = 0.5
- Part51.RightParamA = 0
- Part51.RightParamB = 0
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.brickColor = BrickColor.new("Bright yellow")
- Part51.FormFactor = Enum.FormFactor.Plate
- Part51.formFactor = Enum.FormFactor.Plate
- Snap52.Name = "Neck"
- Snap52.Parent = Part51
- Snap52.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap52.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- CylinderMesh53.Parent = Part51
- Fire54.Parent = Part51
- Fire54.Color = Color3.new(1, 1, 0)
- Fire54.Enabled = false
- Fire54.Size = 30
- Fire54.Heat = 25
- Fire54.SecondaryColor = Color3.new(1, 0, 0)
- Fire54.size = 30
- Script55.Name = "SmartMorphButton"
- Script55.Parent = Part51
- table.insert(cors,sandbox(Script55,function()
- -- Smart Morph script by CoolbuilderManClub
- while (script:findFirstChild("InfoRemover") == nil) do wait(0.1) end
- local g = Instance.new("ScreenGui")
- g.Name = "InfoBox"
- local t = Instance.new("TextLabel")
- t.Name = "Info"
- t.Text = "Smart Morph Script By TankLeadfoot"
- t.BackgroundTransparency = 0
- t.BackgroundColor3 = Color3.new(0, 0, 0)
- t.BorderSizePixel = 0
- t.TextColor3 = Color3.new(1, 1, 1)
- t.Position = UDim2.new(0, 0, 0.95, 0)
- t.Size = UDim2.new(1, 0, 0.05, 0)
- t.Parent = g
- local CanMorph = nil
- local Lock = nil
- local s = script.InfoRemover:Clone()
- s.Parent = g
- s.Disabled = false
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- function onTouch(hit)
- if (Lock == nil) then
- Lock = true
- script.Parent.BrickColor = BrickColor.new("Medium stone grey")
- CanMorph = nil
- BodyParts = hit.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "Humanoid") then
- CanMorph = true
- end
- wait(0.1)
- end
- if (CanMorph == nil) then
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- Lock = nil
- return
- end
- script.Parent.BrickColor = BrickColor.new("Black")
- g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
- BodyParts = hit.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
- b:Remove()
- end
- if (b.className == "Part") then
- if (b.Name == "Torso") then
- if (b:findFirstChild("roblox") ~= nil) then
- b.roblox:Remove()
- elseif (b:findFirstChild("Decal") ~= nil) then
- b.Decal:Remove()
- end
- end
- if (b.Name == "Head") then
- if (b:findFirstChild("Mesh") ~= nil) then
- b.Mesh:Remove()
- end
- end
- end
- wait(0.1)
- end
- BodyParts = script.Parent.Parent:GetChildren()
- for i,b in pairs(BodyParts) do
- if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
- b:Clone().Parent = hit.Parent
- end
- if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
- hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
- hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
- hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
- hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
- hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
- hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
- end
- if (b.className == "Part") then
- if (b.Name == "Torso") then
- if (b:findFirstChild("roblox") ~= nil) then
- b.roblox:Clone().Parent = hit.Parent.Torso
- elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
- b.Decal:Clone().Parent = hit.Parent.Torso
- end
- end
- if (b.Name == "Head") then
- if (b:findFirstChild("face") ~= nil) then
- hit.Parent.Head.face.Texture = b.face.Texture
- elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
- hit.Parent.Head.face.Texture = b.Decal.Texture
- end
- if (b:findFirstChild("Mesh") ~= nil) then
- b.Mesh:Clone().Parent = hit.Parent.Head
- end
- end
- end
- if (b.className == "Hat") then
- local h = Instance.new("Hat")
- h.Name = b.Name
- h.AttachmentPos = b.AttachmentPos
- b.Handle:Clone().Parent = h
- h.Parent = hit.Parent
- end
- wait(0.1)
- end
- g.Parent = nil
- script.Parent.BrickColor = BrickColor.new("Bright yellow")
- Lock = nil
- end
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Script56.Name = "InfoRemover"
- Script56.Parent = Script55
- table.insert(cors,sandbox(Script56,function()
- script.Parent:Remove(wait(10))
- end))
- Script56.Disabled = true
- Part57.Parent = Model36
- Part57.CFrame = CFrame.new(-7.14124298, 0.200023651, -19.4327965, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part57.Orientation = Vector3.new(0, 90, 0)
- Part57.Position = Vector3.new(-7.14124298, 0.200023651, -19.4327965)
- Part57.Rotation = Vector3.new(0, 90, 0)
- Part57.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part57.Size = Vector3.new(6, 0.400000006, 9)
- Part57.BottomSurface = Enum.SurfaceType.Weld
- Part57.BrickColor = BrickColor.new("Bright orange")
- Part57.LeftParamA = 0
- Part57.LeftParamB = 0
- Part57.Reflectance = 0.5
- Part57.RightParamA = 0
- Part57.RightParamB = 0
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.brickColor = BrickColor.new("Bright orange")
- Part57.FormFactor = Enum.FormFactor.Plate
- Part57.formFactor = Enum.FormFactor.Plate
- Snap58.Name = "Neck"
- Snap58.Parent = Part57
- Snap58.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Snap58.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Fire59.Parent = Part57
- Fire59.Color = Color3.new(1, 0.709804, 0)
- Fire59.Enabled = false
- Fire59.Size = 30
- Fire59.Heat = 25
- Fire59.SecondaryColor = Color3.new(1, 0, 0)
- Fire59.size = 30
- Weld60.Parent = Part57
- Weld60.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld60.C1 = CFrame.new(-7.14124298, 10.0000238, -19.4327965, 0, 1, 0, 0, 0, -1, -1, 0, 0)
- Weld60.Part0 = Part57
- Weld60.Part1 = Part1
- Weld60.part1 = Part1
- BodyColors61.Parent = Model36
- BodyColors61.HeadColor = BrickColor.new("Pastel brown")
- BodyColors61.HeadColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors61.LeftArmColor = BrickColor.new("Pastel brown")
- BodyColors61.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors61.LeftLegColor = BrickColor.new("Pastel brown")
- BodyColors61.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors61.RightArmColor = BrickColor.new("Pastel brown")
- BodyColors61.RightArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors61.RightLegColor = BrickColor.new("Pastel brown")
- BodyColors61.RightLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors61.TorsoColor = BrickColor.new("Pastel brown")
- BodyColors61.TorsoColor3 = Color3.new(1, 0.8, 0.6)
- Script62.Name = "How To Make A Morph"
- Script62.Parent = Model36
- table.insert(cors,sandbox(Script62,function()
- First Pick This Morph
- Then If You Want To Change Yourself (Not The Morph) Search For Pants,Shirt,Hat,
- If Your Done Making The Morph Go To Your Name And Press Plus (+) Button
- Then Copy Your Shirt And Pants If Your Done Copying The Shirt To The Morph
- Go Again To Your Name And Press Again Plus If U Minus(-) Your Character Beside Your Name
- If U Want To Put Hats At Your Morph Do # 9
- First Do Not Search For Hats At (Search) Beacuse If Do That It Wont Work So Dont Do That
- If U Copy Hats No Right Click And Press Copy Beacuse If U Copy It The Hat Will Fall
- So Grab Your Hats One By One To The Morph So It Will Work Tnx
- Message Me If You Dont Understand
- If U Cant Message Me If Im Online
- Meet Me At My Place This Is The Link See Number 13
- http://www.roblox.com/Im-Making-Morph-Here-place?id=101670864
- Tnx Pls Like My Morph Before Taking!!!
- If U Want To Be A Superhero Morph Or Robloxian 2.0
- First Pick The Morph U Want And Go In The Front Of It
- And Then Go To Your Character And Press Plus (+) To Copy It
- And Then 1 By 1 To Copy It
- Tnx For Making Morph!!
- Pls Enjoy!!!
- end))
- Hat63.Name = "SuperSaiyan3Hair"
- Hat63.Parent = Model36
- Hat63.AttachmentForward = Vector3.new(0, -0.000833332946, -0.999999583)
- Hat63.AttachmentPoint = CFrame.new(0, -0.100000001, 0, 1, 0, -0, 0, 0.999999702, 0.000833332946, 0, -0.000833333062, 0.999999583)
- Hat63.AttachmentPos = Vector3.new(0, -0.100000001, 0)
- Hat63.AttachmentUp = Vector3.new(0, 0.999999702, -0.000833333062)
- Part64.Name = "Handle"
- Part64.Parent = Hat63
- Part64.CFrame = CFrame.new(-5.14122057, 5.50000715, -19.4327965, 0, 0.000833314785, 0.999998868, 0, 1, -0.000833316124, -1, 0, 0)
- Part64.Orientation = Vector3.new(0.0500000007, 90, 0)
- Part64.Position = Vector3.new(-5.14122057, 5.50000715, -19.4327965)
- Part64.Rotation = Vector3.new(90, 89.9100037, -90)
- Part64.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part64.Size = Vector3.new(2, 2, 2)
- Part64.BottomSurface = Enum.SurfaceType.Smooth
- Part64.BrickColor = BrickColor.new("Bright yellow")
- Part64.CanCollide = false
- Part64.Material = Enum.Material.Neon
- Part64.TopSurface = Enum.SurfaceType.Smooth
- Part64.brickColor = BrickColor.new("Bright yellow")
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh65.Parent = Part64
- SpecialMesh65.MeshId = "rbxassetid://437432504"
- SpecialMesh65.Offset = Vector3.new(0.0199999996, -0.889999986, 1.29999995)
- SpecialMesh65.Scale = Vector3.new(0.0500000007, 0.0500000007, 0.0350000001)
- SpecialMesh65.MeshType = Enum.MeshType.FileMesh
- Shirt66.Name = "Shirt"
- Shirt66.Parent = Model36
- Shirt66.ShirtTemplate = "http://www.roblox.com/asset/?id=233470894"
- Pants67.Name = "Pants"
- Pants67.Parent = Model36
- Pants67.PantsTemplate = "http://www.roblox.com/asset/?id=270365252"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- end))
- Model4.Name = "Sans"
- Model4.Parent = mas
- BodyColors5.Parent = Model4
- BodyColors5.HeadColor = BrickColor.new("Light stone grey")
- BodyColors5.HeadColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- BodyColors5.LeftArmColor = BrickColor.new("Light stone grey")
- BodyColors5.LeftArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- BodyColors5.LeftLegColor = BrickColor.new("Light stone grey")
- BodyColors5.LeftLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- BodyColors5.RightArmColor = BrickColor.new("Light stone grey")
- BodyColors5.RightArmColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- BodyColors5.RightLegColor = BrickColor.new("Light stone grey")
- BodyColors5.RightLegColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- BodyColors5.TorsoColor = BrickColor.new("Light stone grey")
- BodyColors5.TorsoColor3 = Color3.new(0.898039, 0.894118, 0.87451)
- Humanoid6.Parent = Model4
- Humanoid6.Health = 50
- Humanoid6.JumpPower = 100
- Humanoid6.LeftLeg = Part18
- Humanoid6.MaxHealth = 50
- Humanoid6.RightLeg = Part21
- Humanoid6.Torso = Part15
- Humanoid6.WalkSpeed = 0.0099999997764826
- Humanoid6.maxHealth = 50
- Part7.Name = "Head"
- Part7.Parent = Model4
- Part7.CFrame = CFrame.new(0.705411971, 4.49999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part7.Orientation = Vector3.new(0, 179.660004, 0)
- Part7.Position = Vector3.new(0.705411971, 4.49999905, -19.0810223)
- Part7.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part7.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part7.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part7.Size = Vector3.new(2, 1, 1)
- Part7.BrickColor = BrickColor.new("Cool yellow")
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Cool yellow")
- Part7.FormFactor = Enum.FormFactor.Symmetric
- Part7.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh8.Parent = Part7
- SpecialMesh8.MeshId = "rbxassetid://430073345"
- SpecialMesh8.Offset = Vector3.new(0.109999999, -0.600000024, 0.100000001)
- SpecialMesh8.TextureId = "rbxassetid://430073362"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- Sound9.Name = "Voice"
- Sound9.Parent = Part7
- Sound9.Looped = true
- Sound9.SoundId = "rbxassetid://615716445"
- Sound9.Volume = 2
- PitchShiftSoundEffect10.Parent = Sound9
- PitchShiftSoundEffect10.Octave = 0.5
- Dialog11.Parent = Part7
- Dialog11.GoodbyeDialog = "..."
- Dialog11.InitialPrompt = "*Spare Sans?*"
- DialogChoice12.Name = "Fight"
- DialogChoice12.Parent = Dialog11
- DialogChoice12.GoodbyeDialog = ".."
- DialogChoice12.ResponseDialog = "... you're sparing me? finally. buddy. pal. i know how hard it must be... to make that choice. to go back on everything you've worked up to. i want you to know... i won't let it go to waste. ... c'mere, pal."
- DialogChoice12.UserDialog = "Spare"
- Script13.Parent = Dialog11
- table.insert(cors,sandbox(Script13,function()
- script.Parent.InUse = true
- function clk(player, choice)
- if choice == script.Parent.Fight then
- local Charecter = game.Workspace:FindFirstChild("player")
- local human = Charecter.Humanoid
- local human = player:FindFirstChild("Humanoid")
- for i= 1,999999999999999 do
- human:TakeDamage(10)
- wait(.1)
- end
- end
- end
- script.Parent.DialogChoiceSelected:connect(clk)
- end))
- ParticleEmitter14.Name = "SWet"
- ParticleEmitter14.Parent = Part7
- ParticleEmitter14.Speed = NumberRange.new(3, 3)
- ParticleEmitter14.Enabled = false
- ParticleEmitter14.ZOffset = 1
- ParticleEmitter14.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter14.Acceleration = Vector3.new(0, -12, 0)
- ParticleEmitter14.Rate = 50
- Part15.Name = "HumanoidRootPart"
- Part15.Parent = Model4
- Part15.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part15.Orientation = Vector3.new(0, 179.660004, 0)
- Part15.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
- Part15.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part15.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part15.Transparency = 1
- Part15.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part15.Size = Vector3.new(2, 2, 1)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.BrickColor = BrickColor.new("Bright blue")
- Part15.CanCollide = false
- Part15.LeftParamA = 0
- Part15.LeftParamB = 0
- Part15.RightParamA = 0
- Part15.RightParamB = 0
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.brickColor = BrickColor.new("Bright blue")
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.formFactor = Enum.FormFactor.Symmetric
- Motor6D16.Name = "RootJoint"
- Motor6D16.Parent = Part15
- Motor6D16.MaxVelocity = 0.10000000149012
- Motor6D16.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D16.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D16.Part0 = Part15
- Motor6D16.Part1 = Part23
- Motor6D16.part1 = Part23
- Part17.Name = "Left Arm"
- Part17.Parent = Model4
- Part17.CFrame = CFrame.new(2.20538521, 2.99999905, -19.0720825, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part17.Orientation = Vector3.new(0, 179.660004, 0)
- Part17.Position = Vector3.new(2.20538521, 2.99999905, -19.0720825)
- Part17.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part17.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part17.Transparency = 1
- Part17.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.BrickColor = BrickColor.new("Cool yellow")
- Part17.CanCollide = false
- Part17.brickColor = BrickColor.new("Cool yellow")
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- Part18.Name = "Left Leg"
- Part18.Parent = Model4
- Part18.CFrame = CFrame.new(1.20540309, 0.999999046, -19.078043, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part18.Orientation = Vector3.new(0, 179.660004, 0)
- Part18.Position = Vector3.new(1.20540309, 0.999999046, -19.078043)
- Part18.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part18.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part18.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part18.Size = Vector3.new(1, 2, 1)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.BrickColor = BrickColor.new("Bright blue")
- Part18.CanCollide = false
- Part18.brickColor = BrickColor.new("Bright blue")
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh19.Parent = Part18
- SpecialMesh19.MeshId = "rbxassetid://430069778"
- SpecialMesh19.Offset = Vector3.new(-0.0500000007, 0.0250000004, -0.100000001)
- SpecialMesh19.TextureId = "rbxassetid://430070605"
- SpecialMesh19.MeshType = Enum.MeshType.FileMesh
- Part20.Name = "Right Arm"
- Part20.Parent = Model4
- Part20.CFrame = CFrame.new(-0.794561327, 2.99999905, -19.089962, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part20.Orientation = Vector3.new(0, 179.660004, 0)
- Part20.Position = Vector3.new(-0.794561327, 2.99999905, -19.089962)
- Part20.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part20.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part20.Transparency = 1
- Part20.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.BrickColor = BrickColor.new("Cool yellow")
- Part20.CanCollide = false
- Part20.brickColor = BrickColor.new("Cool yellow")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.formFactor = Enum.FormFactor.Symmetric
- Part21.Name = "Right Leg"
- Part21.Parent = Model4
- Part21.CFrame = CFrame.new(0.205420852, 0.999999046, -19.0840015, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part21.Orientation = Vector3.new(0, 179.660004, 0)
- Part21.Position = Vector3.new(0.205420852, 0.999999046, -19.0840015)
- Part21.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part21.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part21.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part21.Size = Vector3.new(1, 2, 1)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.BrickColor = BrickColor.new("Bright blue")
- Part21.CanCollide = false
- Part21.brickColor = BrickColor.new("Bright blue")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh22.Parent = Part21
- SpecialMesh22.MeshId = "rbxassetid://430070587"
- SpecialMesh22.Offset = Vector3.new(0.200000003, 0, 0)
- SpecialMesh22.TextureId = "rbxassetid://430070605"
- SpecialMesh22.MeshType = Enum.MeshType.FileMesh
- Part23.Name = "Torso"
- Part23.Parent = Model4
- Part23.CFrame = CFrame.new(0.705411971, 2.99999905, -19.0810223, -0.999982238, 2.32234143e-31, 0.00596030289, 2.40189395e-31, 1, 1.33398701e-30, -0.00596030289, 1.33539487e-30, -0.999982238)
- Part23.Orientation = Vector3.new(0, 179.660004, 0)
- Part23.Position = Vector3.new(0.705411971, 2.99999905, -19.0810223)
- Part23.Rotation = Vector3.new(-180, 0.340000004, -180)
- Part23.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part23.Velocity = Vector3.new(-6.84544809e-31, 0, -3.93627129e-30)
- Part23.Size = Vector3.new(2, 2, 1)
- Part23.BrickColor = BrickColor.new("Dark green")
- Part23.LeftParamA = 0
- Part23.LeftParamB = 0
- Part23.LeftSurface = Enum.SurfaceType.Weld
- Part23.RightParamA = 0
- Part23.RightParamB = 0
- Part23.RightSurface = Enum.SurfaceType.Weld
- Part23.brickColor = BrickColor.new("Dark green")
- Part23.FormFactor = Enum.FormFactor.Symmetric
- Part23.formFactor = Enum.FormFactor.Symmetric
- Motor6D24.Name = "Right Shoulder"
- Motor6D24.Parent = Part23
- Motor6D24.MaxVelocity = 0.10000000149012
- Motor6D24.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D24.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D24.Part0 = Part23
- Motor6D24.Part1 = Part20
- Motor6D24.part1 = Part20
- Motor6D25.Name = "Left Shoulder"
- Motor6D25.Parent = Part23
- Motor6D25.MaxVelocity = 0.10000000149012
- Motor6D25.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D25.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D25.Part0 = Part23
- Motor6D25.Part1 = Part17
- Motor6D25.part1 = Part17
- Motor6D26.Name = "Right Hip"
- Motor6D26.Parent = Part23
- Motor6D26.MaxVelocity = 0.10000000149012
- Motor6D26.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D26.Part0 = Part23
- Motor6D26.Part1 = Part21
- Motor6D26.part1 = Part21
- Motor6D27.Name = "Left Hip"
- Motor6D27.Parent = Part23
- Motor6D27.MaxVelocity = 0.10000000149012
- Motor6D27.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D27.Part0 = Part23
- Motor6D27.Part1 = Part18
- Motor6D27.part1 = Part18
- Motor6D28.Name = "Neck"
- Motor6D28.Parent = Part23
- Motor6D28.MaxVelocity = 0.10000000149012
- Motor6D28.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D28.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D28.Part0 = Part23
- Motor6D28.Part1 = Part7
- Motor6D28.part1 = Part7
- Decal29.Name = "roblox"
- Decal29.Parent = Part23
- SpecialMesh30.Parent = Part23
- SpecialMesh30.MeshId = "rbxassetid://430072717"
- SpecialMesh30.Offset = Vector3.new(0.109999999, -0.300000012, 0.100000001)
- SpecialMesh30.TextureId = "rbxassetid://430072723"
- SpecialMesh30.MeshType = Enum.MeshType.FileMesh
- ParticleEmitter31.Name = "MissGui"
- ParticleEmitter31.Parent = Part23
- ParticleEmitter31.LightInfluence = 1
- ParticleEmitter31.Texture = "rbxassetid://893928449"
- ParticleEmitter31.Acceleration = Vector3.new(0, -3, 0)
- ParticleEmitter31.Lifetime = NumberRange.new(5, 5)
- ParticleEmitter31.Rate = 0
- Sound32.Name = "Magic"
- Sound32.Parent = Part23
- Sound32.Pitch = 0.94999998807907
- Sound32.PlaybackSpeed = 0.94999998807907
- Sound32.SoundId = "rbxassetid://446961725"
- Sound32.Volume = 1
- Script33.Name = "PushPack"
- Script33.Parent = Part23
- table.insert(cors,sandbox(Script33,function()
- door = script.Parent
- function onTouch(hit)
- if hit.Parent == nil then return end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- if h ~= nil then
- hit.Parent.Torso.Velocity=door.CFrame.lookVector * 100 -- Push the Player back
- script.Parent.Magic.Playing = true
- end
- end
- door.Touched:connect(onTouch)
- end))
- Script33.Disabled = true
- Sound34.Parent = Part23
- Sound34.PlayOnRemove = true
- Sound34.SoundId = "rbxassetid://427025525"
- Sound34.Volume = 10
- Sound35.Name = "HitSound"
- Sound35.Parent = Part23
- Sound35.SoundId = "rbxassetid://388826051"
- Sound35.Volume = 5
- ParticleEmitter36.Name = "Bleed"
- ParticleEmitter36.Parent = Part23
- ParticleEmitter36.Speed = NumberRange.new(3, 3)
- ParticleEmitter36.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
- ParticleEmitter36.Enabled = false
- ParticleEmitter36.ZOffset = 1
- ParticleEmitter36.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
- ParticleEmitter36.Acceleration = Vector3.new(0, -12, 0)
- ParticleEmitter36.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter36.Rate = 50
- Camera37.Name = "ThumbnailCamera"
- Camera37.Parent = Model4
- Camera37.CFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
- Camera37.CoordinateFrame = CFrame.new(-14.8329964, 1.63690138, -18.4846897, 0.999122858, -0.00722842105, -0.0412463434, -0, 0.98498857, -0.172619238, 0.0418749452, 0.172467828, 0.984124601)
- Camera37.Focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera37.focus = CFrame.new(-14.6267643, 2.49999905, -23.4053211, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Script38.Name = "Sans_Main"
- Script38.Parent = Model4
- table.insert(cors,sandbox(Script38,function()
- debris = game:GetService("Debris")
- gui =false
- ded = false
- diffaculty= 0
- Talk = script.Parent.TalkScript
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 300 + script.Parent.Humanoid.MaxHealth-script.Parent.Humanoid.Health --This Line Right Here
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChildOfClass("Humanoid")
- Friend = temp2:findFirstChild("Team")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend == nil) or (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (Friend.Value ~= script.Parent.Team.Value) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- gui = false
- function Dodge()
- local orgin = script.Parent.Torso.Position
- script.Parent.Humanoid.Health = script.Parent.Humanoid.MaxHealth
- local direction = math.random(1,2)
- if direction ==1 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (-100) end
- if direction == 2 then script.Parent.Torso.Velocity = CFrame.Angles(0,math.pi/2,0)* script.Parent.Torso.CFrame.lookVector * (100) end
- if ded == false then script.Parent.Humanoid.Sit = false end
- if gui== false then
- gui = true
- if diffaculty ~= 28 and diffaculty ~=9 then
- script.Parent.Torso.MissGui:Emit(1)
- if diffaculty == 0 then
- wait(.5)
- script.Parent:MoveTo(orgin)
- script.Parent.Torso.Velocity = script.Parent.Torso.Velocity*0
- game:GetService("Chat"):Chat(script.Parent.Head, "What. you think im just gonna Stand there and take it?", "Red")
- script.Parent.Head.Voice:Play()
- wait(4)
- script.Parent.Head.Voice:Stop()
- wait(1)
- script.Parent.Torso.PushPack.Disabled = false
- Talk.Disabled = false
- end
- diffaculty = diffaculty+1
- if diffaculty== 1 then
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil and ded == false then
- for i = 1,15 do
- Grattack(target.Position)
- end
- end
- for i = 1,7 do
- GasterBlaster()
- end
- for i = 1,5 do
- for i = 1,7 do
- if target ~= nil then
- lookAt = (target.Position - script.Parent.Torso.Position).unit
- Fire(lookAt)
- end
- end
- wait(.1)
- end
- end
- GasterBlaster()
- print(diffaculty)
- script.Parent.Megalovania.Playing = true
- else
- if diffaculty == 28 then
- Talk.Disabled = true
- script.Parent.Torso.Bleed.Enabled = true
- script.Parent.Torso.Anchored = true
- script.Parent.Head.SWet.Enabled= false
- ded = true
- script.Parent.Humanoid.Sit = true
- script.Parent.Megalovania.Playing = false
- script.Parent.Torso.HitSound:Play()
- wait(1)
- game:GetService("Chat"):Chat(script.Parent.Head, "... ... ... so... guess that's it, huh? ... just... don't say i didn't warn you. welp. i'm going to grillby's. papyrus, do you want anything?", "Red")
- script.Parent.Head.Voice:Play()
- wait(4)
- script.Parent.Head.Voice:Stop()
- script.Parent.Humanoid.Sit = false
- wait(1)
- game:GetService("Chat"):Chat(script.Parent.Head, "Papyrus, do you want anything?", "Red")
- script.Parent.Head.Voice:Play()
- wait(4)
- script.Parent.Head.Voice:Stop()
- script.Parent.Humanoid.Health = 0
- wait()
- script.Parent:Destroy()
- else
- script.Parent.Torso.Anchored = true
- ded = true
- game:GetService("Chat"):Chat(script.Parent.Head, "ugh... that being said... you, uh, really like swinging that thing around, huh?", "Red")
- script.Parent.Megalovania.Playing = false
- Talk.Disabled = true
- Talk = script.Parent.TalkScript2
- script.Parent.Head.Voice:Play()
- wait(3)
- script.Parent.Head.Voice:Stop()
- wait(1)
- game:GetService("Chat"):Chat(script.Parent.Head, "i know you didn't answer me before, but... somewhere in there. i can feel it. there's a glimmer of a good person inside of you. the memory of someone who once wanted to do the right thing. someone who, in another time, might have even been... a friend? c'mon, buddy. do you remember me? please, if you're listening... let's forget all of this, ok? just lay down your weapon, and... well, my job will be a lot easier.", "Red")
- Talk.Disabled = true
- script.Parent.Head.Voice:Play()
- wait(3)
- script.Parent.Head.Voice:Stop()
- wait(1)
- script.Parent.Head.Dialog.InUse = false
- wait(10)
- script.Parent.Head.Dialog.InUse= true
- game:GetService("Chat"):Chat(script.Parent.Head, "welp, it was worth a shot. guess you like doing things the hard way, huh?", "Red")
- Talk.Disabled = false
- script.Parent.Head.Voice:Play()
- wait(3)
- script.Parent.Head.Voice:Stop()
- wait(1)
- script.Parent.Torso.Anchored = false
- script.Parent.Megalovania.TimePosition = 0
- script.Parent.Megalovania.Playing = true
- ded = false
- diffaculty = 10
- end
- end
- wait(5)
- script.Parent:MoveTo(orgin)
- gui = false
- end
- end
- function Grattack(Pos)
- local missile = Instance.new("Part")
- missile.Position = Pos+Vector3.new(math.random(-3,3),-1,math.random(-3,3))
- local size = math.random(2,3)
- missile.Size = Vector3.new(2,size,2)
- missile.Anchored = true
- missile.Transparency = 1
- missile.BrickColor = BrickColor.White()
- missile.Shape = 1
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Elasticity = .05
- missile.Friction = .7
- missile.Name = "Bullet"
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:GetMass()*196.175,0)
- force.Parent = missile
- script.Mesh:Clone().Parent = missile
- local new_script = script.Ground_Attack:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- debris:AddItem(missile,10)
- missile.Parent = game.Workspace
- end
- function GasterBlaster()
- local Blaster = Instance.new("Part")
- Blaster.Position = script.Parent.Head.Position+Vector3.new(0,5,0)
- Blaster.Size = Vector3.new(2,2,2)
- local MainScript = script.Gaster_Blaster_Main:Clone()
- MainScript.Parent = Blaster
- Blaster.Parent = workspace
- MainScript.Disabled = false
- end
- function Fire(v) -- this function is outside since it is defined by the actions part of the script
- local noise = Vector3.new(math.random() - .7, math.random() - .7, math.random() - .7).unit
- v = (v + (noise * diffaculty*.01)).unit
- local spawnPos = script.Parent.Torso.Position
- spawnPos = spawnPos + (v * 10)
- local missile = Instance.new("Part")
- missile.Position = spawnPos
- local size = math.random(2,3)
- missile.Size = Vector3.new(1,size,1)
- missile.Velocity = v * 100
- missile.BrickColor = BrickColor.White()
- missile.Shape = 1
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Elasticity = .05
- missile.Friction = .7
- missile.Name = "Bullet"
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:GetMass()*196.175,0)
- force.Parent = missile
- script.Mesh:Clone().Parent = missile
- local new_script = script.LightScript:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- debris:AddItem(missile,10)
- missile.Parent = game.Workspace
- end
- script.Parent.Humanoid.HealthChanged:connect(Dodge)
- while true do
- wait(0.1)
- if diffaculty > 15 then
- script.Parent.Head.SWet.Enabled = true
- end
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil and ded == false then
- lookAt = (target.Position - script.Parent.Torso.Position).unit
- local rng = math.random(1,31-diffaculty)
- script.Parent.Humanoid:MoveTo(target.Position, target)
- if rng ==1 or rng ==3 then
- local test = target.Parent:FindFirstChild("Stun")
- if test == nil then
- local stun = script.Stun:Clone()
- stun.Parent = target.Parent
- stun.Disabled = false
- end
- end
- if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
- script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
- end
- if rng == 2 or rng == 5 or rng == 4 then
- GasterBlaster()
- end
- if rng > 2 then
- for i = 1,1+diffaculty do
- if target ~= nil then
- lookAt = (target.Position - script.Parent.Torso.Position).unit
- end
- Fire(lookAt)
- wait(.1)
- end
- if diffaculty > 9 then
- for i = 1,10 do
- Grattack(target.Position)
- end
- script.Parent.Torso.Magic:Play()
- script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30-diffaculty,30+diffaculty),math.random(0,0),math.random(-30-diffaculty,30+diffaculty)))
- for i = 1,1+diffaculty do
- if target ~= nil then
- lookAt = (target.Position - script.Parent.Torso.Position).unit
- end
- Fire(lookAt)
- wait(.1)
- end
- GasterBlaster()
- wait(math.random(.1,1))
- GasterBlaster()
- end
- end
- wait()
- script.Parent.Torso.Magic:Play()
- script.Parent:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-30,30),math.random(0,0),math.random(-30,30)))
- wait(5-diffaculty*.1)
- if (target.Position - script.Parent.Torso.Position).magnitude > 150 then
- script.Parent:MoveTo(target.Position+Vector3.new(math.random(-70,70),math.random(0,0),math.random(-70,70)))
- end
- else
- diffaculty = 0
- script.Parent.Megalovania.Playing = false
- script.Parent.Megalovania.TimePosition = 0
- Talk.Disabled = true
- local Aipath = workspace:FindFirstChild("Ai_Path")
- if Aipath then
- if workspace.Ai_Path:FindFirstChild("a")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.a end
- wait(2)
- if workspace.Ai_Path:FindFirstChild("b")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.b end
- wait(2)
- if workspace.Ai_Path:FindFirstChild("c")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.c end
- wait(2)
- if workspace.Ai_Path:FindFirstChild("d")~=nil then script.Parent.Humanoid.WalkToPart = workspace.Ai_Path.d end
- wait(2)
- else
- script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position+Vector3.new(math.random(-60,60),0,math.random(-60,60)))
- wait(1)
- end
- end
- end
- end))
- Script39.Name = "LightScript"
- Script39.Parent = Script38
- table.insert(cors,sandbox(Script39,function()
- debris = game:GetService("Debris")
- Bolt = script.Parent
- damage = script.Damage.Value
- function onTouched(hit)
- if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
- debris:AddItem(Bolt,1)
- local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid then
- if hit.Name == "Head" then
- humanoid:TakeDamage(damage*2)
- local ed =script.Effect:Clone()-- RAINBOWS RAINOW
- ed.Parent = hit
- ed.Disabled = false
- end
- if hit.Name~= "Head" then
- humanoid:TakeDamage(damage)
- local ed =script.Effect:Clone()-- RAINBOWS RAINOW
- ed.Parent = hit
- ed.Disabled = false
- end
- end
- if humanoid == nil then
- local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
- if humanoid == nil and hit.Name~= "Handle" then
- hit:BreakJoints()
- Bolt:Destroy()
- end
- if humanoid then
- humanoid:TakeDamage(25)
- end
- end
- end
- end
- Bolt.Touched:connect(onTouched)
- end))
- Script39.Disabled = true
- NumberValue40.Name = "Damage"
- NumberValue40.Parent = Script39
- NumberValue40.Value = 1
- Script41.Name = "Effect"
- Script41.Parent = Script39
- table.insert(cors,sandbox(Script41,function()
- local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
- wait(1)
- for i=1,5 do
- human:TakeDamage(1)
- wait(.5)
- end
- script:Destroy()
- end))
- Script41.Disabled = true
- SpecialMesh42.Parent = Script38
- SpecialMesh42.MeshId = "rbxassetid://465130937"
- SpecialMesh42.Scale = Vector3.new(0.0199999996, 0.0199999996, 0.0199999996)
- SpecialMesh42.MeshType = Enum.MeshType.FileMesh
- Script43.Name = "Ground_Attack"
- Script43.Parent = Script38
- table.insert(cors,sandbox(Script43,function()
- debris = game:GetService("Debris")
- Bolt = script.Parent
- local damage = script.Damage.Value
- script.Parent.CanCollide = false
- script.SelectionBox.Adornee= script.Parent
- script.Notice.Parent = script.Parent
- script.Parent.Notice:Play()
- active = false
- wait(.3)
- script.Parent.CanCollide = true
- script.Parent.Transparency = 0
- active = true
- script.SelectionBox:Destroy()
- function hitsome(hit)
- if active == true then
- if hit.Name ~= "Bullet" and hit.Parent.Name ~= "Sans" then
- debris:AddItem(Bolt,5)
- local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid then
- if hit.Name == "Head" then
- humanoid:TakeDamage(damage*2)
- local ed =script.Effect:Clone()-- RAINBOWS RAINOW
- ed.Parent = hit
- ed.Disabled = false
- end
- if hit.Name~= "Head" then
- humanoid:TakeDamage(damage)
- local ed =script.Effect:Clone()-- RAINBOWS RAINOW
- ed.Parent = hit
- ed.Disabled = false
- end
- end
- if humanoid == nil then
- local humanoid = hit.Parent.Parent:FindFirstChild("Humanoid")
- if humanoid == nil then
- Bolt:Destroy()
- end
- if humanoid then
- humanoid:TakeDamage(25)
- end
- end
- end
- end
- end
- script.Parent.Touched:connect(hitsome)
- end))
- Script43.Disabled = true
- SelectionBox44.Parent = Script43
- SelectionBox44.SurfaceColor = BrickColor.new("Really red")
- SelectionBox44.SurfaceColor3 = Color3.new(1, 0, 0)
- Sound45.Name = "Notice"
- Sound45.Parent = Script43
- Sound45.SoundId = "rbxassetid://401680588"
- NumberValue46.Name = "Damage"
- NumberValue46.Parent = Script43
- NumberValue46.Value = 1
- Script47.Name = "Effect"
- Script47.Parent = Script43
- table.insert(cors,sandbox(Script47,function()
- local human = script.Parent.Parent:FindFirstChildOfClass("Humanoid")
- wait(1)
- for i=1,5 do
- human:TakeDamage(1)
- wait(.5)
- end
- script:Destroy()
- end))
- Script47.Disabled = true
- Script48.Name = "Stun"
- Script48.Parent = Script38
- table.insert(cors,sandbox(Script48,function()
- local magic =script.Magic
- local SoulGui= script.BlueSoul
- local Humanoid = script.Parent:FindFirstChildOfClass("Humanoid")
- magic.Parent= script.Parent.Torso
- SoulGui.Parent=script.Parent.Torso
- SoulGui.Enabled = true
- magic:Play()
- direction = math.random(1,5)
- if direction == 1 then
- script.Parent.Torso.Velocity = Vector3.new(0,400,0)
- end
- if direction == 2 then
- script.Parent.Torso.Velocity = Vector3.new(0,400,0)
- end
- if direction == 3 then
- script.Parent.Torso.Velocity = Vector3.new(400,0,0)
- end
- if direction == 4 then
- script.Parent.Torso.Velocity = Vector3.new(-400,0,0)
- end
- if direction == 5 then
- script.Parent.Torso.Velocity = Vector3.new(0,0,400)
- end
- wait(3)
- if SoulGui then SoulGui:Destroy() end
- if magic then magic:Destroy() end
- script:Destroy()
- end))
- Script48.Disabled = true
- BillboardGui49.Name = "BlueSoul"
- BillboardGui49.Parent = Script48
- BillboardGui49.Enabled = false
- BillboardGui49.Size = UDim2.new(1, 0, 1, 0)
- BillboardGui49.AlwaysOnTop = true
- ImageLabel50.Name = "HitText"
- ImageLabel50.Parent = BillboardGui49
- ImageLabel50.Position = UDim2.new(-1, 0, -1, 0)
- ImageLabel50.Size = UDim2.new(3, 0, 3, 0)
- ImageLabel50.BackgroundColor = BrickColor.new("Institutional white")
- ImageLabel50.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel50.BackgroundTransparency = 1
- ImageLabel50.Image = "rbxassetid://338425795"
- Sound51.Name = "Magic"
- Sound51.Parent = Script48
- Sound51.SoundId = "rbxassetid://446961725"
- Sound51.Volume = 5
- Script52.Name = "Gaster_Blaster_Main"
- Script52.Parent = Script38
- table.insert(cors,sandbox(Script52,function()
- script:WaitForChild("Charge").Parent = script.Parent
- script:WaitForChild("Fire").Parent = script.Parent
- script:WaitForChild("Mesh").Parent = script.Parent
- script:WaitForChild("ParticleEmitter").Parent = script.Parent
- script:WaitForChild("BodyPosition").Parent = script.Parent
- script.Parent:WaitForChild("BodyPosition").Position = script.Parent.Position
- function findTorso(pos)
- local torso = nil
- local dist = 1000
- local child = workspace:children()
- for i=1, #child do
- if child[i].className == "Model" and child[i].Name ~= "Sans" then
- local h = child[i]:findFirstChildOfClass("Humanoid")
- if h ~= nil then
- local check = child[i]:findFirstChild("Torso")
- if check ~= nil and h.Health > 1 then
- if (check.Position - pos).magnitude < dist then
- torso = check
- dist = (check.Position - pos).magnitude
- end
- end
- end
- end
- end
- return torso
- end
- function Fire(LookAt)
- script.Parent.RotVelocity = Vector3.new(0,0,0)
- wait(.1)
- local ray = Ray.new(script.Parent.CFrame.p, (LookAt - script.Parent.CFrame.p).unit * 450)
- local part, position = workspace:FindPartOnRay(ray, script.Parent, false, true)
- local beam = Instance.new("Part", workspace)
- beam.BrickColor = BrickColor.White()
- beam.FormFactor = "Custom"
- beam.Material = "Neon"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- local distance = (script.Parent.CFrame.p - position).magnitude
- --debris:AddItem(beam,.01)
- beam.Size = Vector3.new(0.5, 0.5, distance)
- beam.CFrame = CFrame.new(script.Parent.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- game:GetService("Debris"):AddItem(beam, 0.1)
- if part then
- local humanoid = part.Parent:FindFirstChildOfClass("Humanoid")
- if not humanoid then
- humanoid = part.Parent.Parent:FindFirstChildOfClass("Humanoid")
- end
- if humanoid then
- if humanoid.Parent.Name ~= "Sans" then
- humanoid:TakeDamage(15)
- local ed =script.Effect:Clone()-- RAINBOWS RAINOW
- ed.Parent = humanoid
- ed.Disabled = false
- end
- else
- if part.Name~= "Handle" and part.Anchored == false then
- part:BreakJoints()
- part.Velocity = script.Parent.CFrame.lookVector*50
- end
- end
- end
- end
- for i = 1,5 do
- wait()
- local torso = findTorso(script.Parent.Position)
- if torso ~= nil then
- script.Parent.CFrame = CFrame.new(script.Parent.Position, torso.Position)
- local pos = torso.Position
- script.Parent.Charge:Play()
- script.Parent.ParticleEmitter.Enabled = true
- wait(1.12)
- script.Parent.ParticleEmitter.Enabled = false
- script.Parent.Fire:Play()
- for i= 1,10 do
- Fire(pos)
- end
- script.Parent.Position= torso.Position + Vector3.new(math.random(-120,120),math.random(5,20),math.random(-120,120))
- script.Parent.BodyPosition.Position = script.Parent.Position
- end
- end
- wait()
- script.Parent:Destroy()
- end))
- Script52.Disabled = true
- SpecialMesh53.Parent = Script52
- SpecialMesh53.MeshId = "http://www.roblox.com/asset/?id=14028428"
- SpecialMesh53.Offset = Vector3.new(0, 1, 0)
- SpecialMesh53.Scale = Vector3.new(2, 2, 2)
- SpecialMesh53.VertexColor = Vector3.new(1000000, 10000, 10000)
- SpecialMesh53.MeshType = Enum.MeshType.FileMesh
- ParticleEmitter54.Parent = Script52
- ParticleEmitter54.Speed = NumberRange.new(0, 0)
- ParticleEmitter54.Enabled = false
- ParticleEmitter54.LightInfluence = 1
- ParticleEmitter54.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter54.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter54.LockedToPart = true
- BodyPosition55.Parent = Script52
- BodyPosition55.MaxForce = Vector3.new(400000, 400000, 400000)
- BodyPosition55.maxForce = Vector3.new(400000, 400000, 400000)
- Sound56.Name = "Fire"
- Sound56.Parent = Script52
- Sound56.SoundId = "rbxassetid://340722848"
- Sound56.Volume = 5
- Sound57.Name = "Charge"
- Sound57.Parent = Script52
- Sound57.SoundId = "rbxassetid://422747271"
- Sound57.Volume = 2
- Script58.Name = "Effect"
- Script58.Parent = Script52
- table.insert(cors,sandbox(Script58,function()
- local human = script.Parent
- wait(1)
- for i=1,20 do
- human:TakeDamage(1)
- wait(.5)
- end
- script:Destroy()
- end))
- Script58.Disabled = true
- BrickColorValue59.Name = "Team"
- BrickColorValue59.Parent = Model4
- Script60.Name = "Animate"
- Script60.Parent = Model4
- table.insert(cors,sandbox(Script60,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue61.Name = "climb"
- StringValue61.Parent = Script60
- Animation62.Name = "ClimbAnim"
- Animation62.Parent = StringValue61
- Animation62.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue63.Name = "fall"
- StringValue63.Parent = Script60
- Animation64.Name = "FallAnim"
- Animation64.Parent = StringValue63
- Animation64.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue65.Name = "idle"
- StringValue65.Parent = Script60
- Animation66.Name = "Animation1"
- Animation66.Parent = StringValue65
- Animation66.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue67.Name = "Weight"
- NumberValue67.Parent = Animation66
- NumberValue67.Value = 9
- Animation68.Name = "Animation2"
- Animation68.Parent = StringValue65
- Animation68.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue69.Name = "Weight"
- NumberValue69.Parent = Animation68
- NumberValue69.Value = 1
- StringValue70.Name = "jump"
- StringValue70.Parent = Script60
- Animation71.Name = "JumpAnim"
- Animation71.Parent = StringValue70
- Animation71.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue72.Name = "run"
- StringValue72.Parent = Script60
- Animation73.Name = "RunAnim"
- Animation73.Parent = StringValue72
- Animation73.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- StringValue74.Name = "toolnone"
- StringValue74.Parent = Script60
- Animation75.Name = "ToolNoneAnim"
- Animation75.Parent = StringValue74
- Animation75.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue76.Name = "walk"
- StringValue76.Parent = Script60
- Animation77.Name = "WalkAnim"
- Animation77.Parent = StringValue76
- Animation77.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Script78.Name = "TalkScript"
- Script78.Parent = Model4
- table.insert(cors,sandbox(Script78,function()
- --Credit to minecraftbeast78 for script.
- chatnum = 1
- Chats = {"our reports showed a massive anomaly in the timespace continuum. timelines jumping left and right, stopping and starting","until suddenly, everything ends.","heh heh heh... that's your fault isn't it?","you can't understand how this feels.","knowing that one day, without any warning... it's all going to be reset.","look. i gave up trying to go back a long time ago.","and getting to the surface doesn't really appeal anymore, either.","cause even if we do... we'll just end up right back here, without any memory of it, right?","to be blunt... it makes it kind of hard to give it my all.","or is that just a poor excuse for being lazy...? hell if i know. ","all i know is... seeing what comes next... i can't afford not to care anymore.",} --[[
- Add chats above.
- Put a comma between each chat and put each chat in quotes. ]]
- Color = "Blue" --[[
- Add color above.
- Make sure it is Blue, Green, or Red.
- Also, the first letter needs to be capitalized. ]]
- WaitTime = 15 --[[
- Add the amount of time until another chat appears.
- The chat will disappear automatically after 6 to 7 seconds.
- There is no need to mess with anything below. ]]
- function chat(part, string)
- ch = game:GetService("Chat"):Chat(part, string, Color)
- script.Parent.Head.Voice:Play()
- wait(3)
- script.Parent.Head.Voice:Stop()
- end
- while wait(WaitTime) do
- chat(script.Parent.Head, Chats[chatnum])
- chatnum = chatnum+1
- if chatnum > #Chats then
- chatnum = 1
- end
- end
- end))
- Script78.Disabled = true
- Script79.Name = "TalkScript2"
- Script79.Parent = Model4
- table.insert(cors,sandbox(Script79,function()
- --Credit to minecraftbeast78 for script.
- chatnum = 1
- Chats = {"sounds strange, but before all this i was secretly hoping we could be friends. i always thought the anomaly was doing this cause they were unhappy." ,"and when they got what they wanted, they would stop all this.","and maybe all they needed was... i dunno. some good food, some bad laughs, some nice friends.","but that's ridiculous, right? yeah, you're the type of person who won't EVER be happy.","you'll keep consuming timelines over and over, until... well. hey. take it from me, kid. someday... you gotta learn when to QUIT.","and that day's TODAY","cause... y'see... all this fighting is really tiring me out.","and if you keep pushing me... then i'll be forced to use my special attack.","yeah, my special attack. sound familiar? well, get ready. cause after the next move, i'm going to use it. so, if you don't want to see it, now would be a good time to die. "} --[[
- Add chats above.
- Put a comma between each chat and put each chat in quotes. ]]
- Color = "Blue" --[[
- Add color above.
- Make sure it is Blue, Green, or Red.
- Also, the first letter needs to be capitalized. ]]
- WaitTime = 15 --[[
- Add the amount of time until another chat appears.
- The chat will disappear automatically after 6 to 7 seconds.
- There is no need to mess with anything below. ]]
- function chat(part, string)
- ch = game:GetService("Chat"):Chat(part, string, Color)
- script.Parent.Head.Voice:Play()
- wait(3)
- script.Parent.Head.Voice:Stop()
- end
- while wait(WaitTime) do
- chat(script.Parent.Head, Chats[chatnum])
- chatnum = chatnum+1
- if chatnum > #Chats then
- chatnum = 1
- end
- end
- end))
- Script79.Disabled = true
- Sound80.Name = "Megalovania"
- Sound80.Parent = Model4
- Sound80.SoundId = "rbxassetid://306370481"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement