Advertisement
lafur

Untitled

Mar 28th, 2019
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. game.Players.timetodie23232223.CharacterAppearanceId = 335227221
  14. local Player = game:service'Players'['timetodie23232223']
  15. script.Parent = Player
  16. local Character = Player.Character
  17. Player.CharacterAdded:connect(function(character)
  18. local Player = game:service'Players'['timetodie23232223']
  19. local Character = Player.Character
  20. Character.Head.Transparency = 1
  21. Character.Head:WaitForChild("face"):Remove()
  22.  
  23.  
  24.  
  25. script.Name = "Scarf"
  26. wait(1 / 60)
  27. Effects = { }
  28.  
  29.  
  30.  
  31. Color = "asd"
  32.  
  33.  
  34.  
  35.  
  36.  
  37. local verlet = {}
  38. verlet.step_time = 1 / 50
  39. verlet.gravity = Vector3.new(0, -150, 0) --//
  40. local Player = game:service'Players'['timetodie23232223']
  41. script.Parent = Player
  42. local Character = Player.Character
  43. local Humanoid = Character.Humanoid
  44. local Mouse = Player:GetMouse()
  45. local LeftArm = Character["Left Arm"]
  46. local RightArm = Character["Right Arm"]
  47. local LeftLeg = Character["Left Leg"]
  48. local RightLeg = Character["Right Leg"]
  49. local Head = Character.Head
  50. local Torso = Character.Torso
  51. local bc = BrickColor.new
  52. local Camera = game.Workspace.CurrentCamera
  53. local RootPart = Character.HumanoidRootPart
  54. local RootJoint = RootPart.RootJoint
  55. local attack = false
  56. local Anim = "Idle"
  57. local attacktype = 1
  58. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  59. local velocity = RootPart.Velocity.y
  60. local sine = 0
  61. local change = 1
  62. local vt = Vector3.new
  63. local cf = CFrame.new
  64. local ang = CFrame.Angles
  65. local ud2 = UDim2.new
  66. local it = Instance.new
  67.  
  68. local equipped = false
  69.  
  70. music = Instance.new("Sound", Character)
  71. music.SoundId = "http://www.roblox.com/asset/?id=0"
  72. music.Volume = 0
  73. music.Looped = true
  74. wait(0.1)
  75. music:Play()
  76.  
  77. music2 = Instance.new("Sound", Character)
  78. music2.SoundId = "http://www.roblox.com/asset/?id=190845741"
  79. music2.Volume = 0.5
  80. music2.Looped = true
  81. local Create = LoadLibrary("RbxUtility").Create
  82. local runService = game:service("RunService")
  83.  
  84. local m = Create("Model"){
  85. Parent = Character,
  86. Name = "WeaponModel",
  87. }
  88.  
  89.  
  90.  
  91. function RemoveOutlines(part)
  92. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  93. end
  94.  
  95. CFuncs = {
  96. Part = {
  97. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  98. local Part = Create("Part"){
  99. Parent = Parent,
  100. Reflectance = Reflectance,
  101. Transparency = Transparency,
  102. CanCollide = false,
  103. Locked = true,
  104. BrickColor = BrickColor.new(tostring(BColor)),
  105. Name = Name,
  106. Size = Size,
  107. Material = Material,
  108. }
  109. RemoveOutlines(Part)
  110. return Part
  111. end;
  112. };
  113.  
  114. Mesh = {
  115. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  116. local Msh = Create(Mesh){
  117. Parent = Part,
  118. Offset = OffSet,
  119. Scale = Scale,
  120. }
  121. if Mesh == "SpecialMesh" then
  122. Msh.MeshType = MeshType
  123. Msh.MeshId = MeshId
  124. end
  125. return Msh
  126. end;
  127. };
  128.  
  129. Weld = {
  130. Create = function(Parent, Part0, Part1, C0, C1)
  131. local Weld = Create("Weld"){
  132. Parent = Parent,
  133. Part0 = Part0,
  134. Part1 = Part1,
  135. C0 = C0,
  136. C1 = C1,
  137. }
  138. return Weld
  139. end;
  140. };
  141. CreateTemplate = {
  142.  
  143. };
  144. }
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151. Scarf=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Scarf",Vector3.new(0.799999952, 1.31999993, 0.300000012))
  152. 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))
  153. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Part",Vector3.new(0.450000167, 1.31999993, 0.200000003))
  154. 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))
  155. 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))
  156. 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))
  157. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Part",Vector3.new(0.899999976, 1.31999993, 0.200000003))
  158. 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))
  159. 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))
  160. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,Color,"Handle",Vector3.new(0.969999969, 1.28000212, 0.919999957))
  161. 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))
  162. 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))
  163.  
  164.  
  165.  
  166. Player = game:service'Players'['timetodie23232223']
  167. PlayerGui = Player.PlayerGui
  168. Cam = workspace.CurrentCamera
  169. Backpack = Player.Backpack
  170. Character = Player.Character
  171. Humanoid = Character.Humanoid
  172. Mouse = Player:GetMouse()
  173. RootPart = Character["HumanoidRootPart"]
  174. Torso = Character["Torso"]
  175. Head = Character["Head"]
  176. RightArm = Character["Right Arm"]
  177. LeftArm = Character["Left Arm"]
  178. RightLeg = Character["Right Leg"]
  179. LeftLeg = Character["Left Leg"]
  180. RootJoint = RootPart["RootJoint"]
  181. Neck = Torso["Neck"]
  182. RightShoulder = Torso["Right Shoulder"]
  183. LeftShoulder = Torso["Left Shoulder"]
  184. RightHip = Torso["Right Hip"]
  185. LeftHip = Torso["Left Hip"]
  186.  
  187. IT = Instance.new
  188. CF = CFrame.new
  189. VT = Vector3.new
  190. RAD = math.rad
  191. C3 = Color3.new
  192. UD2 = UDim2.new
  193. BRICKC = BrickColor.new
  194. ANGLES = CFrame.Angles
  195.  
  196.  
  197.  
  198. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  199. local NEWPART = IT("Part")
  200. NEWPART.formFactor = FORMFACTOR
  201. NEWPART.Reflectance = REFLECTANCE
  202. NEWPART.Transparency = TRANSPARENCY
  203. NEWPART.CanCollide = false
  204. NEWPART.Locked = true
  205. NEWPART.Anchored = true
  206. if ANCHOR == false then
  207. NEWPART.Anchored = false
  208. end
  209. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  210. NEWPART.Name = NAME
  211. NEWPART.Size = SIZE
  212. NEWPART.Position = Torso.Position
  213. NEWPART.Material = MATERIAL
  214. NEWPART:BreakJoints()
  215. NEWPART.Parent = PARENT
  216. return NEWPART
  217. end
  218.  
  219. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  220. local NEWWELD = IT(TYPE)
  221. NEWWELD.Part0 = PART0
  222. NEWWELD.Part1 = PART1
  223. NEWWELD.C0 = C0
  224. NEWWELD.C1 = C1
  225. NEWWELD.Parent = PARENT
  226. return NEWWELD
  227. end
  228.  
  229. local LASTPART = Head
  230. for i = 1, 10 do
  231. local MATH = (1-(i/15))
  232. if LASTPART == Head then
  233. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  234. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  235. LASTPART = Horn
  236. Horn.BrickColor=BrickColor.new("Grey")
  237. else
  238. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  239. 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))
  240. LASTPART = Horn
  241. Horn.BrickColor=BrickColor.new("Grey")
  242. end
  243. end
  244. local LASTPART = Head
  245. for i = 1, 10 do
  246. local MATH = (1-(i/15))
  247. if LASTPART == Head then
  248. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  249. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  250. LASTPART = Horn
  251. Horn.BrickColor=BrickColor.new("Grey")
  252. else
  253. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Grey", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  254. 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))
  255. LASTPART = Horn
  256. Horn.BrickColor=BrickColor.new("Grey")
  257. end
  258. end
  259.  
  260.  
  261.  
  262. Character = game:service'Players'['timetodie23232223'].Character
  263. Humanoid = Character.Humanoid
  264.  
  265.  
  266.  
  267. TailHolder = Instance.new("Part")
  268. TailHolder.Shape = "Ball"
  269. TailHolder.Reflectance = 0
  270. TailHolder.Transparency = 0
  271. TailHolder.CanCollide = false
  272. TailHolder.Locked = true
  273. TailHolder.Anchored=false
  274. TailHolder.BrickColor = BrickColor.new("Really blue")
  275. TailHolder.Name = "ArmEffect"
  276. TailHolder.Size = Vector3.new()
  277. TailHolder.Material = "Granite"
  278. TailHolder:BreakJoints()
  279. TailHolder.Parent = Character
  280.  
  281.  
  282.  
  283.  
  284. local FFPT = Instance.new("ParticleEmitter")
  285. FFPT.Parent = TailHolder
  286. FFPT.Acceleration = Vector3.new(0,0,0)
  287. FFPT.Texture = "rbxassetid://771634218"
  288.  
  289. FFPT.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,0)})
  290. FFPT.Color = ColorSequence.new(BrickColor.new("Grey").Color, BrickColor.new("White").Color)
  291. FFPT.Lifetime = NumberRange.new(.5)
  292. FFPT.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.05,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)})
  293. FFPT.Speed = NumberRange.new(12)
  294.  
  295.  
  296.  
  297. FFPT.VelocitySpread = 0
  298. FFPT.Enabled = true
  299. FFPT.LockedToPart = true
  300. FFPT.Drag = 3
  301. FFPT.Rate = 100
  302. FFPT.Name= "PT3"
  303.  
  304.  
  305. local OrW=Instance.new("Weld")
  306. OrW.Parent=TailHolder
  307. OrW.Part0=Character.Torso
  308. OrW.Part1=TailHolder
  309. OrW.C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  310. local TailNub=0
  311.  
  312. local RunTail= true
  313. coroutine.resume(coroutine.create(function()
  314. 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
  315. TailNub = TailNub + .3
  316. 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)
  317. FFPT.Acceleration = Vector3.new(-25* math.cos(TailNub / 2),0,-10* math.cos(TailNub / 4))
  318. if Humanoid.Health<0.00001 or TailHolder.Parent == nil then
  319. RunTail=false
  320. print(1)
  321. end
  322.  
  323. end
  324. end))
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375. --Created by PenguinAnonymous (ttyyuu12345) Editied by Dittoide
  376. --What's Added To M2S with Dittoide's Edit?
  377. --/ Better dummy script function to improve compatibility (makes it like you are running the code inside the script.)
  378. --/ Removed Gui In Bottom-Left for when you are making guis.
  379. --/ Removed "Inserting Map Please Wait" gui when selected Workspace as Place to export.
  380. --Credit: PenguinAnonymous for making original script, i just wanted to iron it out to my liking.
  381. --Errors: Camera,Terrain
  382. local runDummyScript = function(f,scri)
  383. if (not scri:IsA('Script')) or (not scri:IsA('LocalScript')) then return false; end;
  384. local Dummy_CoRoutine = coroutine.create(function()
  385. getfenv().script = scri
  386. ypcall(function() f() end)
  387. end)
  388. table.insert(cors,Dummy_CoRoutine);
  389. coroutine.resume(Dummy_CoRoutine);
  390. end
  391. cors = {}
  392. mas = Instance.new("Model",game:GetService("Lighting"))
  393. mas.Name = "M2S_Model"
  394. o3 = Instance.new("Part")
  395. o4 = Instance.new("ParticleEmitter")
  396. o3.Name = "Emitter"
  397. o3.Parent = game:service'Players'['timetodie23232223'].Character.Head
  398. o3.Material = Enum.Material.Neon
  399. o3.BrickColor = BrickColor.new("Lime green")
  400. o3.Transparency = 1
  401. o3.Position = Vector3.new(-0.155184999, 0.995006979, 5)
  402. o3.Rotation = Vector3.new(0, -90, 0)
  403. o3.Anchored = false
  404. o3.FormFactor = Enum.FormFactor.Custom
  405. o3.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  406. o3.CFrame = CFrame.new(-0.155184999, 0.995006979, 5, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  407. o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  408. o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  409. o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  410. o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  411. o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  412. o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  413. o3.Color = Color3.new(0, 1, 0)
  414. o4.Parent = o3
  415. o4.Transparency = NumberSequence.new(0,0,1)
  416. o4.Size = NumberSequence.new(0,3)
  417. 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))
  418. o4.LightEmission = 1
  419. o4.Texture = "rbxasset://textures/particles/fire_sparks_main.dds"
  420. o4.ZOffset = 1
  421. o4.Lifetime = NumberRange.new(1.4,1.4)
  422. o4.Rate = 1000
  423. o4.RotSpeed = NumberRange.new(100,100)
  424. o4.Speed = NumberRange.new(1,1)
  425. mas.Parent = workspace
  426. mas:MakeJoints()
  427. local mas1 = mas:GetChildren()
  428. for i=1,#mas1 do
  429. mas1[i].Parent = workspace
  430. ypcall(function() mas1[i]:MakeJoints() end)
  431. end
  432. mas:Destroy()
  433. for i=1,#cors do
  434. coroutine.resume(cors[i])
  435. end
  436.  
  437. local Character = game:service'Players'['timetodie23232223'].Character
  438.  
  439. local Weld = Instance.new("Weld", o3)
  440. Weld.Part0 = Character.Head
  441. Weld.Part1 = o3
  442. Weld.C1 = CFrame.new(0, -1, -2)
  443.  
  444. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement