SHOW:
|
|
- or go back to the newest paste.
1 | - | ----------------------- |
1 | + | --//====================================================\\-- |
2 | - | --[[ Name : TeaCopter ]]-- |
2 | + | --|| CREATED BY SHACKLUSTER |
3 | - | --[[ Description : Truly British. ]]-- |
3 | + | --\\====================================================//-- |
4 | - | --[[ Original By : Creterisk/makhail07]]-- |
4 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
5 | - | --[[ Edited By : TheGuestToBlame]]-- |
5 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
6 | - | --[[ \ None / ]]-- |
6 | + | do |
7 | - | ------------------------------------------------------- |
7 | + | print("FE Compatibility code by Mokiros") |
8 | - | --A script By TheGuestToBlame |
8 | + | script.Parent = Player.Character |
9 | - | --Discord 4NDAYY#7540 |
9 | + | |
10 | - | ------------------------------------------------------- |
10 | + | --RemoteEvent for communicating |
11 | local Event = Instance.new("RemoteEvent") | |
12 | - | --A cup of tea, anyone? |
12 | + | Event.Name = "UserInput_Event" |
13 | ||
14 | - | wait(1 / 60) |
14 | + | --Fake event to make stuff like Mouse.KeyDown work |
15 | local function fakeEvent() | |
16 | - | local plr = game:service'Players'.LocalPlayer |
16 | + | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
17 | - | print('Local User is '..plr.Name) |
17 | + | t.connect = t.Connect |
18 | - | print('TeaCopter Loaded') |
18 | + | return t |
19 | - | print([[ |
19 | + | |
20 | - | I honestly, don't know why I edited this, |
20 | + | |
21 | - | but it's a simple meme, so you've gotta appreciate it. |
21 | + | --Creating fake input objects with fake variables |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | - | Controls : |
23 | + | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
24 | - | T - Taunt ( Random Sentences ) |
24 | + | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
25 | - | Q - Sitt |
25 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
26 | - | Click - Sipp |
26 | + | end} |
27 | - | ]]) |
27 | + | --Merged 2 functions into one by checking amount of arguments |
28 | - | local char = plr.Character |
28 | + | CAS.UnbindAction = CAS.BindAction |
29 | - | local hum = char:FindFirstChildOfClass'Humanoid' |
29 | + | |
30 | - | local hed = char.Head |
30 | + | --This function will trigger the events that have been :Connect()'ed |
31 | - | local root = char:FindFirstChild'HumanoidRootPart' |
31 | + | local function te(self,ev,...) |
32 | - | local rootj = root.RootJoint |
32 | + | local t = m[ev] |
33 | - | local tors = char.Torso |
33 | + | if t and t._fakeEvent and t.Function then |
34 | - | local ra = char["Right Arm"] |
34 | + | t.Function(...) |
35 | - | local la = char["Left Arm"] |
35 | + | |
36 | - | local rl = char["Right Leg"] |
36 | + | |
37 | - | local ll = char["Left Leg"] |
37 | + | m.TrigEvent = te |
38 | - | local neck = tors["Neck"] |
38 | + | UIS.TrigEvent = te |
39 | - | local mouse = plr:GetMouse() |
39 | + | |
40 | - | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) |
40 | + | Event.OnServerEvent:Connect(function(plr,io) |
41 | - | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) |
41 | + | if plr~=Player then return end |
42 | - | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) |
42 | + | if io.isMouse then |
43 | - | local maincolor = BrickColor.new("Institutional white") |
43 | + | m.Target = io.Target |
44 | - | ------------------------------------------------------- |
44 | + | m.Hit = io.Hit |
45 | - | --Start Good Stuff-- |
45 | + | |
46 | - | ------------------------------------------------------- |
46 | + | local b = io.UserInputState == Enum.UserInputState.Begin |
47 | - | cam = game.Workspace.CurrentCamera |
47 | + | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | - | angles = CFrame.Angles |
49 | + | |
50 | - | attack = false |
50 | + | for _,t in pairs(CAS.Actions) do |
51 | - | Euler = CFrame.fromEulerAnglesXYZ |
51 | + | for _,k in pairs(t.Keys) do |
52 | - | Rad = math.rad |
52 | + | if k==io.KeyCode then |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | - | BrickC = BrickColor.new |
54 | + | |
55 | - | Cos = math.cos |
55 | + | |
56 | - | Acos = math.acos |
56 | + | |
57 | - | Sin = math.sin |
57 | + | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
58 | - | Asin = math.asin |
58 | + | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
59 | - | Abs = math.abs |
59 | + | end |
60 | - | Mrandom = math.random |
60 | + | |
61 | - | Floor = math.floor |
61 | + | Event.Parent = NLS([==[ |
62 | - | ------------------------------------------------------- |
62 | + | local Player = game:GetService("Players").LocalPlayer |
63 | - | --End Good Stuff-- |
63 | + | local Event = script:WaitForChild("UserInput_Event") |
64 | - | ------------------------------------------------------- |
64 | + | |
65 | - | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
65 | + | local UIS = game:GetService("UserInputService") |
66 | - | RSH, LSH = nil, nil |
66 | + | local input = function(io,a) |
67 | - | RW = Instance.new("Weld") |
67 | + | if a then return end |
68 | - | LW = Instance.new("Weld") |
68 | + | --Since InputObject is a client-side instance, we create and pass table instead |
69 | - | RH = tors["Right Hip"] |
69 | + | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
70 | - | LH = tors["Left Hip"] |
70 | + | |
71 | - | RSH = tors["Right Shoulder"] |
71 | + | UIS.InputBegan:Connect(input) |
72 | - | LSH = tors["Left Shoulder"] |
72 | + | UIS.InputEnded:Connect(input) |
73 | - | RSH.Parent = nil |
73 | + | local Mouse = Player:GetMouse() |
74 | - | LSH.Parent = nil |
74 | + | local h,t |
75 | - | RW.Name = "RW" |
75 | + | --Give the server mouse data 30 times every second, but only if the values changed |
76 | - | RW.Part0 = tors |
76 | + | --If player is not moving their mouse, client won't fire events |
77 | - | RW.C0 = CF(1.5, 0.5, 0) |
77 | + | while wait(1/30) do |
78 | - | RW.C1 = CF(0, 0.5, 0) |
78 | + | if h~=Mouse.Hit or t~=Mouse.Target then |
79 | - | RW.Part1 = ra |
79 | + | h,t=Mouse.Hit,Mouse.Target |
80 | - | RW.Parent = tors |
80 | + | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
81 | - | LW.Name = "LW" |
81 | + | |
82 | - | LW.Part0 = tors |
82 | + | end]==],Player.Character) |
83 | - | LW.C0 = CF(-1.5, 0.5, 0) |
83 | + | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
84 | - | LW.C1 = CF(0, 0.5, 0) |
84 | + | |
85 | - | LW.Part1 = la |
85 | + | |
86 | - | LW.Parent = tors |
86 | + | m = owner |
87 | - | Effects = {} |
87 | + | char = m.Character |
88 | - | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) |
88 | + | local txt = Instance.new("BillboardGui", char) |
89 | - | local wld = Instance.new("Weld", wp1) |
89 | + | txt.Adornee = char.Head |
90 | - | wld.Part0 = wp0 |
90 | + | txt.Name = "_status" |
91 | - | wld.Part1 = wp1 |
91 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
92 | - | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) |
92 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
93 | local text = Instance.new("TextLabel", txt) | |
94 | - | newWeld(tors, ll, -0.5, -1, 0) |
94 | + | text.Size = UDim2.new(10, 0, 7, 0) |
95 | - | ll.Weld.C1 = CFrame.new(0, 1, 0) |
95 | + | text.FontSize = "Size24" |
96 | - | newWeld(tors, rl, 0.5, -1, 0) |
96 | + | text.TextScaled = true |
97 | - | rl.Weld.C1 = CFrame.new(0, 1, 0) |
97 | + | text.TextTransparency = 0 |
98 | - | ------------------------------------------------------- |
98 | + | text.BackgroundTransparency = 1 |
99 | - | --Start HeartBeat-- |
99 | + | text.TextTransparency = 0 |
100 | - | ------------------------------------------------------- |
100 | + | text.TextStrokeTransparency = 0 |
101 | - | ArtificialHB = Instance.new("BindableEvent", script) |
101 | + | text.Font = "Bodoni" |
102 | text.TextStrokeColor3 = Color3.new(170, 0, 0) | |
103 | v = Instance.new("Part") | |
104 | v.Name = "ColorBrick" | |
105 | - | frame = 1 / 60 |
105 | + | v.Parent = m.Character |
106 | - | tf = 0 |
106 | + | v.FormFactor = "Symmetric" |
107 | - | allowframeloss = false |
107 | + | v.Anchored = true |
108 | - | tossremainder = false |
108 | + | v.CanCollide = false |
109 | v.BottomSurface = "Smooth" | |
110 | v.TopSurface = "Smooth" | |
111 | - | lastframe = tick() |
111 | + | v.Size = Vector3.new(10, 5, 3) |
112 | - | script.Heartbeat:Fire() |
112 | + | v.Transparency = 1 |
113 | v.CFrame = char.Torso.CFrame | |
114 | v.BrickColor = BrickColor.new("Really black") | |
115 | v.Transparency = 1 | |
116 | v.Shape = "Block" | |
117 | text.Text = "You Have Failed." | |
118 | IntroSound = Instance.new("Sound") | |
119 | IntroSound.Parent = char.Torso | |
120 | IntroSound.Volume = 20 | |
121 | IntroSound.Pitch = 1 | |
122 | IntroSound.SoundId = "http://www.roblox.com/asset/?id=907331307" | |
123 | - | script.Heartbeat:Fire() |
123 | + | IntroSound:Play() |
124 | wait(2) | |
125 | v.Shape = "Block" | |
126 | text.Text = "You Will Learn." | |
127 | IntroSound = Instance.new("Sound") | |
128 | IntroSound.Parent = char.Torso | |
129 | IntroSound.Volume = 20 | |
130 | IntroSound.Pitch = 1 | |
131 | IntroSound.SoundId = "http://www.roblox.com/asset/?id=907333406" | |
132 | IntroSound:Play() | |
133 | wait(2) | |
134 | - | ------------------------------------------------------- |
134 | + | v.Shape = "Block" |
135 | - | --End HeartBeat-- |
135 | + | text.Text = "Your Death Is Assured!" |
136 | - | ------------------------------------------------------- |
136 | + | IntroSound = Instance.new("Sound") |
137 | IntroSound.Parent = char.Torso | |
138 | - | ------------------------------------------------------- |
138 | + | IntroSound.Volume = 20 |
139 | - | --Start Important Functions-- |
139 | + | IntroSound.Pitch = 1 |
140 | - | ------------------------------------------------------- |
140 | + | IntroSound.SoundId = "http://www.roblox.com/asset/?id=907332670" |
141 | IntroSound:Play() | |
142 | wait(2) | |
143 | - | game:service("RunService").Stepped:wait(0) |
143 | + | |
144 | text.Text = "Void Slayer" | |
145 | --==//Wings and Halo\\==-- | |
146 | - | game:service("RunService").Stepped:wait(0) |
146 | + | Player=owner |
147 | Character=Player.Character | |
148 | m=Instance.new('Model',Character) | |
149 | ||
150 | - | function thread(f) |
150 | + | local function weldBetween(a, b) |
151 | - | coroutine.resume(coroutine.create(f)) |
151 | + | local weldd = Instance.new("ManualWeld") |
152 | weldd.Part0 = a | |
153 | - | function clerp(a, b, t) |
153 | + | weldd.Part1 = b |
154 | - | local qa = { |
154 | + | weldd.C0 = CFrame.new() |
155 | - | QuaternionFromCFrame(a) |
155 | + | weldd.C1 = b.CFrame:inverse() * a.CFrame |
156 | - | } |
156 | + | weldd.Parent = a |
157 | - | local qb = { |
157 | + | return weldd |
158 | - | QuaternionFromCFrame(b) |
158 | + | |
159 | - | } |
159 | + | |
160 | - | local ax, ay, az = a.x, a.y, a.z |
160 | + | it=Instance.new |
161 | - | local bx, by, bz = b.x, b.y, b.z |
161 | + | |
162 | - | local _t = 1 - t |
162 | + | function nooutline(part) |
163 | - | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
163 | + | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 |
164 | end | |
165 | - | function QuaternionFromCFrame(cf) |
165 | + | |
166 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
166 | + | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) |
167 | - | local trace = m00 + m11 + m22 |
167 | + | local fp=it("Part") |
168 | - | if trace > 0 then |
168 | + | fp.formFactor=formfactor |
169 | - | local s = math.sqrt(1 + trace) |
169 | + | fp.Parent=parent |
170 | - | local recip = 0.5 / s |
170 | + | fp.Reflectance=reflectance |
171 | - | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
171 | + | fp.Transparency=transparency |
172 | fp.CanCollide=false | |
173 | - | local i = 0 |
173 | + | fp.Locked=true |
174 | - | if m00 < m11 then |
174 | + | fp.BrickColor=BrickColor.new(tostring(brickcolor)) |
175 | - | i = 1 |
175 | + | fp.Name=name |
176 | fp.Size=size | |
177 | - | if m22 > (i == 0 and m00 or m11) then |
177 | + | fp.Position=Character.Torso.Position |
178 | - | i = 2 |
178 | + | nooutline(fp) |
179 | fp.Material=material | |
180 | - | if i == 0 then |
180 | + | fp:BreakJoints() |
181 | - | local s = math.sqrt(m00 - m11 - m22 + 1) |
181 | + | return fp |
182 | - | local recip = 0.5 / s |
182 | + | |
183 | - | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
183 | + | |
184 | - | elseif i == 1 then |
184 | + | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
185 | - | local s = math.sqrt(m11 - m22 - m00 + 1) |
185 | + | local mesh=it(Mesh) |
186 | - | local recip = 0.5 / s |
186 | + | mesh.Parent=part |
187 | - | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
187 | + | if Mesh=="SpecialMesh" then |
188 | - | elseif i == 2 then |
188 | + | mesh.MeshType=meshtype |
189 | - | local s = math.sqrt(m22 - m00 - m11 + 1) |
189 | + | mesh.MeshId=meshid |
190 | - | local recip = 0.5 / s |
190 | + | |
191 | - | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
191 | + | mesh.Offset=offset |
192 | mesh.Scale=scale | |
193 | return mesh | |
194 | end | |
195 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
195 | + | |
196 | - | local xs, ys, zs = x + x, y + y, z + z |
196 | + | function weld(parent,part0,part1,c0,c1) |
197 | - | local wx, wy, wz = w * xs, w * ys, w * zs |
197 | + | local weld=it("Weld") |
198 | - | local xx = x * xs |
198 | + | weld.Parent=parent |
199 | - | local xy = x * ys |
199 | + | weld.Part0=part0 |
200 | - | local xz = x * zs |
200 | + | weld.Part1=part1 |
201 | - | local yy = y * ys |
201 | + | weld.C0=c0 |
202 | - | local yz = y * zs |
202 | + | weld.C1=c1 |
203 | - | local zz = z * zs |
203 | + | return weld |
204 | - | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) |
204 | + | |
205 | ||
206 | - | function QuaternionSlerp(a, b, t) |
206 | + | handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(0.05, 0.05, 0.05)) |
207 | - | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] |
207 | + | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100221634, -0.0175542831, 0.00262880325, 1.00000155, -2.14157415e-28, 0.000332000374, -2.14157415e-28, 1, -7.1100246e-32, -0.000332000374, 4.7754458e-39, 1.00000155)) |
208 | - | local startInterp, finishInterp |
208 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.837632179, 0.333232641, 0.251318902)) |
209 | - | if cosTheta >= 1.0E-4 then |
209 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700101852, 1.86904049, 0.891112566, 0.75275898, -0.636865616, 0.166612804, -0.638960898, -0.7677508, -0.0478571169, 0.158395648, -0.0704337358, -0.984863639)) |
210 | - | if 1 - cosTheta > 1.0E-4 then |
210 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.483554214, 0.333232641, 0.251318902)) |
211 | - | local theta = math.acos(cosTheta) |
211 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.37859869, 1.42097473, -0.884177685, 0.638928056, -0.767751753, -0.0482810065, 0.752649307, 0.636864662, -0.167112693, 0.159049526, 0.0704338774, 0.984758258)) |
212 | - | local invSinTheta = 1 / Sin(theta) |
212 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
213 | - | startInterp = Sin((1 - t) * theta) * invSinTheta |
213 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.17693233, 0.404156685, 0.899710178, -0.498539031, -0.866677165, -0.0181981921, -0.852276921, 0.493872404, -0.172391862, 0.158395648, -0.0704337358, -0.984863639)) |
214 | - | finishInterp = Sin(t * theta) * invSinTheta |
214 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.246144727, 0.200000003, 0.200000003)) |
215 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.79093742, -5.0165062, 0.899179935, 0.541946113, 0.839977741, 0.0270888023, 0.825355411, -0.538030386, 0.171220094, 0.158395648, -0.0704337358, -0.984863639)) | |
216 | - | startInterp = 1 - t |
216 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0973593965, 0.702734888)) |
217 | - | finishInterp = t |
217 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341453254, 0.333232641, 0.251318902)) |
218 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.104499578, -3.89063263, 0.891108513, -0.488824785, 0.86104399, -0.140196726, 0.857885361, 0.503629029, 0.101955876, 0.158395648, -0.0704337358, -0.984863639)) | |
219 | - | elseif 1 + cosTheta > 1.0E-4 then |
219 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.0836575, 0.333232641, 0.251318902)) |
220 | - | local theta = math.acos(-cosTheta) |
220 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94126606, -0.604771733, 0.891101122, -0.929736614, -0.346456975, -0.124752127, -0.332426131, 0.93541801, -0.120362103, 0.158395648, -0.0704337358, -0.984863639)) |
221 | - | local invSinTheta = 1 / Sin(theta) |
221 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625864, 0.164320529, 0.117830887)) |
222 | - | startInterp = Sin((t - 1) * theta) * invSinTheta |
222 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.36515665, -5.39487457, -0.875785828, -0.81914556, 0.56619513, 0.0918044075, -0.551099241, -0.821256638, 0.147748649, 0.159049526, 0.0704338774, 0.984758258)) |
223 | - | finishInterp = Sin(t * theta) * invSinTheta |
223 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.649142921, 0.236052051, 0.251318902)) |
224 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.47317219, 0.354777813, 0.891096592, -0.973336935, -0.178759843, -0.143757522, -0.165928766, 0.981368423, -0.0968705565, 0.158395648, -0.0704337358, -0.984863639)) | |
225 | - | startInterp = t - 1 |
225 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.237157688, 0.0928658471, 0.140546978)) |
226 | - | finishInterp = t |
226 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.34740114, -4.54231548, 0.89917922, 0.41211924, 0.911129892, 0.00112016883, 0.897259653, -0.406056136, 0.173346102, 0.158395648, -0.0704337358, -0.984863639)) |
227 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.46827829, 0.952135324, 0.251318902)) | |
228 | - | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp |
228 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.65370083, -0.36060524, 0.891111851, 0.857885361, 0.503629029, 0.101955876, 0.488824785, -0.86104399, 0.140196726, 0.158395648, -0.0704337358, -0.984863639)) |
229 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.623012781, 0.333232641, 0.251318902)) | |
230 | - | function rayCast(Position, Direction, Range, Ignore) |
230 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.530793428, 1.99753952, 0.891105652, -0.00560906343, -0.997500598, 0.0704358295, -0.98736304, -0.00563243032, -0.158394843, 0.158395648, -0.0704337358, -0.984863639)) |
231 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) |
231 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
232 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.18585587, 0.349413395, 0.899714947, 0.971388578, -0.167668134, 0.168219566, -0.176978514, -0.983324349, 0.0418606214, 0.158395648, -0.0704337358, -0.984863639)) | |
233 | - | local RbxUtility = LoadLibrary("RbxUtility") |
233 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392539173, 0.333232641, 0.251318902)) |
234 | - | local Create = RbxUtility.Create |
234 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81200981, 0.265833378, 0.891103268, 0.857885361, 0.503629029, 0.101955876, 0.488824785, -0.86104399, 0.140196726, 0.158395648, -0.0704337358, -0.984863639)) |
235 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.388688922, 0.200000003, 0.200000003)) | |
236 | - | ------------------------------------------------------- |
236 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.989244938, -3.72903919, 0.899180412, 0.129879355, 0.990271866, -0.0499324463, 0.978799522, -0.12000373, 0.166002661, 0.158395648, -0.0704337358, -0.984863639)) |
237 | - | --Start Damage Function-- |
237 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.195967019, 0.702734888)) |
238 | - | ------------------------------------------------------- |
238 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.471516728, 0.234877661, 0.251318902)) |
239 | - | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) |
239 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.747990608, -0.87575531, 0.891108036, -0.630366266, 0.760510743, -0.155771062, 0.759970784, 0.645493984, 0.0760625526, 0.158395648, -0.0704337358, -0.984863639)) |
240 | - | if hit.Parent == nil then |
240 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330895, 0.19147341, 0.137301669)) |
241 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.98905087, -7.80519533, -0.875741005, -0.480350316, 0.876951933, 0.0148584386, -0.862538993, -0.475389123, 0.17331171, 0.159049526, 0.0704338774, 0.984758258)) | |
242 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.483554214, 0.333232641, 0.251318902)) | |
243 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
243 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.31697559, 1.35000134, 0.89109993, -0.638960898, -0.7677508, -0.0478571169, -0.75275898, 0.636865616, -0.166612804, 0.158395648, -0.0704337358, -0.984863639)) |
244 | - | for _, v in pairs(hit.Parent:children()) do |
244 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.88196522, 0.514088511, 0.251318902)) |
245 | - | if v:IsA("Humanoid") then |
245 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.4933629, -2.56108665, 0.891094208, 0.342967689, 0.939270735, -0.0120140137, 0.925899744, -0.335871369, 0.172932908, 0.158395648, -0.0704337358, -0.984863639)) |
246 | - | h = v |
246 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(8.67960358, 0.333232433, 0.161478281)) |
247 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.57341194, -0.117282867, -0.875673294, 0.889293849, -0.443437904, -0.111914277, 0.428796589, 0.893533587, -0.133164987, 0.159049526, 0.0704338774, 0.984758258)) | |
248 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.471516728, 0.234877661, 0.251318902)) | |
249 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then |
249 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.807125092, -0.948737144, -0.884182453, 0.630263746, 0.760509849, -0.156189755, -0.759919405, 0.645495176, 0.076566793, 0.159049526, 0.0704338774, 0.984758258)) |
250 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.246144727, 0.200000003, 0.200000003)) | |
251 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
251 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.84341717, -5.09448719, -0.876107216, -0.541927397, 0.839978278, 0.0274483506, -0.825242281, -0.53802973, 0.171768188, 0.159049526, 0.0704338774, 0.984758258)) |
252 | - | end |
252 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0973593965, 0.702734888)) |
253 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(2.72853518, 0.276367128, 0.200000003)) | |
254 | - | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then |
254 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.92755938, 0.762280822, -0.873428345, -0.951270163, -0.255978465, 0.171949551, 0.264187902, -0.964113414, 0.0262883995, 0.159049526, 0.0704338774, 0.984758258)) |
255 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil then |
255 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) |
256 | - | if hit.Parent.DebounceHit.Value == true then |
256 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.203526303, 0.0796965212, 0.120615982)) |
257 | - | return |
257 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.23291898, -2.68892288, -0.876105785, -0.774011075, 0.628090024, 0.0800876692, -0.612875879, -0.774946809, 0.154413998, 0.159049526, 0.0704338774, 0.984758258)) |
258 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.30827716, 0.200000003, 0.200000003)) | |
259 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.0651021, -0.632002354, -0.876111984, -0.858350456, 0.50268954, 0.102678612, -0.487795562, -0.861593068, 0.140409455, 0.159049526, 0.0704338774, 0.984758258)) | |
260 | - | if insta == true then |
260 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.142394558, 0.826475263)) |
261 | - | hit.Parent:FindFirstChild("Head"):BreakJoints() |
261 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.974742055, 0.804455996, 0.200000003)) |
262 | - | end |
262 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.33538294, -4.73545551, -0.875673294, -0.073296383, 0.995541811, -0.059367422, -0.984549403, -0.0627364814, 0.163502961, 0.159049526, 0.0704338774, 0.984758258)) |
263 | - | local c = Create("ObjectValue"){ |
263 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
264 | - | Name = "creator", |
264 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330954, 0.200000003, 0.200000003)) |
265 | - | Value = game:service("Players").LocalPlayer, |
265 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.95088196, -7.30414772, -0.875742435, -0.56724745, 0.822897077, 0.0327595398, -0.808047295, -0.563808382, 0.17083481, 0.159049526, 0.0704338774, 0.984758258)) |
266 | - | Parent = h, |
266 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) |
267 | - | } |
267 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.46827829, 0.952135324, 0.251318902)) |
268 | - | game:GetService("Debris"):AddItem(c, .5) |
268 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.73588848, -0.40621233, -0.884181976, -0.857817829, 0.503629148, 0.102525368, -0.488731652, -0.861044168, 0.140521377, 0.159049526, 0.0704338774, 0.984758258)) |
269 | - | if HitSound ~= nil and HitPitch ~= nil then |
269 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(5.42655277, 0.474159241, 0.200000003)) |
270 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
270 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.87717533, -1.32662773, -0.872437, -0.835002363, 0.541791916, 0.096110858, -0.526764631, -0.837556481, 0.144984186, 0.159049526, 0.0704338774, 0.984758258)) |
271 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) | |
272 | - | local Damage = math.random(minim, maxim) |
272 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(5.21506357, 0.20021978, 0.0970228091)) |
273 | - | local blocked = false |
273 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.07851458, -1.58847284, -0.875841618, 0.738140345, 0.653911829, -0.165988639, -0.655636132, 0.753285348, 0.0520142578, 0.159049526, 0.0704338774, 0.984758258)) |
274 | - | local block = hit.Parent:findFirstChild("Block") |
274 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.26049519, 0.284894377, 0.200000003)) |
275 | - | if block ~= nil then |
275 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.43603611, 0.764592171, -0.87389946, -0.807647109, -0.564388216, 0.170811653, 0.567816854, -0.822499335, -0.0328799486, 0.159049526, 0.0704338774, 0.984758258)) |
276 | - | if block.className == "IntValue" then |
276 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
277 | - | if block.Value > 0 then |
277 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.0836575, 0.333232641, 0.251318902)) |
278 | - | blocked = true |
278 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.03015041, -0.574133396, -0.884183884, 0.929653645, -0.346456975, -0.125369355, 0.332346082, 0.935418129, -0.120582908, 0.159049526, 0.0704338774, 0.984758258)) |
279 | - | block.Value = block.Value - 1 |
279 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.88196522, 0.514088511, 0.251318902)) |
280 | - | print(block.Value) |
280 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.52700329, -2.6488533, -0.884180069, -0.342975736, 0.939270914, -0.0117864367, -0.925784886, -0.335871369, 0.173547685, 0.159049526, 0.0704338774, 0.984758258)) |
281 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.333568811, 0.200000003, 0.200000003)) | |
282 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.54901314, -2.15040779, -0.876101971, -0.559423566, 0.828299344, 0.0311095063, -0.813483357, -0.555841386, 0.171142966, 0.159049526, 0.0704338774, 0.984758258)) | |
283 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168176889, 0.603079915)) | |
284 | - | if blocked == false then |
284 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.623012781, 0.333232641, 0.251318902)) |
285 | - | h.Health = h.Health - Damage |
285 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.532396793, 2.09151459, -0.884161949, 0.00565586146, -0.997500718, 0.0704322308, 0.987257838, -0.00563246012, -0.159050345, 0.159049526, 0.0704338774, 0.984758258)) |
286 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
286 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
287 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15353775, -1.38181496, 0.899710655, -0.971388578, 0.167667985, -0.168219551, 0.176978365, 0.983324289, -0.0418606475, 0.158395648, -0.0704337358, -0.984863639)) | |
288 | - | h.Health = h.Health - (Damage / 2) |
288 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.23805618, 0.345994473, 0.200000003)) |
289 | - | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) |
289 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.56607056, 0.541192055, 0.901857138, 0.951383591, -0.255979359, 0.171317831, -0.264171213, -0.964112818, 0.0264634844, 0.158395648, -0.0704337358, -0.984863639)) |
290 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) | |
291 | - | if Type == "Knockdown" then |
291 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.02377248, 0.109218024, 0.165295035)) |
292 | - | local hum = hit.Parent.Humanoid |
292 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.6075983, 0.0951771736, -0.876103401, -0.8881374, 0.445839584, 0.11155571, -0.431186944, -0.892337799, 0.133465528, 0.159049526, 0.0704338774, 0.984758258)) |
293 | - | hum.PlatformStand = true |
293 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
294 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
294 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.3123312, -6.54397392, -0.875741005, -0.56724745, 0.822897077, 0.0327595398, -0.808047295, -0.563808382, 0.17083481, 0.159049526, 0.0704338774, 0.984758258)) |
295 | - | swait(1) |
295 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) |
296 | - | HHumanoid.PlatformStand = false |
296 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.570847034, 0.200000003, 0.200000003)) |
297 | - | end), hum) |
297 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.08688402, 1.61658335, -0.876107216, -0.469388247, -0.872112572, 0.138188854, 0.868553102, -0.484209657, -0.105648227, 0.159049526, 0.0704338774, 0.984758258)) |
298 | - | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit |
298 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125247687, 0.496580422)) |
299 | - | local bodvol = Create("BodyVelocity"){ |
299 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.837632179, 0.333232641, 0.251318902)) |
300 | - | velocity = angle * knockback, |
300 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.771085739, 1.93069386, -0.884171486, -0.752648413, -0.636865735, 0.167112619, 0.638929069, -0.7677508, -0.0482812412, 0.159049526, 0.0704338774, 0.984758258)) |
301 | - | P = 5000, |
301 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.649142921, 0.236052051, 0.251318902)) |
302 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
302 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.56598759, 0.369503975, -0.884170532, 0.973241329, -0.178759933, -0.144403696, 0.165864408, 0.981368542, -0.0969808325, 0.159049526, 0.0704338774, 0.984758258)) |
303 | - | Parent = hit, |
303 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.828803003, 0.684012294, 0.200000003)) |
304 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.81264782, -4.15558147, 0.89956212, 0.418314397, 0.908299923, 0.00231892825, 0.894388199, -0.412347406, 0.173334211, 0.158395648, -0.0704337358, -0.984863639)) | |
305 | - | local rl = Create("BodyAngularVelocity"){ |
305 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
306 | - | P = 3000, |
306 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.47297621, 0.200000003, 0.200000003)) |
307 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
307 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.43650723, 0.103844166, -0.876109123, -0.888450921, 0.445189804, 0.111652821, -0.430540204, -0.892662048, 0.133384258, 0.159049526, 0.0704338774, 0.984758258)) |
308 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
308 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.280385196, 0.826475263)) |
309 | - | Parent = hit, |
309 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.421605587, 0.200000003, 0.200000003)) |
310 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.385073185, -4.24829006, -0.87610054, 0.2262768, 0.968300164, -0.105803393, -0.960993707, 0.239654273, 0.138070092, 0.159049526, 0.0704338774, 0.984758258)) | |
311 | - | game:GetService("Debris"):AddItem(bodvol, .5) |
311 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25689742, 0.826475263)) |
312 | - | game:GetService("Debris"):AddItem(rl, .5) |
312 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544915974, 0.225188777, 0.161478266)) |
313 | - | elseif Type == "Normal" then |
313 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-10.7668295, -1.35262012, -0.875671387, -0.840006173, 0.533750474, 0.097494185, -0.518748343, -0.842703938, 0.144057631, 0.159049526, 0.0704338774, 0.984758258)) |
314 | - | local vp = Create("BodyVelocity"){ |
314 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392539173, 0.333232641, 0.251318902)) |
315 | - | P = 500, |
315 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.89422512, 0.220214367, -0.884170055, -0.857817829, 0.503629148, 0.102525368, -0.488731652, -0.861044168, 0.140521377, 0.159049526, 0.0704338774, 0.984758258)) |
316 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
316 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
317 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, |
317 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.69456816, -2.22814298, -0.876106262, -0.97177875, 0.187195092, 0.143564135, -0.174230143, -0.979794621, 0.098219417, 0.159049526, 0.0704338774, 0.984758258)) |
318 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.86967802, 0.0687980205, 0.496580422)) | |
319 | - | if knockback > 0 then |
319 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544915974, 0.225188777, 0.161478266)) |
320 | - | vp.Parent = hit.Parent.Torso |
320 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.00764418, -9.00028801, -0.87567091, -0.142560482, 0.988636971, -0.0476866253, -0.976927102, -0.132802248, 0.167283282, 0.159049526, 0.0704338774, 0.984758258)) |
321 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.17940784, 0.322034985, 0.200000003)) | |
322 | - | game:GetService("Debris"):AddItem(vp, .5) |
322 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.7252779, -0.298906803, -0.872979641, -0.967677772, 0.208867818, 0.141351685, -0.195728391, -0.975404441, 0.101377606, 0.159049526, 0.0704338774, 0.984758258)) |
323 | - | elseif Type == "Up" then |
323 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) |
324 | - | local bodyVelocity = Create("BodyVelocity"){ |
324 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341453254, 0.333232641, 0.251318902)) |
325 | - | velocity = Vector3.new(0, 20, 0), |
325 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.150129795, -3.97287154, -0.884187698, 0.488732785, 0.861043513, -0.140521526, -0.857817173, 0.50363034, 0.102525182, 0.159049526, 0.0704338774, 0.984758258)) |
326 | - | P = 5000, |
326 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) |
327 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
327 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89297867, -5.11195469, 0.899503708, -0.463223636, 0.875570774, -0.137118191, 0.871975482, 0.477927923, 0.106060021, 0.158395648, -0.0704337358, -0.984863639)) |
328 | - | Parent = hit, |
328 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
329 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.262121707, 0.200000003, 0.200000003)) | |
330 | - | game:GetService("Debris"):AddItem(bodyVelocity, .5) |
330 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.11748409, 0.0639610291, -0.876108646, -0.975656867, 0.163778692, 0.145865351, -0.151008502, -0.983979702, 0.0947682038, 0.159049526, 0.0704338774, 0.984758258)) |
331 | - | elseif Type == "DarkUp" then |
331 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.121075168, 0.702734888)) |
332 | - | coroutine.resume(coroutine.create(function() |
332 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.73925114, 0.378740221, 0.200000003)) |
333 | - | for i = 0, 1, 0.1 do |
333 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.10012627, -1.02225876, -0.872441292, -0.835002363, 0.541791916, 0.096110858, -0.526764631, -0.837556481, 0.144984186, 0.159049526, 0.0704338774, 0.984758258)) |
334 | - | swait() |
334 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) |
335 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) |
335 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.23805618, 0.345994473, 0.200000003)) |
336 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.65635395, 0.567358971, -0.873436451, -0.951270163, -0.255978465, 0.171949551, 0.264187902, -0.964113414, 0.0262883995, 0.159049526, 0.0704338774, 0.984758258)) | |
337 | - | end)) |
337 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) |
338 | - | local bodyVelocity = Create("BodyVelocity"){ |
338 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.317000091, 0.200000003, 0.200000003)) |
339 | - | velocity = Vector3.new(0, 20, 0), |
339 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.31575251, 1.44009209, -0.875844002, -0.738136292, -0.653916478, 0.165988311, 0.655640781, -0.753281236, -0.0520153008, 0.159049526, 0.0704338774, 0.984758258)) |
340 | - | P = 5000, |
340 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680042028, 0.485114038)) |
341 | - | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), |
341 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(6.33351707, 0.243160099, 0.117830887)) |
342 | - | Parent = hit, |
342 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.10377502, -1.5553863, -0.875781059, 0.915228903, 0.36352247, -0.173820481, -0.370224476, 0.928919315, -0.00664507039, 0.159049526, 0.0704338774, 0.984758258)) |
343 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.388688922, 0.200000003, 0.200000003)) | |
344 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
344 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00266516, -3.82210827, -0.87610817, -0.1299126, 0.990272045, -0.0498463511, -0.978689373, -0.12000373, 0.16665253, 0.159049526, 0.0704338774, 0.984758258)) |
345 | - | elseif Type == "Snare" then |
345 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.195967019, 0.702734888)) |
346 | - | local bp = Create("BodyPosition"){ |
346 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.86096573, 0.200000003, 0.200000003)) |
347 | - | P = 2000, |
347 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.73538971, 1.31504488, -0.876113892, -0.953327179, -0.248355001, 0.171736494, 0.256665647, -0.966105103, 0.0276457798, 0.159049526, 0.0704338774, 0.984758258)) |
348 | - | D = 100, |
348 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.177244052, 0.702734888)) |
349 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
349 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.487054616, 0.200000003, 0.200000003)) |
350 | - | position = hit.Parent.Torso.Position, |
350 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.27444363, 1.05640697, -0.876102924, -0.73989594, -0.651889443, 0.166127533, 0.653654456, -0.755036175, -0.051568944, 0.159049526, 0.0704338774, 0.984758258)) |
351 | - | Parent = hit.Parent.Torso, |
351 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103197038, 0.496580422)) |
352 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.253317922, 0.200000003, 0.200000003)) | |
353 | - | game:GetService("Debris"):AddItem(bp, 1) |
353 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.61122799, -1.7631793, -0.87610817, -0.799769223, 0.59401983, 0.0866847336, -0.578860283, -0.801361322, 0.150809377, 0.159049526, 0.0704338774, 0.984758258)) |
354 | - | elseif Type == "Freeze" then |
354 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.154354557, 0.496580422)) |
355 | - | local BodPos = Create("BodyPosition"){ |
355 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.384985864, 0.200000003, 0.200000003)) |
356 | - | P = 50000, |
356 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.60626459, 1.37513888, -0.875784874, -0.915224373, -0.363533467, 0.173820555, 0.370235354, -0.928914726, 0.00664297398, 0.159049526, 0.0704338774, 0.984758258)) |
357 | - | D = 1000, |
357 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.825887859, 0.589154541)) |
358 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
358 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.95976114, 0.345994473, 0.200000003)) |
359 | - | position = hit.Parent.Torso.Position, |
359 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.4043808, 0.513969898, 0.901859522, 0.951383591, -0.255979359, 0.171317831, -0.264171213, -0.964112818, 0.0264634844, 0.158395648, -0.0704337358, -0.984863639)) |
360 | - | Parent = hit.Parent.Torso, |
360 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) |
361 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.307646036, 0.200000003, 0.200000003)) | |
362 | - | local BodGy = Create("BodyGyro") { |
362 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.62449265, -2.36927128, -0.876119614, -0.559423566, 0.828299344, 0.0311095063, -0.813483357, -0.555841386, 0.171142966, 0.159049526, 0.0704338774, 0.984758258)) |
363 | - | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , |
363 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.187458321, 0.603079915)) |
364 | - | P = 20e+003, |
364 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(2.24669528, 0.227562711, 0.200000003)) |
365 | - | Parent = hit.Parent.Torso, |
365 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.96907568, 0.94747901, -0.873895645, -0.807647109, -0.564388216, 0.170811653, 0.567816854, -0.822499335, -0.0328799486, 0.159049526, 0.0704338774, 0.984758258)) |
366 | - | cframe = hit.Parent.Torso.CFrame, |
366 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
367 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.203526318, 0.200000003, 0.200000003)) | |
368 | - | hit.Parent.Torso.Anchored = true |
368 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.27017307, -3.09353781, 0.899179935, 0.85719502, 0.504842997, 0.101758048, 0.490034342, -0.860332966, 0.140340403, 0.158395648, -0.0704337358, -0.984863639)) |
369 | - | coroutine.resume(coroutine.create(function(Part) |
369 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.33206898, 0.603079915)) |
370 | - | swait(1.5) |
370 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.29378319, 0.0500000007, 0.120615982)) |
371 | - | Part.Anchored = false |
371 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.39287758, 1.34701824, 0.899183035, 0.916340232, -0.361013323, 0.173193529, -0.367747515, -0.929897368, 0.0073583317, 0.158395648, -0.0704337358, -0.984863639)) |
372 | - | end), hit.Parent.Torso) |
372 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) |
373 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
373 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.79792404, -2.28564715, -0.875847816, -0.976712883, 0.156730622, 0.146540001, -0.144020423, -0.985126853, 0.0937215909, 0.159049526, 0.0704338774, 0.984758258)) |
374 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
374 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
375 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.07483196, 0.200000003, 0.200000003)) | |
376 | - | local debounce = Create("BoolValue"){ |
376 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.64972115, 1.51036119, 0.899181604, 0.916063786, -0.361711085, 0.173198968, -0.368435085, -0.929625928, 0.00722833769, 0.158395648, -0.0704337358, -0.984863639)) |
377 | - | Name = "DebounceHit", |
377 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.204597339, 0.603079915)) |
378 | - | Parent = hit.Parent, |
378 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) |
379 | - | Value = true, |
379 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.93610978, -5.19544029, -0.875783443, 0.46313253, 0.875570893, -0.13742584, -0.871905088, 0.477927983, 0.106638886, 0.159049526, 0.0704338774, 0.984758258)) |
380 | - | } |
380 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
381 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
381 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.211238876, 0.200000003, 0.200000003)) |
382 | - | c = Create("ObjectValue"){ |
382 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.28640366, -3.05552244, -0.876101494, -0.857127726, 0.504843056, 0.102327086, -0.489941061, -0.860333085, 0.140665859, 0.159049526, 0.0704338774, 0.984758258)) |
383 | - | Name = "creator", |
383 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0835528523, 0.603079915)) |
384 | - | Value = Player, |
384 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.307646036, 0.200000003, 0.200000003)) |
385 | - | Parent = h, |
385 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57033062, -2.29242516, 0.899165154, 0.559443235, 0.828299642, 0.0307380427, 0.813597262, -0.555840611, 0.170602739, 0.158395648, -0.0704337358, -0.984863639)) |
386 | - | } |
386 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.187458321, 0.603079915)) |
387 | - | game:GetService("Debris"):AddItem(c, .5) |
387 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.72026825, 0.186172783, 0.120615982)) |
388 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.42092252, -2.46699524, -0.876100063, -0.708025157, 0.70327878, 0.0640523657, -0.688047945, -0.707416654, 0.161725104, 0.159049526, 0.0704338774, 0.984758258)) | |
389 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.50757241, 0.0500000007, 0.140546978)) | |
390 | - | ------------------------------------------------------- |
390 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.32861137, 0.540556192, -0.876111031, -0.983388245, 0.0997137427, 0.15169625, -0.087509498, -0.992520452, 0.0851232708, 0.159049526, 0.0704338774, 0.984758258)) |
391 | - | --End Damage Function-- |
391 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.693274379, 0.200000003, 0.200000003)) |
392 | - | ------------------------------------------------------- |
392 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58943653, 1.6636641, -0.876110077, -0.733404636, -0.659314036, 0.165610179, 0.660929382, -0.748561621, -0.0532070324, 0.159049526, 0.0704338774, 0.984758258)) |
393 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.152109027, 0.603079915)) | |
394 | - | ------------------------------------------------------- |
394 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.591511309, 0.200000003, 0.200000003)) |
395 | - | --Start Damage Function Customization-- |
395 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.91192293, 0.90885371, -0.876109123, -0.916216314, -0.361035317, 0.173802093, 0.36777404, -0.929888785, 0.0071101794, 0.159049526, 0.0704338774, 0.984758258)) |
396 | - | ------------------------------------------------------- |
396 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125329256, 0.603079915)) |
397 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(7.38008833, 0.283340693, 0.137301654)) | |
398 | - | local Rate = (1 / 30) |
398 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.05869627, -0.744317532, -0.875728607, 0.983619809, -0.0970442891, -0.151924595, 0.0848645568, 0.992784798, -0.0847150087, 0.159049526, 0.0704338774, 0.984758258)) |
399 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.278917462, 0.200000003, 0.200000003)) | |
400 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.74045277, -6.00325108, -0.87610817, -0.213370487, 0.976331234, -0.0353698544, -0.963941395, -0.204491541, 0.170313492, 0.159049526, 0.0704338774, 0.984758258)) | |
401 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.455075413, 0.826475263)) | |
402 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.384985864, 0.200000003, 0.200000003)) | |
403 | - | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
403 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.51955318, 1.33892965, 0.899498224, 0.91533941, -0.363533497, 0.173212782, -0.370230854, -0.928914666, 0.00688865362, 0.158395648, -0.0704337358, -0.984863639)) |
404 | - | EffectPart.Anchored = true |
404 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.825887859, 0.589154541)) |
405 | - | local BillboardGui = Create("BillboardGui"){ |
405 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.25244117, 0.200000003, 0.200000003)) |
406 | - | Size = UDim2.new(3, 0, 3, 0), |
406 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.79386044, 0.731644154, -0.8761096, -0.983451426, 0.0989937782, 0.151757956, -0.086796023, -0.992592514, 0.0850131959, 0.159049526, 0.0704338774, 0.984758258)) |
407 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.238405704, 0.702734888)) | |
408 | - | Parent = EffectPart, |
408 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.22495015, 0.200000003, 0.200000003)) |
409 | - | } |
409 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55459309, 1.00351143, 0.899181366, 0.938224554, -0.300057799, 0.172353849, -0.307655454, -0.951317191, 0.0185548104, 0.158395648, -0.0704337358, -0.984863639)) |
410 | - | local TextLabel = Create("TextLabel"){ |
410 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103905462, 0.603079915)) |
411 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.211238876, 0.200000003, 0.200000003)) | |
412 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.20426083, -3.0098033, 0.899184942, 0.85719502, 0.504842997, 0.101758048, 0.490034342, -0.860332966, 0.140340403, 0.158395648, -0.0704337358, -0.984863639)) | |
413 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.0835528523, 0.603079915)) | |
414 | - | Font = "Bodoni", |
414 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) |
415 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.42288208, -3.13142538, -0.875778198, -0.871902943, 0.477931917, 0.106638268, -0.463136405, -0.875568628, 0.137426317, 0.159049526, 0.0704338774, 0.984758258)) | |
416 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) | |
417 | - | TextStrokeColor3 = Color3.fromRGB(0,0,0), |
417 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625864, 0.164320529, 0.117830887)) |
418 | - | Parent = BillboardGui, |
418 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.58907557, 0.518524766, -0.875790119, -0.948702931, -0.265176654, 0.172192782, 0.273262948, -0.961624026, 0.0246446058, 0.159049526, 0.0704338774, 0.984758258)) |
419 | - | } |
419 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.336782306, 0.200000003, 0.200000003)) |
420 | - | game.Debris:AddItem(EffectPart, (Time)) |
420 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.19369125, -3.31674337, -0.875786781, -0.962302089, 0.233980119, 0.138687283, -0.220645562, -0.969686866, 0.104993097, 0.159049526, 0.0704338774, 0.984758258)) |
421 | - | EffectPart.Parent = game:GetService("Workspace") |
421 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.761616349, 0.589154541)) |
422 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.591511309, 0.200000003, 0.200000003)) | |
423 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.8250742, 0.872862339, 0.899178505, 0.916331172, -0.361035287, 0.173193634, -0.367769092, -0.929888546, 0.0073542241, 0.158395648, -0.0704337358, -0.984863639)) | |
424 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125329256, 0.603079915)) | |
425 | - | wait(Rate) |
425 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.333568811, 0.200000003, 0.200000003)) |
426 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.49489403, -2.07356834, 0.89918375, 0.559443235, 0.828299642, 0.0307380427, 0.813597262, -0.555840611, 0.170602739, 0.158395648, -0.0704337358, -0.984863639)) | |
427 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
427 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168176889, 0.603079915)) |
428 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) | |
429 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94836664, -4.43407345, -0.875843525, 0.144032344, 0.985124946, -0.0937233791, -0.976711154, 0.156742603, 0.146538854, 0.159049526, 0.0704338774, 0.984758258)) | |
430 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) | |
431 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.95976114, 0.345994473, 0.200000003)) | |
432 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.49467325, 0.540156007, -0.873429775, -0.951270163, -0.255978465, 0.171949551, 0.264187902, -0.964113414, 0.0262883995, 0.159049526, 0.0704338774, 0.984758258)) | |
433 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) | |
434 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(6.33351707, 0.243160099, 0.117830887)) | |
435 | - | ------------------------------------------------------- |
435 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.01703262, -1.51913595, 0.899508238, -0.915344, 0.36352244, -0.173212707, 0.370219886, 0.928919137, -0.00689074118, 0.158395648, -0.0704337358, -0.984863639)) |
436 | - | --End Damage Function Customization-- |
436 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.74704808, 0.0796965286, 0.120615996)) |
437 | - | ------------------------------------------------------- |
437 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.67314529, 1.54036009, -0.87610817, -0.916225195, -0.361013353, 0.173801929, 0.367752343, -0.929897428, 0.00711429445, 0.159049526, 0.0704338774, 0.984758258)) |
438 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.739121258, 0.702058196, 0.200000003)) | |
439 | - | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) |
439 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.54637194, 1.82349014, 0.899509907, 0.733514249, -0.659313917, 0.165123075, -0.660964429, -0.748561442, -0.0527683012, 0.158395648, -0.0704337358, -0.984863639)) |
440 | - | for _, c in pairs(workspace:children()) do |
440 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
441 | - | local hum = c:findFirstChild("Humanoid") |
441 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392433375, 0.200000003, 0.200000003)) |
442 | - | if hum ~= nil then |
442 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.68182468, -5.37684155, -0.875736237, -0.757740498, 0.648114979, 0.0760275126, -0.632881582, -0.758278489, 0.156452954, 0.159049526, 0.0704338774, 0.984758258)) |
443 | - | local head = c:findFirstChild("Head") |
443 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.887468517, 0.686508358)) |
444 | - | if head ~= nil then |
444 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.693274379, 0.200000003, 0.200000003)) |
445 | - | local targ = head.Position - Part.Position |
445 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52033567, 1.59994698, 0.899183273, 0.733514249, -0.659313917, 0.165123075, -0.660964429, -0.748561442, -0.0527683012, 0.158395648, -0.0704337358, -0.984863639)) |
446 | - | local mag = targ.magnitude |
446 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.152109027, 0.603079915)) |
447 | - | if magni >= mag and c.Name ~= plr.Name then |
447 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
448 | - | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) |
448 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.12457132, -5.95018005, -0.87573719, 0.808053374, 0.563799441, -0.170835152, -0.567238748, 0.822903156, 0.032757692, 0.159049526, 0.0704338774, 0.984758258)) |
449 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) | |
450 | - | end |
450 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.274662942, 0.200000003, 0.200000003)) |
451 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.54910898, -1.58295965, -0.876111984, -0.799769223, 0.59401983, 0.0866847336, -0.578860283, -0.801361322, 0.150809377, 0.159049526, 0.0704338774, 0.984758258)) | |
452 | - | end |
452 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.138478085, 0.496580422)) |
453 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) | |
454 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.42267799, -4.25300503, 0.8995049, 0.871973336, 0.477931857, 0.106059402, 0.46322751, -0.875568509, 0.137118652, 0.158395648, -0.0704337358, -0.984863639)) | |
455 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) | |
456 | - | CFuncs = { |
456 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.56158078, 0.305075049, 0.200000003)) |
457 | - | Part = { |
457 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.34251595, 1.32768679, 0.899502039, 0.91533941, -0.363533497, 0.173212782, -0.370230854, -0.928914666, 0.00688865362, 0.158395648, -0.0704337358, -0.984863639)) |
458 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
458 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
459 | - | local Part = Create("Part")({ |
459 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
460 | - | Parent = Parent, |
460 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.05005693, -5.18684959, -0.875727177, -0.56724745, 0.822897077, 0.0327595398, -0.808047295, -0.563808382, 0.17083481, 0.159049526, 0.0704338774, 0.984758258)) |
461 | - | Reflectance = Reflectance, |
461 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) |
462 | - | Transparency = Transparency, |
462 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.22495015, 0.200000003, 0.200000003)) |
463 | - | CanCollide = false, |
463 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.64358711, 1.03381026, -0.876112461, -0.938109934, -0.300057769, 0.172976762, 0.307667822, -0.95131737, 0.0183506738, 0.159049526, 0.0704338774, 0.984758258)) |
464 | - | Locked = true, |
464 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103905462, 0.603079915)) |
465 | - | BrickColor = BrickColor.new(tostring(BColor)), |
465 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.10932434, 0.750047624, 0.200000003)) |
466 | - | Name = Name, |
466 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.85736561, 1.10140848, 0.899503469, 0.91533941, -0.363533497, 0.173212782, -0.370230854, -0.928914666, 0.00688865362, 0.158395648, -0.0704337358, -0.984863639)) |
467 | - | Size = Size, |
467 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
468 | - | Material = Material |
468 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.29263294, 0.873988032, 0.200000003)) |
469 | - | }) |
469 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.54222918, 0.257477522, -0.875741959, -0.98361975, 0.0970465839, 0.151924402, -0.0848668888, -0.992784739, 0.0847153515, 0.159049526, 0.0704338774, 0.984758258)) |
470 | - | RemoveOutlines(Part) |
470 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
471 | - | return Part |
471 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625864, 0.164320529, 0.117830887)) |
472 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.49904728, 0.49146986, 0.899506807, 0.948817015, -0.265176624, 0.171562821, -0.273246467, -0.961623907, 0.0248259045, 0.158395648, -0.0704337358, -0.984863639)) | |
473 | - | }, |
473 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.448602259, 0.200000003, 0.200000003)) |
474 | - | Mesh = { |
474 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.80941677, 0.534244776, -0.875730991, -0.98361975, 0.0970465839, 0.151924402, -0.0848668888, -0.992784739, 0.0847153515, 0.159049526, 0.0704338774, 0.984758258)) |
475 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
475 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.962360442, 0.686508358)) |
476 | - | local Msh = Create(Mesh)({ |
476 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) |
477 | - | Parent = Part, |
477 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.50616503, -4.29614449, -0.875782967, -0.871902943, 0.477931917, 0.106638268, -0.463136405, -0.875568628, 0.137426317, 0.159049526, 0.0704338774, 0.984758258)) |
478 | - | Offset = OffSet, |
478 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
479 | - | Scale = Scale |
479 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625893, 0.200000003, 0.200000003)) |
480 | - | }) |
480 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.97065163, -4.90537262, 0.899504185, 0.871973336, 0.477931857, 0.106059402, 0.46322751, -0.875568509, 0.137118652, 0.158395648, -0.0704337358, -0.984863639)) |
481 | - | if Mesh == "SpecialMesh" then |
481 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
482 | - | Msh.MeshType = MeshType |
482 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.608597696, 0.578079879, 0.200000003)) |
483 | - | Msh.MeshId = MeshId |
483 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1083169, 1.80063629, -0.875847816, -0.469388247, -0.872112572, 0.138188854, 0.868553102, -0.484209657, -0.105648227, 0.159049526, 0.0704338774, 0.984758258)) |
484 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) | |
485 | - | return Msh |
485 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.203526318, 0.200000003, 0.200000003)) |
486 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.3522954, -3.13926458, -0.876105785, -0.857127726, 0.504843056, 0.102327086, -0.489941061, -0.860333085, 0.140665859, 0.159049526, 0.0704338774, 0.984758258)) | |
487 | - | }, |
487 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.33206898, 0.603079915)) |
488 | - | Mesh = { |
488 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.06531036, 0.0500000007, 0.0993160605)) |
489 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
489 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.56546021, 1.44687796, -0.876111984, -0.739910543, -0.651872754, 0.166128725, 0.653638124, -0.755050898, -0.0515652709, 0.159049526, 0.0704338774, 0.984758258)) |
490 | - | local Msh = Create(Mesh)({ |
490 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.52024531, 1.02788341, 0.200000003)) |
491 | - | Parent = Part, |
491 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.61408281, -0.455251217, -0.875657082, -0.889293075, 0.443439215, 0.111914068, -0.428797871, -0.893532991, 0.133165151, 0.159049526, 0.0704338774, 0.984758258)) |
492 | - | Offset = OffSet, |
492 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
493 | - | Scale = Scale |
493 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.45713082, 0.200000003, 0.200000003)) |
494 | - | }) |
494 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.281674862, -3.94838238, -0.876116276, 0.2262768, 0.968300164, -0.105803393, -0.960993707, 0.239654273, 0.138070092, 0.159049526, 0.0704338774, 0.984758258)) |
495 | - | if Mesh == "SpecialMesh" then |
495 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.230473682, 0.826475263)) |
496 | - | Msh.MeshType = MeshType |
496 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.56158078, 0.305075049, 0.200000003)) |
497 | - | Msh.MeshId = MeshId |
497 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.42926836, 1.36390948, -0.875774384, -0.915224373, -0.363533467, 0.173820555, 0.370235354, -0.928914726, 0.00664297398, 0.159049526, 0.0704338774, 0.984758258)) |
498 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) | |
499 | - | return Msh |
499 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330895, 0.19147341, 0.137301669)) |
500 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.83779812, -0.573298454, -0.875739098, -0.969506621, 0.199523836, 0.142315388, -0.186458915, -0.97735858, 0.100020275, 0.159049526, 0.0704338774, 0.984758258)) | |
501 | - | }, |
501 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.870492697, 0.0928658396, 0.140546978)) |
502 | - | Weld = { |
502 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.38876915, 0.723852158, -0.876095772, -0.983388186, 0.0997137725, 0.151696235, -0.0875094682, -0.992520332, 0.0851232633, 0.159049526, 0.0704338774, 0.984758258)) |
503 | - | Create = function(Parent, Part0, Part1, C0, C1) |
503 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.10932434, 0.750047624, 0.200000003)) |
504 | - | local Weld = Create("Weld")({ |
504 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.94407701, 1.13763809, -0.875790596, -0.915224373, -0.363533467, 0.173820555, 0.370235354, -0.928914726, 0.00664297398, 0.159049526, 0.0704338774, 0.984758258)) |
505 | - | Parent = Parent, |
505 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
506 | - | Part0 = Part0, |
506 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.461534649, 0.208747551, 0.200000003)) |
507 | - | Part1 = Part1, |
507 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.17923641, -6.52787971, -0.875675201, -0.483447194, 0.875237703, 0.0154812383, -0.860807121, -0.478537917, 0.173257172, 0.159049526, 0.0704338774, 0.984758258)) |
508 | - | C0 = C0, |
508 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
509 | - | C1 = C1 |
509 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.828803003, 0.684012294, 0.200000003)) |
510 | - | }) |
510 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.85343742, -4.2402482, -0.875724792, -0.418312132, 0.908300459, 0.00259637786, -0.8942734, -0.412346601, 0.173928082, 0.159049526, 0.0704338774, 0.984758258)) |
511 | - | return Weld |
511 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
512 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.913425505, 0.6175946, 0.200000003)) | |
513 | - | }, |
513 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.30013657, 1.24447751, -0.875851631, -0.738136292, -0.653916478, 0.165988311, 0.655640781, -0.753281236, -0.0520153008, 0.159049526, 0.0704338774, 0.984758258)) |
514 | - | Sound = { |
514 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
515 | - | Create = function(id, par, vol, pit) |
515 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.839287937, 0.216936618, 0.140546992)) |
516 | - | coroutine.resume(coroutine.create(function() |
516 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.29211879, -4.32275438, -0.87610817, -0.319203496, 0.947547734, -0.0162179098, -0.934247613, -0.311756849, 0.173189729, 0.159049526, 0.0704338774, 0.984758258)) |
517 | - | local S = Create("Sound")({ |
517 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.336782306, 0.200000003, 0.200000003)) |
518 | - | Volume = vol, |
518 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.10181999, -3.29676151, 0.899507761, 0.962393939, 0.233980119, 0.138048366, 0.220715255, -0.969686866, 0.104846425, 0.158395648, -0.0704337358, -0.984863639)) |
519 | - | Pitch = pit or 1, |
519 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.761616349, 0.589154541)) |
520 | - | SoundId = id, |
520 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407956, 0.200000003, 0.200000003)) |
521 | - | Parent = par or workspace |
521 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.14126825, -3.78194141, -0.875845432, -0.976712883, 0.156730622, 0.146540001, -0.144020423, -0.985126853, 0.0937215909, 0.159049526, 0.0704338774, 0.984758258)) |
522 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) | |
523 | - | wait() |
523 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01290989, 0.962117612, 0.200000003)) |
524 | - | S:play() |
524 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.44734335, 0.891662359, -0.875675201, -0.982319713, 0.111090571, 0.150709957, -0.0987823308, -0.991311431, 0.0868574828, 0.159049526, 0.0704338774, 0.984758258)) |
525 | - | game:GetService("Debris"):AddItem(S, 6) |
525 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
526 | - | end)) |
526 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407986, 0.135302708, 0.0970228091)) |
527 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.15770626, 0.745937824, -0.875843525, -0.802185714, -0.572220147, 0.170489728, 0.575506628, -0.817070067, -0.0345102772, 0.159049526, 0.0704338774, 0.984758258)) | |
528 | - | }, |
528 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.93836689, 0.403167814, 0.200000003)) |
529 | - | ParticleEmitter = { |
529 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.57442474, -0.526028156, -0.872991085, -0.967677772, 0.208867818, 0.141351685, -0.195728391, -0.975404441, 0.101377606, 0.159049526, 0.0704338774, 0.984758258)) |
530 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
530 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) |
531 | - | local fp = Create("ParticleEmitter")({ |
531 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.48964572, 0.284894377, 0.200000003)) |
532 | - | Parent = Parent, |
532 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.56921101, 0.786990643, -0.873892307, -0.807647109, -0.564388216, 0.170811653, 0.567816854, -0.822499335, -0.0328799486, 0.159049526, 0.0704338774, 0.984758258)) |
533 | - | Color = ColorSequence.new(Color1, Color2), |
533 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
534 | - | LightEmission = LightEmission, |
534 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.277308941, 0.200000003, 0.200000003)) |
535 | - | Size = Size, |
535 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.99809504, -2.40779257, -0.875842094, -0.980583131, -0.104658842, 0.165860862, 0.114745811, -0.992011011, 0.0524203293, 0.159049526, 0.0704338774, 0.984758258)) |
536 | - | Texture = Texture, |
536 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.627120495, 0.485114038)) |
537 | - | Transparency = Transparency, |
537 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) |
538 | - | ZOffset = ZOffset, |
538 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.68997478, -3.24473429, -0.875843525, -0.976712883, 0.156730622, 0.146540001, -0.144020423, -0.985126853, 0.0937215909, 0.159049526, 0.0704338774, 0.984758258)) |
539 | - | Acceleration = Accel, |
539 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
540 | - | Drag = Drag, |
540 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) |
541 | - | LockedToPart = LockedToPart, |
541 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89048958, -6.02958012, -0.875672817, -0.243149132, 0.969522953, -0.0300733093, -0.956863761, -0.234658495, 0.171328068, 0.159049526, 0.0704338774, 0.984758258)) |
542 | - | VelocityInheritance = VelocityInheritance, |
542 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
543 | - | EmissionDirection = EmissionDirection, |
543 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.689254642, 0.200000003, 0.200000003)) |
544 | - | Enabled = Enabled, |
544 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.5018568, -0.0120916367, -0.876114368, -0.983387887, 0.0997155309, 0.151696071, -0.0875111818, -0.992520094, 0.0851235166, 0.159049526, 0.0704338774, 0.984758258)) |
545 | - | Lifetime = LifeTime, |
545 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.146039113, 0.702734888)) |
546 | - | Rate = Rate, |
546 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.52759397, 0.226363361, 0.200000003)) |
547 | - | Rotation = Rotation, |
547 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.63227272, -0.129740715, -0.875666618, -0.889293075, 0.443439215, 0.111914068, -0.428797871, -0.893532991, 0.133165151, 0.159049526, 0.0704338774, 0.984758258)) |
548 | - | RotSpeed = RotSpeed, |
548 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
549 | - | Speed = Speed, |
549 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.950080097, 0.200000003, 0.200000003)) |
550 | - | VelocitySpread = VelocitySpread |
550 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.41164923, 0.585349321, -0.876114845, -0.982319713, 0.111090571, 0.150709957, -0.0987823308, -0.991311431, 0.0868574828, 0.159049526, 0.0704338774, 0.984758258)) |
551 | - | }) |
551 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.208453938, 0.826475263)) |
552 | - | return fp |
552 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.74704808, 0.0796965286, 0.120615996)) |
553 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.58631611, 1.50436735, 0.899174213, 0.916340232, -0.361013263, 0.173193499, -0.367747486, -0.929897308, 0.00735833915, 0.158395648, -0.0704337358, -0.984863639)) | |
554 | - | } |
554 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
555 | - | } |
555 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.07369995, 1.16664958, -0.876113892, -0.780671895, -0.601626754, 0.16911833, 0.604368508, -0.795666158, -0.0407026894, 0.159049526, 0.0704338774, 0.984758258)) |
556 | - | function RemoveOutlines(part) |
556 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.926127851, 0.0855565146, 0.496580422)) |
557 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
557 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
558 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.74881744, -2.29708672, -0.876101971, -0.97177875, 0.187195092, 0.143564135, -0.174230143, -0.979794621, 0.098219417, 0.159049526, 0.0704338774, 0.984758258)) | |
559 | - | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
559 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.837925136, 0.273428023, 0.496580422)) |
560 | - | local Part = Create("Part")({ |
560 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.293077767, 0.200000003, 0.200000003)) |
561 | - | formFactor = FormFactor, |
561 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.33937263, -3.08826828, 0.899504662, 0.871973336, 0.477931857, 0.106059402, 0.46322751, -0.875568509, 0.137118652, 0.158395648, -0.0704337358, -0.984863639)) |
562 | - | Parent = Parent, |
562 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
563 | - | Reflectance = Reflectance, |
563 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.14002848, 0.418082207, 0.200000003)) |
564 | - | Transparency = Transparency, |
564 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.64916849, -0.14515686, -0.875666618, -0.889293075, 0.443439215, 0.111914068, -0.428797871, -0.893532991, 0.133165151, 0.159049526, 0.0704338774, 0.984758258)) |
565 | - | CanCollide = false, |
565 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
566 | - | Locked = true, |
566 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.739121258, 0.702058196, 0.200000003)) |
567 | - | BrickColor = BrickColor.new(tostring(BColor)), |
567 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.61546993, 1.88718963, -0.875779152, -0.733404636, -0.659314036, 0.165610179, 0.660929382, -0.748561621, -0.0532070324, 0.159049526, 0.0704338774, 0.984758258)) |
568 | - | Name = Name, |
568 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
569 | - | Size = Size, |
569 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.81962168, 0.355486691, 0.200000003)) |
570 | - | Material = Material |
570 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.2727437, 0.521142721, -0.875736237, -0.98361975, 0.0970465839, 0.151924402, -0.0848668888, -0.992784739, 0.0847153515, 0.159049526, 0.0704338774, 0.984758258)) |
571 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) | |
572 | - | RemoveOutlines(Part) |
572 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.68831873, 0.818068683, 0.200000003)) |
573 | - | return Part |
573 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.87881756, 1.57551706, -0.875736713, -0.953327179, -0.248355001, 0.171736494, 0.256665647, -0.966105103, 0.0276457798, 0.159049526, 0.0704338774, 0.984758258)) |
574 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) | |
575 | - | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
575 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.585665047, 0.483350217, 0.200000003)) |
576 | - | local Msh = Create(Mesh)({ |
576 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.4817338, -1.67744541, -0.875833035, -0.936863124, 0.325422734, 0.128038183, -0.311444491, -0.942941964, 0.117745221, 0.159049526, 0.0704338774, 0.984758258)) |
577 | - | Parent = Part, |
577 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
578 | - | Offset = OffSet, |
578 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.29378319, 0.0500000007, 0.120615982)) |
579 | - | Scale = Scale |
579 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.47974777, 1.38302839, -0.876102448, -0.916225195, -0.361013412, 0.173801944, 0.367752373, -0.929897487, 0.0071143019, 0.159049526, 0.0704338774, 0.984758258)) |
580 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.07483196, 0.200000003, 0.200000003)) | |
581 | - | if Mesh == "SpecialMesh" then |
581 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.73652315, 1.54641891, -0.87610817, -0.915948868, -0.361711085, 0.173807219, 0.368439823, -0.929626107, 0.00698385015, 0.159049526, 0.0704338774, 0.984758258)) |
582 | - | Msh.MeshType = MeshType |
582 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.204597339, 0.603079915)) |
583 | - | Msh.MeshId = MeshId |
583 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.237157717, 0.200000003, 0.200000003)) |
584 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.9201827, -5.19203568, -0.876105785, -0.541927397, 0.839978278, 0.0274483506, -0.825242281, -0.53802973, 0.171768188, 0.159049526, 0.0704338774, 0.984758258)) | |
585 | - | return Msh |
585 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.386941314, 0.702734888)) |
586 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) | |
587 | - | function CreateWeld(Parent, Part0, Part1, C0, C1) |
587 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.37494802, -7.62555504, -0.875649452, -0.243149132, 0.969522953, -0.0300733093, -0.956863761, -0.234658495, 0.171328068, 0.159049526, 0.0704338774, 0.984758258)) |
588 | - | local Weld = Create("Weld")({ |
588 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
589 | - | Parent = Parent, |
589 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.289486945, 0.200000003, 0.200000003)) |
590 | - | Part0 = Part0, |
590 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.65015411, -5.88851833, -0.876107216, -0.213370487, 0.976331234, -0.0353698544, -0.963941395, -0.204491541, 0.170313492, 0.159049526, 0.0704338774, 0.984758258)) |
591 | - | Part1 = Part1, |
591 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.114502862, 0.826475263)) |
592 | - | C0 = C0, |
592 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) |
593 | - | C1 = C1 |
593 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.13230658, -5.9491291, -0.875666618, 0.956864119, 0.234657556, -0.171328053, -0.243148223, 0.969523311, -0.0300734807, 0.159049526, 0.0704338774, 0.984758258)) |
594 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) | |
595 | - | return Weld |
595 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.711270273, 0.587012351, 0.200000003)) |
596 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.76559043, -2.35450935, -0.875779629, -0.778230727, 0.622715831, 0.0811535791, -0.607508659, -0.779271603, 0.153856456, 0.159049526, 0.0704338774, 0.984758258)) | |
597 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) | |
598 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.593074083, 0.153296009, 0.0993160754)) | |
599 | - | ------------------------------------------------------- |
599 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.13903046, -1.75554442, 0.899179697, 0.897796094, 0.425415128, 0.113968335, 0.410948753, -0.902253151, 0.130619064, 0.158395648, -0.0704337358, -0.984863639)) |
600 | - | --Start Effect Function-- |
600 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.28581667, 0.251201004, 0.200000003)) |
601 | - | ------------------------------------------------------- |
601 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.52307987, 1.43080831, -0.875840187, -0.738136292, -0.653916478, 0.165988311, 0.655640781, -0.753281236, -0.0520153008, 0.159049526, 0.0704338774, 0.984758258)) |
602 | - | EffectModel = Instance.new("Model", char) |
602 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
603 | - | Effects = { |
603 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.81962168, 0.355486691, 0.200000003)) |
604 | - | Block = { |
604 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.17900562, 0.528181553, 0.899546862, 0.983720183, 0.0970456004, 0.151271403, 0.0849221796, -0.992784619, 0.0846586972, 0.158395648, -0.0704337358, -0.984863639)) |
605 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) |
605 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
606 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
606 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.593074083, 0.153296009, 0.0993160754)) |
607 | - | prt.Anchored = true |
607 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22492075, -1.79367971, -0.876101494, -0.897720635, 0.425415218, 0.114564329, -0.410861999, -0.902253389, 0.130892023, 0.159049526, 0.0704338774, 0.984758258)) |
608 | - | prt.CFrame = cframe |
608 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.86096573, 0.200000003, 0.200000003)) |
609 | - | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
609 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.64489841, 1.28957129, 0.89918232, 0.953440905, -0.248355046, 0.171103463, -0.25664717, -0.966105044, 0.0278160498, 0.158395648, -0.0704337358, -0.984863639)) |
610 | - | game:GetService("Debris"):AddItem(prt, 10) |
610 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.177244052, 0.702734888)) |
611 | - | if Type == 1 or Type == nil then |
611 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.448602259, 0.200000003, 0.200000003)) |
612 | - | table.insert(Effects, { |
612 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.71567822, 0.541264057, 0.899555683, 0.983720183, 0.0970456004, 0.151271403, 0.0849221796, -0.992784619, 0.0846586972, 0.158395648, -0.0704337358, -0.984863639)) |
613 | - | prt, |
613 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.962360442, 0.686508358)) |
614 | - | "Block1", |
614 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.77303123, 0.0569577813, 0.16529502)) |
615 | - | delay, |
615 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.62776089, -0.0802702904, 0.899173975, 0.888211191, 0.445839524, 0.110966101, 0.431275398, -0.892337739, 0.133179083, 0.158395648, -0.0704337358, -0.984863639)) |
616 | - | x3, |
616 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.35848251, 0.200000003, 0.200000003)) |
617 | - | y3, |
617 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09059107, -4.07705545, -0.876107216, -0.1299126, 0.990272045, -0.0498463511, -0.978689373, -0.12000373, 0.16665253, 0.159049526, 0.0704338774, 0.984758258)) |
618 | - | z3, |
618 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.218434557, 0.702734888)) |
619 | - | msh |
619 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544916272, 0.225188985, 0.200000003)) |
620 | - | }) |
620 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.1258769, -8.51951981, -0.875674248, -0.243149132, 0.969522953, -0.0300733093, -0.956863761, -0.234658495, 0.171328068, 0.159049526, 0.0704338774, 0.984758258)) |
621 | - | elseif Type == 2 then |
621 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
622 | - | table.insert(Effects, { |
622 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.81062156, 0.200000003, 0.200000003)) |
623 | - | prt, |
623 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.56451988, -0.770327568, -0.876095295, -0.888136804, 0.445840418, 0.111555554, -0.431187809, -0.892337322, 0.133465618, 0.159049526, 0.0704338774, 0.984758258)) |
624 | - | "Block2", |
624 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.171754241, 0.826475263)) |
625 | - | delay, |
625 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.885024369, 0.200000003, 0.200000003)) |
626 | - | x3, |
626 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.60015965, 1.58135319, -0.876099586, -0.739420414, -0.652438164, 0.166090012, 0.65419215, -0.75456202, -0.0516897105, 0.159049526, 0.0704338774, 0.984758258)) |
627 | - | y3, |
627 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168466955, 0.496580422)) |
628 | - | z3, |
628 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.35848251, 0.200000003, 0.200000003)) |
629 | - | msh |
629 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.07717514, -3.98405743, 0.89918375, 0.129879355, 0.990271866, -0.0499324463, 0.978799522, -0.12000373, 0.166002661, 0.158395648, -0.0704337358, -0.984863639)) |
630 | - | }) |
630 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.218434557, 0.702734888)) |
631 | - | else |
631 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.68831873, 0.818068683, 0.200000003)) |
632 | - | table.insert(Effects, { |
632 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.7883234, 1.5500679, 0.899549246, 0.953440905, -0.248355046, 0.171103463, -0.25664717, -0.966105044, 0.0278160498, 0.158395648, -0.0704337358, -0.984863639)) |
633 | - | prt, |
633 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
634 | - | "Block3", |
634 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.6140852, 0.403167814, 0.200000003)) |
635 | - | delay, |
635 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.29368877, -0.540122628, 0.902308226, 0.967771351, 0.208867699, 0.140709192, 0.19579564, -0.975404263, 0.101247497, 0.158395648, -0.0704337358, -0.984863639)) |
636 | - | x3, |
636 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) |
637 | - | y3, |
637 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625893, 0.200000003, 0.200000003)) |
638 | - | z3, |
638 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.05418491, -4.94852543, -0.87578392, -0.871902943, 0.477931917, 0.106638268, -0.463136405, -0.875568628, 0.137426317, 0.159049526, 0.0704338774, 0.984758258)) |
639 | - | msh |
639 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.821603239, 0.589154541)) |
640 | - | }) |
640 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.17940784, 0.322034985, 0.200000003)) |
641 | - | end |
641 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.63292789, -0.281317264, 0.90230751, 0.967771351, 0.208867699, 0.140709192, 0.19579564, -0.975404263, 0.101247497, 0.158395648, -0.0704337358, -0.984863639)) |
642 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) | |
643 | - | }, |
643 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
644 | - | Sphere = { |
644 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.9951973, -5.11057854, 0.899551868, 0.567268908, 0.822896957, 0.0323830284, 0.808160365, -0.563808322, 0.170298159, 0.158395648, -0.0704337358, -0.984863639)) |
645 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
645 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) |
646 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
646 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392433375, 0.200000003, 0.200000003)) |
647 | - | prt.Anchored = true |
647 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.60902596, -5.31743908, 0.899554253, 0.757790625, 0.64811492, 0.0755244941, 0.632985294, -0.758278489, 0.156032622, 0.158395648, -0.0704337358, -0.984863639)) |
648 | - | prt.CFrame = cframe |
648 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.887468517, 0.686508358)) |
649 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
649 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
650 | - | game:GetService("Debris"):AddItem(prt, 10) |
650 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.25744534, -6.4676342, 0.899554729, 0.567268908, 0.822896957, 0.0323830284, 0.808160365, -0.563808322, 0.170298159, 0.158395648, -0.0704337358, -0.984863639)) |
651 | - | table.insert(Effects, { |
651 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) |
652 | - | prt, |
652 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.29263294, 0.873988032, 0.200000003)) |
653 | - | "Cylinder", |
653 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.44844723, 0.264499307, 0.899559975, 0.983720183, 0.0970456004, 0.151271403, 0.0849221796, -0.992784619, 0.0846586972, 0.158395648, -0.0704337358, -0.984863639)) |
654 | - | delay, |
654 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.686508358)) |
655 | - | x3, |
655 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.711270273, 0.587012351, 0.200000003)) |
656 | - | y3, |
656 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.69082737, -2.29750347, 0.899507284, 0.778284431, 0.622715771, 0.0806369483, 0.607610583, -0.779271603, 0.153452963, 0.158395648, -0.0704337358, -0.984863639)) |
657 | - | z3, |
657 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.589154541)) |
658 | - | msh |
658 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330954, 0.200000003, 0.200000003)) |
659 | - | }) |
659 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.89600754, -7.22783756, 0.899558783, 0.567268908, 0.822896957, 0.0323830284, 0.808160365, -0.563808322, 0.170298159, 0.158395648, -0.0704337358, -0.984863639)) |
660 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) | |
661 | - | }, |
661 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.987072945, 0.255135655, 0.16529505)) |
662 | - | Cylinder = { |
662 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.71047688, -4.6296978, 0.899176836, -0.0336004198, 0.99649024, -0.0766696334, 0.986806989, 0.0452355742, 0.155473113, 0.158395648, -0.0704337358, -0.984863639)) |
663 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
663 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.93836689, 0.403167814, 0.200000003)) |
664 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
664 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.48208714, -0.508446693, 0.902300596, 0.967771351, 0.208867699, 0.140709192, 0.19579564, -0.975404263, 0.101247497, 0.158395648, -0.0704337358, -0.984863639)) |
665 | - | prt.Anchored = true |
665 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) |
666 | - | prt.CFrame = cframe |
666 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.81062156, 0.200000003, 0.200000003)) |
667 | - | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
667 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.47948933, -0.730221033, 0.899180651, 0.888210654, 0.445840329, 0.110965937, 0.431276202, -0.892337203, 0.133179173, 0.158395648, -0.0704337358, -0.984863639)) |
668 | - | game:GetService("Debris"):AddItem(prt, 10) |
668 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.171754241, 0.826475263)) |
669 | - | table.insert(Effects, { |
669 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(5.80793524, 0.474159241, 0.200000003)) |
670 | - | prt, |
670 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.09872341, -1.28934956, -0.872449875, -0.835002363, 0.541791916, 0.096110858, -0.526764631, -0.837556481, 0.144984186, 0.159049526, 0.0704338774, 0.984758258)) |
671 | - | "Cylinder", |
671 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) |
672 | - | delay, |
672 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.615124702, 0.0656226948, 0.0993160754)) |
673 | - | x3, |
673 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.90129137, 1.57645273, -0.876101017, -0.739910543, -0.651872814, 0.166128725, 0.653638065, -0.755050838, -0.0515652671, 0.159049526, 0.0704338774, 0.984758258)) |
674 | - | y3, |
674 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.77303123, 0.0569577813, 0.16529502)) |
675 | - | z3, |
675 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.71281719, -0.12038517, -0.876109123, -0.88813746, 0.445839614, 0.111555718, -0.431186944, -0.892337859, 0.133465528, 0.159049526, 0.0704338774, 0.984758258)) |
676 | - | msh |
676 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(4.6140852, 0.403167814, 0.200000003)) |
677 | - | }) |
677 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.38605118, -0.557724476, -0.872985363, -0.967677772, 0.208867818, 0.141351685, -0.195728391, -0.975404441, 0.101377606, 0.159049526, 0.0704338774, 0.984758258)) |
678 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.651558757)) | |
679 | - | }, |
679 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(2.72853518, 0.276367128, 0.200000003)) |
680 | - | Wave = { |
680 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.83732796, 0.73610878, 0.901870728, 0.951383591, -0.255979359, 0.171317831, -0.264171213, -0.964112818, 0.0264634844, 0.158395648, -0.0704337358, -0.984863639)) |
681 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
681 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.559161127)) |
682 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) |
682 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.262121707, 0.200000003, 0.200000003)) |
683 | - | prt.Anchored = true |
683 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.02445412, 0.0772790313, 0.899172306, 0.975753427, 0.163778633, 0.145217553, 0.151071489, -0.983979583, 0.0946677923, 0.158395648, -0.0704337358, -0.984863639)) |
684 | - | prt.CFrame = cframe |
684 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.121075168, 0.702734888)) |
685 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) |
685 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.987072945, 0.255135655, 0.16529505)) |
686 | - | game:GetService("Debris"):AddItem(prt, 10) |
686 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.70833468, -4.723629, -0.876116276, 0.0335495621, 0.996490359, -0.0766920745, -0.986703634, 0.045235604, 0.156128243, 0.159049526, 0.0704338774, 0.984758258)) |
687 | - | table.insert(Effects, { |
687 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544915974, 0.225188777, 0.161478266)) |
688 | - | prt, |
688 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-10.6862888, -1.30415058, 0.89962697, 0.840070486, 0.533750415, 0.096936509, 0.51884377, -0.842703879, 0.143713042, 0.158395648, -0.0704337358, -0.984863639)) |
689 | - | "Cylinder", |
689 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.278917462, 0.200000003, 0.200000003)) |
690 | - | delay, |
690 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.71909857, -5.91170692, 0.899182796, 0.213346913, 0.976331115, -0.035511367, 0.964054167, -0.204491556, 0.169673428, 0.158395648, -0.0704337358, -0.984863639)) |
691 | - | x3 / 60, |
691 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.455075413, 0.826475263)) |
692 | - | y3 / 60, |
692 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.461534649, 0.208747551, 0.200000003)) |
693 | - | z3 / 60, |
693 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.13227654, -6.44646263, 0.899623156, 0.483456552, 0.875237942, 0.0151602253, 0.860922158, -0.478537083, 0.172685549, 0.158395648, -0.0704337358, -0.984863639)) |
694 | - | msh |
694 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
695 | - | }) |
695 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.30827716, 0.200000003, 0.200000003)) |
696 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98289776, -0.586512566, 0.899170399, 0.858418167, 0.502689481, 0.102108754, 0.487888604, -0.861592889, 0.140085429, 0.158395648, -0.0704337358, -0.984863639)) | |
697 | - | }, |
697 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.142394558, 0.826475263)) |
698 | - | Ring = { |
698 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.06531036, 0.0500000007, 0.0993160605)) |
699 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
699 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.49573326, 1.38384151, 0.899169683, 0.740020633, -0.651872694, 0.165637314, -0.65367198, -0.755050719, -0.0511313789, 0.158395648, -0.0704337358, -0.984863639)) |
700 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
700 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.615124702, 0.0656226948, 0.0993160754)) |
701 | - | prt.Anchored = true |
701 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.83156061, 1.51341534, 0.899182796, 0.740020573, -0.651872635, 0.165637314, -0.65367192, -0.755050659, -0.0511313714, 0.158395648, -0.0704337358, -0.984863639)) |
702 | - | prt.CFrame = cframe |
702 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(5.21506357, 0.20021978, 0.0970228091)) |
703 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
703 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.00895405, -1.52527142, 0.899441719, -0.738250315, 0.653911769, -0.165498421, 0.655670524, 0.753285229, 0.0515790507, 0.158395648, -0.0704337358, -0.984863639)) |
704 | - | game:GetService("Debris"):AddItem(prt, 10) |
704 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01290989, 0.962117612, 0.200000003)) |
705 | - | table.insert(Effects, { |
705 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35375977, 0.899987698, 0.899623871, 0.982419491, 0.111090541, 0.150057733, 0.0988400206, -0.991311312, 0.0867917389, 0.158395648, -0.0704337358, -0.984863639)) |
706 | - | prt, |
706 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
707 | - | "Cylinder", |
707 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
708 | - | delay, |
708 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.65613461, -2.28155923, 0.899180412, 0.97187376, 0.187194049, 0.142919019, 0.174294397, -0.979794621, 0.0981034413, 0.158395648, -0.0704337358, -0.984863639)) |
709 | - | x3, |
709 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.837925136, 0.273428023, 0.496580422)) |
710 | - | y3, |
710 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.885024369, 0.200000003, 0.200000003)) |
711 | - | z3, |
711 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.53051615, 1.51825809, 0.899175406, 0.739530563, -0.652438164, 0.165598929, -0.654226303, -0.754561961, -0.0512554646, 0.158395648, -0.0704337358, -0.984863639)) |
712 | - | msh |
712 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.168466955, 0.496580422)) |
713 | - | }) |
713 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
714 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.60183334, -2.21259737, 0.899178982, 0.97187376, 0.187194049, 0.142919019, 0.174294397, -0.979794621, 0.0981034413, 0.158395648, -0.0704337358, -0.984863639)) | |
715 | - | }, |
715 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.86967802, 0.0687980205, 0.496580422)) |
716 | - | Break = { |
716 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.608597696, 0.578079879, 0.200000003)) |
717 | - | Create = function(brickcolor, cframe, x1, y1, z1) |
717 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.06458545, 1.71746063, 0.899444103, 0.469479233, -0.872112989, 0.137876973, -0.868623555, -0.484208882, -0.105071731, 0.158395648, -0.0704337358, -0.984863639)) |
718 | - | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) |
718 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
719 | - | prt.Anchored = true |
719 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.26049519, 0.284894377, 0.200000003)) |
720 | - | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
720 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.35979939, 0.709637642, 0.901391029, 0.807760298, -0.564388156, 0.170275271, -0.56783843, -0.822499216, -0.0325030573, 0.158395648, -0.0704337358, -0.984863639)) |
721 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
721 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
722 | - | local num = math.random(10, 50) / 1000 |
722 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.487054616, 0.200000003, 0.200000003)) |
723 | - | game:GetService("Debris"):AddItem(prt, 10) |
723 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.20471144, 0.993402481, 0.899175167, 0.74000591, -0.651889324, 0.165636152, -0.653688312, -0.755036056, -0.0511350483, 0.158395648, -0.0704337358, -0.984863639)) |
724 | - | table.insert(Effects, { |
724 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.103197038, 0.496580422)) |
725 | - | prt, |
725 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) |
726 | - | "Shatter", |
726 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.86629438, -5.93879318, 0.899615288, 0.243128091, 0.969523191, -0.0302347708, 0.956977606, -0.234657571, 0.170692697, 0.158395648, -0.0704337358, -0.984863639)) |
727 | - | num, |
727 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
728 | - | prt.CFrame, |
728 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.45713082, 0.200000003, 0.200000003)) |
729 | - | math.random() - math.random(), |
729 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.302171409, -3.85664177, 0.899174929, -0.226347059, 0.968300045, -0.105653003, 0.961084962, 0.239654273, 0.137432054, 0.158395648, -0.0704337358, -0.984863639)) |
730 | - | 0, |
730 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.230473682, 0.826475263)) |
731 | - | math.random(50, 100) / 100 |
731 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(8.67960358, 0.333232433, 0.161478281)) |
732 | - | }) |
732 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.48829556, -0.157133818, 0.899628162, -0.889367282, -0.44343856, -0.111323729, -0.428885609, 0.893533111, -0.132880211, 0.158395648, -0.0704337358, -0.984863639)) |
733 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.02377248, 0.109218024, 0.165295035)) | |
734 | - | }, |
734 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.52259731, 0.13526392, 0.899174929, 0.888211131, 0.445839494, 0.110966086, 0.431275398, -0.89233768, 0.133179069, 0.158395648, -0.0704337358, -0.984863639)) |
735 | - | Spiral = { |
735 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.47297621, 0.200000003, 0.200000003)) |
736 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
736 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.35146236, 0.143870831, 0.899175167, 0.888524592, 0.445189714, 0.111062989, 0.430628598, -0.892661929, 0.13309826, 0.158395648, -0.0704337358, -0.984863639)) |
737 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
737 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.280385196, 0.826475263)) |
738 | - | prt.Anchored = true |
738 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.289486945, 0.200000003, 0.200000003)) |
739 | - | prt.CFrame = cframe |
739 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.62878847, -5.79698372, 0.899180174, 0.213346913, 0.976331115, -0.035511367, 0.964054167, -0.204491556, 0.169673428, 0.158395648, -0.0704337358, -0.984863639)) |
740 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
740 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.114502862, 0.826475263)) |
741 | - | game:GetService("Debris"):AddItem(prt, 10) |
741 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544916272, 0.225188985, 0.200000003)) |
742 | - | table.insert(Effects, { |
742 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.10166311, -8.42869759, 0.89962101, 0.243128091, 0.969523191, -0.0302347708, 0.956977606, -0.234657571, 0.170692697, 0.158395648, -0.0704337358, -0.984863639)) |
743 | - | prt, |
743 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
744 | - | "Cylinder", |
744 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.52759397, 0.226363361, 0.200000003)) |
745 | - | delay, |
745 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.54712391, -0.0898849964, 0.899624348, 0.889367104, 0.443439037, 0.111323655, 0.428886175, -0.893532872, 0.132880285, 0.158395648, -0.0704337358, -0.984863639)) |
746 | - | x3, |
746 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
747 | - | y3, |
747 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.950080097, 0.200000003, 0.200000003)) |
748 | - | z3, |
748 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.31802368, 0.593690634, 0.899173021, 0.982419491, 0.111090541, 0.150057733, 0.0988400206, -0.991311312, 0.0867917389, 0.158395648, -0.0704337358, -0.984863639)) |
749 | - | msh |
749 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.208453938, 0.826475263)) |
750 | - | }) |
750 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.73925114, 0.378740221, 0.200000003)) |
751 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.0200882, -0.97302866, 0.902845383, 0.835065901, 0.541791797, 0.0955565274, 0.526860714, -0.837556362, 0.144634306, 0.158395648, -0.0704337358, -0.984863639)) | |
752 | - | }, |
752 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) |
753 | - | Push = { |
753 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(5.42655277, 0.474159241, 0.200000003)) |
754 | - | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
754 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.79708099, -1.27738047, 0.902848959, 0.835065901, 0.541791797, 0.0955565274, 0.526860714, -0.837556362, 0.144634306, 0.158395648, -0.0704337358, -0.984863639)) |
755 | - | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) |
755 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) |
756 | - | prt.Anchored = true |
756 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) |
757 | - | prt.CFrame = cframe |
757 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.04142857, -5.9249177, 0.899623394, -0.956977844, 0.234656647, -0.170692667, 0.243127227, 0.96952343, -0.0302349348, 0.158395648, -0.0704337358, -0.984863639)) |
758 | - | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) |
758 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
759 | - | game:GetService("Debris"):AddItem(prt, 10) |
759 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.401640892, 0.225188985, 0.200000003)) |
760 | - | table.insert(Effects, { |
760 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.35073805, -7.53473663, 0.899620056, 0.243128091, 0.969523191, -0.0302347708, 0.956977606, -0.234657571, 0.170692697, 0.158395648, -0.0704337358, -0.984863639)) |
761 | - | prt, |
761 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
762 | - | "Cylinder", |
762 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.974742055, 0.804455996, 0.200000003)) |
763 | - | delay, |
763 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.32731676, -4.64178848, 0.89961648, 0.0732559189, 0.995541811, -0.0594160855, 0.984657824, -0.0627355278, 0.162849188, 0.158395648, -0.0704337358, -0.984863639)) |
764 | - | x3, |
764 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
765 | - | y3, |
765 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.52024531, 1.02788341, 0.200000003)) |
766 | - | z3, |
766 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.52893353, -0.415368557, 0.899619102, 0.889367104, 0.443439037, 0.111323655, 0.428886175, -0.893532872, 0.132880285, 0.158395648, -0.0704337358, -0.984863639)) |
767 | - | msh |
767 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
768 | - | }) |
768 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(5.80793524, 0.474159241, 0.200000003)) |
769 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.01865196, -1.240098, 0.902853489, 0.835065901, 0.541791797, 0.0955565274, 0.526860714, -0.837556362, 0.144634306, 0.158395648, -0.0704337358, -0.984863639)) | |
770 | - | } |
770 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.766287804)) |
771 | - | } |
771 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.14002848, 0.418082207, 0.200000003)) |
772 | - | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) |
772 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.56400204, -0.105271816, 0.899624109, 0.889367104, 0.443439037, 0.111323655, 0.428886175, -0.893532872, 0.132880285, 0.158395648, -0.0704337358, -0.984863639)) |
773 | - | local fp = IT("Part") |
773 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.807391346)) |
774 | - | fp.formFactor = formfactor |
774 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.421605587, 0.200000003, 0.200000003)) |
775 | - | fp.Parent = parent |
775 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.405569971, -4.15652847, 0.899177074, -0.226347059, 0.968300045, -0.105653003, 0.961084962, 0.239654273, 0.137432054, 0.158395648, -0.0704337358, -0.984863639)) |
776 | - | fp.Reflectance = reflectance |
776 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.25689742, 0.826475263)) |
777 | - | fp.Transparency = transparency |
777 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.237157688, 0.0928658471, 0.140546978)) |
778 | - | fp.CanCollide = false |
778 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.38760376, -4.62725306, -0.876109123, -0.412119269, 0.911129475, 0.00139382645, -0.897144139, -0.40605697, 0.173941851, 0.159049526, 0.0704338774, 0.984758258)) |
779 | - | fp.Locked = true |
779 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
780 | - | fp.BrickColor = brickcolor |
780 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.955852509, 0.625712156, -0.875572681, -0.852161765, -0.493873715, 0.172957763, 0.498528183, -0.866676629, -0.0185293108, 0.159049526, 0.0704338774, 0.984758258)) |
781 | - | fp.Name = name |
781 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) |
782 | - | fp.Size = size |
782 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.93570781, -4.34092236, 0.899439335, -0.144093618, 0.985125005, -0.0936274603, 0.976808131, 0.156741619, 0.145890474, 0.158395648, -0.0704337358, -0.984863639)) |
783 | - | fp.Position = tors.Position |
783 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
784 | - | RemoveOutlines(fp) |
784 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(7.38008833, 0.283340693, 0.137301654)) |
785 | - | fp.Material = "SmoothPlastic" |
785 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.96492386, -0.751348019, 0.899559975, -0.983720541, -0.097042948, -0.151271641, -0.0849195123, 0.992784858, -0.0846583024, 0.158395648, -0.0704337358, -0.984863639)) |
786 | - | fp:BreakJoints() |
786 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
787 | - | return fp |
787 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.875217438, 0.577329636, 0.8997159, 0.852276325, -0.493873656, 0.172391832, -0.498540312, -0.866676569, -0.0181984361, 0.158395648, -0.0704337358, -0.984863639)) |
788 | - | end |
788 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.317000091, 0.200000003, 0.200000003)) |
789 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24620485, 1.37683487, 0.899437904, 0.738246202, -0.653916538, 0.165498123, -0.655675173, -0.753281176, -0.0515800938, 0.158395648, -0.0704337358, -0.984863639)) | |
790 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
790 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.680042028, 0.485114038)) |
791 | - | local mesh = IT(Mesh) |
791 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
792 | - | mesh.Parent = part |
792 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.612905502, 0.709106445, 0.899713516, 0.75275749, -0.636867404, 0.16661267, -0.638962567, -0.76774931, -0.0478575006, 0.158395648, -0.0704337358, -0.984863639)) |
793 | - | if Mesh == "SpecialMesh" then |
793 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(2.24669528, 0.227562711, 0.200000003)) |
794 | - | mesh.MeshType = meshtype |
794 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.89282131, 0.892552376, 0.901396751, 0.807760298, -0.564388156, 0.170275271, -0.56783843, -0.822499216, -0.0325030573, 0.158395648, -0.0704337358, -0.984863639)) |
795 | - | if meshid ~= "nil" then |
795 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
796 | - | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid |
796 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.341506928, 0.200000003, 0.200000003)) |
797 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.04824734, -5.89530945, 0.899547577, -0.808166444, 0.563799381, -0.170298517, 0.567260206, 0.822903037, 0.0323811881, 0.158395648, -0.0704337358, -0.984863639)) | |
798 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.957367718, 0.686508358)) | |
799 | - | mesh.Offset = offset |
799 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.277308941, 0.200000003, 0.200000003)) |
800 | - | mesh.Scale = scale |
800 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.90485382, -2.41978216, 0.899445057, 0.980692923, -0.104658872, 0.165209725, -0.114710905, -0.992010891, 0.0524963699, 0.158395648, -0.0704337358, -0.984863639)) |
801 | - | return mesh |
801 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.627120495, 0.485114038)) |
802 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.28581667, 0.251201004, 0.200000003)) | |
803 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.45351076, 1.36759567, 0.899456739, 0.738246202, -0.653916538, 0.165498123, -0.655675173, -0.753281176, -0.0515800938, 0.158395648, -0.0704337358, -0.984863639)) | |
804 | - | function Magic(bonuspeed, type, pos, scale, value, color, MType) |
804 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
805 | - | local type = type |
805 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) |
806 | - | local rng = Instance.new("Part", char) |
806 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.70473862, -2.27298903, 0.899447203, 0.97680974, 0.156730592, 0.145891517, 0.14408268, -0.985126793, 0.0936258137, 0.158395648, -0.0704337358, -0.984863639)) |
807 | - | rng.Anchored = true |
807 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
808 | - | rng.BrickColor = color |
808 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407956, 0.200000003, 0.200000003)) |
809 | - | rng.CanCollide = false |
809 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.04809093, -3.76932192, 0.899433136, 0.97680974, 0.156730592, 0.145891517, 0.14408268, -0.985126793, 0.0936258137, 0.158395648, -0.0704337358, -0.984863639)) |
810 | - | rng.FormFactor = 3 |
810 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
811 | - | rng.Name = "Ring" |
811 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(3.48964572, 0.284894377, 0.200000003)) |
812 | - | rng.Material = "Neon" |
812 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.49291515, 0.732042313, 0.901394367, 0.807760298, -0.564388156, 0.170275271, -0.56783843, -0.822499216, -0.0325030573, 0.158395648, -0.0704337358, -0.984863639)) |
813 | - | rng.Size = Vector3.new(1, 1, 1) |
813 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.46041733)) |
814 | - | rng.Transparency = 0 |
814 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) |
815 | - | rng.TopSurface = 0 |
815 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.00004673, 1.10830212, 0.899176121, 0.780784011, -0.601626694, 0.168599859, -0.60439539, -0.795666099, -0.0403015167, 0.158395648, -0.0704337358, -0.984863639)) |
816 | - | rng.BottomSurface = 0 |
816 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.926127851, 0.0855565146, 0.496580422)) |
817 | - | rng.CFrame = pos |
817 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.274662942, 0.200000003, 0.200000003)) |
818 | - | local rngm = Instance.new("SpecialMesh", rng) |
818 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.47231865, -1.52871323, 0.899180651, 0.799826324, 0.594019651, 0.0861538053, 0.57896024, -0.801361203, 0.150424898, 0.158395648, -0.0704337358, -0.984863639)) |
819 | - | rngm.MeshType = MType |
819 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.138478085, 0.496580422)) |
820 | - | rngm.Scale = scale |
820 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407986, 0.135302708, 0.0970228091)) |
821 | - | local scaler2 = 1 |
821 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.08194923, 0.690246582, 0.899447441, 0.802298605, -0.572220087, 0.169957012, -0.575529337, -0.817069888, -0.0341282785, 0.158395648, -0.0704337358, -0.984863639)) |
822 | - | if type == "Add" then |
822 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.870492697, 0.0928658396, 0.140546978)) |
823 | - | scaler2 = 1 * value |
823 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.29508305, 0.731118441, 0.899173498, 0.9834885, 0.0997146666, 0.151043221, 0.0875668675, -0.992520273, 0.0850651413, 0.158395648, -0.0704337358, -0.984863639)) |
824 | - | elseif type == "Divide" then |
824 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.237157717, 0.200000003, 0.200000003)) |
825 | - | scaler2 = 1 / value |
825 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.86768246, -5.11404228, 0.899182558, 0.541946113, 0.839977741, 0.0270888023, 0.825355411, -0.538030386, 0.171220094, 0.158395648, -0.0704337358, -0.984863639)) |
826 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.386941314, 0.702734888)) | |
827 | - | coroutine.resume(coroutine.create(function() |
827 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.570847034, 0.200000003, 0.200000003)) |
828 | - | for i = 0, 10 / bonuspeed, 0.1 do |
828 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.04313016, 1.53340054, 0.899173021, 0.469479233, -0.872112989, 0.137876973, -0.868623555, -0.484208882, -0.105071731, 0.158395648, -0.0704337358, -0.984863639)) |
829 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.125247687, 0.496580422)) | |
830 | - | if type == "Add" then |
830 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.253317922, 0.200000003, 0.200000003)) |
831 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
831 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.53444767, -1.70892, 0.899178028, 0.799826324, 0.594019651, 0.0861538053, 0.57896024, -0.801361203, 0.150424898, 0.158395648, -0.0704337358, -0.984863639)) |
832 | - | elseif type == "Divide" then |
832 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.154354557, 0.496580422)) |
833 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
833 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330895, 0.19147341, 0.137301669)) |
834 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.74527073, -0.556594372, 0.899551868, 0.969600797, 0.199523777, 0.141671658, 0.186525285, -0.97735852, 0.0998963192, 0.158395648, -0.0704337358, -0.984863639)) | |
835 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
835 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.50757241, 0.0500000007, 0.140546978)) |
836 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) |
836 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.23492336, 0.547811508, 0.899180412, 0.9834885, 0.0997146964, 0.151043236, 0.0875668675, -0.992520332, 0.0850651488, 0.158395648, -0.0704337358, -0.984863639)) |
837 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.913425505, 0.6175946, 0.200000003)) | |
838 | - | rng:Destroy() |
838 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.23053312, 1.18124676, 0.899436474, 0.738246202, -0.653916538, 0.165498123, -0.655675173, -0.753281176, -0.0515800938, 0.158395648, -0.0704337358, -0.984863639)) |
839 | - | end)) |
839 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
840 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.241322264, 0.200000003, 0.200000003)) | |
841 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.59684658, -3.23211718, 0.899447203, 0.97680974, 0.156730592, 0.145891517, 0.14408268, -0.985126793, 0.0936258137, 0.158395648, -0.0704337358, -0.984863639)) | |
842 | - | function Eviscerate(dude) |
842 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.67651403, 0.485114038)) |
843 | - | if dude.Name ~= char then |
843 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.72026825, 0.186172783, 0.120615982)) |
844 | - | local bgf = IT("BodyGyro", dude.Head) |
844 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.3527813, -2.4022789, 0.899178505, 0.708067238, 0.703278601, 0.0635823458, 0.688155055, -0.707416534, 0.1612681, 0.158395648, -0.0704337358, -0.984863639)) |
845 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
845 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
846 | - | local val = IT("BoolValue", dude) |
846 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.683907509, 0.770748854, -0.875570297, -0.752646863, -0.636867464, 0.167112529, 0.638930738, -0.76774931, -0.0482816175, 0.159049526, 0.0704338774, 0.984758258)) |
847 | - | val.Name = "IsHit" |
847 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.585665047, 0.483350217, 0.200000003)) |
848 | - | local ds = coroutine.wrap(function() |
848 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.39219284, -1.64878547, 0.899446249, 0.936947465, 0.325422674, 0.127416179, 0.311522603, -0.942941844, 0.117538266, 0.158395648, -0.0704337358, -0.984863639)) |
849 | - | dude:WaitForChild("Head"):BreakJoints() |
849 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.485114038)) |
850 | - | wait(0.5) |
850 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
851 | - | target = nil |
851 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.86477071, 0.713346481, -0.875574112, 0.177005127, -0.983324409, 0.0417434536, 0.97127682, 0.167667001, -0.168864429, 0.159049526, 0.0704338774, 0.984758258)) |
852 | - | coroutine.resume(coroutine.create(function() |
852 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(1.25244117, 0.200000003, 0.200000003)) |
853 | - | for i, v in pairs(dude:GetChildren()) do |
853 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.7002039, 0.738850355, 0.899182081, 0.983551681, 0.0989937484, 0.151104987, 0.0868525133, -0.992592335, 0.0849554017, 0.158395648, -0.0704337358, -0.984863639)) |
854 | - | if v:IsA("Accessory") then |
854 | + | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.238405704, 0.702734888)) |
855 | - | v:Destroy() |
855 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.839287937, 0.216936618, 0.140546992)) |
856 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.26070261, -4.23413277, 0.89917016, 0.319192618, 0.947547555, -0.0164296925, 0.934362292, -0.311756849, 0.172569364, 0.158395648, -0.0704337358, -0.984863639)) | |
857 | - | if v:IsA("Humanoid") then |
857 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.689254642, 0.200000003, 0.200000003)) |
858 | - | v:Destroy() |
858 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.40810013, -0.00480878353, 0.899180889, 0.983488262, 0.0997154713, 0.151043147, 0.087567687, -0.992519975, 0.0850652456, 0.158395648, -0.0704337358, -0.984863639)) |
859 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.146039113, 0.702734888)) | |
860 | - | if v:IsA("CharacterMesh") then |
860 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
861 | - | v:Destroy() |
861 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.27816868, 0.36729759, -0.875572681, -0.971276879, -0.167668194, 0.168864504, 0.177006349, -0.983324409, 0.0417432524, 0.159049526, 0.0704338774, 0.984758258)) |
862 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) | |
863 | - | if v:IsA("Model") then |
863 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.24585152, -1.39969897, -0.875568867, 0.97127676, 0.167668015, -0.168864489, -0.17700617, 0.983324349, -0.0417432785, 0.159049526, 0.0704338774, 0.984758258)) |
864 | - | v:Destroy() |
864 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.544915974, 0.225188777, 0.161478266)) |
865 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.99300385, -8.90743637, 0.899626732, 0.142528698, 0.988636851, -0.0477811359, 0.977037787, -0.132802278, 0.166634604, 0.158395648, -0.0704337358, -0.984863639)) | |
866 | - | if v:IsA("Part") or v:IsA("MeshPart") then |
866 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.463330895, 0.19147341, 0.137301669)) |
867 | - | for x, o in pairs(v:GetChildren()) do |
867 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.94237328, -7.7235775, 0.899553537, 0.480360001, 0.876951873, 0.0145396311, 0.862653852, -0.475389123, 0.17273891, 0.158395648, -0.0704337358, -0.984863639)) |
868 | - | if o:IsA("Decal") then |
868 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
869 | - | o:Destroy() |
869 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.846886158, 0.621031761, 0.899709225, -0.176977322, -0.983324349, 0.0418608226, -0.971388578, 0.167666942, -0.168219492, 0.158395648, -0.0704337358, -0.984863639)) |
870 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.167585015, 0.0656226873, 0.0993160605)) | |
871 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.77898407, -1.92497277, 0.899177313, 0.934770584, 0.331936687, 0.126600191, 0.317995548, -0.940668523, 0.118416734, 0.158395648, -0.0704337358, -0.984863639)) | |
872 | - | coroutine.resume(coroutine.create(function() |
872 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407986, 0.135302708, 0.0970228091)) |
873 | - | v.Material = "Neon" |
873 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.60343695, -4.16727877, -0.875849724, -0.956498504, 0.258096755, 0.136025012, -0.244582146, -0.963548362, 0.108420044, 0.159049526, 0.0704338774, 0.984758258)) |
874 | - | v.CanCollide = false |
874 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
875 | - | local PartEmmit1 = IT("ParticleEmitter", v) |
875 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.283630848, 0.916330338, -0.875573158, -0.165863439, -0.981368661, 0.096980691, 0.973241448, -0.178758949, -0.1444038, 0.159049526, 0.0704338774, 0.984758258)) |
876 | - | PartEmmit1.LightEmission = 1 |
876 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
877 | - | PartEmmit1.Texture = "rbxassetid://284205403" |
877 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.36431217, -0.183939934, 0.8997159, -0.759969652, -0.645495474, -0.0760622695, -0.630367577, 0.76050961, -0.155771151, 0.158395648, -0.0704337358, -0.984863639)) |
878 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
878 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
879 | - | PartEmmit1.Rate = 150 |
879 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.212973595, 1.0695591, -0.87556839, -0.488728732, -0.861045897, 0.140521064, 0.857819378, -0.503626227, -0.102525853, 0.159049526, 0.0704338774, 0.984758258)) |
880 | - | PartEmmit1.Lifetime = NumberRange.new(1) |
880 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
881 | - | PartEmmit1.Size = NumberSequence.new({ |
881 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.43735743, -0.124714851, -0.875572205, 0.759919107, -0.645495534, -0.0765667409, 0.630264044, 0.76050961, -0.156189799, 0.159049526, 0.0704338774, 0.984758258)) |
882 | - | NumberSequenceKeypoint.new(0, 0.75, 0), |
882 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
883 | - | NumberSequenceKeypoint.new(1, 0, 0) |
883 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.45576286, -0.432270765, 0.89970994, -0.857886434, -0.503627419, -0.101956159, -0.488823175, 0.861045182, -0.140196547, 0.158395648, -0.0704337358, -0.984863639)) |
884 | - | }) |
884 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.397625864, 0.164320529, 0.117830887)) |
885 | - | PartEmmit1.Transparency = NumberSequence.new({ |
885 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.28656006, -5.34329987, 0.899504423, 0.819206297, 0.566195071, 0.0912605822, 0.551197171, -0.821256518, 0.147382587, 0.158395648, -0.0704337358, -0.984863639)) |
886 | - | NumberSequenceKeypoint.new(0, 0, 0), |
886 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238588)) |
887 | - | NumberSequenceKeypoint.new(1, 1, 0) |
887 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.38829231, -0.792639971, 0.899710655, -0.973336995, -0.178759843, -0.143757522, -0.165928707, 0.981368542, -0.0968705416, 0.158395648, -0.0704337358, -0.984863639)) |
888 | - | }) |
888 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.278917283, 0.109218009, 0.16529502)) |
889 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
889 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.96528482, -5.18345737, -0.876111031, -0.0664858893, 0.995951891, -0.0604967251, -0.985032797, -0.0558502376, 0.163088515, 0.159049526, 0.0704338774, 0.984758258)) |
890 | - | PartEmmit1.VelocitySpread = 30000 |
890 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
891 | - | PartEmmit1.Rotation = NumberRange.new(-500, 500) |
891 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.35685253, -0.233741045, 0.899713993, 0.973336995, 0.178759813, 0.143757522, 0.165928677, -0.981368542, 0.0968705341, 0.158395648, -0.0704337358, -0.984863639)) |
892 | - | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) |
892 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.278917283, 0.109218009, 0.16529502)) |
893 | - | local BodPoss = IT("BodyPosition", v) |
893 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.95789385, -5.08970642, 0.899176598, 0.066445671, 0.995951772, -0.0605406985, 0.985140741, -0.0558502674, 0.162434459, 0.158395648, -0.0704337358, -0.984863639)) |
894 | - | BodPoss.P = 3000 |
894 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
895 | - | BodPoss.D = 1000 |
895 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.167333841, 0.987339973, 0.899712086, 0.488821954, -0.861045837, 0.140196383, -0.857887089, -0.503626227, -0.101956345, 0.158395648, -0.0704337358, -0.984863639)) |
896 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
896 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238558)) |
897 | - | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
897 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.22531652, 0.484791756, -0.875574112, 0.49852699, -0.866677225, -0.018529065, 0.85216248, 0.493872464, -0.172957778, 0.159049526, 0.0704338774, 0.984758258)) |
898 | - | v.Color = maincolor.Color |
898 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
899 | - | coroutine.resume(coroutine.create(function() |
899 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.29839766, 0.823468208, 0.899716139, 0.165927812, -0.981368661, 0.0968704, -0.973336995, -0.178758949, -0.143757612, 0.158395648, -0.0704337358, -0.984863639)) |
900 | - | for i = 0, 49 do |
900 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.167585015, 0.0656226873, 0.0993160605)) |
901 | - | swait(1) |
901 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86831379, -1.954216, -0.876111984, -0.934686542, 0.331936747, 0.127220765, -0.317916811, -0.940668702, 0.118627973, 0.159049526, 0.0704338774, 0.984758258)) |
902 | - | v.Transparency = v.Transparency + 0.08 |
902 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.270109087, 0.0500000007, 0.429238588)) |
903 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.48115635, -0.777873993, -0.875567436, 0.973241389, -0.178759843, -0.144403726, 0.165864334, 0.981368661, -0.0969808325, 0.159049526, 0.0704338774, 0.984758258)) | |
904 | - | wait(0.5) |
904 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
905 | - | PartEmmit1.Enabled = false |
905 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.44971752, -0.248507977, -0.875571251, -0.973241389, 0.178759813, 0.144403726, -0.165864304, -0.981368661, 0.0969808325, 0.159049526, 0.0704338774, 0.984758258)) |
906 | - | wait(3) |
906 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.327407986, 0.135302708, 0.0970228091)) |
907 | - | v:Destroy() |
907 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.51207829, -4.1450429, 0.899453878, 0.956588447, 0.258096665, 0.135389939, 0.24465403, -0.963548183, 0.108257495, 0.158395648, -0.0704337358, -0.984863639)) |
908 | - | dude:Destroy() |
908 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.203526303, 0.0796965212, 0.120615982)) |
909 | - | end)) |
909 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.15853882, -2.63138103, 0.899187326, 0.774064064, 0.628089964, 0.0795738399, 0.61297822, -0.77494669, 0.154006928, 0.158395648, -0.0704337358, -0.984863639)) |
910 | - | end)) |
910 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.0500000007, 0.245740563, 0.429238588)) |
911 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.53797483, -0.386631012, -0.875575066, 0.857818782, -0.503627419, -0.102525659, 0.488730013, 0.861045241, -0.140521199, 0.159049526, 0.0704338774, 0.984758258)) | |
912 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.763193846, 0.163541555, 1.09027684)) | |
913 | - | end)) |
913 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.419935763, 1.12170887, 1.25058079, -0.158687159, 0.98589474, -0.0532010235, 0.0053470307, -0.0530247763, -0.998580575, -0.987316012, -0.15874587, 0.00314274291)) |
914 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
915 | - | ds() |
915 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.4000001, 0.200000033, 2)) |
916 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348431528, 1.0679574, 1.2725935, -0.158687159, 0.98589474, -0.0532010235, 0.0053470307, -0.0530247763, -0.998580575, -0.987316012, -0.15874587, 0.00314274291)) | |
917 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
918 | Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.4000001, 0.200000033, 2)) | |
919 | - | function FindNearestHead(Position, Distance, SinglePlayer) |
919 | + | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.333662987, 1.06742907, 1.36449051, -0.158651814, -0.98589474, 0.0533063821, -0.00601008674, -0.0530247763, -0.99857676, 0.98731792, -0.15874587, 0.00248716492)) |
920 | - | if SinglePlayer then |
920 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
921 | - | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
921 | + | Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Crimson","Part",Vector3.new(0.763193846, 0.163541555, 1.09027684)) |
922 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.405167103, 1.12118006, 1.3424778, -0.158651814, -0.98589474, 0.0533063821, -0.00601008674, -0.0530247763, -0.99857676, 0.98731792, -0.15874587, 0.00248716492)) | |
923 | - | local List = {} |
923 | + | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) |
924 | - | for i, v in pairs(workspace:GetChildren()) do |
924 | + | |
925 | - | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then |
925 | + | -- [[[ |
926 | - | table.insert(List, v) |
926 | + | --000000[[====================================================================================\\ |
927 | --000000[[ deivis97 edit ";.and tamloveeif02 edit.;" | |
928 | --000000[[====================================================================================// | |
929 | - | return List |
929 | + | -- [[[ |
930 | --// Initializing \\-- | |
931 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
932 | - | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) |
932 | + | local Plr = owner |
933 | - | local type = type |
933 | + | local Plrs = S.Players |
934 | - | local rng = Instance.new("Part", char) |
934 | + | local Char = Plr.Character |
935 | - | rng.Anchored = true |
935 | + | local Hum = Char:FindFirstChildOfClass'Humanoid' |
936 | - | rng.BrickColor = color |
936 | + | local RArm = Char["Right Arm"] |
937 | - | rng.CanCollide = false |
937 | + | local LArm = Char["Left Arm"] |
938 | - | rng.FormFactor = 3 |
938 | + | local RLeg = Char["Right Leg"] |
939 | - | rng.Name = "Ring" |
939 | + | local LLeg = Char["Left Leg"] |
940 | - | rng.Material = "Neon" |
940 | + | local Root = Char:FindFirstChild'HumanoidRootPart' |
941 | - | rng.Size = Vector3.new(1, 1, 1) |
941 | + | local Torso = Char.Torso |
942 | - | rng.Transparency = 0 |
942 | + | local Head = Char.Head |
943 | - | rng.TopSurface = 0 |
943 | + | local NeutralAnims = true |
944 | - | rng.BottomSurface = 0 |
944 | + | local Attack = false |
945 | - | rng.CFrame = pos |
945 | + | local BloodPuddles = {} |
946 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
946 | + | local Effects = {} |
947 | - | local rngm = Instance.new("SpecialMesh", rng) |
947 | + | local Debounces = {Debounces={}} |
948 | - | rngm.MeshType = MType |
948 | + | local Hit = {} |
949 | - | rngm.Scale = Vector3.new(x1, y1, z1) |
949 | + | local Sine = 0 |
950 | - | local scaler2 = 1 |
950 | + | local Change = 1 |
951 | - | local speeder = FastSpeed |
951 | + | local Souls = 99999 |
952 | - | if type == "Add" then |
952 | + | local LEFTWINGS = {} |
953 | - | scaler2 = 1 * value |
953 | + | local RIGHTWINGS = {} |
954 | - | elseif type == "Divide" then |
954 | + | --// Debounce System \\-- |
955 | - | scaler2 = 1 / value |
955 | + | |
956 | --killbot arm-- | |
957 | - | coroutine.resume(coroutine.create(function() |
957 | + | |
958 | - | for i = 0, 10 / bonuspeed, 0.1 do |
958 | + | |
959 | for Index, Value in pairs(Data or {}) do | |
960 | - | if type == "Add" then |
960 | + | |
961 | - | scaler2 = scaler2 - 0.01 * value / bonuspeed |
961 | + | |
962 | - | elseif type == "Divide" then |
962 | + | |
963 | - | scaler2 = scaler2 - 0.01 / value * bonuspeed |
963 | + | |
964 | return Object | |
965 | - | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
965 | + | |
966 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
966 | + | |
967 | - | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
967 | + | CyborgArm = New("Model",Char,"CyborgArm",{}) |
968 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
968 | + | Handle = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Size = Vector3.new(1.0500015, 2.02999949, 1.07999992),CFrame = CFrame.new(-138.347275, 2.99473095, 41.7816849, 0.999635339, 8.27677286e-06, 0.0270056836, -0.000191000072, 0.999977112, 0.00676353322, -0.0270050094, -0.00676622428, 0.999612451),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),}) |
969 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.429999948, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.369171, 2.89115906, 41.8271637, 0.505694926, -0.862284958, 0.0271573812, 0.862490892, 0.506027818, 0.0067293453, -0.019545, 0.0200200025, 0.999608755),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
970 | - | rng:Destroy() |
970 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.505694926, 0.862490892, -0.0195449982, -0.862284899, 0.506027818, 0.0200199969, 0.0271573793, 0.00672934437, 0.999608576),C1 = CFrame.new(0.0136108398, -0.108844995, -0.0342674255, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
971 | - | end)) |
971 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.268127, 3.26462603, 41.8218994, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
972 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(-0.0874328613, 0.264621973, -0.028968811, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) | |
973 | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.3000018, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.217133, 3.61339307, 41.8189926, 0.778245091, -0.627379835, 0.0270029604, 0.627452075, 0.778625846, 0.00676273741, -0.0252680089, 0.0116800005, 0.999612689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) | |
974 | - | function SoulSteal(dude) |
974 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.778245091, 0.627452075, -0.0252680033, -0.627379835, 0.778625846, 0.0116799958, 0.0270029567, 0.00676273648, 0.99961251),C1 = CFrame.new(-0.138427734, 0.613389015, -0.0260467529, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
975 | - | if dude.Name ~= char then |
975 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 1),CFrame = CFrame.new(-138.395523, 2.38962889, 41.7660217, -0.00574199716, -0.999983609, 1.77533366e-09, 0.999983549, -0.00574199716, 9.3131769e-10, 9.41781764e-10, 1.77533366e-09, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
976 | - | local bgf = IT("BodyGyro", dude.Head) |
976 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.00574199716, 0.999983549, 0, -0.999983549, -0.00574199716, 0, 0, 0, 1),C1 = CFrame.new(0.0399932861, -0.610375166, 0.0268669128, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
977 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) |
977 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.840000331, 0.420000285, 0.2900002),CFrame = CFrame.new(-138.540939, 3.80931711, 41.9832687, 2.29982252e-05, -0.999983609, -0.00574393803, -0.00452899979, -0.00574398367, 0.999973238, -0.999989927, 3.01669934e-06, -0.00452905567),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
978 | - | local val = IT("BoolValue", dude) |
978 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 2.29999951e-05, -0.00452899886, -0.999989748, -0.999983549, -0.00574398367, 3.01490991e-06, -0.00574393803, 0.999973238, -0.00452905614),C1 = CFrame.new(0.185333252, 0.809313059, -0.190429688, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
979 | - | val.Name = "IsHit" |
979 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,Shape = Enum.PartType.Ball,Size = Vector3.new(1.15999990, 1.16000044, 1.16000044),CFrame = CFrame.new(-138.563065, 3.74006891, 41.8137894, 1, -1.23944917e-22, 1.77533366e-09, -1.48608469e-11, 1, 9.3131769e-10, -1.80443749e-09, 9.31322575e-10, 1.00000012),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0,0,0),}) |
980 | - | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') |
980 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C1 = CFrame.new(0.207519531, 0.740064859, -0.0209579468, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
981 | - | local soulst = coroutine.wrap(function() |
981 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.799999833),CFrame = CFrame.new(-138.557587, 3.57138705, 41.9535294, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
982 | - | local soul = Instance.new("Part",dude) |
982 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.20199585, 0.571382999, -0.160697937, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
983 | - | soul.Size = Vector3.new(1,1,1) |
983 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.660001755, 0.100000001, 0.0899999291),CFrame = CFrame.new(-138.548004, 3.20288205, 42.3108978, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
984 | - | soul.CanCollide = false |
984 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(0.19229126, 0.202877998, -0.518062592, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
985 | - | soul.Anchored = false |
985 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.390001893, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.031433, 3.68374205, 41.8135147, 0.999635398, 8.27676195e-06, 0.0270056874, -0.000191000116, 0.999977112, 0.00676353415, -0.0270050168, -0.00676622475, 0.999612629),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
986 | - | soul.Position = torso.Position |
986 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.999635339, -0.000191000072, -0.0270050094, 8.27677377e-06, 0.999977112, -0.00676622428, 0.0270056836, 0.00676353322, 0.999612451),C1 = CFrame.new(-0.324111938, 0.683737993, -0.0205078125, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
987 | - | soul.Transparency = 1 |
987 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.2800017, 0.100000001, 0.690000117),CFrame = CFrame.new(-138.393951, 2.11307812, 42.0131454, 0.0100010047, -0.999581397, 0.0271513518, 0.999925494, 0.010187286, 0.00673122332, -0.00700500328, 0.027082013, 0.999608815),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
988 | - | local PartEmmit1 = IT("ParticleEmitter", soul) |
988 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, 0.0100010047, 0.999925494, -0.00700500328, -0.999581337, 0.010187286, 0.0270820074, 0.0271513499, 0.00673122238, 0.999608636),C1 = CFrame.new(0.0383300781, -0.886925936, -0.220256805, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
989 | - | PartEmmit1.LightEmission = 1 |
989 | + | Part = New("Part",CyborgArm,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.600001693, 0.100000001, 1.04999983),CFrame = CFrame.new(-138.452835, 2.48128104, 41.8321991, -0.223359078, -0.974358141, 0.027149044, 0.974736214, -0.223258108, 0.00673288852, -0.000498998852, 0.0279670097, 0.999608934),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),}) |
990 | - | PartEmmit1.Texture = "rbxassetid://569507414" |
990 | + | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = RArm,C0 = CFrame.new(0, 0, 0, -0.223359063, 0.974736214, -0.000499000133, -0.974358141, -0.223258108, 0.0279670041, 0.0271490421, 0.00673288759, 0.999608755),C1 = CFrame.new(0.0972747803, -0.518723011, -0.0393295288, -0.99999994, 1.23908515e-22, -0.000331714633, 1.23944917e-22, 1, -1.09697344e-22, 0.000331714633, -1.09738441e-22, -0.99999994),}) |
991 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
991 | + | |
992 | - | PartEmmit1.Rate = 250 |
992 | + | |
993 | - | PartEmmit1.Lifetime = NumberRange.new(1.6) |
993 | + | function Debounces:New(name,cooldown) |
994 | - | PartEmmit1.Size = NumberSequence.new({ |
994 | + | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} |
995 | - | NumberSequenceKeypoint.new(0, 1, 0), |
995 | + | setmetatable(aaaaa,{__index = Debounces}) |
996 | - | NumberSequenceKeypoint.new(1, 0, 0) |
996 | + | Debounces.Debounces[name] = aaaaa |
997 | return aaaaa | |
998 | - | PartEmmit1.Transparency = NumberSequence.new({ |
998 | + | |
999 | - | NumberSequenceKeypoint.new(0, 0, 0), |
999 | + | |
1000 | - | NumberSequenceKeypoint.new(1, 1, 0) |
1000 | + | function Debounces:Use(overrideUsable) |
1001 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
1002 | - | PartEmmit1.Speed = NumberRange.new(0, 0) |
1002 | + | if(self.Usable or overrideUsable)then |
1003 | - | PartEmmit1.VelocitySpread = 30000 |
1003 | + | self.Usable = false |
1004 | - | PartEmmit1.Rotation = NumberRange.new(-360, 360) |
1004 | + | self.CoolingDown = true |
1005 | - | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) |
1005 | + | local LastUse = time() |
1006 | - | local BodPoss = IT("BodyPosition", soul) |
1006 | + | self.LastUse = LastUse |
1007 | - | BodPoss.P = 3000 |
1007 | + | delay(self.Cooldown or 2,function() |
1008 | - | BodPoss.D = 1000 |
1008 | + | if(self.LastUse == LastUse)then |
1009 | - | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
1009 | + | self.CoolingDown = false |
1010 | - | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) |
1010 | + | self.Usable = true |
1011 | - | wait(1.6) |
1011 | + | |
1012 | - | soul.Touched:connect(function(hit) |
1012 | + | |
1013 | - | if hit.Parent == char then |
1013 | + | |
1014 | - | soul:Destroy() |
1014 | + | |
1015 | --create function-- | |
1016 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
1017 | - | wait(1.2) |
1017 | + | local NEWPART = IT("Part") |
1018 | - | while soul do |
1018 | + | NEWPART.formFactor = FORMFACTOR |
1019 | NEWPART.Reflectance = REFLECTANCE | |
1020 | - | PartEmmit1.Color = ColorSequence.new(maincolor.Color) |
1020 | + | NEWPART.Transparency = TRANSPARENCY |
1021 | - | BodPoss.Position = tors.Position |
1021 | + | NEWPART.CanCollide = false |
1022 | NEWPART.Locked = true | |
1023 | NEWPART.Anchored = true | |
1024 | - | soulst() |
1024 | + | if ANCHOR == false then |
1025 | NEWPART.Anchored = false | |
1026 | end | |
1027 | - | function FaceMouse() |
1027 | + | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) |
1028 | - | local Cam = workspace.CurrentCamera |
1028 | + | NEWPART.Name = NAME |
1029 | - | return { |
1029 | + | NEWPART.Size = SIZE |
1030 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
1030 | + | NEWPART.Position = Torso.Position |
1031 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
1031 | + | NEWPART.Material = MATERIAL |
1032 | - | } |
1032 | + | NEWPART:BreakJoints() |
1033 | NEWPART.Parent = PARENT | |
1034 | - | Effects = { |
1034 | + | return NEWPART |
1035 | - | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) |
1035 | + | |
1036 | - | local p = Instance.new("Part",EffectModel) |
1036 | + | |
1037 | - | p.BrickColor = BrickColor.new(colour) |
1037 | + | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) |
1038 | - | p.Size = partsize |
1038 | + | local NEWWELD = IT(TYPE) |
1039 | - | p.Anchored = true |
1039 | + | NEWWELD.Part0 = PART0 |
1040 | - | p.CanCollide = false |
1040 | + | NEWWELD.Part1 = PART1 |
1041 | - | p.Material = matr |
1041 | + | NEWWELD.C0 = C0 |
1042 | - | p.CFrame = cf |
1042 | + | NEWWELD.C1 = C1 |
1043 | - | if inverse == true then |
1043 | + | NEWWELD.Parent = PARENT |
1044 | - | p.Transparency = 1 |
1044 | + | return NEWWELD |
1045 | end | |
1046 | - | p.Transparency = 0 |
1046 | + | --some thing?-- |
1047 | Player = owner | |
1048 | - | local m = Instance.new("BlockMesh",p) |
1048 | + | Character = Player.Character |
1049 | - | m.Scale = meshstart |
1049 | + | |
1050 | IT = Instance.new | |
1051 | - | for i = 0, 1, factor do |
1051 | + | |
1052 | VT = Vector3.new | |
1053 | - | if inverse == true then |
1053 | + | RAD = math.rad |
1054 | - | p.Transparency = 1-i |
1054 | + | C3 = Color3.new |
1055 | UD2 = UDim2.new | |
1056 | - | p.Transparency = i |
1056 | + | BRICKC = BrickColor.new |
1057 | ANGLES = CFrame.Angles | |
1058 | - | m.Scale = m.Scale + meshadd |
1058 | + | EULER = CFrame.fromEulerAnglesXYZ |
1059 | - | if spin == true then |
1059 | + | COS = math.cos |
1060 | - | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1060 | + | ACOS = math.acos |
1061 | SIN = math.sin | |
1062 | ASIN = math.asin | |
1063 | - | p:Destroy() |
1063 | + | ABS = math.abs |
1064 | MRANDOM = math.random | |
1065 | - | return p |
1065 | + | FLOOR = math.floor |
1066 | - | end, |
1066 | + | |
1067 | - | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) |
1067 | + | --// Shortcut Variables \\-- |
1068 | - | local p = Instance.new("Part",EffectModel) |
1068 | + | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} |
1069 | - | p.BrickColor = BrickColor.new(colour) |
1069 | + | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} |
1070 | - | p.Size = partsize |
1070 | + | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} |
1071 | - | p.Anchored = true |
1071 | + | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} |
1072 | - | p.CanCollide = false |
1072 | + | local R3 = {N=Region3.new} |
1073 | - | p.Material = matr |
1073 | + | local De = S.Debris |
1074 | - | p.CFrame = cf |
1074 | + | local WS = workspace |
1075 | - | if inverse == true then |
1075 | + | local Lght = S.Lighting |
1076 | - | p.Transparency = 1 |
1076 | + | local RepS = S.ReplicatedStorage |
1077 | local IN = Instance.new | |
1078 | - | p.Transparency = 0 |
1078 | + | local CSK = ColorSequenceKeypoint.new |
1079 | local CS = ColorSequence.new | |
1080 | - | local m = Instance.new("SpecialMesh",p) |
1080 | + | --// Instance Creation Functions \\-- |
1081 | - | m.MeshType = "Sphere" |
1081 | + | game.Lighting.ClockTime = 23 |
1082 | - | m.Scale = meshstart |
1082 | + | Circle = nil |
1083 | CircleParts = {} | |
1084 | - | for i=0,1,factor do |
1084 | + | Equipped = false |
1085 | ||
1086 | - | if inverse == true then |
1086 | + | function RayCast(Position, Direction, MaxDistance, IgnoreList) |
1087 | - | p.Transparency = 1-i |
1087 | + | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) |
1088 | end | |
1089 | - | p.Transparency = i |
1089 | + | Humanoid = Char:FindFirstChildOfClass("Humanoid") |
1090 | Torso = Char:FindFirstChild("Torso") | |
1091 | - | m.Scale = m.Scale + meshadd |
1091 | + | if not Plr or not Humanoid or Humanoid.Health == 0 or not Torso then |
1092 | return | |
1093 | - | p:Destroy() |
1093 | + | |
1094 | - | end)() |
1094 | + | Equipped = true |
1095 | - | return p |
1095 | + | Circle = Instance.new("Model") |
1096 | - | end, |
1096 | + | Circle.Name = "Circle" |
1097 | Angle = 0 | |
1098 | - | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) |
1098 | + | for i = 1, 1 do |
1099 | - | local p = Instance.new("Part",EffectModel) |
1099 | + | local CirclePart = Instance.new("Part") |
1100 | - | p.BrickColor = BrickColor.new(colour) |
1100 | + | CirclePart.Name = "CirclePart" |
1101 | - | p.Size = partsize |
1101 | + | CirclePart.Transparency = 1 |
1102 | - | p.Anchored = true |
1102 | + | CirclePart.BrickColor = BrickColor.new("Really black") |
1103 | - | p.CanCollide = false |
1103 | + | CirclePart.Material = Enum.Material.Plastic |
1104 | - | p.Material = matr |
1104 | + | CirclePart.Shape = Enum.PartType.Block |
1105 | - | p.CFrame = cf |
1105 | + | CirclePart.FormFactor = Enum.FormFactor.Custom |
1106 | - | if inverse == true then |
1106 | + | CirclePart.TopSurface = Enum.SurfaceType.Smooth |
1107 | - | p.Transparency = 1 |
1107 | + | CirclePart.BottomSurface = Enum.SurfaceType.Smooth |
1108 | CirclePart.Anchored = true | |
1109 | - | p.Transparency = 0 |
1109 | + | CirclePart.CanCollide = false |
1110 | CirclePart.Locked = true | |
1111 | - | local m = Instance.new("CylinderMesh",p) |
1111 | + | CirclePart.Size = Vector3.new(10, 0.2, 10) |
1112 | - | m.Scale = meshstart |
1112 | + | local BlockMesh = Instance.new("BlockMesh") |
1113 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
1114 | - | for i=0,1,factor do |
1114 | + | BlockMesh.Parent = CirclePart |
1115 | CirclePart.Parent = Circle | |
1116 | - | if inverse == true then |
1116 | + | local Star = Instance.new("Decal", CirclePart) |
1117 | - | p.Transparency = 1-i |
1117 | + | Star.Texture = "http://www.roblox.com/asset/?id=43997508" |
1118 | Star.Face = "Top" | |
1119 | - | p.Transparency = i |
1119 | + | local Light = Instance.new("PointLight", CirclePart) |
1120 | Light.Color = Color3.new(0,1,0) | |
1121 | - | m.Scale = m.Scale + meshadd |
1121 | + | Light.Brightness = 100 |
1122 | Light.Range = 15 | |
1123 | - | p:Destroy() |
1123 | + | table.insert(CircleParts, CirclePart) |
1124 | - | end)() |
1124 | + | |
1125 | - | return p |
1125 | + | Spawn(function() |
1126 | - | end, |
1126 | + | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do |
1127 | if Angle == 360 then | |
1128 | - | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) |
1128 | + | Angle = 0 |
1129 | - | local p = Instance.new("Part",EffectModel) |
1129 | + | |
1130 | - | p.BrickColor = BrickColor.new(colour) |
1130 | + | Angle = Angle + 0.05 |
1131 | - | p.Size = Vector3.new() |
1131 | + | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Char}) |
1132 | - | p.Anchored = true |
1132 | + | if Hit then |
1133 | - | p.CanCollide = false |
1133 | + | if not Circle.Parent then |
1134 | - | p.CFrame = cf |
1134 | + | Circle.Parent = Char |
1135 | - | if inverse == true then |
1135 | + | |
1136 | - | p.Transparency = 1 |
1136 | + | for i, v in pairs(CircleParts) do |
1137 | - | else |
1137 | + | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) |
1138 | - | p.Transparency = 0 |
1138 | + | |
1139 | else | |
1140 | - | local m = Instance.new("SpecialMesh",p) |
1140 | + | Circle.Parent = nil |
1141 | - | m.MeshId = "rbxassetid://20329976" |
1141 | + | |
1142 | - | m.Scale = meshstart |
1142 | + | wait() |
1143 | - | coroutine.wrap(function() |
1143 | + | |
1144 | - | for i=0,1,factor do |
1144 | + | |
1145 | - | swait() |
1145 | + | |
1146 | - | if inverse == true then |
1146 | + | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) |
1147 | - | p.Transparency = 1-i |
1147 | + | local Sound = IN("Sound") |
1148 | - | else |
1148 | + | Sound.SoundId = "rbxassetid://".. tostring(id or 0) |
1149 | - | p.Transparency = i |
1149 | + | Sound.Pitch = pitch or 1 |
1150 | Sound.Volume = volume or 1 | |
1151 | - | m.Scale = m.Scale + meshadd |
1151 | + | Sound.Looped = looped or false |
1152 | - | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) |
1152 | + | if(autoPlay)then |
1153 | coroutine.wrap(function() | |
1154 | - | p:Destroy() |
1154 | + | repeat wait() until Sound.IsLoaded |
1155 | - | end)() |
1155 | + | Sound.Playing = autoPlay or false |
1156 | - | return p |
1156 | + | end)() |
1157 | - | end, |
1157 | + | |
1158 | if(not looped and effect)then | |
1159 | - | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) |
1159 | + | Sound.Stopped:connect(function() |
1160 | - | local p = Instance.new("Part",EffectModel) |
1160 | + | Sound.Volume = 0 |
1161 | - | p.BrickColor = BrickColor.new(colour) |
1161 | + | Sound:destroy() |
1162 | - | p.Size = Vector3.new() |
1162 | + | |
1163 | - | p.Anchored = true |
1163 | + | elseif(effect)then |
1164 | - | p.CanCollide = false |
1164 | + | warn("Sound can't be looped and a sound effect!") |
1165 | - | p.CFrame = cf |
1165 | + | |
1166 | - | if inverse == true then |
1166 | + | Sound.Parent =parent or Torso |
1167 | - | p.Transparency = 1 |
1167 | + | return Sound |
1168 | - | else |
1168 | + | |
1169 | - | p.Transparency = 0 |
1169 | + | function Part(parent,color,material,size,cframe,anchored,cancollide) |
1170 | local part = IN("Part") | |
1171 | - | local m = Instance.new("SpecialMesh",p) |
1171 | + | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) |
1172 | - | m.MeshId = "rbxassetid://3270017" |
1172 | + | part.Material = (material or Enum.Material.SmoothPlastic) |
1173 | - | m.Scale = meshstart |
1173 | + | part.TopSurface,part.BottomSurface=10,10 |
1174 | - | coroutine.wrap(function() |
1174 | + | part.Size = (size or V3.N(1,1,1)) |
1175 | - | for i=0,1,factor do |
1175 | + | part.CFrame = (cframe or CF.N(0,0,0)) |
1176 | - | swait() |
1176 | + | part.Anchored = (anchored or false) |
1177 | - | if inverse == true then |
1177 | + | part.CanCollide = (cancollide or false) |
1178 | - | p.Transparency = 1-i |
1178 | + | part.Parent = (parent or Char) |
1179 | - | else |
1179 | + | return part |
1180 | - | p.Transparency = i |
1180 | + | |
1181 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
1182 | - | m.Scale = m.Scale + meshadd |
1182 | + | local part = IN("SpecialMesh") |
1183 | part.MeshId = meshid or "" | |
1184 | - | p:Destroy() |
1184 | + | part.TextureId = textid or "" |
1185 | - | end)() |
1185 | + | part.Scale = scale or V3.N(1,1,1) |
1186 | - | return p |
1186 | + | part.Offset = offset or V3.N(0,0,0) |
1187 | - | end, |
1187 | + | part.MeshType = meshtype or Enum.MeshType.Sphere |
1188 | part.Parent = parent | |
1189 | - | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) |
1189 | + | return part |
1190 | - | local p = Instance.new("Part",EffectModel) |
1190 | + | |
1191 | - | p.BrickColor = BrickColor.new(colour) |
1191 | + | |
1192 | - | p.Size = Vector3.new() |
1192 | + | |
1193 | - | p.Anchored = true |
1193 | + | local inst = Instance.new(instance,parent) |
1194 | - | p.CanCollide = false |
1194 | + | |
1195 | - | p.CFrame = cf |
1195 | + | |
1196 | - | if inverse == true then |
1196 | + | |
1197 | - | p.Transparency = 1 |
1197 | + | |
1198 | - | else |
1198 | + | |
1199 | - | p.Transparency = 0 |
1199 | + | |
1200 | end | |
1201 | - | local m = Instance.new("SpecialMesh",p) |
1201 | + | |
1202 | - | m.MeshId = meshid |
1202 | + | |
1203 | - | m.TextureId = textid |
1203 | + | |
1204 | - | m.Scale = meshstart |
1204 | + | --// Extended ROBLOX tables \\-- |
1205 | - | coroutine.wrap(function() |
1205 | + | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) |
1206 | - | for i=0,1,factor do |
1206 | + | --// Customization \\-- |
1207 | - | swait() |
1207 | + | |
1208 | - | if inverse == true then |
1208 | + | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this |
1209 | - | p.Transparency = 1-i |
1209 | + | local Remove_Hats = false |
1210 | - | else |
1210 | + | local Remove_Clothing = true |
1211 | - | p.Transparency = i |
1211 | + | local PlayerSize = 1 |
1212 | local DamageColor = BrickColor.new'Really red' | |
1213 | - | m.Scale = m.Scale + meshadd |
1213 | + | local MusicID = 1438843849 --342140118-- |
1214 | - | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) |
1214 | + | local WalkSpeed = 8 |
1215 | local MaxSouls = 999999 | |
1216 | - | p:Destroy() |
1216 | + | local MaxHealth = 9999999 |
1217 | - | end)() |
1217 | + | |
1218 | - | return p |
1218 | + | |
1219 | - | end, |
1219 | + | if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end |
1220 | ||
1221 | - | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) |
1221 | + | --// Weapon and GUI creation, and Character Customization \\-- |
1222 | - | local p = Instance.new("Part",EffectModel) |
1222 | + | |
1223 | - | p.BrickColor = BrickColor.new(colour) |
1223 | + | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end |
1224 | - | p.Size = partsize |
1224 | + | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end |
1225 | - | p.Anchored = true |
1225 | + | local Effects = IN("Folder",Char) |
1226 | - | p.CanCollide = false |
1226 | + | Effects.Name = "Effects" |
1227 | - | p.Material = matr |
1227 | + | |
1228 | - | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
1228 | + | Hum.MaxHealth = MaxHealth |
1229 | - | if inverse == true then |
1229 | + | Hum.Health = MaxHealth |
1230 | - | p.Transparency = 1 |
1230 | + | |
1231 | - | else |
1231 | + | local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,8,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)}) |
1232 | - | p.Transparency = 0 |
1232 | + | local Aura = Instance.new('ParticleEmitter') |
1233 | Aura.Name = "Aura" | |
1234 | - | local m = Instance.new("SpecialMesh",p) |
1234 | + | Aura.Texture = "rbxassetid://456425003" |
1235 | - | m.MeshType = "Sphere" |
1235 | + | Aura.Parent = Knife |
1236 | - | m.Scale = meshstart |
1236 | + | Aura.LightEmission = 0 |
1237 | - | coroutine.wrap(function() |
1237 | + | Aura.Transparency = NumberSequence.new(0,0.6,1) |
1238 | - | for i=0,1,factor do |
1238 | + | Aura.Color = ColorSequence.new(Color3.new(255/255, 0/255, 0/255),Color3.new(0/255, 0/255, 0/255)) |
1239 | - | swait() |
1239 | + | Aura.Size = NumberSequence.new(1,1.2,1.4) |
1240 | - | if inverse == true then |
1240 | + | Aura.LockedToPart = false |
1241 | - | p.Transparency = 1-i |
1241 | + | Aura.Lifetime = NumberRange.new(2) |
1242 | - | else |
1242 | + | Aura.Rate = 16 |
1243 | - | p.Transparency = i |
1243 | + | Aura.Speed = NumberRange.new(3) |
1244 | Aura.EmissionDirection = "Top" | |
1245 | - | m.Scale = m.Scale + meshadd |
1245 | + | local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://474005283","rbxassetid://1539341292",V3.N(0.006,0.006,0.006),V3.N(0,2,0)) |
1246 | - | p.CFrame = p.CFrame * CFrame.new(0,move,0) |
1246 | + | |
1247 | ||
1248 | - | p:Destroy() |
1248 | + | local KTrail = NewInstance("Trail",Knife,{ |
1249 | - | end)() |
1249 | + | Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,0.1,0)}), |
1250 | - | return p |
1250 | + | Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,5.3,0)}), |
1251 | - | end, |
1251 | + | Color=CS(C3.N(255,0,0),C3.N(211,0,0)), |
1252 | Enabled=true, | |
1253 | - | } |
1253 | + | Transparency=NumberSequence.new(0,1), |
1254 | - | ------------------------------------------------------- |
1254 | + | Lifetime=1.25, |
1255 | - | --End Effect Function-- |
1255 | + | |
1256 | - | ------------------------------------------------------- |
1256 | + | local Hair = Part(Char,C3.N(0,1,1),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false) |
1257 | - | function Cso(ID, PARENT, VOLUME, PITCH) |
1257 | + | local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://62246019","rbxassetid://165386736",V3.N(1.05,1.05,1.05),V3.N(0, 0, 0.2)) |
1258 | - | local NSound = nil |
1258 | + | |
1259 | - | coroutine.resume(coroutine.create(function() |
1259 | + | NewInstance("PointLight",Knife,{Color=C3.N(0,1,0),Range=10,Brightness=3}) |
1260 | - | NSound = IT("Sound", PARENT) |
1260 | + | |
1261 | - | NSound.Volume = VOLUME |
1261 | + | |
1262 | - | NSound.Pitch = PITCH |
1262 | + | Hum.DisplayDistanceType = 'None' |
1263 | - | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID |
1263 | + | |
1264 | function chatfunc(text) | |
1265 | - | NSound:play() |
1265 | + | local chat = coroutine.wrap(function() |
1266 | - | game:GetService("Debris"):AddItem(NSound, 10) |
1266 | + | if Char:FindFirstChild("TalkingBillBoard")~= nil then |
1267 | - | end)) |
1267 | + | Char:FindFirstChild("TalkingBillBoard"):destroy() |
1268 | - | return NSound |
1268 | + | |
1269 | local Bill = Instance.new("BillboardGui",Char) | |
1270 | - | function CamShake(Length, Intensity) |
1270 | + | Bill.Size = UDim2.new(0,100,0,40) |
1271 | - | coroutine.resume(coroutine.create(function() |
1271 | + | Bill.StudsOffset = Vector3.new(0,3,0) |
1272 | - | local intensity = 1 * Intensity |
1272 | + | Bill.Adornee = Char.Head |
1273 | - | local rotM = 0.01 * Intensity |
1273 | + | Bill.Name = "TalkingBillBoard" |
1274 | - | for i = 0, Length, 0.1 do |
1274 | + | local Hehe = Instance.new("TextLabel",Bill) |
1275 | Hehe.BackgroundTransparency = 1 | |
1276 | - | intensity = intensity - 0.05 * Intensity / Length |
1276 | + | Hehe.BorderSizePixel = 0 |
1277 | - | rotM = rotM - 5.0E-4 * Intensity / Length |
1277 | + | Hehe.Text = "" |
1278 | - | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) |
1278 | + | Hehe.Font = "Antique" |
1279 | - | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) |
1279 | + | Hehe.TextSize = 40 |
1280 | Hehe.TextStrokeTransparency = 0 | |
1281 | - | hum.CameraOffset = Vector3.new(0, 0, 0) |
1281 | + | Hehe.Size = UDim2.new(1,0,0.5,0) |
1282 | - | end)) |
1282 | + | coroutine.resume(coroutine.create(function() |
1283 | while Hehe ~= nil do | |
1284 | swait() | |
1285 | - | local inst = Instance.new(instance) |
1285 | + | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) |
1286 | - | inst.Parent = parent |
1286 | + | Hehe.Rotation = math.random(-5,5) |
1287 | Hehe.TextColor3 = Color3.new(math.random(0, 0)/0,0,0) | |
1288 | Hehe.TextStrokeColor3 = Color3.new(math.random(0, 0)/0,0,0) | |
1289 | end | |
1290 | end)) | |
1291 | for i = 1,string.len(text),1 do | |
1292 | swait() | |
1293 | Hehe.Text = string.sub(text,1,i) | |
1294 | - | hum.MaxHealth = 1.0E298 |
1294 | + | |
1295 | - | hum.Health = 1.0E298 |
1295 | + | swait(90)--Re[math.random(1, 93)] |
1296 | - | game:GetService("RunService"):BindToRenderStep("HOT", 0, function() |
1296 | + | for i = 0, 1, .025 do |
1297 | - | if hum.Health > 0.1 and hum.Health < 1.0E298 then |
1297 | + | swait() |
1298 | - | hum.MaxHealth = 1.0E298 |
1298 | + | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) |
1299 | - | hum.Health = 1.0E298 |
1299 | + | Hehe.TextStrokeTransparency = i |
1300 | - | end |
1300 | + | Hehe.TextTransparency = i |
1301 | end | |
1302 | - | function chatfunc(text, color) |
1302 | + | Bill:Destroy() |
1303 | - | local chat = coroutine.wrap(function() |
1303 | + | end) |
1304 | - | if char:FindFirstChild("TalkingBillBoard") ~= nil then |
1304 | + | chat() |
1305 | - | char:FindFirstChild("TalkingBillBoard"):destroy() |
1305 | + | |
1306 | ||
1307 | - | local naeeym2 = Instance.new("BillboardGui", char) |
1307 | + | function onChatted(msg) |
1308 | - | naeeym2.Size = UDim2.new(0, 100, 0, 40) |
1308 | + | chatfunc(msg) |
1309 | - | naeeym2.StudsOffset = Vector3.new(0, 1.5, 0) |
1309 | + | |
1310 | - | naeeym2.Adornee = hed |
1310 | + | |
1311 | - | naeeym2.Name = "TalkingBillBoard" |
1311 | + | Plr.Chatted:connect(onChatted) |
1312 | - | local tecks2 = Instance.new("TextLabel", naeeym2) |
1312 | + | |
1313 | - | tecks2.BackgroundTransparency = 1 |
1313 | + | |
1314 | - | tecks2.BorderSizePixel = 0 |
1314 | + | IN("Shirt",Char) |
1315 | - | tecks2.Text = "" |
1315 | + | IN("Pants",Char) |
1316 | - | tecks2.Font = "Fantasy" |
1316 | + | |
1317 | - | tecks2.TextSize = 30 |
1317 | + | Hum.WalkSpeed = WalkSpeed |
1318 | - | tecks2.TextStrokeTransparency = 0 |
1318 | + | if(PlayerSize ~= 1)then |
1319 | - | tecks2.TextColor3 = color |
1319 | + | for _,v in next, Char:GetDescendats() do |
1320 | - | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) |
1320 | + | if(v:IsA'BasePart')then |
1321 | - | tecks2.Size = UDim2.new(1, 0, 0.5, 0) |
1321 | + | v.Size = v.Size * PlayerSize |
1322 | - | for i = 1, string.len(text) do |
1322 | + | |
1323 | - | CFuncs.Sound.Create("rbxassetid://418252437", hed, 1, Mrandom(8,12)/15) |
1323 | + | |
1324 | - | tecks2.Text = string.sub(text, 1, i) |
1324 | + | |
1325 | - | swait(1) |
1325 | + | |
1326 | ||
1327 | - | wait(1) |
1327 | + | for i = 1, 35 do |
1328 | - | naeeym2:Destroy() |
1328 | + | local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false) |
1329 | FACE.Transparency = 0+(i-1)/35.2 | |
1330 | - | chat() |
1330 | + | FACE.Name = 'ShadowFace' |
1331 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
1332 | NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)}) | |
1333 | --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
1334 | end | |
1335 | ||
1336 | local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) | |
1337 | local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) | |
1338 | local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)}) | |
1339 | local Aura1 = Instance.new('ParticleEmitter') | |
1340 | Aura1.Name = "Aura" | |
1341 | Aura1.Texture = "rbxassetid://141116476" | |
1342 | - | Cupo = New("Model",char,"Cupo",{}) |
1342 | + | Aura1.Parent = LEye |
1343 | - | Handle = New("Part",Cupo,"Handle",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.232986, 1.05098712, -175.132965, -2.66358597e-06, 0.50003612, -0.866004288, 0.999999762, 3.72325388e-08, -3.4009206e-06, -2.13981866e-06, -0.866004527, -0.500036418),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1343 | + | Aura1.LightEmission = 1 |
1344 | - | Mesh = New("SpecialMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.600000024, 1),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) |
1344 | + | Aura1.Transparency = NumberSequence.new(0,0.6,1) |
1345 | - | Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-132.482986, 1.05098701, -174.699982, 0.866004169, -0.500036061, 4.80877497e-06, 3.40900579e-06, -4.61425361e-06, -0.999999642, 0.500036597, 0.866004586, -1.59157071e-06),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1345 | + | Aura1.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(255/255, 0/255, 0/255)) |
1346 | - | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) |
1346 | + | Aura1.Size = NumberSequence.new(0.4,0.3,0.1) |
1347 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.866004348, 3.3928352e-06, 0.500036359, -0.500036299, -4.34130516e-06, 0.866004407, 4.95926542e-06, -0.999999881, -1.81985979e-06),C1 = CFrame.new(-1.1920929e-07, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),}) |
1347 | + | Aura1.LockedToPart = false |
1348 | - | Part = New("Part",Cupo,"Part",{BrickColor = BrickColor.new("Institutional white"),Reflectance = 0.10000000149012,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 0.75998807, -174.699982, 0.500036061, -4.80877497e-06, 0.866004169, 4.61425361e-06, 0.999999642, 3.40900579e-06, -0.866004586, 1.59157071e-06, 0.500036597),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) |
1348 | + | Aura1.Lifetime = NumberRange.new(1) |
1349 | - | Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),}) |
1349 | + | Aura1.Rate = 99 |
1350 | - | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(-0.290999115, -0.499977112, 0, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),}) |
1350 | + | Aura1.Speed = NumberRange.new(1) |
1351 | - | Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Light yellow"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.400000006, 1),CFrame = CFrame.new(-132.482986, 1.15998101, -174.699982, 0.500036299, -4.95926542e-06, 0.866004348, 4.34130516e-06, 0.999999881, 3.3928352e-06, -0.866004407, 1.81985979e-06, 0.500036359),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.411765, 0.25098, 0.156863),}) |
1351 | + | Aura1.EmissionDirection = "Left" |
1352 | - | Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),}) |
1352 | + | |
1353 | - | mot = New("Motor",Coffee,"mot",{Part0 = Coffee,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.500036299, 4.34130516e-06, -0.866004407, -4.95926542e-06, 0.999999881, 1.81985979e-06, 0.866004348, 3.3928352e-06, 0.500036359),C1 = CFrame.new(0.108993888, -0.499977112, -1.52587891e-05, -2.81334178e-06, 1, -1.89662967e-06, 0.50003624, -2.4825286e-07, -0.866004586, -0.866004467, -3.39283588e-06, -0.500036418),}) |
1353 | + | local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) |
1354 | local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) | |
1355 | - | local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CFrame.new(0, -1.1, -0.1) * CFrame.Angles(Rad(0), Rad(90), Rad(0))}) |
1355 | + | local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)}) |
1356 | local Aura11 = Instance.new('ParticleEmitter') | |
1357 | - | ------------------------------------------------------- |
1357 | + | Aura11.Name = "Aura" |
1358 | - | --End Important Functions-- |
1358 | + | Aura11.Texture = "rbxassetid://141116476" |
1359 | - | ------------------------------------------------------- |
1359 | + | Aura11.Parent = REye |
1360 | Aura11.LightEmission = 1 | |
1361 | Aura11.Transparency = NumberSequence.new(0,0.6,1) | |
1362 | - | ------------------------------------------------------- |
1362 | + | Aura11.Color = ColorSequence.new(Color3.new(0/255, 0/255, 0/255),Color3.new(255/255, 0/255, 0/255)) |
1363 | - | --Start Customization-- |
1363 | + | Aura11.Size = NumberSequence.new(0.4,0.3,0.1) |
1364 | - | ------------------------------------------------------- |
1364 | + | Aura11.LockedToPart = false |
1365 | - | local Player_Size = 1 |
1365 | + | Aura11.Lifetime = NumberRange.new(1) |
1366 | - | if Player_Size ~= 1 then |
1366 | + | Aura11.Rate = 99 |
1367 | - | root.Size = root.Size * Player_Size |
1367 | + | Aura11.Speed = NumberRange.new(1) |
1368 | - | tors.Size = tors.Size * Player_Size |
1368 | + | Aura11.EmissionDirection = "Right" |
1369 | - | hed.Size = hed.Size * Player_Size |
1369 | + | |
1370 | - | ra.Size = ra.Size * Player_Size |
1370 | + | |
1371 | - | la.Size = la.Size * Player_Size |
1371 | + | pcall(function() |
1372 | - | rl.Size = rl.Size * Player_Size |
1372 | + | Char.ReaperShadowHead:destroy() |
1373 | - | ll.Size = ll.Size * Player_Size |
1373 | + | |
1374 | - | ---------------------------------------------------------------------------------- |
1374 | + | |
1375 | - | rootj.Parent = root |
1375 | + | |
1376 | - | neck.Parent = tors |
1376 | + | local Music = Sound(Torso,MusicID,1,3,true,false,true) |
1377 | - | RW.Parent = tors |
1377 | + | Music.Name = 'Music' |
1378 | - | LW.Parent = tors |
1378 | + | |
1379 | - | RH.Parent = tors |
1379 | + | --// Stop animations \\-- |
1380 | - | LH.Parent = tors |
1380 | + | for _,v in next, Hum:GetPlayingAnimationTracks() do |
1381 | - | ---------------------------------------------------------------------------------- |
1381 | + | v:Stop(); |
1382 | - | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) |
1382 | + | |
1383 | - | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) |
1383 | + | |
1384 | - | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) |
1384 | + | pcall(game.Destroy,Char:FindFirstChild'Animate') |
1385 | - | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) |
1385 | + | pcall(game.Destroy,Hum:FindFirstChild'Animator') |
1386 | - | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 |
1386 | + | |
1387 | - | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 |
1387 | + | --// Joints \\-- |
1388 | - | ---------------------------------------------------------------------------------- |
1388 | + | |
1389 | - | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1389 | + | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
1390 | - | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1390 | + | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
1391 | - | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1391 | + | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) |
1392 | - | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) |
1392 | + | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
1393 | - | --hat.Parent = Character |
1393 | + | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
1394 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
1395 | - | ---------------------------------------------------------------------------------- |
1395 | + | local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)}) |
1396 | - | local SONG = 1845463533 |
1396 | + | local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)}) |
1397 | - | local SONG2 = 0 |
1397 | + | |
1398 | - | local Music = Instance.new("Sound",tors) |
1398 | + | local LSC0 = LS.C0 |
1399 | - | Music.Volume = 2.5 |
1399 | + | local RSC0 = RS.C0 |
1400 | - | Music.Looped = true |
1400 | + | local NKC0 = NK.C0 |
1401 | - | Music.Pitch = 1 --Pitcher |
1401 | + | local LHC0 = LH.C0 |
1402 | - | ---------------------------------------------------------------------------------- |
1402 | + | local RHC0 = RH.C0 |
1403 | - | local equipped = false |
1403 | + | local RJC0 = RJ.C0 |
1404 | - | local idle = 0 |
1404 | + | |
1405 | - | local change = 1 |
1405 | + | --// Artificial HB \\-- |
1406 | - | local val = 0 |
1406 | + | |
1407 | - | local toim = 0 |
1407 | + | local ArtificialHB = IN("BindableEvent", script) |
1408 | - | local idleanim = 0.4 |
1408 | + | |
1409 | - | local sine = 0 |
1409 | + | |
1410 | - | local Sit = 1 |
1410 | + | |
1411 | - | local WasAir = false |
1411 | + | |
1412 | - | local InAir = false |
1412 | + | local tf = 0 |
1413 | - | local LandTick = 0 |
1413 | + | local allowframeloss = false |
1414 | - | local movelegs = false |
1414 | + | local tossremainder = false |
1415 | - | local FF = Instance.new("ForceField",char) |
1415 | + | local lastframe = tick() |
1416 | - | FF.Visible = false |
1416 | + | local frame = 1/Frame_Speed |
1417 | - | local Speed = 16 |
1417 | + | ArtificialHB:Fire() |
1418 | - | local Sitt = false |
1418 | + | |
1419 | - | local VALUE1 = false |
1419 | + | |
1420 | - | ---------------------------------------------------------------------------------- |
1420 | + | |
1421 | - | hum.JumpPower = 55 |
1421 | + | |
1422 | - | hum.Animator.Parent = nil |
1422 | + | |
1423 | - | ------------------------------------------------------- |
1423 | + | |
1424 | - | --End Customization-- |
1424 | + | |
1425 | - | ------------------------------------------------------- |
1425 | + | |
1426 | for i = 1, math.floor(tf / frame) do | |
1427 | ArtificialHB:Fire() | |
1428 | - | ------------------------------------------------------- |
1428 | + | |
1429 | - | --Start Attacks N Stuff-- |
1429 | + | |
1430 | - | ------------------------------------------------------- |
1430 | + | |
1431 | - | function AttackTemplate() |
1431 | + | |
1432 | - | attack = true |
1432 | + | |
1433 | else | |
1434 | tf = tf - frame * math.floor(tf / frame) | |
1435 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1) |
1435 | + | |
1436 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) |
1436 | + | |
1437 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) |
1437 | + | |
1438 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) |
1438 | + | |
1439 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1) |
1439 | + | |
1440 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) |
1440 | + | |
1441 | ArtificialHB.Event:wait() | |
1442 | - | attack = false |
1442 | + | |
1443 | for i = 0, num do | |
1444 | - | function Taunt() |
1444 | + | ArtificialHB.Event:wait() |
1445 | - | attack = true |
1445 | + | |
1446 | - | movelegs = true |
1446 | + | |
1447 | - | Speed = 12 |
1447 | + | |
1448 | - | local Chatty = Mrandom(1,5) |
1448 | + | |
1449 | - | if Chatty == 1 then |
1449 | + | |
1450 | - | chatfunc("Would anyone like a cup?", maincolor.Color) |
1450 | + | --// Effect Function(s) \\-- |
1451 | - | elseif Chatty == 2 then |
1451 | + | |
1452 | - | chatfunc("God bless the Queen.", maincolor.Color) |
1452 | + | function Bezier(startpos, pos2, pos3, endpos, t) |
1453 | - | elseif Chatty == 3 then |
1453 | + | local A = startpos:lerp(pos2, t) |
1454 | - | chatfunc("God forbid.", maincolor.Color) |
1454 | + | local B = pos2:lerp(pos3, t) |
1455 | - | elseif Chatty == 4 then |
1455 | + | local C = pos3:lerp(endpos, t) |
1456 | - | chatfunc("Crumpets, anyone?", maincolor.Color) |
1456 | + | local lerp1 = A:lerp(B, t) |
1457 | - | elseif Chatty == 5 then |
1457 | + | local lerp2 = B:lerp(C, t) |
1458 | - | chatfunc("*Slurp*", maincolor.Color) |
1458 | + | local cubic = lerp1:lerp(lerp2, t) |
1459 | return cubic | |
1460 | - | if Chatty ~= 5 then |
1460 | + | |
1461 | - | for i = 0, 9, 0.1 do |
1461 | + | |
1462 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
1463 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) |
1463 | + | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) |
1464 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(10 - 5 * Cos(sine / 3))), 0.1) |
1464 | + | local tween = S.TweenService:Create(obj, info, props) |
1465 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) |
1465 | + | |
1466 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) |
1466 | + | tween:Play() |
1467 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) |
1467 | + | |
1468 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) |
1468 | + | |
1469 | local FXTable = {} | |
1470 | ||
1471 | - | for i = 0, 9, 0.1 do |
1471 | + | coroutine.resume(coroutine.create(function() |
1472 | while true do | |
1473 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) |
1473 | + | for i = 1, #FXTable do |
1474 | - | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) |
1474 | + | local data = FXTable[i] |
1475 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) |
1475 | + | if(data)then |
1476 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) |
1476 | + | local Frame = data.Frame |
1477 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) |
1477 | + | local FX = data.Effect or 'ResizeAndFade' |
1478 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1) |
1478 | + | local Parent = data.Parent or Effects |
1479 | local Color = data.Color or C3.N(0,0,0) | |
1480 | local Size = data.Size or V3.N(1,1,1) | |
1481 | - | movelegs = false |
1481 | + | local MoveDir = data.MoveDirection or nil |
1482 | - | attack = false |
1482 | + | local MeshData = data.Mesh or nil |
1483 | - | Speed = 16 |
1483 | + | local SndData = data.Sound or nil |
1484 | local Frames = data.Frames or 45 | |
1485 | - | function Sippy() |
1485 | + | local CFra = data.CFrame or Torso.CFrame |
1486 | - | attack = true |
1486 | + | local Settings = data.FXSettings or {} |
1487 | - | Speed = 0 |
1487 | + | local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound |
1488 | - | local Sip = Cso("1420260652", hed, 1.2, 1) |
1488 | + | local grow = data.Grow |
1489 | ||
1490 | - | repeat |
1490 | + | local MoveSpeed = nil; |
1491 | if(MoveDir)then | |
1492 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1) |
1492 | + | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames |
1493 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 5 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) |
1493 | + | |
1494 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1) |
1494 | + | if(FX ~= 'Arc')then |
1495 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1) |
1495 | + | Frame = Frame + 1 |
1496 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.4 + 0.05 * Sin(sine / 20)* Player_Size, 0.1* Player_Size) * angles(Rad(125), Rad(0), Rad(-45)), 0.1) |
1496 | + | if(FX == "Fade")then |
1497 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1) |
1497 | + | Prt.Transparency = (Frame/Frames) |
1498 | - | until Sip.Playing == false |
1498 | + | elseif(FX == "Resize")then |
1499 | - | Speed = 16 |
1499 | + | if(not Settings.EndSize)then |
1500 | - | attack = false |
1500 | + | Settings.EndSize = V3.N(0,0,0) |
1501 | end | |
1502 | - | function SittyBoi() |
1502 | + | if(Settings.EndIsIncrement)then |
1503 | - | attack = true |
1503 | + | if(Msh)then |
1504 | - | Sitt = true |
1504 | + | Msh.Scale = Msh.Scale + Settings.EndSize |
1505 | - | Speed = 0 |
1505 | + | else |
1506 | - | repeat |
1506 | + | Prt.Size = Prt.Size + Settings.EndSize |
1507 | end | |
1508 | - | for i = 0, 1, 0.1 do |
1508 | + | else |
1509 | if(Msh)then | |
1510 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1) |
1510 | + | Msh.Scale = Msh.Scale - grow/Frames |
1511 | - | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) |
1511 | + | else |
1512 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1) |
1512 | + | Prt.Size = Prt.Size - grow/Frames |
1513 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1) |
1513 | + | |
1514 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) |
1514 | + | end |
1515 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1) |
1515 | + | elseif(FX == "ResizeAndFade")then |
1516 | if(not Settings.EndSize)then | |
1517 | - | until Sitt == false |
1517 | + | Settings.EndSize = V3.N(0,0,0) |
1518 | - | attack = false |
1518 | + | |
1519 | - | Speed = 16 |
1519 | + | if(Settings.EndIsIncrement)then |
1520 | if(Msh)then | |
1521 | - | ------------------------------------------------------- |
1521 | + | Msh.Scale = Msh.Scale + Settings.EndSize |
1522 | - | --End Attacks N Stuff-- |
1522 | + | else |
1523 | - | ------------------------------------------------------- |
1523 | + | Prt.Size = Prt.Size + Settings.EndSize |
1524 | - | mouse.Button1Down:connect(function(key) |
1524 | + | end |
1525 | - | if attack == false then |
1525 | + | else |
1526 | - | Sippy() |
1526 | + | if(Msh)then |
1527 | Msh.Scale = Msh.Scale - grow/Frames | |
1528 | else | |
1529 | - | mouse.KeyDown:connect(function(key) |
1529 | + | Prt.Size = Prt.Size - grow/Frames |
1530 | - | if (VALUE1 == false and attack == false) or Sitt == true then |
1530 | + | |
1531 | - | if key == "q" then |
1531 | + | end |
1532 | - | if Sitt == false then |
1532 | + | Prt.Transparency = (Frame/Frames) |
1533 | - | SittyBoi() |
1533 | + | |
1534 | - | elseif Sitt == true then |
1534 | + | if(Settings.RandomizeCFrame)then |
1535 | - | Sitt = false |
1535 | + | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) |
1536 | end | |
1537 | if(MoveDir and MoveSpeed)then | |
1538 | local Orientation = Prt.Orientation | |
1539 | - | if attack == false then |
1539 | + | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) |
1540 | - | if key == "t" then |
1540 | + | Prt.Orientation = Orientation |
1541 | - | Taunt() |
1541 | + | |
1542 | if(Prt.Transparency >= 1 or Frame >= Frames)then | |
1543 | Prt:destroy() | |
1544 | table.remove(FXTable,i) | |
1545 | else | |
1546 | data.Frame = Frame | |
1547 | end | |
1548 | else | |
1549 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1550 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1551 | if(start and endP)then | |
1552 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1553 | - | ------------------------------------------------------- |
1553 | + | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
1554 | - | --Start Animations-- |
1554 | + | Frame = Frame + (Settings.Speed or 0.01) |
1555 | - | ------------------------------------------------------- |
1555 | + | if(Settings.Home)then |
1556 | - | print("By Makhail07") |
1556 | + | endP = Settings.Home.CFrame |
1557 | end | |
1558 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) | |
1559 | - | sine = sine + change |
1559 | + | if(Prt.Transparency >= 1 or Frame >= Frames)then |
1560 | - | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude |
1560 | + | if(Settings.RemoveOnGoal)then |
1561 | - | local velderp = root.Velocity.y |
1561 | + | Prt:destroy() |
1562 | - | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) |
1562 | + | |
1563 | - | if equipped == true or equipped == false then |
1563 | + | |
1564 | - | if attack == false then |
1564 | + | |
1565 | - | idle = idle + 1 |
1565 | + | Prt:destroy() |
1566 | end | |
1567 | - | idle = 0 |
1567 | + | |
1568 | end | |
1569 | - | local Landed = false |
1569 | + | |
1570 | - | if(hitfloor)then |
1570 | + | |
1571 | - | WasAir = false |
1571 | + | |
1572 | end)) | |
1573 | - | WasAir = true |
1573 | + | |
1574 | function Effect(data) | |
1575 | - | if(WasAir == false)then |
1575 | + | local FX = data.Effect or 'ResizeAndFade' |
1576 | - | if(InAir == true)then |
1576 | + | local Parent = data.Parent or Effects |
1577 | - | LandTick = time() |
1577 | + | local Color = data.Color or C3.N(0,0,0) |
1578 | - | Landed = true |
1578 | + | local Size = data.Size or V3.N(1,1,1) |
1579 | local MoveDir = data.MoveDirection or nil | |
1580 | local MeshData = data.Mesh or nil | |
1581 | - | if(time()-LandTick < .3)then |
1581 | + | local SndData = data.Sound or nil |
1582 | - | Landed = true |
1582 | + | local Frames = data.Frames or 45 |
1583 | local Manual = data.Manual or nil | |
1584 | - | if(hitfloor)then |
1584 | + | local Material = data.Material or nil |
1585 | - | InAir = false |
1585 | + | local CFra = data.CFrame or Torso.CFrame |
1586 | local Settings = data.FXSettings or {} | |
1587 | - | InAir = true |
1587 | + | local Shape = data.Shape or Enum.PartType.Block |
1588 | local Snd,Prt,Msh; | |
1589 | - | local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1) |
1589 | + | |
1590 | - | local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") |
1590 | + | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then |
1591 | - | local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16) |
1591 | + | Prt = Manual |
1592 | - | if(State == 'Jump')then |
1592 | + | |
1593 | - | hum.JumpPower = 55 |
1593 | + | Prt = Part(Parent,Color,Material,Size,CFra,true,false) |
1594 | - | if attack == false then |
1594 | + | Prt.Shape = Shape |
1595 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1) |
1595 | + | |
1596 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
1596 | + | if(typeof(MeshData) == 'table')then |
1597 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) |
1597 | + | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) |
1598 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1) |
1598 | + | elseif(typeof(MeshData) == 'Instance')then |
1599 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) |
1599 | + | Msh = MeshData:Clone() |
1600 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) |
1600 | + | Msh.Parent = Prt |
1601 | elseif(Shape == Enum.PartType.Block)then | |
1602 | - | elseif(State == 'Fall')then |
1602 | + | Msh = Mesh(Prt,Enum.MeshType.Brick) |
1603 | - | if attack == false then |
1603 | + | |
1604 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1) |
1604 | + | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then |
1605 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
1605 | + | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) |
1606 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) |
1606 | + | |
1607 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) |
1607 | + | if(Snd)then |
1608 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) |
1608 | + | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 |
1609 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) |
1609 | + | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch |
1610 | end | |
1611 | - | elseif(State == 'Land')then |
1611 | + | Size = (Msh and Msh.Scale or Size) |
1612 | - | hum.JumpPower = 0 |
1612 | + | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) |
1613 | - | if attack == false then |
1613 | + | |
1614 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15) |
1614 | + | local MoveSpeed = nil; |
1615 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) |
1615 | + | if(MoveDir)then |
1616 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15) |
1616 | + | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames |
1617 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15) |
1617 | + | |
1618 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1) |
1618 | + | if(FX ~= 'Arc')then |
1619 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1) |
1619 | + | for Frame = 1, Frames do |
1620 | if(FX == "Fade")then | |
1621 | - | elseif(State == 'Idle')then |
1621 | + | Prt.Transparency = (Frame/Frames) |
1622 | - | change = 0.90 |
1622 | + | elseif(FX == "Resize")then |
1623 | - | if attack == false then |
1623 | + | if(not Settings.EndSize)then |
1624 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 24) * Player_Size) * angles(Rad(0 - 4 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(-10)), 0.1) |
1624 | + | Settings.EndSize = V3.N(0,0,0) |
1625 | - | neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(7 - 2 * Sin(sine / 20)), Rad(0), Rad(10)), 0.1) |
1625 | + | |
1626 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) - Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 + 1 * Cos(sine / 24)), Rad(0), Rad(5)), 0.1) |
1626 | + | if(Settings.EndIsIncrement)then |
1627 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size - 0.1 * Cos(sine / 24) + Rad(0 + 1 * Cos(sine / 24)) * Player_Size, 0* Player_Size) * angles(Rad(0 - 6 * Sin(sine / 24)), Rad(-0 + 1 * Cos(sine / 24)), Rad(0)) * angles(Rad(0 - 1 * Cos(sine / 24)), Rad(0), Rad(-5)), 0.1) |
1627 | + | if(Msh)then |
1628 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1) |
1628 | + | Msh.Scale = Msh.Scale + Settings.EndSize |
1629 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(10 - 5 * Sin(sine / 20))), 0.1) |
1629 | + | else |
1630 | Prt.Size = Prt.Size + Settings.EndSize | |
1631 | end | |
1632 | - | change = 0.76 |
1632 | + | |
1633 | - | hum.JumpPower = 55 |
1633 | + | if(Msh)then |
1634 | - | if attack == false then |
1634 | + | Msh.Scale = Msh.Scale - grow/Frames |
1635 | - | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.15 * Cos(sine / (WALKSPEEDVALUE / 2))) * angles(Rad(10), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75), 0.1) |
1635 | + | else |
1636 | - | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0 - 0.75 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 13), 0.1) |
1636 | + | Prt.Size = Prt.Size - grow/Frames |
1637 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) |
1637 | + | |
1638 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) |
1638 | + | end |
1639 | - | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / WALKSPEEDVALUE)), Rad(-30 + 5 * Sin(sine / WALKSPEEDVALUE))), 0.1) |
1639 | + | elseif(FX == "ResizeAndFade")then |
1640 | - | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0 + 0.5 * Sin(sine / WALKSPEEDVALUE)* Player_Size) * angles(Rad(-45 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / 75, Rad(10 * Cos(sine / WALKSPEEDVALUE)), Rad(-10) + root.RotVelocity.Y / -75), 0.1) |
1640 | + | if(not Settings.EndSize)then |
1641 | - | elseif attack == true and movelegs == true then |
1641 | + | Settings.EndSize = V3.N(0,0,0) |
1642 | - | rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Sin(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) |
1642 | + | |
1643 | - | ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Sin(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3) |
1643 | + | if(Settings.EndIsIncrement)then |
1644 | if(Msh)then | |
1645 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1646 | else | |
1647 | - | hum.Name = "HUM" |
1647 | + | Prt.Size = Prt.Size + Settings.EndSize |
1648 | - | hum.WalkSpeed = Speed |
1648 | + | end |
1649 | - | Music.SoundId = "rbxassetid://"..SONG |
1649 | + | |
1650 | - | Music.Looped = true |
1650 | + | if(Msh)then |
1651 | Msh.Scale = Msh.Scale - grow/Frames | |
1652 | - | Music.Volume = 1.5 |
1652 | + | else |
1653 | - | Music.Parent = tors |
1653 | + | Prt.Size = Prt.Size - grow/Frames |
1654 | - | Music.Playing = true |
1654 | + | |
1655 | - | if 0 < #Effects then |
1655 | + | end |
1656 | - | for e = 1, #Effects do |
1656 | + | Prt.Transparency = (Frame/Frames) |
1657 | - | if Effects[e] ~= nil then |
1657 | + | |
1658 | - | local Thing = Effects[e] |
1658 | + | if(Settings.RandomizeCFrame)then |
1659 | - | if Thing ~= nil then |
1659 | + | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) |
1660 | - | local Part = Thing[1] |
1660 | + | |
1661 | - | local Mode = Thing[2] |
1661 | + | if(MoveDir and MoveSpeed)then |
1662 | - | local Delay = Thing[3] |
1662 | + | local Orientation = Prt.Orientation |
1663 | - | local IncX = Thing[4] |
1663 | + | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) |
1664 | - | local IncY = Thing[5] |
1664 | + | Prt.Orientation = Orientation |
1665 | - | local IncZ = Thing[6] |
1665 | + | |
1666 | - | if 1 >= Thing[1].Transparency then |
1666 | + | swait() |
1667 | - | if Thing[2] == "Block1" then |
1667 | + | |
1668 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
1668 | + | Prt:destroy() |
1669 | - | local Mesh = Thing[1].Mesh |
1669 | + | |
1670 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1670 | + | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End |
1671 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1671 | + | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end |
1672 | - | elseif Thing[2] == "Block2" then |
1672 | + | if(start and endP)then |
1673 | - | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) |
1673 | + | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
1674 | - | local Mesh = Thing[7] |
1674 | + | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) |
1675 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1675 | + | for Frame = 0, 1, (Settings.Speed or 0.01) do |
1676 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1676 | + | if(Settings.Home)then |
1677 | - | elseif Thing[2] == "Block3" then |
1677 | + | endP = Settings.Home.CFrame |
1678 | - | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) |
1678 | + | |
1679 | - | local Mesh = Thing[7] |
1679 | + | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) |
1680 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1680 | + | |
1681 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1681 | + | if(Settings.RemoveOnGoal)then |
1682 | - | elseif Thing[2] == "Cylinder" then |
1682 | + | Prt:destroy() |
1683 | - | local Mesh = Thing[1].Mesh |
1683 | + | |
1684 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1684 | + | |
1685 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1685 | + | Prt:destroy() |
1686 | - | elseif Thing[2] == "Blood" then |
1686 | + | assert(start,"You need a start position!") |
1687 | - | local Mesh = Thing[7] |
1687 | + | assert(endP,"You need a start position!") |
1688 | - | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) |
1688 | + | |
1689 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) |
1689 | + | |
1690 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1690 | + | |
1691 | - | elseif Thing[2] == "Elec" then |
1691 | + | return Prt,Msh,Snd |
1692 | - | local Mesh = Thing[1].Mesh |
1692 | + | |
1693 | - | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) |
1693 | + | |
1694 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1694 | + | |
1695 | - | elseif Thing[2] == "Disappear" then |
1695 | + | function SoulSteal(whom,human) |
1696 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1696 | + | local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso') |
1697 | - | elseif Thing[2] == "Shatter" then |
1697 | + | local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end) |
1698 | - | Thing[1].Transparency = Thing[1].Transparency + Thing[3] |
1698 | + | if(torso and torso:IsA'BasePart' and alive == true)then |
1699 | - | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) |
1699 | + | whom:FindFirstChildOfClass'Humanoid'.Health = 0 |
1700 | - | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) |
1700 | + | whom:BreakJoints() |
1701 | - | Thing[6] = Thing[6] + Thing[5] |
1701 | + | local Model = IN("Model",Effects) |
1702 | warn('Soul stolen from '..whom.Name) | |
1703 | Model.Name = whom.Name.."'s Soul" | |
1704 | - | Part.Parent = nil |
1704 | + | local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(0,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false) |
1705 | - | table.remove(Effects, e) |
1705 | + | Soul.CanCollide=false |
1706 | Mesh(Soul,Enum.MeshType.Sphere) | |
1707 | Soul.Name = 'Head' | |
1708 | if(whom.Name == 'CKbackup')then | |
1709 | Soul.Color = C3.N(0,1,0) | |
1710 | local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)}) | |
1711 | end | |
1712 | - | ------------------------------------------------------- |
1712 | + | local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)}) |
1713 | - | --End Animations And Script-- |
1713 | + | local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)}) |
1714 | - | ------------------------------------------------------- |
1714 | + | local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)}) |
1715 | local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0}) | |
1716 | NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)}) | |
1717 | ||
1718 | local turdso = Soul:Clone() | |
1719 | turdso.Name = "Torso" | |
1720 | turdso.CanCollide = false | |
1721 | turdso.Anchored = true | |
1722 | turdso.CFrame = Soul.CFrame | |
1723 | turdso.Parent = Model | |
1724 | turdso.Size = V3.N() | |
1725 | turdso.Transparency=1 | |
1726 | local Distance = math.huge | |
1727 | repeat | |
1728 | Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1) | |
1729 | turdso.CFrame = Soul.CFrame | |
1730 | Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude | |
1731 | swait() | |
1732 | until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2 | |
1733 | if(Soul.Parent and Hoom.Health > 0)then | |
1734 | Model:destroy() | |
1735 | Effect{ | |
1736 | Effect="ResizeAndFade", | |
1737 | Mesh={Enum.MeshType.Sphere}, | |
1738 | Color = Soul.Color, | |
1739 | CFrame=Torso.CFrame, | |
1740 | Size=V3.N(3,3,3), | |
1741 | Material=Enum.Material.Neon, | |
1742 | Sound={SoundId=444667859,Pitch=1,Volume=2.5}, | |
1743 | FXSettings={ | |
1744 | EndSize=V3.N(6,6,6), | |
1745 | } | |
1746 | } | |
1747 | Souls = Souls + (human and 1 or .1) | |
1748 | warn("Souls: "..Souls) | |
1749 | MaxHealth = MaxHealth + Hoom.Health | |
1750 | Hum.Health = Hum.Health + Hoom.Health | |
1751 | for i = 1, 5 do | |
1752 | Effect{ | |
1753 | Effect="Fade", | |
1754 | Color = Soul.Color, | |
1755 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1756 | } | |
1757 | end | |
1758 | else | |
1759 | ||
1760 | warn("Soul destroyed!") | |
1761 | for i = 1, 5 do | |
1762 | Effect{ | |
1763 | Effect="Fade", | |
1764 | Color = Soul.Color, | |
1765 | CFrame=Soul.CFrame, | |
1766 | MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1767 | } | |
1768 | end | |
1769 | Effect{ | |
1770 | Effect="ResizeAndFade", | |
1771 | Mesh={Enum.MeshType.Sphere}, | |
1772 | Sound={SoundId=444667859,Pitch=1,Volume=5}, | |
1773 | Color = Soul.Color, | |
1774 | CFrame=Soul.CFrame, | |
1775 | Size=V3.N(3,3,3), | |
1776 | Material=Enum.Material.Neon, | |
1777 | FXSettings={ | |
1778 | EndSize=V3.N(6,6,6), | |
1779 | } | |
1780 | } | |
1781 | Model:destroy() | |
1782 | end | |
1783 | end | |
1784 | end | |
1785 | ||
1786 | --// Other Functions \\ -- | |
1787 | ||
1788 | function getRegion(point,range,ignore) | |
1789 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1790 | end | |
1791 | ||
1792 | function clerp(startCF,endCF,alpha) | |
1793 | return startCF:lerp(endCF, alpha) | |
1794 | end | |
1795 | ||
1796 | function GetTorso(char) | |
1797 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
1798 | end | |
1799 | ||
1800 | function ShowDamage(Pos, Text, Time, Color) | |
1801 | coroutine.wrap(function() | |
1802 | local Rate = (1 / Frame_Speed) | |
1803 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1804 | local Text = (Text or "") | |
1805 | local Time = (Time or 2) | |
1806 | local Color = (Color or Color3.new(1, 0, 1)) | |
1807 | local EffectPart = NewInstance("Part",Effects,{ | |
1808 | Material=Enum.Material.SmoothPlastic, | |
1809 | Reflectance = 0, | |
1810 | Transparency = 1, | |
1811 | BrickColor = BrickColor.new(Color), | |
1812 | Name = "Effect", | |
1813 | Size = Vector3.new(0,0,0), | |
1814 | Anchored = true, | |
1815 | CFrame = CF.N(Pos) | |
1816 | }) | |
1817 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1818 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1819 | Adornee = EffectPart, | |
1820 | }) | |
1821 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1822 | BackgroundTransparency = 1, | |
1823 | Size = UDim2.new(1, 0, 1, 0), | |
1824 | Text = Text, | |
1825 | Font = "Arcade", | |
1826 | TextColor3 = Color, | |
1827 | TextStrokeColor3 = Color3.new(0,0,0), | |
1828 | TextStrokeTransparency=0, | |
1829 | TextScaled = true, | |
1830 | }) | |
1831 | S.Debris:AddItem(EffectPart, (Time)) | |
1832 | EffectPart.Parent = workspace | |
1833 | delay(0, function() | |
1834 | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out) | |
1835 | local Frames = (Time / Rate) | |
1836 | for Frame = 1, Frames do | |
1837 | swait() | |
1838 | local Percent = (Frame / Frames) | |
1839 | TextLabel.TextTransparency = Percent | |
1840 | TextLabel.TextStrokeTransparency = Percent | |
1841 | end | |
1842 | if EffectPart and EffectPart.Parent then | |
1843 | EffectPart:Destroy() | |
1844 | end | |
1845 | end) end)() | |
1846 | end | |
1847 | ||
1848 | function Kill(whom) | |
1849 | if(whom.Name ~= 'Nebula_Zorua')then | |
1850 | local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil | |
1851 | coroutine.wrap(SoulSteal)(whom,isPlr) | |
1852 | for _,v in next, whom:children() do | |
1853 | if(v:IsA'BasePart')then | |
1854 | v.Parent = Effects | |
1855 | v:ClearAllChildren() | |
1856 | v.Anchored = true | |
1857 | v.CanCollide = false | |
1858 | v.Transparency = 1 | |
1859 | local dust = NewInstance("ParticleEmitter",v,{ | |
1860 | Color = ColorSequence.new(C3.N(0,1,1)), | |
1861 | LightEmission=0, | |
1862 | LightInfluence=1, | |
1863 | Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)}, | |
1864 | Texture="rbxassetid://284205403", | |
1865 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
1866 | Lifetime = NumberRange.new(1), | |
1867 | Rate=150, | |
1868 | Acceleration = V3.N(0,10,0), | |
1869 | Speed = NumberRange.new(5), | |
1870 | Enabled = true | |
1871 | }) | |
1872 | delay(1, function() | |
1873 | dust.Enabled = false | |
1874 | S.Debris:AddItem(v,2) | |
1875 | end) | |
1876 | end | |
1877 | end | |
1878 | else | |
1879 | warn"nope. nawt happenin'" | |
1880 | end | |
1881 | end | |
1882 | ||
1883 | function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult) | |
1884 | if(who)then | |
1885 | local hum = who:FindFirstChildOfClass'Humanoid' | |
1886 | local Damage = M.RNG(minDam,maxDam) | |
1887 | local canHit = true | |
1888 | if(hum)then | |
1889 | for _, p in pairs(Hit) do | |
1890 | if p[1] == hum then | |
1891 | if(time() - p[2] < 0.4) then | |
1892 | canHit = false | |
1893 | else | |
1894 | Hit[_] = nil | |
1895 | end | |
1896 | end | |
1897 | end | |
1898 | if(canHit)then | |
1899 | table.insert(Hit,{hum,time()}) | |
1900 | if(GetTorso(who))then | |
1901 | Sound(GetTorso(who),406913243,1,10,false,true,true) | |
1902 | end | |
1903 | if(hum.Health >= math.huge)then | |
1904 | Kill(who) | |
1905 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1906 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 3, DamageColor.Color) | |
1907 | end | |
1908 | else | |
1909 | local player = S.Players:GetPlayerFromCharacter(who) | |
1910 | if(Type == "Fire")then | |
1911 | --idk.. | |
1912 | else | |
1913 | local c = Instance.new("ObjectValue",hum) | |
1914 | c.Name = "creator" | |
1915 | c.Value = Plr | |
1916 | game:service'Debris':AddItem(c,0.35) | |
1917 | local Crit = false | |
1918 | if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then | |
1919 | Crit = true | |
1920 | Damage = Damage*(critMult or 2) | |
1921 | end | |
1922 | Damage = Damage*((Souls/5)+1) | |
1923 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1924 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), (Crit and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color)) | |
1925 | end | |
1926 | ||
1927 | if(hum.Health - Damage <= 0)then | |
1928 | Kill(who) | |
1929 | else | |
1930 | hum.Health = hum.Health - Damage | |
1931 | if(Type == 'Knockback' and GetTorso(who))then | |
1932 | local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit | |
1933 | local body = NewInstance('BodyVelocity',GetTorso(who),{ | |
1934 | P = 500, | |
1935 | maxForce = V3.N(math.huge,0,math.huge), | |
1936 | velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05 | |
1937 | }) | |
1938 | game:service'Debris':AddItem(body,.5) | |
1939 | elseif(Type == "Electric")then | |
1940 | if(M.RNG(1,100) >= critChance)then | |
1941 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1942 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 3, BrickColor.new"New Yeller".Color) | |
1943 | end | |
1944 | local asd = hum.WalkSpeed/2 | |
1945 | hum.WalkSpeed = asd | |
1946 | local paralyzed = true | |
1947 | coroutine.wrap(function() | |
1948 | while paralyzed do | |
1949 | swait(25) | |
1950 | if(M.RNG(1,25) == 1)then | |
1951 | if(who:FindFirstChild'Head' and hum.Health > 0)then | |
1952 | ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 3, BrickColor.new"New Yeller".Color) | |
1953 | end | |
1954 | hum.PlatformStand = true | |
1955 | end | |
1956 | end | |
1957 | end)() | |
1958 | delay(4, function() | |
1959 | paralyzed = false | |
1960 | hum.WalkSpeed = hum.WalkSpeed + asd | |
1961 | end) | |
1962 | end | |
1963 | ||
1964 | elseif(Type == 'Knockdown' and GetTorso(who))then | |
1965 | local rek = GetTorso(who) | |
1966 | hum.PlatformStand = true | |
1967 | delay(1,function() | |
1968 | hum.PlatformStand = false | |
1969 | end) | |
1970 | local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit | |
1971 | local bodvol = NewInstance("BodyVelocity",rek,{ | |
1972 | velocity = angle * Knock, | |
1973 | P = 5000, | |
1974 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1975 | }) | |
1976 | local rl = NewInstance("BodyAngularVelocity",rek,{ | |
1977 | P = 3000, | |
1978 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1979 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1980 | }) | |
1981 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1982 | game:GetService("Debris"):AddItem(rl, .5) | |
1983 | end | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | end | |
1988 | end | |
1989 | end | |
1990 | end | |
1991 | ||
1992 | ||
1993 | function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult) | |
1994 | for _,v in next, getRegion(where,range,{Char}) do | |
1995 | if(v.Name ~= 'Nebula_Zorua')then | |
1996 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then | |
1997 | DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult) | |
1998 | end | |
1999 | end | |
2000 | end | |
2001 | end | |
2002 | ||
2003 | function AOEKill(where,range) | |
2004 | local sound = Sound(Char,752783199,1,999,false,true,false) | |
2005 | chatfunc("This is what you get from kill me...") | |
2006 | for _,v in next, getRegion(where,range,{Char,Effects}) do | |
2007 | local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end) | |
2008 | if(v.Name ~= 'tamloveeif02')then | |
2009 | if(v.Parent and alive == true)then | |
2010 | coroutine.wrap(Kill)(v.Parent) | |
2011 | sound:Play() | |
2012 | end | |
2013 | end | |
2014 | end | |
2015 | end | |
2016 | ||
2017 | function AOEHeal(where,range,amount) | |
2018 | local healed = {} | |
2019 | for _,v in next, getRegion(where,range,{Char}) do | |
2020 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
2021 | if(hum and not healed[hum])then | |
2022 | hum.Health = hum.Health + amount | |
2023 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
2024 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Really red'.Color) | |
2025 | end | |
2026 | end | |
2027 | end | |
2028 | end | |
2029 | ||
2030 | ||
2031 | --// Attack Functions \\-- | |
2032 | ||
2033 | ||
2034 | function Slash() | |
2035 | Attack = true | |
2036 | NeutralAnims = false | |
2037 | local sound = Sound(Knife,536642316,1,6,false,true,false) | |
2038 | for i = 0, 2, 0.1 do | |
2039 | swait() | |
2040 | local Alpha = .2 | |
2041 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha) | |
2042 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha) | |
2043 | RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha) | |
2044 | LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha) | |
2045 | RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha) | |
2046 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha) | |
2047 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2048 | end | |
2049 | KTrail.Enabled = true | |
2050 | sound:Play() | |
2051 | for i = 0, 2.5, 0.1 do | |
2052 | swait() | |
2053 | AOEDamage(Knife.CFrame.p,1,999999,999999,0,"Normal",0,1) | |
2054 | local Alpha = .25 | |
2055 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha) | |
2056 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha) | |
2057 | RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha) | |
2058 | LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha) | |
2059 | RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha) | |
2060 | NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha) | |
2061 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2062 | end | |
2063 | KTrail.Enabled = true | |
2064 | Attack = false | |
2065 | NeutralAnims = true | |
2066 | end | |
2067 | ||
2068 | Mouse.Button1Down:connect(function() | |
2069 | if(Attack)then return end | |
2070 | Slash() | |
2071 | end) | |
2072 | ||
2073 | Mouse.KeyDown:connect(function(k) | |
2074 | if(Attack)then return end | |
2075 | if(k == 'z')then AOEKill(Root.CFrame.p,1900) end | |
2076 | if(k == 'r')then WalkSpeed = (WalkSpeed == 8 and 200 or 8) end | |
2077 | if(k == 'e')then WalkSpeed = (WalkSpeed == 8 and 60 or 8) end | |
2078 | if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end | |
2079 | if(k == 't')then Sound(Char,654422659,1,90) Root.CFrame = CFrame.new(CFrame.new(Mouse.Hit.p)*CFrame.new(0,2.8,0).p,Root.Position) end | |
2080 | end) | |
2081 | ||
2082 | ||
2083 | local BODY = {} | |
2084 | ||
2085 | for _, c in pairs(Char:GetDescendants()) do | |
2086 | if c:IsA("BasePart") and c.Name ~= "Handle" then | |
2087 | if c ~= Root and c ~= Torso and c ~= Head and c ~= RArm and c ~= LArm and c ~= RLeg and c ~= LLeg then | |
2088 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
2089 | end | |
2090 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency}) | |
2091 | elseif c:IsA("JointInstance") then | |
2092 | table.insert(BODY,{c,c.Parent,nil,nil,nil}) | |
2093 | end | |
2094 | end | |
2095 | ||
2096 | for e = 1, #BODY do | |
2097 | if BODY[e] ~= nil then | |
2098 | local STUFF = BODY[e] | |
2099 | local PART = STUFF[1] | |
2100 | local PARENT = STUFF[2] | |
2101 | local MATERIAL = STUFF[3] | |
2102 | local COLOR = STUFF[4] | |
2103 | local TRANSPARENCY = STUFF[5] | |
2104 | if PART.ClassName == "Part" and PART ~= Root then | |
2105 | end | |
2106 | PART.AncestryChanged:Connect(function() | |
2107 | PART.Parent = PARENT | |
2108 | end) | |
2109 | end | |
2110 | end | |
2111 | ||
2112 | function refit() | |
2113 | Char.Parent = workspace | |
2114 | for e = 1, #BODY do | |
2115 | if BODY[e] ~= nil then | |
2116 | local STUFF = BODY[e] | |
2117 | local PART = STUFF[1] | |
2118 | local PARENT = STUFF[2] | |
2119 | local MATERIAL = STUFF[3] | |
2120 | local COLOR = STUFF[4] | |
2121 | local TRANSPARENCY = STUFF[5] | |
2122 | if PART.ClassName == "Part" and PART ~= Root then | |
2123 | end | |
2124 | if PART.Parent ~= PARENT then | |
2125 | Humanoid:remove() | |
2126 | PART.Parent = PARENT | |
2127 | Humanoid = Instance.new("Humanoid",Char) | |
2128 | end | |
2129 | end | |
2130 | end | |
2131 | Humanoid.Died:connect(function() | |
2132 | refit() | |
2133 | end) | |
2134 | LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) | |
2135 | LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) | |
2136 | LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)}) | |
2137 | ||
2138 | REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false) | |
2139 | REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N()) | |
2140 | REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)}) | |
2141 | for i = 1, 35 do | |
2142 | local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false) | |
2143 | FACE.Transparency = 0+(i-1)/35.2 | |
2144 | FACE.Name = 'ShadowFace' | |
2145 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE | |
2146 | NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)}) | |
2147 | NewInstance("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) | |
2148 | end | |
2149 | Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'}) | |
2150 | Hum.MaxHealth = MaxHealth | |
2151 | Hum.Health = MaxHealth | |
2152 | swait(5) | |
2153 | Char.Parent = workspace | |
2154 | ||
2155 | Attack = false | |
2156 | end | |
2157 | ||
2158 | Humanoid.Died:connect(function() | |
2159 | refit() | |
2160 | end) | |
2161 | ||
2162 | --// Wrap it all up \\-- | |
2163 | while true do | |
2164 | swait() | |
2165 | Sine = Sine + Change | |
2166 | if(not Music)then | |
2167 | Music = Sound(Torso,MusicID,1,3,true,false,true) | |
2168 | Music.Name = 'Music' | |
2169 | end | |
2170 | Music.Pitch = 1 | |
2171 | Music.Volume = 5 | |
2172 | Music.SoundId = "rbxassetid://"..MusicID | |
2173 | Music.Parent = Char | |
2174 | Music:Resume() | |
2175 | local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char) | |
2176 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2177 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle") | |
2178 | if(not Effects or not Effects.Parent)then | |
2179 | Effects = IN("Model",Char) | |
2180 | Effects.Name = "Effects" | |
2181 | end | |
2182 | Hum.WalkSpeed = WalkSpeed | |
2183 | if(State == 'Walk')then | |
2184 | if(Hum.WalkSpeed >= 24)then | |
2185 | local wsVal = 22 / (Hum.WalkSpeed/16) | |
2186 | local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1) | |
2187 | Change = 2 | |
2188 | RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha) | |
2189 | LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha) | |
2190 | else | |
2191 | Change = .9 | |
2192 | local wsVal = 8 / (Hum.WalkSpeed/8) | |
2193 | local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1) | |
2194 | LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha) | |
2195 | RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha) | |
2196 | end | |
2197 | else | |
2198 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1) | |
2199 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1) | |
2200 | end | |
2201 | for _,v in next, Char:children() do | |
2202 | if(v:IsA'Accessory')then | |
2203 | v:destroy() | |
2204 | elseif(v:IsA'Shirt')then | |
2205 | v.ShirtTemplate = "rbxassetid://338740550" | |
2206 | elseif(v:IsA'Pants')then | |
2207 | v.PantsTemplate = "rbxassetid://338750779" | |
2208 | elseif(v:FindFirstChildOfClass'ShirtGraphic')then | |
2209 | v:FindFirstChildOfClass'ShirtGraphic':destroy() | |
2210 | end | |
2211 | end | |
2212 | local face = Head:FindFirstChild'face' | |
2213 | if(not face)then | |
2214 | NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"}) | |
2215 | else | |
2216 | face.Texture = "rbxassetid://900134257" | |
2217 | end | |
2218 | RArm.BrickColor = BrickColor.new'Pastel yellow' | |
2219 | LArm.BrickColor = BrickColor.new'Pastel yellow' | |
2220 | RLeg.BrickColor = BrickColor.new'Pastel yellow' | |
2221 | LLeg.BrickColor = BrickColor.new'Pastel yellow' | |
2222 | Torso.BrickColor = BrickColor.new'Pastel yellow' | |
2223 | Head.BrickColor = BrickColor.new'Pastel yellow' | |
2224 | if(Hum.MaxHealth ~= MaxHealth)then | |
2225 | Hum.MaxHealth = MaxHealth | |
2226 | end | |
2227 | Hum.DisplayDistanceType='None' | |
2228 | if(NeutralAnims)then | |
2229 | if(State == 'Idle')then | |
2230 | Change = 1 | |
2231 | local Alpha = .1 | |
2232 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha) | |
2233 | LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha) | |
2234 | RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha) | |
2235 | LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -1.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha) | |
2236 | RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, -2.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha) | |
2237 | NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha) | |
2238 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2239 | -- idle | |
2240 | elseif(State == 'Walk')then | |
2241 | if(Hum.WalkSpeed >= 24)then | |
2242 | local wsVal = 22 / (Hum.WalkSpeed/16) | |
2243 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2244 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha) | |
2245 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5+15*M.S(Sine/wsVal))),Alpha) | |
2246 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha) | |
2247 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha) | |
2248 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha) | |
2249 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha) | |
2250 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2251 | else | |
2252 | local wsVal = 8 / (Hum.WalkSpeed/8) | |
2253 | local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1) | |
2254 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha) | |
2255 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(5-5*M.S(Sine/wsVal))),Alpha) | |
2256 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(-5-5*M.S(Sine/wsVal))),Alpha) | |
2257 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2258 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha) | |
2259 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha) | |
2260 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2261 | end | |
2262 | elseif(State == 'Jump' or State == 'Fall')then | |
2263 | if(Walking)then | |
2264 | local Alpha = .2 | |
2265 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
2266 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha) | |
2267 | RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha) | |
2268 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
2269 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
2270 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
2271 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2272 | else | |
2273 | local Alpha = .2 | |
2274 | RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha) | |
2275 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha) | |
2276 | RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha) | |
2277 | LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha) | |
2278 | RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha) | |
2279 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha) | |
2280 | HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha) | |
2281 | end | |
2282 | elseif(State == 'Paralyzed')then | |
2283 | -- paralyzed | |
2284 | elseif(State == 'Sit')then | |
2285 | -- sit | |
2286 | end | |
2287 | end | |
2288 | end |