SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[Nemessis.Inc]]-- |
1 | + | [--[[ |
2 | - | --[[Nemessis.Inc Members]]-- |
2 | + | Explosion God script made by EliteShadow @ V3rm aka Crimsonal @ Roblox |
3 | - | --[[Ki_tchen [Owner] ]]-- |
3 | + | --]] |
4 | - | --[[Mewy23 CO-OWNER]]-- |
4 | + | |
5 | - | --[[Unknown]]-- |
5 | + | local Player = game.Players.LocalPlayer |
6 | - | --[[Unknown]]-- |
6 | + | |
7 | - | --[[Unknown]]-- |
7 | + | |
8 | - | --[[Unknown]]-- |
8 | + | |
9 | - | --[[Unknown]]-- |
9 | + | |
10 | - | --[[Unknown]]-- |
10 | + | |
11 | - | --[[Unknown]]-- |
11 | + | |
12 | local RightArm = Character["Right Arm"] | |
13 | - | --[[Every Script we release a new member will be shown.]]-- |
13 | + | |
14 | local RightLeg = Character["Right Leg"] | |
15 | - | --[[Nemessis.Inc Out.]]-- |
15 | + | |
16 | local Head = Character.Head | |
17 | - | wait(1 / 60) |
17 | + | local RightShoulder = Torso["Right Shoulder"] |
18 | - | -- Trail Made by Gallizur |
18 | + | local LeftShoulder = Torso["Left Shoulder"] |
19 | - | --R15 Compatible in TrailSettings |
19 | + | local Neck = Torso["Neck"] |
20 | - | local Player = game:GetService('Players').LocalPlayer |
20 | + | local RightHip = Torso["Right Hip"] |
21 | local LeftHip = Torso["Left Hip"] | |
22 | wait(1) | |
23 | Instance.new("ForceField", Character) | |
24 | - | --All The Settings for Trails in this Script |
24 | + | |
25 | - | TrailSettings = { |
25 | + | local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
26 | - | Lifetime = 0.5, |
26 | + | local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
27 | - | Texture = 'rbxassetid://31270182', |
27 | + | local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
28 | - | --Color1 is for UpperBody and Accessories, Color2 is for Lower Body |
28 | + | local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
29 | - | Color1 = ColorSequence.new(BrickColor.new('Toothpaste').Color,BrickColor.new('Royal purple').Color), |
29 | + | local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
30 | - | Color2 = ColorSequence.new(BrickColor.new('Institutional white').Color,BrickColor.new('Really black').Color), |
30 | + | local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
31 | - | AllBody = true, |
31 | + | local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
32 | - | UpperBodyOnly = false, |
32 | + | local LeftHipC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
33 | - | LowerBodyOnly = false, |
33 | + | local RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
34 | - | Accessories = false, |
34 | + | local RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
35 | - | Extras = true, |
35 | + | |
36 | - | R15 = false, --Change to true if you're using R15 |
36 | + | |
37 | - | R15Parts = { |
37 | + | |
38 | - | 'UpperTorso', |
38 | + | |
39 | - | 'LowerTorso', |
39 | + | |
40 | - | } |
40 | + | |
41 | - | } |
41 | + | |
42 | ||
43 | - | local Trail; --Making other Trails uses this in this Script |
43 | + | |
44 | ||
45 | ||
46 | - | --UpperBody Function |
46 | + | |
47 | - | UpperBody = function() |
47 | + | local Player = game.Players.LocalPlayer |
48 | - | if TrailSettings.R15 == false then |
48 | + | |
49 | - | A0 = Instance.new('Attachment',Character.Torso) |
49 | + | |
50 | - | A1 = Instance.new('Attachment',Character.Head) |
50 | + | |
51 | - | A2 = Instance.new('Attachment',Character['Right Arm']) |
51 | + | |
52 | - | A3 = Instance.new('Attachment',Character['Left Arm']) |
52 | + | local mouse = Player:GetMouse() |
53 | - | Trail = Instance.new('Trail',Character) |
53 | + | local Root = Character.HumanoidRootPart |
54 | - | Trail.Attachment0 = A0 |
54 | + | local RunService = game:GetService("RunService").RenderStepped |
55 | - | Trail.Attachment1 = A1 |
55 | + | local Lighting = game:GetService("Lighting") |
56 | - | Trail.Texture = TrailSettings.Texture |
56 | + | |
57 | - | Trail.Color = TrailSettings.Color1 |
57 | + | |
58 | - | Trail.Lifetime = TrailSettings.Lifetime |
58 | + | Player:ClearCharacterAppearance() |
59 | - | local Trail2 = Trail:Clone() |
59 | + | wait(0.1) |
60 | - | Trail2.Parent = Character |
60 | + | Player.Character.Head.BrickColor = BrickColor.new("Really black") |
61 | - | Trail2.Attachment1 = A2 |
61 | + | Player.Character.Torso.BrickColor = BrickColor.new("Really black") |
62 | - | local Trail3 = Trail:Clone() |
62 | + | Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black") |
63 | - | Trail3.Parent = Character |
63 | + | Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black") |
64 | - | Trail3.Attachment1 = A3 |
64 | + | Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black") |
65 | - | local Trail6 = Trail:Clone() |
65 | + | Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black") |
66 | - | Trail6.Parent = Character |
66 | + | pcall(function() Player.Character.Torso.roblox:Destroy() end) |
67 | - | Trail6.Attachment0 = A1 |
67 | + | |
68 | - | Trail6.Attachment1 = A2 |
68 | + | z = Instance.new("Sound", Character) |
69 | - | local Trail7 = Trail:Clone() |
69 | + | z.SoundId = "rbxassetid://"--301463006 |
70 | - | Trail7.Parent = Character |
70 | + | z.Looped = true |
71 | - | Trail7.Attachment0 = A1 |
71 | + | z.Pitch = 1 |
72 | - | Trail7.Attachment1 = A3 |
72 | + | z.Volume = math.huge |
73 | - | else |
73 | + | wait(.1) |
74 | - | A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) |
74 | + | z:Play() |
75 | - | A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) |
75 | + | |
76 | - | A1 = Instance.new('Attachment',Character.Head) |
76 | + | |
77 | - | A2 = Instance.new('Attachment',Character['RightUpperArm']) |
77 | + | |
78 | - | A2R = Instance.new('Attachment',Character['RightLowerArm']) |
78 | + | |
79 | - | A3 = Instance.new('Attachment',Character['LeftUpperArm']) |
79 | + | |
80 | - | A3R = Instance.new('Attachment',Character['LeftLowerArm']) |
80 | + | |
81 | - | Trail = Instance.new('Trail',Character) |
81 | + | |
82 | - | Trail.Attachment0 = A0 |
82 | + | |
83 | - | Trail.Attachment1 = A1 |
83 | + | |
84 | - | Trail.Texture = TrailSettings.Texture |
84 | + | |
85 | - | Trail.Color = TrailSettings.Color1 |
85 | + | |
86 | - | Trail.Lifetime = TrailSettings.Lifetime |
86 | + | |
87 | - | local Trail2 = Trail:Clone() |
87 | + | |
88 | - | Trail2.Parent = Character |
88 | + | |
89 | - | Trail2.Attachment1 = A2 |
89 | + | |
90 | - | local Trail3 = Trail:Clone() |
90 | + | |
91 | - | Trail3.Parent = Character |
91 | + | |
92 | - | Trail3.Attachment1 = A3 |
92 | + | |
93 | - | local Trail6 = Trail:Clone() |
93 | + | |
94 | - | Trail6.Parent = Character |
94 | + | |
95 | - | Trail6.Attachment0 = A1 |
95 | + | |
96 | - | Trail6.Attachment1 = A2 |
96 | + | |
97 | - | local Trail7 = Trail:Clone() |
97 | + | |
98 | - | Trail7.Parent = Character |
98 | + | |
99 | - | Trail7.Attachment0 = A1 |
99 | + | |
100 | - | Trail7.Attachment1 = A3 |
100 | + | |
101 | - | --R15 Trails |
101 | + | |
102 | - | local Trail1R = Trail:Clone() |
102 | + | |
103 | - | Trail1R.Parent = Character |
103 | + | |
104 | - | Trail1R.Attachment1 = A2R |
104 | + | |
105 | - | local Trail2R = Trail:Clone() |
105 | + | |
106 | - | Trail2R.Parent = Character |
106 | + | |
107 | - | Trail2R.Attachment1 = A3R |
107 | + | |
108 | - | local Trail6R = Trail:Clone() |
108 | + | |
109 | - | Trail6.Parent = Character |
109 | + | |
110 | - | Trail6.Attachment0 = A1 |
110 | + | |
111 | - | Trail6.Attachment1 = A2R |
111 | + | |
112 | - | local Trail7R = Trail:Clone() |
112 | + | |
113 | - | Trail7.Parent = Character |
113 | + | |
114 | - | Trail7.Attachment0 = A1 |
114 | + | |
115 | - | Trail7.Attachment1 = A3R |
115 | + | |
116 | v.Shape="Block" | |
117 | text.Text = "Zorex God Of Exploding" | |
118 | ||
119 | - | --Lower Body Function |
119 | + | |
120 | - | LowerBody = function() |
120 | + | |
121 | - | if TrailSettings.R15 == false then |
121 | + | |
122 | - | A4 = Instance.new('Attachment',Character['Right Leg']) |
122 | + | |
123 | - | A5 = Instance.new('Attachment',Character['Left Leg']) |
123 | + | |
124 | - | local Trail4 = Trail:Clone() |
124 | + | |
125 | - | Trail4.Parent = Character |
125 | + | local selectionBoxOfTorso = Instance.new("SelectionBox",Torso) |
126 | - | Trail4.Attachment1 = A4 |
126 | + | selectionBoxOfTorso.Adornee = Torso |
127 | - | local Trail5 = Trail:Clone() |
127 | + | selectionBoxOfTorso.Color = BrickColor.new("1020") |
128 | - | Trail5.Parent = Character |
128 | + | selectionBoxOfTorso.LineThickness = 0.01 |
129 | - | Trail5.Attachment1 = A5 |
129 | + | selectionBoxOfTorso.Transparency = 0 |
130 | - | local Trail8 = Trail:Clone() |
130 | + | |
131 | - | Trail8.Parent = Character |
131 | + | local selectionBoxOfRightArm = Instance.new("SelectionBox",Character["Right Arm"]) |
132 | - | Trail8.Attachment0 = A2 |
132 | + | selectionBoxOfRightArm.Adornee = Character["Right Arm"] |
133 | - | Trail8.Attachment1 = A4 |
133 | + | selectionBoxOfRightArm.Color = BrickColor.new("1020") |
134 | - | Trail8.Color = TrailSettings.Color2 |
134 | + | selectionBoxOfRightArm.LineThickness = 0.01 |
135 | - | local Trail9 = Trail:Clone() |
135 | + | selectionBoxOfRightArm.Transparency = 0 |
136 | - | Trail9.Parent = Character |
136 | + | |
137 | - | Trail9.Attachment0 = A3 |
137 | + | local selectionBoxOfRightLeg = Instance.new("SelectionBox",Character["Right Leg"]) |
138 | - | Trail9.Attachment1 = A5 |
138 | + | selectionBoxOfRightLeg.Adornee = Character["Right Leg"] |
139 | - | Trail9.Color = TrailSettings.Color2 |
139 | + | selectionBoxOfRightLeg.Color = BrickColor.new("1020") |
140 | - | local FT = Trail:Clone() |
140 | + | selectionBoxOfRightLeg.LineThickness = 0.01 |
141 | - | FT.Parent = Character |
141 | + | selectionBoxOfRightLeg.Transparency = 0 |
142 | - | FT.Attachment0 = A4 |
142 | + | |
143 | - | FT.Attachment1 = A5 |
143 | + | local selectionBoxOfLeftArm = Instance.new("SelectionBox",Character["Left Arm"]) |
144 | - | FT.Color = TrailSettings.Color2 |
144 | + | selectionBoxOfLeftArm.Adornee = Character["Left Arm"] |
145 | - | else |
145 | + | selectionBoxOfLeftArm.Color = BrickColor.new("1020") |
146 | - | A4 = Instance.new('Attachment',Character['RightLowerLeg']) |
146 | + | selectionBoxOfLeftArm.LineThickness = 0.01 |
147 | - | A4R = Instance.new('Attachment',Character['RightUpperLeg']) |
147 | + | selectionBoxOfLeftArm.Transparency = 0 |
148 | - | A5 = Instance.new('Attachment',Character['LeftLowerLeg']) |
148 | + | |
149 | - | A5R = Instance.new('Attachment',Character['LeftUpperLeg']) |
149 | + | local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Character["Left Leg"]) |
150 | - | local Trail4 = Trail:Clone() |
150 | + | selectionBoxOfLeftLeg.Adornee = Character["Left Leg"] |
151 | - | Trail4.Parent = Character |
151 | + | selectionBoxOfLeftLeg.Color = BrickColor.new("1020") |
152 | - | Trail4.Attachment1 = A4 |
152 | + | selectionBoxOfLeftLeg.LineThickness = 0.01 |
153 | - | local Trail5 = Trail:Clone() |
153 | + | selectionBoxOfLeftLeg.Transparency = 0 |
154 | - | Trail5.Parent = Character |
154 | + | |
155 | - | Trail5.Attachment1 = A5 |
155 | + | |
156 | - | local Trail8 = Trail:Clone() |
156 | + | LightOnBody = Instance.new("PointLight", Head) |
157 | - | Trail8.Parent = Character |
157 | + | LightOnBody.Brightness = 3000 |
158 | - | Trail8.Attachment0 = A2 |
158 | + | LightOnBody.Range = 20 |
159 | - | Trail8.Attachment1 = A4 |
159 | + | LightOnBody.Color = Color3.new(255, 85, 0) |
160 | - | Trail8.Color = TrailSettings.Color2 |
160 | + | |
161 | - | local Trail9 = Trail:Clone() |
161 | + | local HandCF = CFrame.new(Root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
162 | - | Trail9.Parent = Character |
162 | + | local wave = Instance.new("Part", Torso) |
163 | - | Trail9.Attachment0 = A3 |
163 | + | wave.BrickColor = BrickColor.new("Maroon") |
164 | - | Trail9.Attachment1 = A5 |
164 | + | wave.Anchored = true |
165 | - | Trail9.Color = TrailSettings.Color2 |
165 | + | wave.CanCollide = false |
166 | - | local FT = Trail:Clone() |
166 | + | wave.Locked = true |
167 | - | FT.Parent = Character |
167 | + | wave.Size = Vector3.new(1, 1, 1) |
168 | - | FT.Attachment0 = A4 |
168 | + | wave.TopSurface = "Smooth" |
169 | - | FT.Attachment1 = A5 |
169 | + | wave.BottomSurface = "Smooth" |
170 | - | FT.Color = TrailSettings.Color2 |
170 | + | wave.Transparency = 0.35 |
171 | - | --R15 Trails |
171 | + | wave.CFrame = HandCF |
172 | - | local Trail3R = Trail:Clone() |
172 | + | wm = Instance.new("SpecialMesh", wave) |
173 | - | Trail3R.Parent = Character |
173 | + | wm.MeshId = "rbxassetid://3270017" |
174 | - | Trail3R.Attachment1 = A4R |
174 | + | coroutine.wrap(function() |
175 | - | local Trail4R = Trail:Clone() |
175 | + | for i = 1, 14, 1 do |
176 | - | Trail4R.Parent = Character |
176 | + | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) |
177 | - | Trail4R.Attachment1 = A5R |
177 | + | wave.Size = wm.Scale |
178 | - | local Trail8 = Trail:Clone() |
178 | + | wave.CFrame = HandCF |
179 | - | Trail8.Parent = Character |
179 | + | wave.Transparency = i/14 |
180 | - | Trail8.Attachment0 = A2R |
180 | + | wait() |
181 | - | Trail8.Attachment1 = A4R |
181 | + | end |
182 | - | Trail8.Color = TrailSettings.Color2 |
182 | + | wait() |
183 | - | local Trail9 = Trail:Clone() |
183 | + | wave:Destroy() |
184 | - | Trail9.Parent = Character |
184 | + | end)() |
185 | - | Trail9.Attachment0 = A3R |
185 | + | |
186 | - | Trail9.Attachment1 = A5R |
186 | + | |
187 | - | Trail9.Color = TrailSettings.Color2 |
187 | + | local function RefreshWelds() |
188 | - | local FT2R = Trail:Clone() |
188 | + | Neck.C0 = NeckC0 |
189 | - | FT2R.Parent = Character |
189 | + | Neck.C1 = NeckC1 |
190 | - | FT2R.Attachment0 = A4R |
190 | + | RightShoulder.C0 = RightShoulderC0 |
191 | - | FT2R.Attachment1 = A5R |
191 | + | RightShoulder.C1 = RightShoulderC1 |
192 | - | FT2R.Color = TrailSettings.Color2 |
192 | + | LeftShoulder.C0 = LeftShoulderC0 |
193 | LeftShoulder.C1 = LeftShoulderC1 | |
194 | RightHip.C0 = RightHipC0 | |
195 | RightHip.C1 = RightHipC1 | |
196 | - | --All Body Function calling Both Functions |
196 | + | LeftHip.C0 = LeftHipC0 |
197 | - | AllBody = function() |
197 | + | LeftHip.C1 = LeftHipC1 |
198 | - | UpperBody() |
198 | + | |
199 | - | LowerBody() |
199 | + | |
200 | local LastArm = "Left" | |
201 | local Active = false | |
202 | - | --Checking to make sure that Only some Variables are Selected else do All Body |
202 | + | game:GetService("UserInputService").InputBegan:connect(function(Key, Gpe) |
203 | - | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then |
203 | + | if not Gpe then |
204 | - | TrailSettings.UpperBodyOnly = false |
204 | + | if Key.KeyCode == Enum.KeyCode.F and not Active then |
205 | - | TrailSettings.LowerBodyOnly = false |
205 | + | Active=true |
206 | - | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then |
206 | + | RefreshWelds() |
207 | - | TrailSettings.UpperBodyOnly = false |
207 | + | Torso.CFrame = CFrame.new(Torso.Position, Vector3.new(Mouse.hit.p.x, Torso.Position.Y, Mouse.hit.p.z)) |
208 | - | TrailSettings.LowerBodyOnly = false |
208 | + | Torso.Anchored=true |
209 | - | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then |
209 | + | Humanoid.PlatformStand = true |
210 | - | TrailSettings.UpperBodyOnly = false |
210 | + | for i = 1,3 do |
211 | - | TrailSettings.LowerBodyOnly = false |
211 | + | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,-0.2,0.55) |
212 | - | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then |
212 | + | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0.2, -0.55) |
213 | - | TrailSettings.AllBody = true |
213 | + | |
214 | - | TrailSettings.UpperBodyOnly = false |
214 | + | local last1 |
215 | - | TrailSettings.LowerBodyOnly = false |
215 | + | local last2 |
216 | local explosion = Instance.new("Sound", Character) | |
217 | explosion.Name="explosion" | |
218 | - | --Call Trail Functions |
218 | + | explosion.SoundId = "rbxassetid://2248511" |
219 | - | if TrailSettings.UpperBodyOnly == true then |
219 | + | explosion:Play() |
220 | - | UpperBody() |
220 | + | game.Debris:AddItem(explosion,10) |
221 | - | print('Called Upper Body Trail') |
221 | + | spawn(function() |
222 | - | elseif TrailSettings.LowerBodyOnly == true then |
222 | + | for i = 1,15 do |
223 | - | LowerBody() |
223 | + | local p = Instance.new("Part", Character) |
224 | - | print('Called Lower Body Trail') |
224 | + | p.Anchored=true |
225 | - | elseif TrailSettings.AllBody == true then |
225 | + | p.CanCollide=false |
226 | - | AllBody() |
226 | + | p.Transparency=1 |
227 | - | print('Called Full Body Trail') |
227 | + | p.Size=Vector3.new(.1,.1,.1) |
228 | p.Shape = "Ball" | |
229 | p.BrickColor = BrickColor.new("Really black") | |
230 | - | --Trails for Accessories |
230 | + | game.Debris:AddItem(p,1) |
231 | - | if TrailSettings.Accessories == true then |
231 | + | if not last1 then |
232 | - | for Index,Item in pairs(Character:GetChildren()) do |
232 | + | p.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) * CFrame.new(0,0,-10) |
233 | - | if Item:IsA'Accessory' then |
233 | + | last1=p |
234 | - | local AA = Instance.new('Attachment',Item.Handle) |
234 | + | else |
235 | - | local ATrail = Trail:Clone() |
235 | + | p.CFrame = last1.CFrame * CFrame.new(0, 0,-i*5) |
236 | - | ATrail.Parent = Character |
236 | + | last1=p |
237 | - | ATrail.Attachment1 = AA |
237 | + | |
238 | local explo = Instance.new("Explosion", workspace) | |
239 | explo.Position=p.Position | |
240 | explo.BlastPressure = math.huge | |
241 | explo.BlastRadius= math.huge | |
242 | - | --Extras |
242 | + | wait() |
243 | - | if TrailSettings.Extras == true then |
243 | + | |
244 | - | --Making an Invisible Platform Part |
244 | + | end) |
245 | - | local a = Instance.new('Part',Character) |
245 | + | spawn(function() |
246 | - | a.CanCollide = false |
246 | + | for i = 1,15 do |
247 | - | a.Size = Vector3.new(2,.2,2) |
247 | + | local p = Instance.new("Part", Character) |
248 | - | a.Transparency = 1 |
248 | + | p.Anchored=true |
249 | p.CanCollide=false | |
250 | - | --Constantly putting it under your feet |
250 | + | p.Transparency=1 |
251 | - | if TrailSettings.R15 == false then |
251 | + | p.Size=Vector3.new(.1,.1,.1) |
252 | - | spawn(function() |
252 | + | p.Shape = "Ball" |
253 | - | game:GetService('RunService').RenderStepped:connect(function() |
253 | + | p.BrickColor = BrickColor.new("Really black") |
254 | - | a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) |
254 | + | game.Debris:AddItem(p,1) |
255 | - | end) |
255 | + | if not last2 then |
256 | p.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) * CFrame.new(0,0,-10) | |
257 | - | else |
257 | + | last2=p |
258 | - | spawn(function() |
258 | + | else |
259 | - | game:GetService('RunService').RenderStepped:connect(function() |
259 | + | p.CFrame = last2.CFrame * CFrame.new(0,0 ,-i*5) |
260 | - | a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) |
260 | + | last2=p |
261 | - | end) |
261 | + | |
262 | local explo = Instance.new("Explosion", workspace) | |
263 | explo.Position=p.Position | |
264 | explo.BlastPressure = math.huge | |
265 | - | --Make a Trail from both feet to the Platform |
265 | + | explo.BlastRadius= math.huge |
266 | - | spawn(function() |
266 | + | wait() |
267 | - | repeat wait() until Trail |
267 | + | |
268 | - | local AB = Instance.new('Attachment',a) |
268 | + | end) |
269 | - | local ABT = Trail:Clone() |
269 | + | wait(1) |
270 | - | ABT.Parent = Character |
270 | + | Torso.Anchored=false |
271 | - | ABT.Attachment0 = A4 |
271 | + | Humanoid.PlatformStand = false |
272 | - | ABT.Attachment1 = AB |
272 | + | RefreshWelds() |
273 | - | ABT.Color = TrailSettings.Color2 |
273 | + | Active=false |
274 | - | local ABT2 = Trail:Clone() |
274 | + | elseif Key.KeyCode == Enum.KeyCode.C and not Active then |
275 | - | ABT2.Parent = Character |
275 | + | Active = true |
276 | - | ABT2.Attachment0 = A5 |
276 | + | RefreshWelds() |
277 | - | ABT2.Attachment1 = AB |
277 | + | Torso.CFrame = CFrame.new(Torso.Position, Vector3.new(Mouse.hit.p.x, Torso.Position.Y, Mouse.hit.p.z)) |
278 | - | ABT2.Color = TrailSettings.Color2 |
278 | + | Torso.Anchored=true |
279 | Humanoid.PlatformStand = true | |
280 | for i = 1,3 do | |
281 | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,0.5) | |
282 | - | Effects = { } |
282 | + | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, -0.5) |
283 | - | local Player = game.Players.localPlayer |
283 | + | wait() |
284 | end | |
285 | local last1 | |
286 | local last2 | |
287 | local explosion = Instance.new("Sound", Character) | |
288 | explosion.Name="explosion" | |
289 | explosion.SoundId = "rbxassetid://2248511" | |
290 | explosion:Play() | |
291 | game.Debris:AddItem(explosion,10) | |
292 | spawn(function() | |
293 | - | local Camera = game.Workspace.CurrentCamera |
293 | + | for i = 1,15 do |
294 | - | local RootPart = Character.HumanoidRootPart |
294 | + | local p = Instance.new("Part", Character) |
295 | - | local RootJoint = RootPart.RootJoint |
295 | + | p.Anchored=true |
296 | - | local attack = false |
296 | + | p.CanCollide=false |
297 | - | local Anim = 'Idle' |
297 | + | p.Transparency=1 |
298 | - | local attacktype = 1 |
298 | + | p.Size=Vector3.new(.1,.1,.1) |
299 | - | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
299 | + | p.Shape = "Ball" |
300 | - | local velocity = RootPart.Velocity.y |
300 | + | p.BrickColor = BrickColor.new("Really black") |
301 | - | local sine = 0 |
301 | + | game.Debris:AddItem(p,1) |
302 | - | local change = 1 |
302 | + | if not last1 then |
303 | - | local Create = LoadLibrary("RbxUtility").Create |
303 | + | p.CFrame = Torso.CFrame * CFrame.new(0,0 ,-i*10) |
304 | - | local sick = Instance.new("Sound",Character.Torso) |
304 | + | last1=p |
305 | - | sick.SoundId = "rbxassetid://246495880" |
305 | + | else |
306 | - | sick.Looped = true |
306 | + | p.CFrame = last1.CFrame * CFrame.new(0,0 ,-i*5) |
307 | - | sick.Pitch = 1 |
307 | + | last1=p |
308 | - | sick.Volume = 1 |
308 | + | |
309 | - | sick:Play() |
309 | + | local explo = Instance.new("Explosion", workspace) |
310 | explo.Position=p.Position | |
311 | - | local m = Create("Model"){ |
311 | + | explo.BlastPressure = math.huge |
312 | - | Parent = Character, |
312 | + | explo.BlastRadius= math.huge |
313 | - | Name = "WeaponModel", |
313 | + | wait() |
314 | - | } |
314 | + | |
315 | end) | |
316 | - | Humanoid.Animator.Parent = nil |
316 | + | spawn(function() |
317 | - | Character.Animate.Parent = nil |
317 | + | for i = 1,15 do |
318 | local p = Instance.new("Part", Character) | |
319 | - | local newMotor = function(part0, part1, c0, c1) |
319 | + | p.Anchored=true |
320 | - | local w = Create('Motor'){ |
320 | + | p.CanCollide=false |
321 | - | Parent = part0, |
321 | + | p.Transparency=1 |
322 | - | Part0 = part0, |
322 | + | p.Size=Vector3.new(.1,.1,.1) |
323 | - | Part1 = part1, |
323 | + | p.Shape = "Ball" |
324 | - | C0 = c0, |
324 | + | p.BrickColor = BrickColor.new("Really black") |
325 | - | C1 = c1, |
325 | + | game.Debris:AddItem(p,1) |
326 | - | } |
326 | + | if not last2 then |
327 | - | return w |
327 | + | p.CFrame = Torso.CFrame * CFrame.new(0,0 ,-i*10) |
328 | last2=p | |
329 | else | |
330 | - | function clerp(a, b, t) |
330 | + | p.CFrame = last2.CFrame * CFrame.new(0,0 ,-i*5) |
331 | - | return a:lerp(b, t) |
331 | + | last2=p |
332 | end | |
333 | local explo = Instance.new("Explosion", workspace) | |
334 | - | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
334 | + | explo.Position=p.Position |
335 | - | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
335 | + | explo.BlastPressure = math.huge |
336 | explo.BlastRadius= math.huge | |
337 | - | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) |
337 | + | wait() |
338 | - | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) |
338 | + | |
339 | - | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) |
339 | + | end) |
340 | - | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) |
340 | + | wait(1) |
341 | - | RootJoint.C1 = CFrame.new(0, 0, 0) |
341 | + | for i = 1,3 do |
342 | - | RootJoint.C0 = CFrame.new(0, 0, 0) |
342 | + | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,-0.5) |
343 | - | Torso.Neck.C1 = CFrame.new(0, 0, 0) |
343 | + | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0, 0, 0.5) |
344 | - | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) |
344 | + | wait() |
345 | end | |
346 | - | local rarmc1 = RW.C1 |
346 | + | Torso.Anchored=false |
347 | - | local larmc1 = LW.C1 |
347 | + | Humanoid.PlatformStand = false |
348 | - | local rlegc1 = RH.C1 |
348 | + | RefreshWelds() |
349 | - | local llegc1 = LH.C1 |
349 | + | Active=false |
350 | elseif Key.KeyCode == Enum.KeyCode.E and not Active | |
351 | - | local resetc1 = false |
351 | + | then Active = true |
352 | RefreshWelds() | |
353 | - | function PlayAnimationFromTable(table, speed, bool) |
353 | + | Torso.Anchored=true |
354 | - | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) |
354 | + | Humanoid.PlatformStand=true |
355 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) |
355 | + | if LastArm == "Left" then |
356 | - | RW.C0 = clerp(RW.C0, table[3], speed) |
356 | + | LastArm="Right" |
357 | - | LW.C0 = clerp(LW.C0, table[4], speed) |
357 | + | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) |
358 | - | RH.C0 = clerp(RH.C0, table[5], speed) |
358 | + | for i = 1,3 do |
359 | - | LH.C0 = clerp(LH.C0, table[6], speed) |
359 | + | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,-0.5) |
360 | - | if bool == true then |
360 | + | wait() |
361 | - | if resetc1 == false then |
361 | + | |
362 | - | resetc1 = true |
362 | + | wait(0.5) |
363 | - | RootJoint.C1 = RootJoint.C1 |
363 | + | RefreshWelds() |
364 | - | Torso.Neck.C1 = Torso.Neck.C1 |
364 | + | for i = 1,3 do |
365 | - | RW.C1 = rarmc1 |
365 | + | RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(0,0,0.5) |
366 | - | LW.C1 = larmc1 |
366 | + | |
367 | - | RH.C1 = rlegc1 |
367 | + | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) |
368 | - | LH.C1 = llegc1 |
368 | + | local p = Instance.new("Part", Character) |
369 | p.Anchored=true | |
370 | p.CanCollide=false | |
371 | p.Transparency=1 | |
372 | p.Size=Vector3.new(.1,.1,.1) | |
373 | - | ArtificialHB = Create("BindableEvent", script){ |
373 | + | p.Shape = "Ball" |
374 | - | Parent = script, |
374 | + | p.BrickColor = BrickColor.new("Really black") |
375 | - | Name = "Heartbeat", |
375 | + | p.CFrame = Torso.CFrame * CFrame.new(1.5, 0, -2) |
376 | - | } |
376 | + | game.Debris:AddItem(p,3) |
377 | local explosion = Instance.new("Sound", Character) | |
378 | - | script:WaitForChild("Heartbeat") |
378 | + | explosion.Name="explosion" |
379 | explosion.SoundId = "rbxassetid://2248511" | |
380 | - | frame = 1 / 30 |
380 | + | explosion:Play() |
381 | - | tf = 0 |
381 | + | game.Debris:AddItem(explosion, 10) |
382 | - | allowframeloss = false |
382 | + | local explo = Instance.new("Explosion", workspace) |
383 | - | tossremainder = false |
383 | + | explo.BlastPressure = math.huge |
384 | - | lastframe = tick() |
384 | + | explo.BlastRadius= math.huge |
385 | - | script.Heartbeat:Fire() |
385 | + | explo.Position=p.Position |
386 | elseif LastArm == "Right" then | |
387 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
387 | + | LastArm = "Left" |
388 | - | tf = tf + s |
388 | + | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(45), 0) |
389 | - | if tf >= frame then |
389 | + | for i = 1,3 do |
390 | - | if allowframeloss then |
390 | + | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0,0,0.5) |
391 | - | script.Heartbeat:Fire() |
391 | + | wait() |
392 | - | lastframe = tick() |
392 | + | |
393 | - | else |
393 | + | wait(0.5) |
394 | - | for i = 1, math.floor(tf / frame) do |
394 | + | RefreshWelds() |
395 | - | script.Heartbeat:Fire() |
395 | + | for i = 1,3 do |
396 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(0,0,-0.5) | |
397 | - | lastframe = tick() |
397 | + | |
398 | Torso.CFrame = Torso.CFrame * CFrame.Angles(0, math.rad(-45), 0) | |
399 | - | if tossremainder then |
399 | + | local p = Instance.new("Part", Character) |
400 | - | tf = 0 |
400 | + | p.Anchored=true |
401 | - | else |
401 | + | p.CanCollide=false |
402 | - | tf = tf - frame * math.floor(tf / frame) |
402 | + | p.Transparency=1 |
403 | p.Size=Vector3.new(.1,.1,.1) | |
404 | p.Shape = "Ball" | |
405 | p.BrickColor = BrickColor.new("Really black") | |
406 | p.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, -2) | |
407 | - | function swait(num) |
407 | + | game.Debris:AddItem(p,3) |
408 | - | if num == 0 or num == nil then |
408 | + | local explosion = Instance.new("Sound", Character) |
409 | - | ArtificialHB.Event:wait() |
409 | + | explosion.Name="explosion" |
410 | - | else |
410 | + | explosion.SoundId = "rbxassetid://2248511" |
411 | - | for i = 0, num do |
411 | + | explosion:Play() |
412 | - | ArtificialHB.Event:wait() |
412 | + | game.Debris:AddItem(explosion, 10) |
413 | local explo = Instance.new("Explosion", workspace) | |
414 | explo.BlastPressure = math.huge | |
415 | explo.BlastRadius= math.huge | |
416 | explo.Position=p.Position | |
417 | - | function RemoveOutlines(part) |
417 | + | |
418 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
418 | + | wait(0.5) |
419 | Active = false | |
420 | RefreshWelds() | |
421 | - | CFuncs = { |
421 | + | Torso.Anchored=false |
422 | - | Part = { |
422 | + | Humanoid.PlatformStand=false |
423 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
423 | + | |
424 | - | local Part = Create("Part"){ |
424 | + | |
425 | - | Parent = Parent, |
425 | + | |
426 | - | Reflectance = Reflectance, |
426 | + | |
427 | - | Transparency = Transparency, |
427 | + | |
428 | - | CanCollide = false, |
428 | + | local time = tick() |
429 | - | Locked = true, |
429 | + | |
430 | - | BrickColor = BrickColor.new(tostring(BColor)), |
430 | + | local plr = game:GetService("Players").LocalPlayer |
431 | - | Name = Name, |
431 | + | local mouse,char = plr:GetMouse(),plr.Character |
432 | - | Size = Size, |
432 | + | |
433 | - | Material = Material, |
433 | + | local amountGhosts = 5 |
434 | - | } |
434 | + | |
435 | - | RemoveOutlines(Part) |
435 | + | for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end |
436 | - | return Part |
436 | + | |
437 | - | end; |
437 | + | local toggle,cd,mcd = false,false,false |
438 | - | }; |
438 | + | local ghosts = {} |
439 | local temptab = {} | |
440 | - | Mesh = { |
440 | + | |
441 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
441 | + | char:WaitForChild("Animate"):Destroy() |
442 | - | local Msh = Create(Mesh){ |
442 | + | char.Humanoid:WaitForChild("Animator"):Destroy() |
443 | - | Parent = Part, |
443 | + | |
444 | - | Offset = OffSet, |
444 | + | local state = "idle" |
445 | - | Scale = Scale, |
445 | + | |
446 | - | } |
446 | + | local gt = false |
447 | - | if Mesh == "SpecialMesh" then |
447 | + | |
448 | - | Msh.MeshType = MeshType |
448 | + | local gyro = Instance.new("BodyGyro",char:WaitForChild("HumanoidRootPart")) --Stops the character from glitching out on enter/exit |
449 | - | Msh.MeshId = MeshId |
449 | + | gyro.MaxTorque = Vector3.new(0,0,0) |
450 | gyro.D = 0 | |
451 | - | return Msh |
451 | + | gyro.P = 100000000 |
452 | - | end; |
452 | + | |
453 | - | }; |
453 | + | |
454 | local wCol = BrickColor.new("Really red") | |
455 | - | Weld = { |
455 | + | local wCol2 = BrickColor.new("Really black") |
456 | - | Create = function(Parent, Part0, Part1, C0, C1) |
456 | + | local gCol = BrickColor.new("Toothpaste") |
457 | - | local Weld = Create("Weld"){ |
457 | + | local gCol2 = BrickColor.new("Institutional white") |
458 | - | Parent = Parent, |
458 | + | |
459 | - | Part0 = Part0, |
459 | + | function searchAll(m,clear) |
460 | - | Part1 = Part1, |
460 | + | if clear then |
461 | - | C0 = C0, |
461 | + | if clear == true then |
462 | - | C1 = C1, |
462 | + | for i,v in pairs(temptab) do |
463 | - | } |
463 | + | table.remove(temptab,1) |
464 | - | return Weld |
464 | + | |
465 | - | end; |
465 | + | |
466 | - | }; |
466 | + | |
467 | for i,v in pairs(m:GetChildren()) do | |
468 | - | Sound = { |
468 | + | if v then |
469 | - | Create = function(id, par, vol, pit) |
469 | + | local s = v:Clone() |
470 | for _,b in pairs(s:GetChildren()) do | |
471 | - | local Sound = Create("Sound"){ |
471 | + | b:Destroy() |
472 | - | Volume = vol, |
472 | + | |
473 | - | Pitch = pit or 1, |
473 | + | if s:IsA("Part") or s:IsA("WedgePart") or s:IsA("TrussPart") or s:IsA("UnionOperation") then |
474 | - | SoundId = "rbxassetid://" .. id, |
474 | + | if s.Name ~= "HumanoidRootPart" then |
475 | - | Parent = par or workspace, |
475 | + | s.Anchored = true |
476 | - | } |
476 | + | s.CanCollide = false |
477 | - | Sound:play() |
477 | + | s.Transparency = 0.95 |
478 | - | game:GetService("Debris"):AddItem(Sound, 10) |
478 | + | s.TopSurface = "Smooth" |
479 | s.BottomSurface = "Smooth" | |
480 | - | end; |
480 | + | s.FrontSurface = "Smooth" |
481 | - | }; |
481 | + | s.RightSurface = "Smooth" |
482 | s.BackSurface = "Smooth" | |
483 | - | Decal = { |
483 | + | s.LeftSurface = "Smooth" |
484 | - | Create = function(Color, Texture, Transparency, Name, Parent) |
484 | + | if s.Material ~= Enum.Material.Neon then |
485 | - | local Decal = Create("Decal"){ |
485 | + | if gt == true then |
486 | - | Color3 = Color, |
486 | + | s.BrickColor = wCol2 |
487 | - | Texture = "rbxassetid://" .. Texture, |
487 | + | |
488 | - | Transparency = Transparency, |
488 | + | s.BrickColor = gCol2 |
489 | - | Name = Name, |
489 | + | |
490 | - | Parent = Parent, |
490 | + | |
491 | - | } |
491 | + | if gt == true then |
492 | - | return Decal |
492 | + | s.BrickColor = wCol |
493 | - | end; |
493 | + | |
494 | - | }; |
494 | + | s.BrickColor = gCol |
495 | end | |
496 | - | BillboardGui = { |
496 | + | |
497 | - | Create = function(Parent, Image, Position, Size) |
497 | + | for _,c in pairs(v:GetChildren()) do |
498 | - | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1)) |
498 | + | if c:IsA("SpecialMesh") or c:IsA("CylinderMesh") then |
499 | - | BillPar.CFrame = CFrame.new(Position) |
499 | + | c:Clone().Parent = s |
500 | - | local Bill = Create("BillboardGui"){ |
500 | + | |
501 | - | Parent = BillPar, |
501 | + | |
502 | - | Adornee = BillPar, |
502 | + | local objValue = Instance.new("ObjectValue",s) |
503 | - | Size = UDim2.new(1, 0, 1, 0), |
503 | + | objValue.Name = "Target" |
504 | - | SizeOffset = Vector2.new(Size, Size), |
504 | + | objValue.Value = v |
505 | - | } |
505 | + | table.insert(temptab,s) |
506 | - | local d = Create("ImageLabel", Bill){ |
506 | + | |
507 | - | Parent = Bill, |
507 | + | --elseif s:IsA("CharacterMesh") then |
508 | - | BackgroundTransparency = 1, |
508 | + | --table.insert(temptab,s) |
509 | - | Size = UDim2.new(1, 0, 1, 0), |
509 | + | |
510 | - | Image = "rbxassetid://" .. Image, |
510 | + | --searchAll(v) |
511 | - | } |
511 | + | |
512 | - | return BillPar |
512 | + | |
513 | return temptab | |
514 | - | }; |
514 | + | |
515 | ||
516 | - | ParticleEmitter = { |
516 | + | function CreateGhost() |
517 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
517 | + | local ghost = Instance.new("Model",game.Workspace) |
518 | - | local Particle = Create("ParticleEmitter"){ |
518 | + | searchAll(char,true) |
519 | - | Parent = Parent, |
519 | + | ghost.Name = char.Name.."'s Ghost "..#ghosts..#plr.Name |
520 | - | Color = ColorSequence.new(Color1, Color2), |
520 | + | --Instance.new("Humanoid",ghost) |
521 | - | LightEmission = LightEmission, |
521 | + | for i,v in pairs(temptab) do |
522 | - | Size = Size, |
522 | + | v:Clone().Parent = ghost |
523 | - | Texture = Texture, |
523 | + | |
524 | - | Transparency = Transparency, |
524 | + | table.insert(ghosts,ghost) |
525 | - | ZOffset = ZOffset, |
525 | + | |
526 | - | Acceleration = Accel, |
526 | + | |
527 | - | Drag = Drag, |
527 | + | function ClearGhosts() |
528 | - | LockedToPart = LockedToPart, |
528 | + | for i,v in pairs(ghosts) do |
529 | - | VelocityInheritance = VelocityInheritance, |
529 | + | v:Destroy() |
530 | - | EmissionDirection = EmissionDirection, |
530 | + | |
531 | - | Enabled = Enabled, |
531 | + | for i,v in pairs(ghosts) do |
532 | - | Lifetime = LifeTime, |
532 | + | table.remove(ghosts,1) |
533 | - | Rate = Rate, |
533 | + | |
534 | - | Rotation = Rotation, |
534 | + | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do |
535 | - | RotSpeed = RotSpeed, |
535 | + | if string.sub(v.Name,1,#plr.Name+9) == plr.Name.."'s Ghost " then |
536 | - | Speed = Speed, |
536 | + | v:Destroy() |
537 | - | VelocitySpread = VelocitySpread, |
537 | + | |
538 | - | } |
538 | + | |
539 | - | return Particle |
539 | + | |
540 | - | end; |
540 | + | |
541 | - | }; |
541 | + | Instance.new("ForceField",char).Visible = false |
542 | ||
543 | - | CreateTemplate = { |
543 | + | local e1 = Instance.new("Part",char) |
544 | - | |
544 | + | e1.Size = Vector3.new(0.2,0.2,0.2) |
545 | - | }; |
545 | + | e1.TopSurface = "Smooth" |
546 | - | } |
546 | + | e1.BottomSurface = "Smooth" |
547 | e1.Material = "Neon" | |
548 | - | function rayCast(Position, Direction, Range, Ignore) |
548 | + | e1.Transparency = 1 |
549 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) |
549 | + | e1.Anchored = true |
550 | - | end |
550 | + | e1.CanCollide = false |
551 | e1.BrickColor = gCol | |
552 | - | FindNearestTorso = function(pos) |
552 | + | e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.6) |
553 | - | local list = (game.Workspace:children()) |
553 | + | local em1 = Instance.new("SpecialMesh",e1) |
554 | - | local torso = nil |
554 | + | em1.MeshType = "Sphere" |
555 | - | local dist = 1000 |
555 | + | local e2 = Instance.new("Part",char) |
556 | - | local temp, human, temp2 = nil, nil, nil |
556 | + | e2.Size = Vector3.new(0.2,0.2,0.2) |
557 | - | for x = 1, #list do |
557 | + | e2.TopSurface = "Smooth" |
558 | - | temp2 = list[x] |
558 | + | e2.BottomSurface = "Smooth" |
559 | - | if temp2.className == "Model" and temp2.Name ~= Character.Name then |
559 | + | e2.Transparency = 1 |
560 | - | temp = temp2:findFirstChild("Torso") |
560 | + | e2.Material = "Neon" |
561 | - | human = temp2:findFirstChild("Humanoid") |
561 | + | e2.Anchored = true |
562 | - | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then |
562 | + | e2.CanCollide = false |
563 | - | local dohit = true |
563 | + | e2.BrickColor = gCol |
564 | - | if dohit == true then |
564 | + | e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.6) |
565 | - | torso = temp |
565 | + | local em2 = Instance.new("SpecialMesh",e2) |
566 | - | dist = (temp.Position - pos).magnitude |
566 | + | em2.MeshType = "Sphere" |
567 | ||
568 | toggle = true | |
569 | for i=1,amountGhosts do | |
570 | CreateGhost() | |
571 | - | return torso, dist |
571 | + | |
572 | char.Parent = game:GetService("Workspace").CurrentCamera | |
573 | char:FindFirstChild("Head").Transparency = 1 | |
574 | - | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
574 | + | char:FindFirstChild("Torso").Transparency = 1 |
575 | - | if hit.Parent == nil then |
575 | + | char:FindFirstChild("Right Arm").Transparency = 1 |
576 | - | return |
576 | + | char:FindFirstChild("Left Arm").Transparency = 1 |
577 | char:FindFirstChild("Right Leg").Transparency = 1 | |
578 | - | local h = hit.Parent:FindFirstChild("Humanoid") |
578 | + | char:FindFirstChild("Left Leg").Transparency = 1 |
579 | - | for _, v in pairs(hit.Parent:children()) do |
579 | + | for i,v in pairs(char:GetChildren()) do |
580 | - | if v:IsA("Humanoid") then |
580 | + | if v:IsA("Accessory") then |
581 | - | h = v |
581 | + | v:FindFirstChild("Handle").Transparency = 1 |
582 | end | |
583 | end | |
584 | - | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then |
584 | + | char:FindFirstChild("Head"):FindFirstChild("face"):Destroy() |
585 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil then |
585 | + | |
586 | - | if hit.Parent.DebounceHit.Value == true then |
586 | + | local p1 = Instance.new("Part",workspace) |
587 | - | return |
587 | + | local m1 = Instance.new("SpecialMesh",p1) |
588 | m1.MeshType = "Sphere" | |
589 | m1.Scale = Vector3.new(5,5,5) | |
590 | - | local c = Create("ObjectValue"){ |
590 | + | p1.Size = Vector3.new(1,1,1) |
591 | - | Name = "creator", |
591 | + | p1.Anchored = true |
592 | - | Value = game:service("Players").LocalPlayer, |
592 | + | p1.CanCollide = false |
593 | - | Parent = h, |
593 | + | p1.TopSurface = "Smooth" |
594 | - | } |
594 | + | p1.BottomSurface = "Smooth" |
595 | - | game:GetService("Debris"):AddItem(c, .5) |
595 | + | p1.BrickColor = gCol |
596 | - | if HitSound ~= nil and HitPitch ~= nil then |
596 | + | p1.Material = "Neon" |
597 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
597 | + | local p2 = Instance.new("Part",workspace) |
598 | local m2 = Instance.new("SpecialMesh",p2) | |
599 | - | local Damage = math.random(minim, maxim) |
599 | + | m2.MeshType = "Sphere" |
600 | - | local blocked = false |
600 | + | m2.Scale = Vector3.new(8,8,8) |
601 | - | local block = hit.Parent:findFirstChild("Block") |
601 | + | p2.Size = Vector3.new(1,1,1) |
602 | - | if block ~= nil then |
602 | + | p2.Anchored = true |
603 | - | if block.className == "IntValue" then |
603 | + | p2.CanCollide = false |
604 | - | if block.Value > 0 then |
604 | + | p2.TopSurface = "Smooth" |
605 | - | blocked = true |
605 | + | p2.BottomSurface = "Smooth" |
606 | - | block.Value = block.Value - 1 |
606 | + | p2.BrickColor = gCol2 |
607 | - | print(block.Value) |
607 | + | p2.Material = "Neon" |
608 | local p3 = Instance.new("Part",workspace) | |
609 | local m3 = Instance.new("BlockMesh",p3) | |
610 | m3.Scale = Vector3.new(7,7,7) | |
611 | - | if blocked == false then |
611 | + | p3.Size = Vector3.new(1,1,1) |
612 | - | h.Health = h.Health - Damage |
612 | + | p3.Transparency = 0.4 |
613 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) |
613 | + | p3.Anchored = true |
614 | - | else |
614 | + | p3.CanCollide = false |
615 | - | h.Health = h.Health - (Damage / 2) |
615 | + | p3.TopSurface = "Smooth" |
616 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) |
616 | + | p3.BottomSurface = "Smooth" |
617 | p3.BrickColor = gCol | |
618 | - | if Type == "Knockdown" then |
618 | + | p3.Material = "Neon" |
619 | - | local hum = hit.Parent.Humanoid |
619 | + | local p4 = Instance.new("Part",workspace) |
620 | - | hum.PlatformStand = true |
620 | + | local m4 = Instance.new("BlockMesh",p4) |
621 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
621 | + | m4.Scale = Vector3.new(10,10,10) |
622 | - | swait(1) |
622 | + | p4.Size = Vector3.new(1,1,1) |
623 | - | HHumanoid.PlatformStand = false |
623 | + | p4.Transparency = 0.4 |
624 | - | end), hum) |
624 | + | p4.Anchored = true |
625 | - | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
625 | + | p4.CanCollide = false |
626 | - | local bodvol = Create("BodyVelocity"){ |
626 | + | p4.TopSurface = "Smooth" |
627 | - | velocity = angle * knockback, |
627 | + | p4.BottomSurface = "Smooth" |
628 | - | P = 5000, |
628 | + | p4.BrickColor = gCol2 |
629 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
629 | + | p4.Material = "Neon" |
630 | - | Parent = hit, |
630 | + | local currentframe = 0 |
631 | - | } |
631 | + | local frmR |
632 | - | local rl = Create("BodyAngularVelocity"){ |
632 | + | |
633 | - | P = 3000, |
633 | + | frmR = game:GetService("RunService").RenderStepped:connect(function() |
634 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
634 | + | currentframe = currentframe + 1 |
635 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
635 | + | if currentframe < 1*60 then |
636 | - | Parent = hit, |
636 | + | p1.CFrame = char:WaitForChild("Torso").CFrame |
637 | - | } |
637 | + | p2.CFrame = char:WaitForChild("Torso").CFrame |
638 | - | game:GetService("Debris"):AddItem(bodvol, .5) |
638 | + | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
639 | - | game:GetService("Debris"):AddItem(rl, .5) |
639 | + | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
640 | - | elseif Type == "Normal" then |
640 | + | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
641 | - | local vp = Create("BodyVelocity"){ |
641 | + | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
642 | - | P = 500, |
642 | + | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
643 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
643 | + | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
644 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
644 | + | p1.Transparency = p1.Transparency + (1/(1*60)) |
645 | - | } |
645 | + | p2.Transparency = p2.Transparency + (1/(1*60)) |
646 | - | if knockback > 0 then |
646 | + | p3.Transparency = p3.Transparency + (1/(1*60)) |
647 | - | vp.Parent = hit.Parent.Torso |
647 | + | p4.Transparency = p4.Transparency + (1/(1*60)) |
648 | else | |
649 | - | game:GetService("Debris"):AddItem(vp, .5) |
649 | + | p1:Destroy() |
650 | - | elseif Type == "Up" then |
650 | + | p2:Destroy() |
651 | - | local bodyVelocity = Create("BodyVelocity"){ |
651 | + | p3:Destroy() |
652 | - | velocity = Vector3.new(0, 20, 0), |
652 | + | p4:Destroy() |
653 | - | P = 5000, |
653 | + | frmR:disconnect() |
654 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
654 | + | |
655 | - | Parent = hit, |
655 | + | end) |
656 | - | } |
656 | + | |
657 | - | game:GetService("Debris"):AddItem(bodyVelocity, .5) |
657 | + | char.Humanoid.MaxHealth = math.huge |
658 | - | elseif Type == "DarkUp" then |
658 | + | wait() |
659 | char.Humanoid.Health = math.huge | |
660 | - | for i = 0, 1, 0.1 do |
660 | + | |
661 | - | swait() |
661 | + | --[[mouse.KeyDown:connect(function(key) |
662 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) |
662 | + | if key == "r" then |
663 | print("R!") | |
664 | if cd == false then | |
665 | - | local bodyVelocity = Create("BodyVelocity"){ |
665 | + | print("No cooldown!") |
666 | - | velocity = Vector3.new(0, 20, 0), |
666 | + | cd = true |
667 | - | P = 5000, |
667 | + | if toggle == false then |
668 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
668 | + | print("Entering godmode") |
669 | - | Parent = hit, |
669 | + | toggle = true |
670 | - | } |
670 | + | Instance.new("ForceField",char) |
671 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
671 | + | for i=1,amountGhosts do |
672 | - | elseif Type == "Snare" then |
672 | + | CreateGhost() |
673 | - | local bp = Create("BodyPosition"){ |
673 | + | |
674 | - | P = 2000, |
674 | + | char.Parent = game:GetService("Workspace").CurrentCamera |
675 | - | D = 100, |
675 | + | char:FindFirstChild("Head").Transparency = 1 |
676 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
676 | + | char:FindFirstChild("Torso").Transparency = 1 |
677 | - | position = hit.Parent.Torso.Position, |
677 | + | char:FindFirstChild("Right Arm").Transparency = 1 |
678 | - | Parent = hit.Parent.Torso, |
678 | + | char:FindFirstChild("Left Arm").Transparency = 1 |
679 | - | } |
679 | + | char:FindFirstChild("Right Leg").Transparency = 1 |
680 | - | game:GetService("Debris"):AddItem(bp, 1) |
680 | + | char:FindFirstChild("Left Leg").Transparency = 1 |
681 | - | elseif Type == "Freeze" then |
681 | + | for i,v in pairs(char:GetChildren()) do |
682 | - | local BodPos = Create("BodyPosition"){ |
682 | + | if v:IsA("Accessory") then |
683 | - | P = 50000, |
683 | + | v:FindFirstChild("Handle").Transparency = 1 |
684 | - | D = 1000, |
684 | + | |
685 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
685 | + | |
686 | - | position = hit.Parent.Torso.Position, |
686 | + | else |
687 | - | Parent = hit.Parent.Torso, |
687 | + | print("Exiting godmode") |
688 | - | } |
688 | + | toggle = false |
689 | - | local BodGy = Create("BodyGyro") { |
689 | + | for i,v in pairs(ghosts) do |
690 | - | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
690 | + | v:Destroy() |
691 | - | P = 20e+003, |
691 | + | |
692 | - | Parent = hit.Parent.Torso, |
692 | + | char.Parent = game:GetService("Workspace") |
693 | - | cframe = hit.Parent.Torso.CFrame, |
693 | + | char:FindFirstChild("ForceField"):Destroy() |
694 | - | } |
694 | + | char:FindFirstChild("Head").Transparency = 0 |
695 | - | hit.Parent.Torso.Anchored = true |
695 | + | char:FindFirstChild("Torso").Transparency = 0 |
696 | - | coroutine.resume(coroutine.create(function(Part) |
696 | + | char:FindFirstChild("Right Arm").Transparency = 0 |
697 | - | swait(1.5) |
697 | + | char:FindFirstChild("Left Arm").Transparency = 0 |
698 | - | Part.Anchored = false |
698 | + | char:FindFirstChild("Right Leg").Transparency = 0 |
699 | - | end), hit.Parent.Torso) |
699 | + | char:FindFirstChild("Left Leg").Transparency = 0 |
700 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
700 | + | for i,v in pairs(char:GetChildren()) do |
701 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
701 | + | if v:IsA("Accessory") then |
702 | v:FindFirstChild("Handle").Transparency = 0 | |
703 | - | local debounce = Create("BoolValue"){ |
703 | + | |
704 | - | Name = "DebounceHit", |
704 | + | |
705 | - | Parent = hit.Parent, |
705 | + | |
706 | - | Value = true, |
706 | + | cd = false |
707 | - | } |
707 | + | |
708 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
708 | + | |
709 | - | c = Create("ObjectValue"){ |
709 | + | end)]] |
710 | - | Name = "creator", |
710 | + | |
711 | - | Value = Player, |
711 | + | mouse.KeyDown:connect(function(key) |
712 | - | Parent = h, |
712 | + | spawn(function() |
713 | - | } |
713 | + | if key == "f" and toggle == true and mcd == false then |
714 | - | game:GetService("Debris"):AddItem(c, .5) |
714 | + | if #ghosts < amountGhosts then |
715 | print(#ghosts.."<") | |
716 | mcd = true | |
717 | ||
718 | - | function ShowDamage(Pos, Text, Time, Color) |
718 | + | ClearGhosts() |
719 | - | local Rate = (1 / 30) |
719 | + | |
720 | - | local Pos = (Pos or Vector3.new(0, 0, 0)) |
720 | + | for i=1,amountGhosts do |
721 | - | local Text = (Text or "") |
721 | + | CreateGhost() |
722 | - | local Time = (Time or 2) |
722 | + | |
723 | - | local Color = (Color or Color3.new(1, 0, 1)) |
723 | + | local p1 = Instance.new("Part",workspace) |
724 | - | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
724 | + | local m1 = Instance.new("SpecialMesh",p1) |
725 | - | EffectPart.Anchored = true |
725 | + | m1.MeshType = "Sphere" |
726 | - | local BillboardGui = Create("BillboardGui"){ |
726 | + | m1.Scale = Vector3.new(7,7,7) |
727 | - | Size = UDim2.new(3, 0, 3, 0), |
727 | + | p1.Size = Vector3.new(1,1,1) |
728 | - | Adornee = EffectPart, |
728 | + | p1.Anchored = true |
729 | - | Parent = EffectPart, |
729 | + | p1.CanCollide = false |
730 | - | } |
730 | + | p1.TopSurface = "Smooth" |
731 | - | local TextLabel = Create("TextLabel"){ |
731 | + | p1.BottomSurface = "Smooth" |
732 | - | BackgroundTransparency = 1, |
732 | + | if gt == false then |
733 | - | Size = UDim2.new(1, 0, 1, 0), |
733 | + | p1.BrickColor = gCol |
734 | - | Text = Text, |
734 | + | |
735 | - | Font = "SciFi", |
735 | + | p1.BrickColor = wCol |
736 | - | TextColor3 = Color, |
736 | + | |
737 | - | TextScaled = true, |
737 | + | p1.Material = "Neon" |
738 | - | Parent = BillboardGui, |
738 | + | local p2 = Instance.new("Part",workspace) |
739 | - | } |
739 | + | local m2 = Instance.new("SpecialMesh",p2) |
740 | - | game.Debris:AddItem(EffectPart, (Time)) |
740 | + | m2.MeshType = "Sphere" |
741 | - | EffectPart.Parent = game:GetService("Workspace") |
741 | + | m2.Scale = Vector3.new(9,9,9) |
742 | - | delay(0, function() |
742 | + | p2.Size = Vector3.new(1,1,1) |
743 | - | local Frames = (Time / Rate) |
743 | + | p2.Anchored = true |
744 | - | for Frame = 1, Frames do |
744 | + | p2.CanCollide = false |
745 | - | wait(Rate) |
745 | + | p2.TopSurface = "Smooth" |
746 | - | local Percent = (Frame / Frames) |
746 | + | p2.BottomSurface = "Smooth" |
747 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
747 | + | if gt == false then |
748 | - | TextLabel.TextTransparency = Percent |
748 | + | p2.BrickColor = gCol2 |
749 | else | |
750 | - | if EffectPart and EffectPart.Parent then |
750 | + | p2.BrickColor = wCol2 |
751 | - | EffectPart:Destroy() |
751 | + | |
752 | p2.Material = "Neon" | |
753 | - | end) |
753 | + | local currentframe = 0 |
754 | local frmR | |
755 | ||
756 | - | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) |
756 | + | frmR = game:GetService("RunService").RenderStepped:connect(function() |
757 | - | for _, c in pairs(workspace:children()) do |
757 | + | currentframe = currentframe + 1 |
758 | - | local hum = c:findFirstChild("Humanoid") |
758 | + | if currentframe < 0.25*60 then |
759 | - | if hum ~= nil then |
759 | + | p1.CFrame = char:WaitForChild("Torso").CFrame |
760 | - | local head = c:findFirstChild("Torso") |
760 | + | p2.CFrame = char:WaitForChild("Torso").CFrame |
761 | - | if head ~= nil then |
761 | + | p1.Transparency = p1.Transparency + (1/(0.25*60)) |
762 | - | local targ = head.Position - Part.Position |
762 | + | p2.Transparency = p2.Transparency + (1/(0.25*60)) |
763 | - | local mag = targ.magnitude |
763 | + | |
764 | - | if mag <= Magnitude and c.Name ~= Player.Name then |
764 | + | p1:Destroy() |
765 | - | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) |
765 | + | p2:Destroy() |
766 | mcd = false | |
767 | frmR:disconnect() | |
768 | end | |
769 | end) | |
770 | else | |
771 | mcd = true | |
772 | ||
773 | ClearGhosts() | |
774 | - | ---some future chest tinglol--- |
774 | + | |
775 | local p1 = Instance.new("Part",workspace) | |
776 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.18999839, 1.59999871, 1)) |
776 | + | local m1 = Instance.new("SpecialMesh",p1) |
777 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0236663818, -0.0907719135, 0.317821503, 0.999962866, 0.000129007996, -0.00902621169, -0.000127925552, 1, 0.000120364391, 0.00902613625, -0.000119204378, 0.999959409)) |
777 | + | m1.MeshType = "Sphere" |
778 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=102606179 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.5)) |
778 | + | m1.Scale = Vector3.new(7,7,7) |
779 | - | Middle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Institutional white","Middle",Vector3.new(2, 2, 1)) |
779 | + | p1.Size = Vector3.new(1,1,1) |
780 | - | MiddleWeld=CFuncs.Weld.Create(m,Handle,Middle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00523376465, 0.580596685, -0.170185089, 1.00000691, 7.90009835e-10, -5.96046448e-08, 7.90009835e-10, 1, 4.22005542e-10, -5.96046448e-08, 4.22005542e-10, 1)) |
780 | + | p1.Anchored = true |
781 | - | CFuncs.Mesh.Create("BlockMesh",Middle,"","",Vector3.new(0, 0, 0),Vector3.new(0, 0, 0)) |
781 | + | p1.CanCollide = false |
782 | - | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
782 | + | p1.TopSurface = "Smooth" |
783 | - | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231455326, 0.269420624, 0.305145264, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
783 | + | p1.BottomSurface = "Smooth" |
784 | - | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) |
784 | + | if gt == false then |
785 | - | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
785 | + | p1.BrickColor = gCol |
786 | - | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.231508732, 0.269851685, -0.294754028, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
786 | + | |
787 | - | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) |
787 | + | p1.BrickColor = wCol |
788 | - | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
788 | + | |
789 | - | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.580579519, 0.26966095, 0.00581359863, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
789 | + | p1.Material = "Neon" |
790 | - | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5)) |
790 | + | local p2 = Instance.new("Part",workspace) |
791 | - | Cylinder=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Cylinder",Vector3.new(0.200000003, 0.200000003, 0.400000006)) |
791 | + | local m2 = Instance.new("SpecialMesh",p2) |
792 | - | CylinderWeld=CFuncs.Weld.Create(m,Handle,Cylinder,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.020678997, 0.429592133, 0.00504302979, -0.000139283729, -1, -4.22972735e-05, -7.32941146e-07, -4.22971716e-05, 1, -1, 0.000139283758, -7.27049837e-07)) |
792 | + | m2.MeshType = "Sphere" |
793 | - | CFuncs.Mesh.Create("CylinderMesh",Cylinder,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1, 1.00999999)) |
793 | + | m2.Scale = Vector3.new(9,9,9) |
794 | p2.Size = Vector3.new(1,1,1) | |
795 | - | ----rarm---- |
795 | + | p2.Anchored = true |
796 | p2.CanCollide = false | |
797 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Handle",Vector3.new(0.5625, 0.200000003, 0.5625)) |
797 | + | p2.TopSurface = "Smooth" |
798 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.851722717, 1.10561752, -0.00168609619, 0.470270246, -0.882519305, 0.0023733438, -0.882508159, -0.470276207, -0.00445381179, 0.00504670199, 0, -0.999987364)) |
798 | + | p2.BottomSurface = "Smooth" |
799 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) |
799 | + | if gt == false then |
800 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.100000113, 0.490000099, 1.01999998)) |
800 | + | p2.BrickColor = gCol2 |
801 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.180709839, 2.04907203, 0.000366210938, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
801 | + | |
802 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
802 | + | p2.BrickColor = wCol2 |
803 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
803 | + | |
804 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84852219, -0.850482941, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
804 | + | p2.Material = "Neon" |
805 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
805 | + | local currentframe = 0 |
806 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) |
806 | + | local frmR |
807 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 0.564062595, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
807 | + | |
808 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
808 | + | frmR = game:GetService("RunService").RenderStepped:connect(function() |
809 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) |
809 | + | currentframe = currentframe + 1 |
810 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.554020643, 0.255722046, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
810 | + | if currentframe < 0.25*60 then |
811 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
811 | + | p1.CFrame = char:WaitForChild("Torso").CFrame |
812 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
812 | + | p2.CFrame = char:WaitForChild("Torso").CFrame |
813 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, -0.299934387, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
813 | + | p1.Transparency = p1.Transparency + (1/(0.25*60)) |
814 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01000011, 0.579999983, 1.00999999)) |
814 | + | p2.Transparency = p2.Transparency + (1/(0.25*60)) |
815 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.575714111, 2.01406956, -0.00463867188, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
815 | + | |
816 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
816 | + | p1:Destroy() |
817 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
817 | + | p2:Destroy() |
818 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 0.300064087, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
818 | + | mcd = false |
819 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
819 | + | frmR:disconnect() |
820 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.13999939, 0.504084587, 4.57763672e-05, 0.470276177, -0.882519305, 0, -0.882519305, -0.470276207, 0, -0, 0, -1)) |
820 | + | |
821 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
821 | + | end) |
822 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06848907, -1.07044983, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
822 | + | |
823 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
823 | + | elseif key == "g" and toggle == true and mcd == false then |
824 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) |
824 | + | if gt == true then |
825 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.624020576, 0.695724487, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
825 | + | gt = false |
826 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
826 | + | local p1 = Instance.new("Part",workspace) |
827 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
827 | + | local m1 = Instance.new("SpecialMesh",p1) |
828 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -1.84853363, -1.07049561, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
828 | + | m1.MeshType = "Sphere" |
829 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
829 | + | m1.Scale = Vector3.new(5,5,5) |
830 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) |
830 | + | p1.Size = Vector3.new(1,1,1) |
831 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.654026508, 0.475715637, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
831 | + | p1.Anchored = true |
832 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
832 | + | p1.CanCollide = false |
833 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) |
833 | + | p1.TopSurface = "Smooth" |
834 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00463867188, 0.584041595, 0.915710449, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
834 | + | p1.BottomSurface = "Smooth" |
835 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
835 | + | p1.BrickColor = gCol |
836 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
836 | + | p1.Material = "Neon" |
837 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00463867188, -2.06853485, -0.850494385, -0, 0, -1, 0.291499913, 0.956570923, 0, 0.956570923, -0.291499913, 0)) |
837 | + | local p2 = Instance.new("Part",workspace) |
838 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
838 | + | local m2 = Instance.new("SpecialMesh",p2) |
839 | - | RFHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","RFHitbox",Vector3.new(1.37, 2.26999998, 1.10000002)) |
839 | + | m2.MeshType = "Sphere" |
840 | - | RFHitboxWeld=CFuncs.Weld.Create(m,Handle,RFHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.60017395, 1.22661018, -0.000686645508, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0, 0, 0, 1)) |
840 | + | m2.Scale = Vector3.new(8,8,8) |
841 | - | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
841 | + | p2.Size = Vector3.new(1,1,1) |
842 | - | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
842 | + | p2.Anchored = true |
843 | - | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982)) |
843 | + | p2.CanCollide = false |
844 | - | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
844 | + | p2.TopSurface = "Smooth" |
845 | - | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
845 | + | p2.BottomSurface = "Smooth" |
846 | - | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964)) |
846 | + | p2.BrickColor = gCol2 |
847 | - | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
847 | + | p2.Material = "Neon" |
848 | - | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
848 | + | local p3 = Instance.new("Part",workspace) |
849 | - | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125)) |
849 | + | local m3 = Instance.new("BlockMesh",p3) |
850 | - | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
850 | + | m3.Scale = Vector3.new(7,7,7) |
851 | - | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
851 | + | p3.Size = Vector3.new(1,1,1) |
852 | - | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) |
852 | + | p3.Transparency = 0.4 |
853 | - | part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
853 | + | p3.Anchored = true |
854 | - | partWeld=CFuncs.Weld.Create(m,Handle,part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00560760498, 0.0023765564, -3.81469727e-06, -0, 0, -1, -1, -2.98023224e-08, 0, 2.98023224e-08, 1, 0)) |
854 | + | p3.CanCollide = false |
855 | - | CFuncs.Mesh.Create("SpecialMesh",part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625)) |
855 | + | p3.TopSurface = "Smooth" |
856 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) |
856 | + | p3.BottomSurface = "Smooth" |
857 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.54413247, 0.275726318, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
857 | + | p3.BrickColor = gCol |
858 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) |
858 | + | p3.Material = "Neon" |
859 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 1.62406158, 0.575714111, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
859 | + | local p4 = Instance.new("Part",workspace) |
860 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) |
860 | + | local m4 = Instance.new("BlockMesh",p4) |
861 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.57572937, 0.624048471, 0, 0, 1, -0.470276177, 0.882519305, 0, -0.882519305, -0.470276207, 0)) |
861 | + | m4.Scale = Vector3.new(10,10,10) |
862 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) |
862 | + | p4.Size = Vector3.new(1,1,1) |
863 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, 0.224089146, 0.645721436, 0, 0, 1, -0.882519305, -0.470276207, 0, 0.470276177, -0.882519305, 0)) |
863 | + | p4.Transparency = 0.4 |
864 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) |
864 | + | p4.Anchored = true |
865 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0026473999, -0.00249481201, 0.544101715, 0, 0, 1, -0.999762774, 0.0217780173, 0, -0.0217780471, -0.999762833, 0)) |
865 | + | p4.CanCollide = false |
866 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) |
866 | + | p4.TopSurface = "Smooth" |
867 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, 1.2640996, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) |
867 | + | p4.BottomSurface = "Smooth" |
868 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
868 | + | p4.BrickColor = gCol2 |
869 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
869 | + | p4.Material = "Neon" |
870 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
870 | + | |
871 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0026473999, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
871 | + | ClearGhosts() |
872 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
872 | + | |
873 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297370911, -0.423362732, 2.30372047, -0, 0, -1, 0.685295701, -0.728264928, 0, -0.728264987, -0.685295761, 0)) |
873 | + | for i=1,amountGhosts do |
874 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
874 | + | CreateGhost() |
875 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302642822, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) |
875 | + | |
876 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
876 | + | |
877 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.297355652, 1.75408459, -0.0157165527, -0, 0, -1, -0.882519305, -0.470276207, 0, -0.470276177, 0.882519305, 0)) |
877 | + | local currentframe = 0 |
878 | - | ---larm--- |
878 | + | local frmR |
879 | ||
880 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
880 | + | frmR = game:GetService("RunService").RenderStepped:connect(function() |
881 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00811767578, -0.855991364, 1.11441803, 0.00504670199, 0, -0.999987364, 0.470269799, 0.882519484, 0.00237334147, 0.882508337, -0.47027573, 0.00445381273)) |
881 | + | currentframe = currentframe + 1 |
882 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.393749982, 0.393749982, 0.393749982)) |
882 | + | if currentframe < 1*60 then |
883 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
883 | + | p1.CFrame = char:WaitForChild("Torso").CFrame |
884 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
884 | + | p2.CFrame = char:WaitForChild("Torso").CFrame |
885 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
885 | + | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
886 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
886 | + | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
887 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5625, 0.5625, 0.5625)) |
887 | + | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
888 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
888 | + | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
889 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
889 | + | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
890 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.28125, 0.28125, 0.28125)) |
890 | + | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
891 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
891 | + | p1.Transparency = p1.Transparency + (1/(1*60)) |
892 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
892 | + | p2.Transparency = p2.Transparency + (1/(1*60)) |
893 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.506249964, 0.506249964, 0.506249964)) |
893 | + | p3.Transparency = p3.Transparency + (1/(1*60)) |
894 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
894 | + | p4.Transparency = p4.Transparency + (1/(1*60)) |
895 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994)) |
895 | + | |
896 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) |
896 | + | p1:Destroy() |
897 | - | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.5625, 0.200000003, 0.5625)) |
897 | + | p2:Destroy() |
898 | - | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0023727417, 7.62939453e-06, 0.00561523438, 0, -0.99999994, 0, 0, 0, 0.99999994, -1, 0, -0)) |
898 | + | p3:Destroy() |
899 | - | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5625, 1)) |
899 | + | p4:Destroy() |
900 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.24000001, 0.200000003)) |
900 | + | frmR:disconnect() |
901 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.65192318, 0.476837158, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
901 | + | |
902 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
902 | + | end) |
903 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
903 | + | else |
904 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, 0.294425964, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
904 | + | gt = true |
905 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
905 | + | local p1 = Instance.new("Part",workspace) |
906 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06778336, -1.06818008, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
906 | + | local m1 = Instance.new("SpecialMesh",p1) |
907 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
907 | + | m1.MeshType = "Sphere" |
908 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.449999988, 0.200000003)) |
908 | + | m1.Scale = Vector3.new(5,5,5) |
909 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.551918268, 0.256835938, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
909 | + | p1.Size = Vector3.new(1,1,1) |
910 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
910 | + | p1.Anchored = true |
911 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
911 | + | p1.CanCollide = false |
912 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.0055770874, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
912 | + | p1.TopSurface = "Smooth" |
913 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.300000012, 0.200000003)) |
913 | + | p1.BottomSurface = "Smooth" |
914 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.621917725, 0.696838379, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
914 | + | p1.BrickColor = wCol |
915 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
915 | + | p1.Material = "Neon" |
916 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
916 | + | local p2 = Instance.new("Part",workspace) |
917 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.141113281, 0.501981974, -0.305580139, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
917 | + | local m2 = Instance.new("SpecialMesh",p2) |
918 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.579999983, 1.00999999)) |
918 | + | m2.MeshType = "Sphere" |
919 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.581832886, 2.01196575, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
919 | + | m2.Scale = Vector3.new(8,8,8) |
920 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
920 | + | p2.Size = Vector3.new(1,1,1) |
921 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
921 | + | p2.Anchored = true |
922 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84783173, -1.06821442, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
922 | + | p2.CanCollide = false |
923 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
923 | + | p2.TopSurface = "Smooth" |
924 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.02999997, 0.379999995, 0.200000003)) |
924 | + | p2.BottomSurface = "Smooth" |
925 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0102539063, 0.581938982, 0.916824341, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
925 | + | p2.BrickColor = wCol2 |
926 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
926 | + | p2.Material = "Neon" |
927 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
927 | + | local p3 = Instance.new("Part",workspace) |
928 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -2.06782913, -0.84821701, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
928 | + | local m3 = Instance.new("BlockMesh",p3) |
929 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
929 | + | m3.Scale = Vector3.new(7,7,7) |
930 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(1.02999997, 0.200000003, 0.200000003)) |
930 | + | p3.Size = Vector3.new(1,1,1) |
931 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0102539063, -1.84781265, -0.848209381, 1, 0, 0, 0, -0.29150036, 0.956570745, 0, -0.956570745, -0.29150036)) |
931 | + | p3.Transparency = 0.4 |
932 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
932 | + | p3.Anchored = true |
933 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.00999999, 0.600000024, 1.00999999)) |
933 | + | p3.CanCollide = false |
934 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.576828003, 0.561959505, -0.0102539063, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
934 | + | p3.TopSurface = "Smooth" |
935 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
935 | + | p3.BottomSurface = "Smooth" |
936 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 1.01999998, 0.709999979)) |
936 | + | p3.BrickColor = wCol |
937 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.576843262, 0.621945381, -1, 0, -0, 0, 0.47027573, 0.882519484, 0, 0.882519484, -0.47027573)) |
937 | + | p3.Material = "Neon" |
938 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.230000004, 1.00999999)) |
938 | + | local p4 = Instance.new("Part",workspace) |
939 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.62195778, 0.576828003, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
939 | + | local m4 = Instance.new("BlockMesh",p4) |
940 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1, 0.479999989, 0.75999999)) |
940 | + | m4.Scale = Vector3.new(10,10,10) |
941 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 0.221988678, 0.646835327, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
941 | + | p4.Size = Vector3.new(1,1,1) |
942 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.00999999, 0.670000017, 0.409999996)) |
942 | + | p4.Transparency = 0.4 |
943 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, 1.54202843, 0.27684021, -1, 0, -0, 0, 0.882519484, -0.47027573, 0, -0.47027573, -0.882519484)) |
943 | + | p4.Anchored = true |
944 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.479999989, 0.709999979)) |
944 | + | p4.CanCollide = false |
945 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00826263428, -0.0048789978, 0.544052124, -1, 0, -0, 0, 0.999762774, 0.0217780173, 0, 0.0217780173, -0.999762774)) |
945 | + | p4.TopSurface = "Smooth" |
946 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
946 | + | p4.BottomSurface = "Smooth" |
947 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) |
947 | + | p4.BrickColor = wCol2 |
948 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
948 | + | p4.Material = "Neon" |
949 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) |
949 | + | |
950 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 0.519999981, 0.200000003)) |
950 | + | ClearGhosts() |
951 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, -0.4217453, 2.30198288, 1, 0, 0, 0, -0.685295343, -0.728265285, 0, 0.728265285, -0.685295343)) |
951 | + | |
952 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","d",Vector3.new(0.200000003, 2.07999992, 0.200000003)) |
952 | + | for i=1,amountGhosts do |
953 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00826263428, 1.26199555, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) |
953 | + | CreateGhost() |
954 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
954 | + | |
955 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.291732788, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) |
955 | + | |
956 | - | d=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","d",Vector3.new(0.200000003, 1.10000002, 0.200000003)) |
956 | + | local currentframe = 0 |
957 | - | dWeld=CFuncs.Weld.Create(m,Handle,d,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.308265686, 1.75198078, -0.0168457031, 1, 0, 0, 0, 0.882519484, -0.47027573, 0, 0.47027573, 0.882519484)) |
957 | + | local frmR |
958 | - | LfHitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","LfHitbox",Vector3.new(1.23000014, 2.07999992, 1.08000004)) |
958 | + | |
959 | - | LfHitboxWeld=CFuncs.Weld.Create(m,Handle,LfHitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.486152649, 1.3195107, -0.0055847168, 0, -0.47027573, -0.882519484, 0, 0.882519484, -0.47027573, 1, 0, 0)) |
959 | + | frmR = game:GetService("RunService").RenderStepped:connect(function() |
960 | currentframe = currentframe + 1 | |
961 | - | --headlol---- |
961 | + | if currentframe < 1*60 then |
962 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Brown","Handle",Vector3.new(1, 0.800000012, 2)) |
962 | + | p1.CFrame = char:WaitForChild("Torso").CFrame |
963 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Head"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0050201416, -0.737044811, 0.0650024414, -0.999626577, 5.26573444e-21, -0.0273229256, 5.2506392e-21, 1, 6.24212331e-22, 0.0273229256, 4.80515498e-22, -0.999626577)) |
963 | + | p2.CFrame = char:WaitForChild("Torso").CFrame |
964 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11185882",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012)) |
964 | + | p3.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
965 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
965 | + | p4.CFrame = char:WaitForChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
966 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) |
966 | + | m1.Scale = m1.Scale + Vector3.new(0.25,0.25,0.25) |
967 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1, 1)) |
967 | + | m2.Scale = m2.Scale + Vector3.new(0.25,0.25,0.25) |
968 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
968 | + | m3.Scale = m3.Scale + Vector3.new(0.25,0.25,0.25) |
969 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0264434814, -0.524188995, -0.543628693, -0.999751627, 5.25372174e-21, 0.0222777594, -0.0194845516, -0.484811008, -0.874401748, 0.0108005032, -0.874619007, 0.484690607)) |
969 | + | m4.Scale = m4.Scale + Vector3.new(0.25,0.25,0.25) |
970 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=118974072 ",Vector3.new(0, 0, 0),Vector3.new(1.14999998, 0.99000001, 0.99000001)) |
970 | + | p1.Transparency = p1.Transparency + (1/(1*60)) |
971 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
971 | + | p2.Transparency = p2.Transparency + (1/(1*60)) |
972 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
972 | + | p3.Transparency = p3.Transparency + (1/(1*60)) |
973 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.03999996, 1.03999996, 1.03999996)) |
973 | + | p4.Transparency = p4.Transparency + (1/(1*60)) |
974 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.89999997615814,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
974 | + | |
975 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
975 | + | p1:Destroy() |
976 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 1.01999998, 1.01999998)) |
976 | + | p2:Destroy() |
977 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.60000002384186,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
977 | + | p3:Destroy() |
978 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.016456604, 0.539620876, 0.465080261, -0.999751627, 5.25372174e-21, 0.0222777594, 5.26573444e-21, 1, 4.80515498e-22, -0.0222777594, 5.97705948e-22, -0.999751627)) |
978 | + | p4:Destroy() |
979 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=134030318 ",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
979 | + | frmR:disconnect() |
980 | end | |
981 | end) | |
982 | - | --torsoa---- |
982 | + | |
983 | end | |
984 | end) | |
985 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
985 | + | end) |
986 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0299911499, -0.493329048, 0.770057678, -0.999987364, 0, -0.00504670199, 0, 1, 0, 0.00504670199, 0, -0.999987364)) |
986 | + | |
987 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.600000024)) |
987 | + | local frm = 0 |
988 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
988 | + | |
989 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
989 | + | local toRemove = {} |
990 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.800000012, 0.800000012)) |
990 | + | |
991 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
991 | + | game:GetService("RunService").RenderStepped:connect(function() |
992 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
992 | + | frm = frm + 1 |
993 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5)) |
993 | + | if char.Parent == game:GetService("Workspace").CurrentCamera then |
994 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
994 | + | |
995 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
995 | + | e1.CFrame = char.Head.CFrame * CFrame.new(0.15,0.1,-0.55) |
996 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 0.699999988, 0.699999988)) |
996 | + | e2.CFrame = char.Head.CFrame * CFrame.new(-0.15,0.1,-0.55) |
997 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
997 | + | |
998 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
998 | + | local delay = 0.9 |
999 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976)) |
999 | + | |
1000 | - | f=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","f",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1000 | + | for i,v in pairs(ghosts) do |
1001 | - | fWeld=CFuncs.Weld.Create(m,Handle,f,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1001 | + | for _,b in pairs(v:GetChildren()) do |
1002 | - | CFuncs.Mesh.Create("SpecialMesh",f,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1002 | + | if b:IsA("Part") or b:IsA("WedgePart") or b:IsA("TrussPart") or b:IsA("UnionOperation") then |
1003 | - | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(1, 0.200000003, 1)) |
1003 | + | b.CFrame = b.CFrame:lerp(b:FindFirstChild("Target").Value.CFrame,delay) |
1004 | - | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00417709351, -2.28881836e-05, 0.0100097656, 0, -1, 0, 0, 0, 1, -1, 0, 0)) |
1004 | + | |
1005 | - | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1005 | + | |
1006 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1006 | + | delay = delay - (0.5/(#ghosts+1)) |
1007 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, 0.809951782, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1007 | + | |
1008 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
1008 | + | |
1009 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148796082, 0.128662109, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
1009 | + | --[[if math.floor(frm/8) == frm/8 then |
1010 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1010 | + | local isub = 0 |
1011 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
1011 | + | for i,v in pairs(ghosts) do |
1012 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193378448, 0.128658295, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
1012 | + | if #v:GetChildren() < 6 then |
1013 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1013 | + | v:Destroy() |
1014 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
1014 | + | table.remove(ghosts,i - isub) |
1015 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, 0.148769379, -0.213489532, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
1015 | + | isub = isub + 1 |
1016 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1016 | + | CreateGhost() |
1017 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.00999999, 1.13, 0.620000005)) |
1017 | + | |
1018 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0342407227, 0.055727005, -0.559654236, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1018 | + | |
1019 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.311040044, 0.311040044)) |
1019 | + | end]] |
1020 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.343719482, -0.193340302, -0.213474274, 0, 0, 1, -0.707106829, -0.707106829, 0, 0.707106829, -0.707106829, 0)) |
1020 | + | |
1021 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1021 | + | |
1022 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1022 | + | --Animation states |
1023 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1023 | + | |
1024 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1024 | + | local ray = Ray.new(char.HumanoidRootPart.CFrame.p, Vector3.new(0,-3,0).unit*4) |
1025 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, -0.224153996, 0.81993103, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1025 | + | local part,pos,normal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(ray,ghosts,false,true) |
1026 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) |
1026 | + | |
1027 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.782676697, 0.765777588, -0.204174995, 0, 0, 1, 1, 0, 0, 0, 1, 0)) |
1027 | + | if state ~= "busy" then |
1028 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(1.01999998, 0.400000006, 0.610000014)) |
1028 | + | if char.HumanoidRootPart.Velocity.Magnitude <= 0.5 then |
1029 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.792671204, 0.844223022, -0.204174995, 0, 0, -1, -1, 0, 0, 0, 1, 0)) |
1029 | + | state = "idle" |
1030 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1030 | + | elseif char.HumanoidRootPart.Velocity.Magnitude > 0.5 then |
1031 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.340003967, 0.355865002, -0.71006012, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1031 | + | state = "running" |
1032 | --[[elseif char.HumanoidRootPart.Velocity.Y < 0.1 and not part then | |
1033 | - | ---rightleg--- |
1033 | + | state = "falling" |
1034 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1034 | + | elseif char.HumanoidRootPart.Velocity.Y >= 0.1 and not part then |
1035 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00577545166, 0.163275599, 0.527420044, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) |
1035 | + | state = "jumping"]] |
1036 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488)) |
1036 | + | |
1037 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1037 | + | char.Humanoid.WalkSpeed = 32 |
1038 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1038 | + | char.Humanoid.JumpPower = 70 |
1039 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375)) |
1039 | + | |
1040 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1040 | + | |
1041 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1041 | + | --Actual animations |
1042 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012)) |
1042 | + | |
1043 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1043 | + | if state == "idle" then |
1044 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1044 | + | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(80 + math.cos(tick())*4),math.rad(180),math.rad(0)),0.06) |
1045 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494)) |
1045 | + | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06) |
1046 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1046 | + | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06) |
1047 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1047 | + | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.43 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06) |
1048 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875)) |
1048 | + | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.6) * CFrame.Angles(math.rad(-15 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06) |
1049 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1049 | + | char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06) |
1050 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1050 | + | elseif state == "running" then |
1051 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) |
1051 | + | char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0:lerp(CFrame.new(0,1 + (math.cos(tick())/5),0) * CFrame.Angles(math.rad(65 + math.cos(tick())*4),math.rad(180),math.rad(-char.HumanoidRootPart.RotVelocity.Y*10)),0.06) |
1052 | - | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) |
1052 | + | char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0:lerp(CFrame.new(0.5,-0.1 + (math.cos((tick())*2)/10),-0.2) * CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),0.06) |
1053 | - | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421905518, 0, -1, 0, 0, 0, 1, -1, 0, 0)) |
1053 | + | char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0:lerp(CFrame.new(-0.5,-0.5 + (math.cos((tick()-0.5)*2)/6),0.3) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.06) |
1054 | - | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) |
1054 | + | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0:lerp(CFrame.new(1.5,0.70 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(50 + math.cos((tick())*2)*10),math.rad(0),math.rad(math.cos(tick()/3)*3)),0.06) |
1055 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.410000026, 1.01999998)) |
1055 | + | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0:lerp(CFrame.new(-1.5,0.3 + (math.cos((tick()-0.5)*1.5)/30),-0.4) * CFrame.Angles(math.rad(-35 + math.cos((tick()))*7),math.rad(0),math.rad(math.cos(tick()/2)*4)),0.06) |
1056 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.404953003, -0.835816026, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1056 | + | char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(math.rad(90 + math.cos(tick()*1.5)*6),math.rad(180),math.rad(0)),0.06) |
1057 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1057 | + | |
1058 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1058 | + | end) |
1059 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1059 | + | |
1060 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1060 | + | char.Humanoid.Died:connect(function() |
1061 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1061 | + | toggle = false |
1062 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1062 | + | |
1063 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) |
1063 | + | ClearGhosts() |
1064 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1064 | + | |
1065 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) |
1065 | + | char.Parent = game.Workspace |
1066 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1066 | + | char.Parent = game:GetService("Workspace") |
1067 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) |
1067 | + | char:FindFirstChild("ForceField"):Destroy() |
1068 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364208221, -0.519493103, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1068 | + | char:FindFirstChild("Head").Transparency = 0 |
1069 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1069 | + | char:FindFirstChild("Torso").Transparency = 0 |
1070 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1070 | + | char:FindFirstChild("Right Arm").Transparency = 0 |
1071 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1071 | + | char:FindFirstChild("Left Arm").Transparency = 0 |
1072 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1072 | + | char:FindFirstChild("Right Leg").Transparency = 0 |
1073 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) |
1073 | + | char:FindFirstChild("Left Leg").Transparency = 0 |
1074 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416698456, -0.189483643, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1074 | + | for i,v in pairs(char:GetChildren()) do |
1075 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1075 | + | if v:IsA("Accessory") then |
1076 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1076 | + | v:FindFirstChild("Handle").Transparency = 0 |
1077 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.447799683, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1077 | + | |
1078 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1078 | + | |
1079 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) |
1079 | + | for i,v in pairs(game:GetService("Workspace").CurrentCamera:GetChildren()) do v:Destroy() end |
1080 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100349426, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1080 | + | plr:LoadCharacter() |
1081 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) |
1081 | + | end) |
1082 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, -0.180850029, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1082 | + | |
1083 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1083 | + | local msgidGlob = 0 |
1084 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1084 | + | local state = true |
1085 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1085 | + | local font = "Arcade" |
1086 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1086 | + | local tcol = Color3.fromRGB(255,217,0) |
1087 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.787796021, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1087 | + | local tscol = Color3.fromRGB(0,0,0) |
1088 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1088 | + | local fsiz = 28 |
1089 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1089 | + | local tr = true |
1090 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.740772009, -0.277801514, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1090 | + | local tsr = false |
1091 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1091 | + | local fade = 2 |
1092 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) |
1092 | + | |
1093 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.406188965, -0.930737019, -0.617797852, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1093 | + | local p = Instance.new("Part",game.Workspace) |
1094 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1094 | + | p.Size = Vector3.new(0.2,0.2,0.2) |
1095 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) |
1095 | + | p.Transparency = 1 |
1096 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386646271, -0.024520874, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1096 | + | p.Anchored = true |
1097 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1097 | + | p.CanCollide = false |
1098 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) |
1098 | + | p.Name = "Msg" |
1099 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.439151764, -0.354492188, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1099 | + | p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0) |
1100 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1100 | + | |
1101 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1101 | + | local r = 255 |
1102 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944480896, 0.094493866, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
1102 | + | local b = 0 |
1103 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1103 | + | local g = 0 |
1104 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1104 | + | |
1105 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314418793, 0.314464569, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
1105 | + | plr.Chatted:connect(function(c) |
1106 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1106 | + | msgidGlob = msgidGlob + 1 |
1107 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1107 | + | local curMsgId = msgidGlob |
1108 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.314434052, 0.0945091248, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
1108 | + | if string.lower(c) == "!disable" then |
1109 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1109 | + | state = false |
1110 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1110 | + | elseif string.lower(c) == "!enable" then |
1111 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950370789, 0.0944519043, 0.31451416, 0, 0, -1, -0.707106829, 0.707106829, 0, 0.707106829, 0.707106829, 0)) |
1111 | + | state = true |
1112 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1112 | + | elseif string.lower(string.sub(c,1,6)) == "!font " then |
1113 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) |
1113 | + | local old = font |
1114 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00503540039, 0.289182007, 0.530357361, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1114 | + | font = string.sub(c,7,#c) or old |
1115 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) |
1115 | + | elseif string.lower(string.sub(c,1,8)) == "!tcolor " then |
1116 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0478363, -0.287506104, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
1116 | + | if string.lower(string.sub(c,9,#c)) == "rainbow" then |
1117 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1117 | + | tr = true |
1118 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147018433, -0.465834022, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1118 | + | else |
1119 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) |
1119 | + | tr = false |
1120 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.527000427, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1120 | + | local old = tcol |
1121 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1121 | + | tcol = Color3.fromRGB(string.sub(c,9,11),string.sub(c,13,15),string.sub(c,17,19)) or old |
1122 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147018433, -0.465834022, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1122 | + | |
1123 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1123 | + | elseif string.lower(string.sub(c,1,9)) == "!tscolor " then |
1124 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137023926, -0.415816069, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1124 | + | if string.sub(c,10,#c) == "rainbow" then |
1125 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1125 | + | tsr = true |
1126 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137023926, -0.415816069, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1126 | + | else |
1127 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) |
1127 | + | tsr = false |
1128 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.772094727, -0.486150742, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
1128 | + | local old = tscol |
1129 | tscol = Color3.fromRGB(string.sub(c,10,12),string.sub(c,14,16),string.sub(c,18,20)) or old | |
1130 | - | ----leftleg---- |
1130 | + | |
1131 | - | Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","Handle",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1131 | + | elseif string.lower(string.sub(c,1,6)) == "!size " then |
1132 | - | HandleWeld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00580596924, 0.18327564, 0.52255249, 0.999987364, 0, 0.00504670199, 0, 1, 0, -0.00504670199, 0, 0.999987364)) |
1132 | + | local old = fsiz |
1133 | - | CFuncs.Mesh.Create("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.337500006, 0.337500006, 0.337500006)) |
1133 | + | fsiz = string.sub(c,7,#c) or old |
1134 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1134 | + | elseif string.lower(string.sub(c,1,6)) == "!fade " then |
1135 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1135 | + | local old = fade |
1136 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.253125012, 0.253125012, 0.253125012)) |
1136 | + | fade = string.sub(c,7,#c) or old |
1137 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1137 | + | |
1138 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1138 | + | if plr.Character and state == true then |
1139 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.379687488, 0.379687488, 0.379687488)) |
1139 | + | if plr.Character:FindFirstChild("Head") then |
1140 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1140 | + | for i,v in pairs(p:GetChildren()) do |
1141 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1141 | + | if v:IsA("BillboardGui") and v.Name == "J2CMSG" then |
1142 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.295312494, 0.295312494, 0.295312494)) |
1142 | + | v:Destroy() |
1143 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1143 | + | |
1144 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1144 | + | |
1145 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.421875, 0.421875, 0.421875)) |
1145 | + | local bbgui = Instance.new("BillboardGui",p) |
1146 | - | F=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.69999998807907,"Toothpaste","F",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1146 | + | bbgui.Name = "J2CMSG" |
1147 | - | FWeld=CFuncs.Weld.Create(m,Handle,F,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) |
1147 | + | bbgui.AlwaysOnTop = true |
1148 | - | CFuncs.Mesh.Create("SpecialMesh",F,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.2109375, 0.2109375, 0.2109375)) |
1148 | + | bbgui.ExtentsOffsetWorldSpace = Vector3.new(0,4.5,0) |
1149 | - | Infected=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0.20000000298023,"Black","Infected",Vector3.new(0.421875, 0.200000003, 0.421875)) |
1149 | + | bbgui.Size = UDim2.new(0.2,0,0.14,0) |
1150 | - | InfectedWeld=CFuncs.Weld.Create(m,Handle,Infected,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00174897909, -3.05175781e-05, 0.00421142578, 0, -1, 0, 0, 0, 1, -1, 0, 0)) |
1150 | + | local tl = Instance.new("TextLabel",bbgui) |
1151 | - | CFuncs.Mesh.Create("SpecialMesh",Infected,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.421875, 1)) |
1151 | + | tl.BackgroundTransparency = 1 |
1152 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.540000021, 0.540000021)) |
1152 | + | tl.BorderSizePixel = 0 |
1153 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1153 | + | tl.Size = UDim2.new(1,0,10,0) |
1154 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.200000003, 0.200000003)) |
1154 | + | tl.Position = UDim2.new(0,0,-5,0) |
1155 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.43914032, -0.354473114, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1155 | + | tl.Font = font or "SciFi" |
1156 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.900000036, 0.75)) |
1156 | + | tl.FontSize = "Size"..fsiz or "Size36" |
1157 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.224999994, 0.200000003)) |
1157 | + | tl.TextColor3 = tcol |
1158 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.416690826, -0.189472198, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1158 | + | tl.TextScaled = false |
1159 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1159 | + | tl.TextWrapped = false |
1160 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0.5,"Bright blue","Part",Vector3.new(0.200000003, 0.519999981, 0.519999981)) |
1160 | + | tl.TextStrokeColor3 = tscol |
1161 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1161 | + | tl.TextStrokeTransparency = 0 |
1162 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.338, 0.200000003)) |
1162 | + | |
1163 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.364192963, -0.519462585, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1163 | + | game:GetService("RunService").RenderStepped:connect(function() |
1164 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1164 | + | if tr then |
1165 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.01999998, 0.200000003, 1.01999998)) |
1165 | + | if tl.Parent ~= nil then |
1166 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, -0.180850029, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1166 | + | tl.TextColor3 = Color3.fromRGB(r,g,b) |
1167 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(0.200000003, 0.5, 0.5)) |
1167 | + | |
1168 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100334167, -0.000846028328, -0.00495147705, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1168 | + | |
1169 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(1.03999996, 0.284999996, 0.200000003)) |
1169 | + | end) |
1170 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00506591797, 0.386638641, -0.0245018005, 1, 0, 0, 0, 0.848048866, -0.529917955, 0, 0.529917955, 0.848048866)) |
1170 | + | |
1171 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.75)) |
1171 | + | for i=1,#c do |
1172 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Electric blue","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1172 | + | if msgidGlob == curMsgId then |
1173 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944595337, -0.314498901, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
1173 | + | tl.Text = string.sub(c,1,i) |
1174 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1174 | + | if string.sub(c,i,i) ~= " " then |
1175 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.230000004, 1.01999998)) |
1175 | + | local s = Instance.new("Sound",p) |
1176 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) |
1176 | + | s.SoundId = "rbxassetid://418252437" |
1177 | - | Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.02999997, 1.02999997, 1.02999997)) |
1177 | + | s.Volume = 1 |
1178 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0050201416, 0.289182007, 0.530334473, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1178 | + | s.Pitch = 1 |
1179 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Part",Vector3.new(1.02999997, 0.200000003, 1.02999997)) |
1179 | + | s:Play() |
1180 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0713348389, -0.872953892, 0.530334473, -0.996194899, -0.0871539935, 0, -0.087154001, 0.996194899, 0, 0, 0, -1)) |
1180 | + | game.Debris:AddItem(s,2) |
1181 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright green","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1181 | + | |
1182 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.314414978, -0.314460754, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
1182 | + | wait() |
1183 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1183 | + | |
1184 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1184 | + | |
1185 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.0944480896, -0.094493866, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
1185 | + | wait(fade) |
1186 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1186 | + | if msgidGlob == curMsgId then |
1187 | - | Part=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
1187 | + | for i=1,10 do |
1188 | - | PartWeld=CFuncs.Weld.Create(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.950317383, -0.31445694, -0.0945014954, 0, 0, -1, 0.707106829, -0.707106829, -0, -0.707106829, -0.707106829, 0)) |
1188 | + | if msgidGlob == curMsgId then |
1189 | - | CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
1189 | + | tl.TextTransparency = tl.TextTransparency + 0.1 |
1190 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.200000003, 1.04999995)) |
1190 | + | tl.TextStrokeTransparency = tl.TextStrokeTransparency + 0.1 |
1191 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0100402832, 0.714154005, 0.526977539, -1, 0, 0, 0, 1, 0, 0, 0, -1)) |
1191 | + | tl.Position = tl.Position + UDim2.new(0,0,0,-3) |
1192 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1192 | + | wait() |
1193 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.137008667, -0.415816009, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1193 | + | |
1194 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.370000005)) |
1194 | + | |
1195 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -0.77205658, -0.486157417, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
1195 | + | if msgidGlob == curMsgId then |
1196 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Really black","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1196 | + | bbgui:Destroy() |
1197 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.137008667, -0.415816009, 0.249969482, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1197 | + | |
1198 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1198 | + | |
1199 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.147003174, -0.465833962, 0.250045776, 0, 0, -1, 0, 1, 0, 1, 0, 0)) |
1199 | + | |
1200 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(1.04999995, 0.25, 0.670000017)) |
1200 | + | |
1201 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100402832, -1.0477829, -0.287514687, 1, 0, 0, -0, -0.173650086, 0.984807491, 0, -0.984807491, -0.173650086)) |
1201 | + | end) |
1202 | - | Wedge=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Bright blue","Wedge",Vector3.new(0.25999999, 0.389999986, 0.5)) |
1202 | + | |
1203 | - | WedgeWeld=CFuncs.Weld.Create(m,Handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.147003174, -0.465833962, 0.249954224, 0, 0, 1, 0, 1, 0, -1, 0, 0)) |
1203 | + | |
1204 | while wait() do | |
1205 | for i=0,255,10 do g = i wait() end | |
1206 | for i=255,0,-10 do r = i wait() end | |
1207 | - | EffectModel = Create("Model"){ |
1207 | + | for i=0,255,10 do b = i wait() end |
1208 | - | Parent = Character, |
1208 | + | for i=255,0,-10 do g = i wait() end |
1209 | - | Name = "Effects", |
1209 | + | for i=0,255,10 do r = i wait() end |
1210 | - | } |
1210 | + | for i=255,0,-10 do b = i wait() end |
1211 | end | |
1212 | - | Effects = { |
1212 | + | |
1213 | - | Block = { |
1213 | + | |
1214 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
1214 | + | game:GetService("RunService").RenderStepped:connect(function() |
1215 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
1215 | + | if p.Parent ~= nil then |
1216 | - | prt.Anchored = true |
1216 | + | p.CFrame = p.CFrame:lerp(plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0),0.16) |
1217 | - | prt.CFrame = cframe |
1217 | + | |
1218 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
1218 | + | p = Instance.new("Part",game.Workspace) |
1219 | - | game:GetService("Debris"):AddItem(prt, 10) |
1219 | + | p.Size = Vector3.new(0.2,0.2,0.2) |
1220 | - | if Type == 1 or Type == nil then |
1220 | + | p.Transparency = 1 |
1221 | - | table.insert(Effects, { |
1221 | + | p.Anchored = true |
1222 | - | prt, |
1222 | + | p.CanCollide = false |
1223 | - | "Block1", |
1223 | + | p.Name = "Msg" |
1224 | - | delay, |
1224 | + | p.CFrame = plr.Character:WaitForChild("Head").CFrame + Vector3.new(0,2.25,0) |
1225 | - | x3, |
1225 | + | |
1226 | - | y3, |
1226 | + | end) |
1227 | - | z3, |
1227 | + | |
1228 | - | msh |
1228 | + | print("Zorex God loaded! Time elapsed: "..tick() - time) |