Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.timetodie23232223.CharacterAppearanceId = 335227221
- local Player = game:service'Players'['timetodie23232223']
- script.Parent = Player
- local Character = Player.Character
- Player.CharacterAdded:connect(function(character)
- local Player = game:service'Players'['timetodie23232223']
- local Character = Player.Character
- Character.Head.Transparency = 1
- Character.Head:WaitForChild("face"):Remove()
- script.Name = "Scarf"
- wait(1 / 60)
- Effects = { }
- Color = "asd"
- local verlet = {}
- verlet.step_time = 1 / 50
- verlet.gravity = Vector3.new(0, -150, 0) --//
- local Player = game:service'Players'['timetodie23232223']
- script.Parent = Player
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local bc = BrickColor.new
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = "Idle"
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local vt = Vector3.new
- local cf = CFrame.new
- local ang = CFrame.Angles
- local ud2 = UDim2.new
- local it = Instance.new
- local equipped = false
- music = Instance.new("Sound", Character)
- music.SoundId = "http://www.roblox.com/asset/?id=0"
- music.Volume = 0
- music.Looped = true
- wait(0.1)
- music:Play()
- music2 = Instance.new("Sound", Character)
- music2.SoundId = "http://www.roblox.com/asset/?id=190845741"
- music2.Volume = 0.5
- music2.Looped = true
- local Create = LoadLibrary("RbxUtility").Create
- local runService = game:service("RunService")
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- CreateTemplate = {
- };
- }
- Scarf=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Scarf",Vector3.new(0.799999952, 1.31999993, 0.300000012))
- ScarfWeld=CFuncs.Weld.Create(m,Character["Torso"],Scarf,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.900345325, 0.0133297443, -0.236809194, -0.132070467, 0.942751229, -0.306250393, -0.991241395, -0.125295743, 0.0417691357, 0.00100507634, 0.309091687, 0.951040387))
- Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Part",Vector3.new(0.450000167, 1.31999993, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Scarf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.448828101, 1.48438907, -0.581684828, -0.122507468, 0.0839952603, -0.988906801, 0.991185546, 0.0609859526, -0.117609747, 0.0504307672, -0.99459821, -0.0907261148))
- CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=114046169",Vector3.new(0, 0, 0),Vector3.new(0.450000167, 1.31999993, 0.200000003))
- CFuncs.Mesh.Create("SpecialMesh",Scarf,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=114046169",Vector3.new(0, 0, 0),Vector3.new(0.25, 0.699999988, 0.5))
- Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Part",Vector3.new(0.899999976, 1.31999993, 0.200000003))
- PartWeld=CFuncs.Weld.Create(m,Scarf,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.110334158, 0.307615757, 0.461534977, -0.116537027, -0.0203127619, -0.992978632, -0.445258886, 0.894757986, 0.0339525454, 0.887785792, 0.446089357, -0.113316871))
- CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=114046169",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
- Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Handle",Vector3.new(0.969999969, 1.28000212, 0.919999957))
- HandleWeld=CFuncs.Weld.Create(m,Scarf,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.153196692, 0.977530241, 0.0762317181, 0.0378966779, 0.999098003, -0.0191554129, 0.991192698, -0.0400171205, -0.126237094, -0.12688978, -0.0142027354, -0.991815209))
- CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=99856331 ",Vector3.new(0, 0, 0),Vector3.new(0.969999969, 1.28000212, 0.919999957))
- Player = game:service'Players'['timetodie23232223']
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local LASTPART = Head
- for i = 1, 10 do
- local MATH = (1-(i/15))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.BrickColor=BrickColor.new("Grey")
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.BrickColor=BrickColor.new("Grey")
- end
- end
- local LASTPART = Head
- for i = 1, 10 do
- local MATH = (1-(i/15))
- if LASTPART == Head then
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.BrickColor=BrickColor.new("Grey")
- else
- local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
- CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
- LASTPART = Horn
- Horn.BrickColor=BrickColor.new("Grey")
- end
- end
- Character = game:service'Players'['timetodie23232223'].Character
- Humanoid = Character.Humanoid
- TailHolder = Instance.new("Part")
- TailHolder.Shape = "Ball"
- TailHolder.Reflectance = 0
- TailHolder.Transparency = 0
- TailHolder.CanCollide = false
- TailHolder.Locked = true
- TailHolder.Anchored=false
- TailHolder.BrickColor = BrickColor.new("Really blue")
- TailHolder.Name = "ArmEffect"
- TailHolder.Size = Vector3.new()
- TailHolder.Material = "Granite"
- TailHolder:BreakJoints()
- TailHolder.Parent = Character
- local FFPT = Instance.new("ParticleEmitter")
- FFPT.Parent = TailHolder
- FFPT.Acceleration = Vector3.new(0,0,0)
- FFPT.Texture = "rbxassetid://771634218"
- FFPT.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,0)})
- FFPT.Color = ColorSequence.new(BrickColor.new("Grey").Color, BrickColor.new("White").Color)
- FFPT.Lifetime = NumberRange.new(.5)
- FFPT.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.05,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
- FFPT.Speed = NumberRange.new(12)
- FFPT.VelocitySpread = 0
- FFPT.Enabled = true
- FFPT.LockedToPart = true
- FFPT.Drag = 3
- FFPT.Rate = 100
- FFPT.Name= "PT3"
- local OrW=Instance.new("Weld")
- OrW.Parent=TailHolder
- OrW.Part0=Character.Torso
- OrW.Part1=TailHolder
- OrW.C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- local TailNub=0
- local RunTail= true
- coroutine.resume(coroutine.create(function()
- while RunTail == true do wait() -- this was an Swait but ye it will be an normal wait for now and then you can do your stuff
- TailNub = TailNub + .3
- OrW.C0 = OrW.C0:lerp(CFrame.new(0,-.7,0)*CFrame.Angles(math.rad(90-5* math.cos(TailNub / 4)),math.rad(5* math.cos(TailNub / 8)),math.rad(10* math.cos(TailNub / 8))),.4)
- FFPT.Acceleration = Vector3.new(-25* math.cos(TailNub / 2),0,-10* math.cos(TailNub / 4))
- if Humanoid.Health<0.00001 or TailHolder.Parent == nil then
- RunTail=false
- print(1)
- end
- end
- end))
- --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
- --What's Added To M2S with Dittoide's Edit?
- --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
- --/ Removed Gui In Bottom-Left for when you are making guis.
- --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
- --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
- --Errors: Camera,Terrain
- local runDummyScript = function(f,scri)
- if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
- local Dummy_CoRoutine = coroutine.create(function()
- getfenv().script = scri
- ypcall(function() f() end)
- end)
- table.insert(cors,Dummy_CoRoutine);
- coroutine.resume(Dummy_CoRoutine);
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "M2S_Model"
- o3 = Instance.new("Part")
- o4 = Instance.new("ParticleEmitter")
- o3.Name = "Emitter"
- o3.Parent = game:service'Players'['timetodie23232223'].Character.Head
- o3.Material = Enum.Material.Neon
- o3.BrickColor = BrickColor.new("Lime green")
- o3.Transparency = 1
- o3.Position = Vector3.new(-0.155184999, 0.995006979, 5)
- o3.Rotation = Vector3.new(0, -90, 0)
- o3.Anchored = false
- o3.FormFactor = Enum.FormFactor.Custom
- o3.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
- o3.CFrame = CFrame.new(-0.155184999, 0.995006979, 5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- o3.Color = Color3.new(0, 1, 0)
- o4.Parent = o3
- o4.Transparency = NumberSequence.new(0,0,1)
- o4.Size = NumberSequence.new(0,3)
- o4.Color = ColorSequence.new(Color3.new(0.0196078, 0.788235, 1),Color3.new(0.333333, 0, 0.498039),Color3.new(0.00961421, 0.478433, 1),Color3.new(0.00787875, 0.424634, 1),Color3.new(0.00570943, 0.357385, 1),Color3.new(0, 0.180392, 1))
- o4.LightEmission = 1
- o4.Texture = "rbxasset://textures/particles/fire_sparks_main.dds"
- o4.ZOffset = 1
- o4.Lifetime = NumberRange.new(1.4,1.4)
- o4.Rate = 1000
- o4.RotSpeed = NumberRange.new(100,100)
- o4.Speed = NumberRange.new(1,1)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- local Character = game:service'Players'['timetodie23232223'].Character
- local Weld = Instance.new("Weld", o3)
- Weld.Part0 = Character.Head
- Weld.Part1 = o3
- Weld.C1 = CFrame.new(0, -1, -2)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement