SHOW:
|
|
- or go back to the newest paste.
1 | Character = game.Players.LocalPlayer.Character | |
2 | Head = Character.Head | |
3 | hum = Character:FindFirstChildOfClass'Humanoid' | |
4 | hum.BodyDepthScale.Value = 4 | |
5 | hum.BodyHeightScale.Value = 4 | |
6 | hum.BodyWidthScale.Value = 4 | |
7 | hum.HeadScale.Value = 4 | |
8 | ||
9 | ||
10 | ||
11 | ||
12 | for _, a in pairs(char:children()) do | |
13 | if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then | |
14 | a:Destroy() | |
15 | end | |
16 | end | |
17 | ||
18 | - | bc = char:FindFirstChild('Body Colors') |
18 | + | bc = Character:FindFirstChild('Body Colors') |
19 | bc.HeadColor = BrickColor.new('White') | |
20 | bc.LeftArmColor = BrickColor.new('White') | |
21 | bc.RightArmColor = BrickColor.new('White') | |
22 | bc.LeftLegColor = BrickColor.new('White') | |
23 | bc.RightLegColor = BrickColor.new('White') | |
24 | bc.TorsoColor = BrickColor.new('White') | |
25 | ||
26 | local p1 = Instance.new('Part', char) | |
27 | p1.Anchored = false | |
28 | p1.CanCollide = false | |
29 | p1.BrickColor = BrickColor.new('Rust') | |
30 | local w = Instance.new('Weld', p1) | |
31 | w.Part0 = p1 | |
32 | w.Part1 = char:FindFirstChild'Head' | |
33 | w.C0 = CFrame.new(0,1,-1.3) | |
34 | local m1 = Instance.new('SpecialMesh', p1) | |
35 | m1.MeshId = "rbxassetid://0" | |
36 | m1.TextureId = " " | |
37 | m1.Scale = Vector3.new(6,5,5) | |
38 | ||
39 | local p = Instance.new('Part', char) | |
40 | p.Anchored = false | |
41 | p.CanCollide = false | |
42 | local w = Instance.new('Weld', p) | |
43 | w.Part0 = p | |
44 | w.Part1 = char:FindFirstChild'Head' | |
45 | w.C0 = CFrame.new(0, -0.35, 0) | |
46 | local m = Instance.new('SpecialMesh', p) | |
47 | m.MeshId = "http://www.roblox.com/asset/?id=" | |
48 | m.TextureId = "rbxassetid://" | |
49 | m.Scale = Vector3.new(1.01, 1.01, 1.01) | |
50 | ||
51 | - | char.Head:FindFirstChild('face').Texture = "rbxassetid://" |
51 | + | Character.Head:FindFirstChild('face').Texture = "rbxassetid://" |
52 | ||
53 | - | char.Archivable = false |
53 | + | Character.Archivable = false |
54 | ||
55 | ||
56 | CV="White" | |
57 | p = game.Players.LocalPlayer | |
58 | char = p.Character | |
59 | local txt = Instance.new("BillboardGui", char) | |
60 | txt.Adornee = char .Head | |
61 | txt.Name = "_status" | |
62 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
63 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
64 | local text = Instance.new("TextLabel", txt) | |
65 | text.Size = UDim2.new(10, 0, 7, 0) | |
66 | text.FontSize = "Size24" | |
67 | text.TextScaled = true | |
68 | text.TextTransparency = 0 | |
69 | text.BackgroundTransparency = 1 | |
70 | text.TextTransparency = 0 | |
71 | text.TextStrokeTransparency = 0 | |
72 | text.Font = "Cartoon" | |
73 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
74 | ||
75 | v=Instance.new("Part") | |
76 | v.Name = "ColorBrick" | |
77 | v.Parent=p.Character | |
78 | v.FormFactor="Symmetric" | |
79 | v.Anchored=true | |
80 | v.CanCollide=false | |
81 | v.BottomSurface="Smooth" | |
82 | v.TopSurface="Smooth" | |
83 | v.Size=Vector3.new(10,5,3) | |
84 | v.Transparency=1 | |
85 | v.CFrame=char.UpperTorso.CFrame | |
86 | v.BrickColor=BrickColor.new(CV) | |
87 | v.Transparency=1 | |
88 | text.TextColor3 = Color3.new(1,1,1) | |
89 | v.Shape="Block" | |
90 | text.Text = " " | |
91 | local s = Instance.new("Sound",char) | |
92 | s.Name = "BGMusic" | |
93 | s.SoundId = "rbxassetid://0" | |
94 | s.Pitch = 0 | |
95 | s.Volume = 0 | |
96 | s.Looped = true | |
97 | s.archivable = false | |
98 | s.Parent = char.Head | |
99 | wait(0.1) | |
100 | s:play() | |
101 | ||
102 | game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=0" | |
103 | ||
104 | char.Humanoid.WalkSpeed = 50 | |
105 | wait(1 / 60) | |
106 | -- Trail Made by WitherBlazestorm2 | |
107 | --R15 Compatible in TrailSettings | |
108 | local Player = game:GetService('Players').LocalPlayer | |
109 | repeat wait() until Player.Character | |
110 | local Character = Player.Character | |
111 | ||
112 | --All The Settings for Trails in this Script | |
113 | TrailSettings = { | |
114 | Lifetime = 0.5, | |
115 | Texture = 'rbxassetid://31270182', | |
116 | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body | |
117 | Color1 = ColorSequence.new(BrickColor.new('White').Color,BrickColor.new('Pastel violet').Color), | |
118 | Color2 = ColorSequence.new(BrickColor.new('Really blue').Color,BrickColor.new('Pastel light blue').Color), | |
119 | AllBody = true, | |
120 | UpperBodyOnly = false, | |
121 | LowerBodyOnly = false, | |
122 | Accessories = false, | |
123 | Extras = true, | |
124 | R15 = true, --Change to true if you're using R15 | |
125 | R15Parts = { | |
126 | 'UpperTorso', | |
127 | 'LowerTorso', | |
128 | } | |
129 | } | |
130 | ||
131 | local Trail; --Making other Trails uses this in this Script | |
132 | ||
133 | --UpperBody Function | |
134 | UpperBody = function() | |
135 | if TrailSettings.R15 == false then | |
136 | A0 = Instance.new('Attachment',Character.Torso) | |
137 | A1 = Instance.new('Attachment',Character.Head) | |
138 | A2 = Instance.new('Attachment',Character['Right Arm']) | |
139 | A3 = Instance.new('Attachment',Character['Left Arm']) | |
140 | Trail = Instance.new('Trail',Character) | |
141 | Trail.Attachment0 = A0 | |
142 | Trail.Attachment1 = A1 | |
143 | Trail.Texture = TrailSettings.Texture | |
144 | Trail.Color = TrailSettings.Color1 | |
145 | Trail.Lifetime = TrailSettings.Lifetime | |
146 | local Trail2 = Trail:Clone() | |
147 | Trail2.Parent = Character | |
148 | Trail2.Attachment1 = A2 | |
149 | local Trail3 = Trail:Clone() | |
150 | Trail3.Parent = Character | |
151 | Trail3.Attachment1 = A3 | |
152 | local Trail6 = Trail:Clone() | |
153 | Trail6.Parent = Character | |
154 | Trail6.Attachment0 = A1 | |
155 | Trail6.Attachment1 = A2 | |
156 | local Trail7 = Trail:Clone() | |
157 | Trail7.Parent = Character | |
158 | Trail7.Attachment0 = A1 | |
159 | Trail7.Attachment1 = A3 | |
160 | else | |
161 | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) | |
162 | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) | |
163 | A1 = Instance.new('Attachment',Character.Head) | |
164 | A2 = Instance.new('Attachment',Character['RightUpperArm']) | |
165 | A2R = Instance.new('Attachment',Character['RightLowerArm']) | |
166 | A3 = Instance.new('Attachment',Character['LeftUpperArm']) | |
167 | A3R = Instance.new('Attachment',Character['LeftLowerArm']) | |
168 | Trail = Instance.new('Trail',Character) | |
169 | Trail.Attachment0 = A0 | |
170 | Trail.Attachment1 = A1 | |
171 | Trail.Texture = TrailSettings.Texture | |
172 | Trail.Color = TrailSettings.Color1 | |
173 | Trail.Lifetime = TrailSettings.Lifetime | |
174 | local Trail2 = Trail:Clone() | |
175 | Trail2.Parent = Character | |
176 | Trail2.Attachment1 = A2 | |
177 | local Trail3 = Trail:Clone() | |
178 | Trail3.Parent = Character | |
179 | Trail3.Attachment1 = A3 | |
180 | local Trail6 = Trail:Clone() | |
181 | Trail6.Parent = Character | |
182 | Trail6.Attachment0 = A1 | |
183 | Trail6.Attachment1 = A2 | |
184 | local Trail7 = Trail:Clone() | |
185 | Trail7.Parent = Character | |
186 | Trail7.Attachment0 = A1 | |
187 | Trail7.Attachment1 = A3 | |
188 | --R15 Trails | |
189 | local Trail1R = Trail:Clone() | |
190 | Trail1R.Parent = Character | |
191 | Trail1R.Attachment1 = A2R | |
192 | local Trail2R = Trail:Clone() | |
193 | Trail2R.Parent = Character | |
194 | Trail2R.Attachment1 = A3R | |
195 | local Trail6R = Trail:Clone() | |
196 | Trail6.Parent = Character | |
197 | Trail6.Attachment0 = A1 | |
198 | Trail6.Attachment1 = A2R | |
199 | local Trail7R = Trail:Clone() | |
200 | Trail7.Parent = Character | |
201 | Trail7.Attachment0 = A1 | |
202 | Trail7.Attachment1 = A3R | |
203 | end | |
204 | end | |
205 | ||
206 | --Lower Body Function | |
207 | LowerBody = function() | |
208 | if TrailSettings.R15 == false then | |
209 | A4 = Instance.new('Attachment',Character['Right Leg']) | |
210 | A5 = Instance.new('Attachment',Character['Left Leg']) | |
211 | local Trail4 = Trail:Clone() | |
212 | Trail4.Parent = Character | |
213 | Trail4.Attachment1 = A4 | |
214 | local Trail5 = Trail:Clone() | |
215 | Trail5.Parent = Character | |
216 | Trail5.Attachment1 = A5 | |
217 | local Trail8 = Trail:Clone() | |
218 | Trail8.Parent = Character | |
219 | Trail8.Attachment0 = A2 | |
220 | Trail8.Attachment1 = A4 | |
221 | Trail8.Color = TrailSettings.Color2 | |
222 | local Trail9 = Trail:Clone() | |
223 | Trail9.Parent = Character | |
224 | Trail9.Attachment0 = A3 | |
225 | Trail9.Attachment1 = A5 | |
226 | Trail9.Color = TrailSettings.Color2 | |
227 | local FT = Trail:Clone() | |
228 | FT.Parent = Character | |
229 | FT.Attachment0 = A4 | |
230 | FT.Attachment1 = A5 | |
231 | FT.Color = TrailSettings.Color2 | |
232 | else | |
233 | A4 = Instance.new('Attachment',Character['RightLowerLeg']) | |
234 | A4R = Instance.new('Attachment',Character['RightUpperLeg']) | |
235 | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) | |
236 | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) | |
237 | local Trail4 = Trail:Clone() | |
238 | Trail4.Parent = Character | |
239 | Trail4.Attachment1 = A4 | |
240 | local Trail5 = Trail:Clone() | |
241 | Trail5.Parent = Character | |
242 | Trail5.Attachment1 = A5 | |
243 | local Trail8 = Trail:Clone() | |
244 | Trail8.Parent = Character | |
245 | Trail8.Attachment0 = A2 | |
246 | Trail8.Attachment1 = A4 | |
247 | Trail8.Color = TrailSettings.Color2 | |
248 | local Trail9 = Trail:Clone() | |
249 | Trail9.Parent = Character | |
250 | Trail9.Attachment0 = A3 | |
251 | Trail9.Attachment1 = A5 | |
252 | Trail9.Color = TrailSettings.Color2 | |
253 | local FT = Trail:Clone() | |
254 | FT.Parent = Character | |
255 | FT.Attachment0 = A4 | |
256 | FT.Attachment1 = A5 | |
257 | FT.Color = TrailSettings.Color2 | |
258 | --R15 Trails | |
259 | local Trail3R = Trail:Clone() | |
260 | Trail3R.Parent = Character | |
261 | Trail3R.Attachment1 = A4R | |
262 | local Trail4R = Trail:Clone() | |
263 | Trail4R.Parent = Character | |
264 | Trail4R.Attachment1 = A5R | |
265 | local Trail8 = Trail:Clone() | |
266 | Trail8.Parent = Character | |
267 | Trail8.Attachment0 = A2R | |
268 | Trail8.Attachment1 = A4R | |
269 | Trail8.Color = TrailSettings.Color2 | |
270 | local Trail9 = Trail:Clone() | |
271 | Trail9.Parent = Character | |
272 | Trail9.Attachment0 = A3R | |
273 | Trail9.Attachment1 = A5R | |
274 | Trail9.Color = TrailSettings.Color2 | |
275 | local FT2R = Trail:Clone() | |
276 | FT2R.Parent = Character | |
277 | FT2R.Attachment0 = A4R | |
278 | FT2R.Attachment1 = A5R | |
279 | FT2R.Color = TrailSettings.Color2 | |
280 | end | |
281 | end | |
282 | ||
283 | --All Body Function calling Both Functions | |
284 | AllBody = function() | |
285 | UpperBody() | |
286 | LowerBody() | |
287 | end | |
288 | ||
289 | --Checking to make sure that Only some Variables are Selected else do All Body | |
290 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
291 | TrailSettings.UpperBodyOnly = false | |
292 | TrailSettings.LowerBodyOnly = false | |
293 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
294 | TrailSettings.UpperBodyOnly = false | |
295 | TrailSettings.LowerBodyOnly = false | |
296 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
297 | TrailSettings.UpperBodyOnly = false | |
298 | TrailSettings.LowerBodyOnly = false | |
299 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
300 | TrailSettings.AllBody = true | |
301 | TrailSettings.UpperBodyOnly = false | |
302 | TrailSettings.LowerBodyOnly = false | |
303 | end | |
304 | ||
305 | --Call Trail Functions | |
306 | if TrailSettings.UpperBodyOnly == true then | |
307 | UpperBody() | |
308 | print('Called Upper Body Trail') | |
309 | elseif TrailSettings.LowerBodyOnly == true then | |
310 | LowerBody() | |
311 | print('Called Lower Body Trail') | |
312 | elseif TrailSettings.AllBody == true then | |
313 | AllBody() | |
314 | print('Called Full Body Trail') | |
315 | end | |
316 | ||
317 | --Trails for Accessories | |
318 | if TrailSettings.Accessories == true then | |
319 | for Index,Item in pairs(Character:GetChildren()) do | |
320 | if Item:IsA'Accessory' then | |
321 | local AA = Instance.new('Attachment',Item.Handle) | |
322 | local ATrail = Trail:Clone() | |
323 | ATrail.Parent = Character | |
324 | ATrail.Attachment1 = AA | |
325 | end | |
326 | end | |
327 | end | |
328 | ||
329 | --Extras | |
330 | if TrailSettings.Extras == true then | |
331 | --Making an Invisible Platform Part | |
332 | local a = Instance.new('Part',Character) | |
333 | a.CanCollide = false | |
334 | a.Size = Vector3.new(4,.4,4) | |
335 | a.Transparency = 1 | |
336 | ||
337 | --Constantly putting it under your feet | |
338 | if TrailSettings.R15 == false then | |
339 | spawn(function() | |
340 | game:GetService('RunService').RenderStepped:connect(function() | |
341 | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) | |
342 | end) | |
343 | end) | |
344 | else | |
345 | spawn(function() | |
346 | game:GetService('RunService').RenderStepped:connect(function() | |
347 | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) | |
348 | end) | |
349 | end) | |
350 | end | |
351 | ||
352 | --Make a Trail from both feet to the Platform | |
353 | spawn(function() | |
354 | repeat wait() until Trail | |
355 | local AB = Instance.new('Attachment',a) | |
356 | local ABT = Trail:Clone() | |
357 | ABT.Parent = Character | |
358 | ABT.Attachment0 = A4 | |
359 | ABT.Attachment1 = AB | |
360 | ABT.Color = TrailSettings.Color2 | |
361 | local ABT2 = Trail:Clone() | |
362 | ABT2.Parent = Character | |
363 | ABT2.Attachment0 = A5 | |
364 | ABT2.Attachment1 = AB | |
365 | ABT2.Color = TrailSettings.Color2 | |
366 | end) | |
367 | end |