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