SHOW:
|
|
- or go back to the newest paste.
1 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
1 | + | script.Name = "Banisher Gun V3 / 1" |
2 | - | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
2 | + | - // =========================================== ====== \\ - |
3 | - | do |
3 | + | - || CRÉÉ PAR SHACKLUSTER |
4 | - | print("FE Compatibility code by Mokiros") |
4 | + | - \\ =========================================== ====== // - |
5 | - | script.Parent = Player.Character |
5 | + | |
6 | script: ClearAllChildren () | |
7 | - | --RemoteEvent for communicating |
7 | + | attendre (0.2) |
8 | - | local Event = Instance.new("RemoteEvent") |
8 | + | |
9 | - | Event.Name = "UserInput_Event" |
9 | + | Joueur = jeu: GetService ("Joueurs"). LocalPlayer |
10 | PlayerGui = Player.PlayerGui | |
11 | - | --Fake event to make stuff like Mouse.KeyDown work |
11 | + | |
12 | - | local function fakeEvent() |
12 | + | Sac à dos = Player.Backpack |
13 | - | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} |
13 | + | Caractère = Joueur.Caractère |
14 | - | t.connect = t.Connect |
14 | + | Humanoïde = Caractère.Humanoïde |
15 | - | return t |
15 | + | Souris = Player: GetMouse () |
16 | - | end |
16 | + | RootPart = Caractère ["HumanoidRootPart"] |
17 | Torse = Caractère ["Torse"] | |
18 | - | --Creating fake input objects with fake variables |
18 | + | Tête = Caractère ["Tête"] |
19 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} |
19 | + | RightArm = Caractère ["Bras Droit"] |
20 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} |
20 | + | LeftArm = Caractère ["Bras Gauche"] |
21 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) |
21 | + | RightLeg = Caractère ["Jambe droite"] |
22 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
22 | + | LeftLeg = Caractère ["Jambe gauche"] |
23 | - | end} |
23 | + | RootJoint = RootPart ["RootJoint"] |
24 | - | --Merged 2 functions into one by checking amount of arguments |
24 | + | Cou = Torse ["Cou"] |
25 | - | CAS.UnbindAction = CAS.BindAction |
25 | + | RightShoulder = Torse ["épaule droite"] |
26 | LeftShoulder = Torse ["Épaule gauche"] | |
27 | - | --This function will trigger the events that have been :Connect()'ed |
27 | + | RightHip = Torse ["Hanche Droite"] |
28 | - | local function te(self,ev,...) |
28 | + | LeftHip = Torse ["hanche gauche"] |
29 | - | local t = m[ev] |
29 | + | heure locale = 5 |
30 | - | if t and t._fakeEvent and t.Function then |
30 | + | local sick = Instance.new ("Son", torse) |
31 | - | t.Function(...) |
31 | + | sick.Parent = Torse |
32 | - | end |
32 | + | sick.Playing = true |
33 | - | end |
33 | + | |
34 | - | m.TrigEvent = te |
34 | + | malade.volume = 2 |
35 | - | UIS.TrigEvent = te |
35 | + | sick.Pitch = 0.9 |
36 | sick.TimePosition = 0 | |
37 | - | Event.OnServerEvent:Connect(function(plr,io) |
37 | + | sick.SoundId = "rbxassetid: // 2322650280" |
38 | - | if plr~=Player then return end |
38 | + | |
39 | - | if io.isMouse then |
39 | + | |
40 | - | m.Target = io.Target |
40 | + | |
41 | - | m.Hit = io.Hit |
41 | + | |
42 | - | else |
42 | + | |
43 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
43 | + | |
44 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
44 | + | |
45 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
45 | + | |
46 | - | end |
46 | + | |
47 | - | for _,t in pairs(CAS.Actions) do |
47 | + | |
48 | - | for _,k in pairs(t.Keys) do |
48 | + | |
49 | - | if k==io.KeyCode then |
49 | + | |
50 | - | t.Function(t.Name,io.UserInputState,io) |
50 | + | NAS = math.sin |
51 | - | end |
51 | + | |
52 | - | end |
52 | + | |
53 | - | end |
53 | + | |
54 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
54 | + | |
55 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
55 | + | |
56 | - | end |
56 | + | - // ================================= \\ |
57 | - | end) |
57 | + | - || VALEURS UTILES |
58 | - | Event.Parent = NLS([==[ |
58 | + | - \\ ================================= |
59 | - | local Player = owner |
59 | + | |
60 | - | local Event = script:WaitForChild("UserInput_Event") |
60 | + | Animation_Speed = 3 |
61 | FORCERESET local = false | |
62 | - | local UIS = game:GetService("UserInputService") |
62 | + | Frame_Speed = 1/80 - (1/60) OU (1/80) |
63 | - | local input = function(io,a) |
63 | + | vitesse locale = 12 |
64 | - | if a then return end |
64 | + | ROOTC0 local = CF (0, 0, 0) * ANGLES (RAD (-90), RAD (0), RAD (180)) |
65 | - | --Since InputObject is a client-side instance, we create and pass table instead |
65 | + | NECKC0 local = CF (0, 1, 0) * ANGLES (RAD (-90), RAD (0), RAD (180)) |
66 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) |
66 | + | local RIGHTSHOULDERC0 = CF (-0,5, 0, 0) * ANGLES (RAD (0), RAD (90), RAD (0)) |
67 | - | end |
67 | + | local LEFTSHOULDERC0 = CF (0.5, 0, 0) * ANGLES (RAD (0), RAD (-90), RAD (0)) |
68 | - | UIS.InputBegan:Connect(input) |
68 | + | DAMAGEMULTIPLIER local = 1 |
69 | - | UIS.InputEnded:Connect(input) |
69 | + | ANIM local = "inactif" |
70 | ATTACK local = faux | |
71 | - | local Mouse = Player:GetMouse() |
71 | + | |
72 | - | local h,t |
72 | + | HOLD local = faux |
73 | - | --Give the server mouse data 30 times every second, but only if the values changed |
73 | + | COMBO local = 1 |
74 | - | --If player is not moving their mouse, client won't fire events |
74 | + | |
75 | - | while wait(1/30) do |
75 | + | SINE local = 0 |
76 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
76 | + | TAILLE locale = 1 |
77 | - | h,t=Mouse.Hit,Mouse.Target |
77 | + | KEYHOLD local = faux |
78 | - | Event:FireServer({isMouse=true,Target=t,Hit=h}) |
78 | + | changement local = 2 / Animation_Speed |
79 | - | end |
79 | + | local WALKINGANIM = faux |
80 | - | end]==],Player.Character) |
80 | + | valeur locale1 = false |
81 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
81 | + | valeur locale2 = false |
82 | - | end |
82 | + | local ROBLOXIDLEANIMATION = IT ("Animation") |
83 | - | plr = owner |
83 | + | ROBLOXIDLEANIMATION.Name = "Animation d'inactivité Roblox" |
84 | - | char = plr.Character |
84 | + | |
85 | - | hum = char.Humanoid |
85 | + | |
86 | - | local cam = game.Workspace.CurrentCamera |
86 | + | WEAPONGUI local = IT ("ScreenGui", PlayerGui) |
87 | - | Camera = cam |
87 | + | |
88 | - | local CamInterrupt = false |
88 | + | Arme locale = IT ("Modèle") |
89 | - | local TwoD = false |
89 | + | Player_Size = 1 --Taille du joueur. |
90 | - | local TargetInfo = {nil, nil} |
90 | + | Weapon.Name = "Ajoute" |
91 | - | cam.CameraType = "Custom" |
91 | + | Effets locaux = IT ("Dossier", Arme) |
92 | - | t = char.Torso |
92 | + | Effects.Name = "Effets" |
93 | - | h = char.Head |
93 | + | ANIMATOR local = Humanoid.Animator |
94 | - | ra = char["Right Arm"] |
94 | + | local ANIMATE = Caractère: FindFirstChild ("Animate") |
95 | - | la = char["Left Arm"] |
95 | + | UNANCHOR local = true |
96 | - | rl = char["Right Leg"] |
96 | + | TOBANISH local = {} |
97 | - | ll = char["Left Leg"] |
97 | + | |
98 | - | tors = char.Torso |
98 | + | |
99 | - | lleg = char["Left Leg"] |
99 | + | - // ================================= \\ |
100 | - | root = char.HumanoidRootPart |
100 | + | - \\ ================================= |
101 | - | hed = char.Head |
101 | + | |
102 | - | rleg = char["Right Leg"] |
102 | + | |
103 | - | rarm = char["Right Arm"] |
103 | + | - // ================================= \\ |
104 | - | larm = char["Left Arm"] |
104 | + | - || CŒUR ARTIFICIEL DE SAZERENOS |
105 | - | radian = math.rad |
105 | + | - \\ ================================= |
106 | - | random = math.random |
106 | + | |
107 | - | Vec3 = Vector3.new |
107 | + | ArtificialHB = Instance.new ("BindableEvent", script) |
108 | - | Inst = Instance.new |
108 | + | |
109 | - | cFrame = CFrame.new |
109 | + | |
110 | - | Euler = CFrame.fromEulerAnglesXYZ |
110 | + | script: WaitForChild ("ArtificialHB") |
111 | - | vt = Vector3.new |
111 | + | |
112 | - | bc = BrickColor.new |
112 | + | |
113 | - | br = BrickColor.random |
113 | + | |
114 | - | it = Instance.new |
114 | + | |
115 | - | cf = CFrame.new |
115 | + | |
116 | lastframe = tick () | |
117 | - | local Booleans = { |
117 | + | script.ArtificialHB: Fire () |
118 | - | CamFollow = true, |
118 | + | |
119 | - | GyroUse = true |
119 | + | jeu: GetService ("RunService"). Heartbeat: connecter (fonction (s, p) |
120 | - | } |
120 | + | |
121 | si tf> = frame alors | |
122 | - | function lerp(object, newCFrame, alpha) |
122 | + | si allowframeloss alors |
123 | - | return object:lerp(newCFrame, alpha) |
123 | + | script.ArtificialHB: Fire () |
124 | - | end |
124 | + | lastframe = tick () |
125 | autre | |
126 | - | local Directer = Inst("BodyGyro", root) |
126 | + | pour i = 1, math.floor (tf / frame) do |
127 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
127 | + | script.ArtificialHB: Fire () |
128 | - | Directer.P = 600000 |
128 | + | fin |
129 | - | local CPart = Inst("Part") |
129 | + | lastframe = tick () |
130 | - | CPart.Anchored = true |
130 | + | fin |
131 | - | CPart.CanCollide = false |
131 | + | si tossremainder alors |
132 | - | CPart.Locked = true |
132 | + | |
133 | - | CPart.Transparency = 1 |
133 | + | autre |
134 | tf = tf - frame * math.floor (tf / frame) | |
135 | - | local rainbowmode = false |
135 | + | fin |
136 | - | local chaosmode = false |
136 | + | fin |
137 | fin) | |
138 | - | local kan = Instance.new("Sound",char) |
138 | + | |
139 | - | kan.Volume = 5 |
139 | + | - // ================================= \\ |
140 | - | kan.TimePosition = 0 |
140 | + | - \\ ================================= |
141 | - | kan.PlaybackSpeed = 1 |
141 | + | |
142 | - | kan.Pitch = 1 |
142 | + | - // ================================= \\ |
143 | - | kan.SoundId = "rbxassetid://" |
143 | + | - || QUELQUES FONCTIONS |
144 | - | kan.Name = "wrecked" |
144 | + | - \\ ================================= |
145 | - | kan.Looped = true |
145 | + | |
146 | - | kan:Play() |
146 | + | fonction Raycast (POSITION, DIRECTION, PLAGE, IGNOREDECENDANTS) |
147 | retourner l'espace de travail: FindPartOnRay (Ray.new (POSITION, DIRECTION.unit * GAMME), IGNOREDECENDANTS) | |
148 | - | local currentThemePlaying = kan.SoundId |
148 | + | fin |
149 | - | local currentPitch = kan.Pitch |
149 | + | |
150 | - | local currentVol = kan.Volume |
150 | + | fonction PositiveAngle (NUMBER) |
151 | - | function newTheme(ID,timepos,pitch,vol) |
151 | + | si NUMBER> = 0 alors |
152 | - | local kanz = kan |
152 | + | |
153 | - | --kanz:Stop() |
153 | + | fin |
154 | - | kanz.Volume = vol |
154 | + | retourner NUMBER |
155 | - | --kanz.TimePosition = timepos |
155 | + | fin |
156 | - | kanz.PlaybackSpeed = pitch |
156 | + | |
157 | - | kanz.Pitch = pitch |
157 | + | fonction NegativeAngle (NUMBER) |
158 | - | kanz.SoundId = ID |
158 | + | si NUMBER <= 0 alors |
159 | - | kanz.Name = "wrecked" |
159 | + | |
160 | - | kanz.Looped = true |
160 | + | fin |
161 | - | currentThemePlaying = kanz.SoundId |
161 | + | retourner NUMBER |
162 | - | currentVol = kanz.Volume |
162 | + | fin |
163 | - | currentPitch = kanz.Pitch |
163 | + | |
164 | - | --kanz:Play() |
164 | + | fonction Swait (NOMBRE) |
165 | - | --coroutine.resume(coroutine.create(function() |
165 | + | si NUMBER == 0 ou NUMBER == nil alors |
166 | - | --wait(0.05) |
166 | + | ArtificialHB.Event: wait () |
167 | - | --end)) |
167 | + | autre |
168 | - | end |
168 | + | pour i = 1, NUMBER fait |
169 | ArtificialHB.Event: wait () | |
170 | fin | |
171 | - | function newThemeCust(ID,timepos,pitch,vol) |
171 | + | fin |
172 | - | local kanz = kan |
172 | + | fin |
173 | - | kanz:Stop() |
173 | + | |
174 | - | kanz.Volume = vol |
174 | + | fonction CreateMesh (MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) |
175 | - | kanz.TimePosition = timepos |
175 | + | NEWMESH local = IT (MAILLE) |
176 | - | kanz.PlaybackSpeed = pitch |
176 | + | si MESH == "SpecialMesh" alors |
177 | - | kanz.Pitch = pitch |
177 | + | |
178 | - | kanz.SoundId = ID |
178 | + | si MESHID ~ = "nil" et MESHID ~ = "" alors |
179 | - | kanz.Name = "wrecked" |
179 | + | |
180 | - | kanz.Looped = true |
180 | + | fin |
181 | - | currentThemePlaying = kanz.SoundId |
181 | + | si TEXTUREID ~ = "nil" et TEXTUREID ~ = "" alors |
182 | - | currentVol = kanz.Volume |
182 | + | |
183 | - | currentPitch = kanz.Pitch |
183 | + | fin |
184 | - | kanz:Play() |
184 | + | fin |
185 | - | coroutine.resume(coroutine.create(function() |
185 | + | NEWMESH.Offset = OFFSET ou VT (0, 0, 0) |
186 | - | wait(0.05) |
186 | + | |
187 | - | end)) |
187 | + | |
188 | - | end |
188 | + | retour NEWMESH |
189 | fin | |
190 | - | local mutedtog = false |
190 | + | |
191 | fonction CreatePart (FORMFACTOR, PARENT, MATERIAU, REFLECTANCE, TRANSPARENCE, BRICKCOLOR, NOM, TAILLE, ANCRAGE) | |
192 | - | function CameraEnshaking(Length,Intensity) |
192 | + | NEWPART local = IT ("Partie") |
193 | - | coroutine.resume(coroutine.create(function() |
193 | + | |
194 | - | local intensity = 1*Intensity |
194 | + | |
195 | - | local rotM = 0.01*Intensity |
195 | + | |
196 | - | for i = 0, Length, 0.1 do |
196 | + | |
197 | - | swait() |
197 | + | |
198 | - | intensity = intensity - 0.05*Intensity/Length |
198 | + | |
199 | - | rotM = rotM - 0.0005*Intensity/Length |
199 | + | si ANCHOR == false alors |
200 | - | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
200 | + | |
201 | - | cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM) |
201 | + | fin |
202 | - | end |
202 | + | NEWPART.BrickColor = BRICKC (chaîne de caractères (BRICKCOLOR)) |
203 | - | Humanoid.CameraOffset = Vec3(0, 0, 0) |
203 | + | NEWPART.Name = NOM |
204 | - | end)) |
204 | + | |
205 | - | end |
205 | + | |
206 | - | CamShake=function(Part,Distan,Power,Times) |
206 | + | |
207 | - | local de=Part.Position |
207 | + | NEWPART: BreakJoints () |
208 | - | for i,v in pairs(workspace:children()) do |
208 | + | |
209 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
209 | + | retour NEWPART |
210 | - | for _,c in pairs(v:children()) do |
210 | + | fin |
211 | - | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then |
211 | + | |
212 | - | local Noob=v.Humanoid |
212 | + | fonction locale soudureBetween (a, b) |
213 | - | if Noob~=nil then |
213 | + | local weldingd = Instance.new ("ManualWeld") |
214 | - | coroutine.resume(coroutine.create(function() |
214 | + | weldingd.Part0 = a |
215 | - | FV = Instance.new("BoolValue", Noob) |
215 | + | weldingd.Part1 = b |
216 | - | FV.Name = "CameraShake" |
216 | + | weldingd.C0 = CFrame.new () |
217 | - | for ShakeNum=1,Times do |
217 | + | weldingd.C1 = b.CFrame: inverse () * a.CFrame |
218 | - | swait() |
218 | + | weldingd.Parent = a |
219 | - | local ef=Power |
219 | + | retour soudé |
220 | - | if ef>=1 then |
220 | + | fin |
221 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
221 | + | |
222 | - | else |
222 | + | |
223 | - | ef=Power*10 |
223 | + | fonction QuaternionFromCFrame (cf) |
224 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
224 | + | mx local, mon, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf: composants () |
225 | - | end |
225 | + | trace locale = m00 + m11 + m22 |
226 | - | end |
226 | + | si trace> 0 alors |
227 | - | Humanoid.CameraOffset = Vector3.new(0,0,0) |
227 | + | local s = math.sqrt (1 + trace) |
228 | - | FV:Destroy() |
228 | + | recip local = 0.5 / s |
229 | - | end)) |
229 | + | retour (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0,5 |
230 | - | CameraShake(Times, Power, Noob) |
230 | + | autre |
231 | - | end |
231 | + | |
232 | - | end |
232 | + | si m11> m00 alors |
233 | - | end |
233 | + | |
234 | - | end |
234 | + | fin |
235 | - | end |
235 | + | si m22> (i == 0 et m00 ou m11) alors |
236 | - | end |
236 | + | |
237 | fin | |
238 | si i == 0 alors | |
239 | - | function chatfunc(text,color,typet,font,timeex) |
239 | + | local s = math.sqrt (m00 - m11 - m22 + 1) |
240 | - | local chat = coroutine.wrap(function() |
240 | + | recip local = 0.5 / s |
241 | - | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
241 | + | retourne 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
242 | - | Character:FindFirstChild("TalkingBillBoard"):destroy() |
242 | + | elseif i == 1 alors |
243 | - | end |
243 | + | local s = math.sqrt (m11 - m22 - m00 + 1) |
244 | - | local naeeym2 = Instance.new("BillboardGui",Character) |
244 | + | recip local = 0.5 / s |
245 | - | naeeym2.Size = UDim2.new(0,100,0,40) |
245 | + | retour (m01 + m10) * recip, 0,5 * s, (m21 + m12) * recip, (m02 - m20) * recip |
246 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
246 | + | elseif i == 2 alors |
247 | - | naeeym2.Adornee = Character.Head |
247 | + | local s = math.sqrt (m22 - m00 - m11 + 1) |
248 | - | naeeym2.Name = "TalkingBillBoard" |
248 | + | recip local = 0.5 / s retour (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip |
249 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
249 | + | fin |
250 | - | tecks2.BackgroundTransparency = 1 |
250 | + | fin |
251 | - | tecks2.BorderSizePixel = 0 |
251 | + | fin |
252 | - | tecks2.Text = "" |
252 | + | |
253 | - | tecks2.Font = font |
253 | + | fonction QuaternionToCFrame (px, py, pz, x, y, z, w) |
254 | - | tecks2.TextSize = 30 |
254 | + | xs locaux, ys, zs = x + x, y + y, z + z |
255 | - | tecks2.TextStrokeTransparency = 0 |
255 | + | |
256 | - | tecks2.TextColor3 = color |
256 | + | |
257 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
257 | + | |
258 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
258 | + | |
259 | - | local tecks3 = Instance.new("TextLabel",naeeym2) |
259 | + | |
260 | - | tecks3.BackgroundTransparency = 1 |
260 | + | |
261 | - | tecks3.BorderSizePixel = 0 |
261 | + | |
262 | - | tecks3.Text = "" |
262 | + | retour 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)) |
263 | - | tecks3.Font = font |
263 | + | fin |
264 | - | tecks3.TextSize = 30 |
264 | + | |
265 | - | tecks3.TextStrokeTransparency = 0 |
265 | + | fonction QuaternionSlerp (a, b, t) |
266 | - | if typet == "Inverted" then |
266 | + | cosTheta locale = a [1] * b [1] + a [2] * b [2] + a [3] * b [3] + a [4] * b [4] |
267 | - | tecks3.TextColor3 = Color3.new(0,0,0) |
267 | + | |
268 | - | tecks3.TextStrokeColor3 = color |
268 | + | si cosTheta> = 0.0001 alors |
269 | - | elseif typet == "Normal" then |
269 | + | si (1 - cosTheta)> 0,0001 alors |
270 | - | tecks3.TextColor3 = color |
270 | + | thêta local = ACOS (cosTheta) |
271 | - | tecks3.TextStrokeColor3 = Color3.new(0,0,0) |
271 | + | invSinTheta local = 1 / SIN (thêta) |
272 | - | end |
272 | + | startInterp = SIN ((1 - t) * thêta) * invSinTheta |
273 | - | tecks3.Size = UDim2.new(1,0,0.5,0) |
273 | + | finishInterp = SIN (t * thêta) * invSinTheta |
274 | - | coroutine.resume(coroutine.create(function() |
274 | + | autre |
275 | - | while true do |
275 | + | |
276 | - | swait(1) |
276 | + | |
277 | - | if chaosmode == true then |
277 | + | fin |
278 | - | tecks2.TextColor3 = BrickColor.random().Color |
278 | + | autre |
279 | - | tecks3.TextStrokeColor3 = BrickColor.random().Color |
279 | + | si (1 + cosTheta)> 0,0001 alors |
280 | - | end |
280 | + | thêta local = ACOS (-cosTheta) |
281 | - | end |
281 | + | invSinTheta local = 1 / SIN (thêta) |
282 | - | end)) |
282 | + | startInterp = SIN ((t - 1) * thêta) * invSinTheta |
283 | - | modet.TextTransparency = modet.TextTransparency + 1 |
283 | + | finishInterp = SIN (t * thêta) * invSinTheta |
284 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1 |
284 | + | autre |
285 | - | for i = 0, 74*timeex do |
285 | + | |
286 | - | swait() |
286 | + | |
287 | - | modet.TextTransparency = 1 |
287 | + | fin |
288 | - | modet.TextStrokeTransparency = 1 |
288 | + | fin |
289 | - | tecks2.Text = text |
289 | + | retourne un [1] * startInterp + b [1] * finishInterp, un [2] * startInterp + b [2] * finishInterp, un [3] * startInterp + b [3] * finishInterp, un [4] * startInterp + b [4] * finishInterp |
290 | - | tecks3.Text = text |
290 | + | fin |
291 | - | end |
291 | + | |
292 | - | local randomrot = math.random(1,2) |
292 | + | fonction Clerp (a, b, t) |
293 | - | if randomrot == 1 then |
293 | + | qa local = {QuaternionFromCFrame (a)} |
294 | - | for i = 1, 50 do |
294 | + | qb local = {QuaternionFromCFrame (b)} |
295 | - | swait() |
295 | + | axe local, ay, az = axe, ay, az |
296 | - | tecks2.Text = text |
296 | + | bx local, par, bz = bx, par, bz |
297 | - | tecks3.Text = text |
297 | + | |
298 | - | modet.TextTransparency = modet.TextTransparency - .02 |
298 | + | retourne QuaternionToCFrame (_t * ax + t * bx, _t * ay + t * par, _t * az + t * bz, QuaternionSlerp (qa, qb, t)) |
299 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
299 | + | fin |
300 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
300 | + | |
301 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
301 | + | fonction CreateFrame (PARENT, TRANSPARENCE, BORDERSIZEPIXEL, POSITION, TAILLE, COULEUR, BORDERCOLORE, NOM) |
302 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
302 | + | frame local = IT ("Frame") |
303 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
303 | + | |
304 | - | end |
304 | + | |
305 | - | elseif randomrot == 2 then |
305 | + | |
306 | - | for i = 1, 50 do |
306 | + | |
307 | - | swait() |
307 | + | frame.BackgroundColor3 = COULEUR |
308 | - | tecks2.Text = text |
308 | + | |
309 | - | tecks3.Text = text |
309 | + | frame.Name = NOM |
310 | - | modet.TextTransparency = modet.TextTransparency - .02 |
310 | + | |
311 | - | modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02 |
311 | + | cadre de retour |
312 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
312 | + | fin |
313 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
313 | + | |
314 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
314 | + | fonction CreateLabel (PARENT, TEXTE, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) |
315 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
315 | + | label local = IT ("TextLabel") |
316 | - | end |
316 | + | |
317 | - | end |
317 | + | label.Size = UD2 (1, 0, 1, 0) |
318 | - | modet.TextTransparency = 0 |
318 | + | label.Position = UD2 (0, 0, 0, 0) |
319 | - | modet.TextStrokeTransparency = 0 |
319 | + | |
320 | - | if toggleTag == false then |
320 | + | |
321 | - | modet.TextTransparency = 1 |
321 | + | |
322 | - | modet.TextStrokeTransparency = 1 |
322 | + | |
323 | - | end |
323 | + | |
324 | - | naeeym2:Destroy() |
324 | + | |
325 | - | end) |
325 | + | |
326 | - | chat() |
326 | + | |
327 | - | end |
327 | + | label.Name = NOM |
328 | label.Parent = PARENT | |
329 | - | function bosschatfunc(text,color,watval) |
329 | + | étiquette de retour |
330 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
330 | + | fin |
331 | - | coroutine.resume(coroutine.create(function() |
331 | + | |
332 | - | if v.PlayerGui:FindFirstChild("Dialog")~= nil then |
332 | + | fonction NoOutlines (PART) |
333 | - | v.PlayerGui:FindFirstChild("Dialog"):destroy() |
333 | + | |
334 | - | end |
334 | + | fin |
335 | - | local scrg = Instance.new("ScreenGui",v.PlayerGui) |
335 | + | |
336 | - | CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) |
336 | + | fonction CreateWeldOrSnapOrMotor (TYPE, PARENT, PART0, PART1, C0, C1) |
337 | - | scrg.Name = "Dialog" |
337 | + | local NEWWELD = IT (TYPE) |
338 | - | local txtlb = Instance.new("TextLabel",scrg) |
338 | + | |
339 | - | txtlb.Text = "" |
339 | + | |
340 | - | txtlb.Font = "Bodoni" |
340 | + | |
341 | - | txtlb.TextColor3 = Color3.new(0,0,0) |
341 | + | |
342 | - | txtlb.TextStrokeTransparency = 0 |
342 | + | |
343 | - | txtlb.BackgroundTransparency = 0.75 |
343 | + | retourner NEWWELD |
344 | - | txtlb.BackgroundColor3 = Color3.new(0,0,0) |
344 | + | fin |
345 | - | txtlb.TextStrokeColor3 = color |
345 | + | |
346 | - | txtlb.TextScaled = true |
346 | + | local S = IT ("Son") |
347 | - | txtlb.Size = UDim2.new(1,0,0.25,0) |
347 | + | Fonction CreateSound (ID, PARENT, VOLUME, PITCH, DOESLOOP) |
348 | - | txtlb.TextXAlignment = "Left" |
348 | + | |
349 | - | txtlb.Position = UDim2.new(0,0,0.75 + 1,0) |
349 | + | coroutine.resume (coroutine.create (function () |
350 | - | local txtlb2 = Instance.new("TextLabel",scrg) |
350 | + | NEWSOUND = S: Clone () |
351 | - | txtlb2.Text = "Lunar Banisher" |
351 | + | |
352 | - | txtlb2.Font = "Arcade" |
352 | + | |
353 | - | txtlb2.TextColor3 = Color3.new(0,0,0) |
353 | + | |
354 | - | txtlb2.TextStrokeTransparency = 0 |
354 | + | |
355 | - | txtlb2.BackgroundTransparency = 1 |
355 | + | NEWSOUND: play () |
356 | - | txtlb2.TextStrokeColor3 = color |
356 | + | si DOESLOOP == true alors |
357 | - | txtlb2.TextSize = 40 |
357 | + | |
358 | - | txtlb2.Size = UDim2.new(1,0,0.25,0) |
358 | + | autre |
359 | - | txtlb2.TextXAlignment = "Left" |
359 | + | répéter wait (1) jusqu'à NEWSOUND.Playing == false ou NEWSOUND.Parent ~ = PARENT |
360 | - | txtlb2.Position = UDim2.new(0,0,1,0) |
360 | + | NEWSOUND: remove () |
361 | - | local fvalen = 0.55 |
361 | + | fin |
362 | - | local fval = -0.49 |
362 | + | fin)) |
363 | - | coroutine.resume(coroutine.create(function() |
363 | + | retour NEWSOUND |
364 | - | while true do |
364 | + | fin |
365 | - | swait() |
365 | + | |
366 | - | if chaosmode == true then |
366 | + | fonction CFrameFromTopBack (en haut, en bas) |
367 | - | txtlb.Rotation = math.random(-1,1) |
367 | + | local droite = top: croix (retour) |
368 | - | txtlb2.Rotation = math.random(-1,1) |
368 | + | retourne CF (at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z ) |
369 | - | txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
369 | + | fin |
370 | - | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
370 | + | |
371 | - | txtlb.TextStrokeColor3 = BrickColor.random().Color |
371 | + | --WACKYEFFECT ({EffectType = "", Taille = VT (1,1,1), Size2 = VT (0,0,0), Transparence = 0, Transparence2 = 1, CFrame = CF (), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
372 | - | txtlb2.TextStrokeColor3 = BrickColor.random().Color |
372 | + | fonction WACKYEFFECT (tableau) |
373 | - | end |
373 | + | TYPE local = (Table.EffectType ou "Sphere") |
374 | - | end |
374 | + | TAILLE locale = (Table.Size ou VT (1,1,1)) |
375 | - | end)) |
375 | + | ENDSIZE local = (Table.Size2 ou VT (0,0,0)) |
376 | - | coroutine.resume(coroutine.create(function() |
376 | + | TRANSPARENCY local = (Table.Transparency ou 0) |
377 | - | while true do |
377 | + | ENDTRANSPARENCY local = (Table.Transparency2 ou 1) |
378 | - | swait() |
378 | + | local CFRAME = (Table.CFrame ou Torso.CFrame) |
379 | - | if scrg.Parent ~= nil then |
379 | + | local MOVEDIRECTION = (Table.MoveToPos ou nil) |
380 | - | fvalen = fvalen - 0.0001 |
380 | + | ROTATION1 locale = (Table.RotationX ou 0) |
381 | - | elseif scrg.Parent == nil then |
381 | + | ROTATION2 locale = (Table.RotationY ou 0) |
382 | - | break |
382 | + | ROTATION3 locale = (Table.RotationZ ou 0) |
383 | - | end |
383 | + | MATERIEL local = (Table.Material ou "Neon") |
384 | - | end |
384 | + | COLOR local = (Table.Color ou C3 (1,1,1)) |
385 | - | end)) |
385 | + | heure locale = (heure de la table ou 45) |
386 | - | local flol = 1.75 |
386 | + | SOUNDID local = (Table.SoundID ou nil) |
387 | - | local flil = 1.6 |
387 | + | SOUNDPITCH local = (Table.SoundPitch ou nil) |
388 | - | coroutine.resume(coroutine.create(function() |
388 | + | SOUNDVOLUME local = (Table.SoundVolume ou nil) |
389 | - | for i = 0, 9 do |
389 | + | coroutine.resume (coroutine.create (function () |
390 | - | swait() |
390 | + | |
391 | - | fval = fval + 0.05 |
391 | + | son local = nul |
392 | - | flol = flol - 0.1 |
392 | + | EFFECT local = CreatePart (3, Effets, MATERIAU, 0, TRANSPARENCE, BRICKC ("Perle"), "Effet", VT (1,1,1), true) |
393 | - | flil = flil - 0.1 |
393 | + | si SOUNDID ~ = nil et SOUNDPITCH ~ = nil et SOUNDVOLUME ~ = nil alors |
394 | - | txtlb.Text = "" |
394 | + | |
395 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
395 | + | SOUND = CreateSound (SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) |
396 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
396 | + | fin |
397 | - | end |
397 | + | EFFECT.Color = COULEUR |
398 | - | txtlb.Text = text |
398 | + | MSH local = nul |
399 | - | wait(watval) |
399 | + | si TYPE == "Sphère" alors |
400 | - | local valinc = 0 |
400 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "Sphère", "", "", TAILLE, VT (0,0,0)) |
401 | - | for i = 0, 99 do |
401 | + | elseif TYPE == "Bloquer" alors |
402 | - | swait() |
402 | + | MSH = IT ("BlockMesh", EFFECT) |
403 | - | valinc = valinc + 0.0001 |
403 | + | MSH.Scale = VT (SIZE.X, SIZE.X, SIZE.X) |
404 | - | flol = flol + valinc |
404 | + | elseif TYPE == "Wave" alors |
405 | - | flil = flil + valinc |
405 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT (0,0, -SIZE.X / 8)) |
406 | - | txtlb.Rotation = txtlb.Rotation + valinc*20 |
406 | + | elseif TYPE == "Ring" puis |
407 | - | txtlb2.Rotation = txtlb2.Rotation - valinc*50 |
407 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT (SIZE.X, SIZE.X, 0.1), VT (0,0,0)) |
408 | - | txtlb.Position = UDim2.new(0,0,flol,0) |
408 | + | elseif TYPE == "Slash" puis |
409 | - | txtlb2.Position = UDim2.new(0,0,flil,0) |
409 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT (SIZE.X / 10,0, SIZE.X / 10), VT (0,0,0)) |
410 | - | txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 |
410 | + | elseif TYPE == "Round Slash" puis |
411 | - | txtlb.TextTransparency = txtlb.TextTransparency + 0.01 |
411 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT (SIZE.X / 10,0, SIZE.X / 10), VT (0,0,0)) |
412 | - | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
412 | + | elseif TYPE == "Swirl" puis |
413 | - | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
413 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT (0,0,0)) |
414 | - | txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 |
414 | + | elseif TYPE == "Crâne" alors |
415 | - | end |
415 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT (0,0,0)) |
416 | - | scrg:Destroy() |
416 | + | elseif TYPE == "Crystal" alors |
417 | - | end)) |
417 | + | MSH = CreateMesh ("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT (0,0,0)) |
418 | - | end)) |
418 | + | fin |
419 | - | end |
419 | + | si MSH ~ = nul alors |
420 | - | end |
420 | + | |
421 | si MOVEDIRECTION ~ = nil alors | |
422 | - | local disably = false |
422 | + | MOVESPEED = (CFRAME.p - MOVEDIRECTION) .Magnitude / TIME |
423 | - | function warnedpeople(text,represfont,color,color2) |
423 | + | fin |
424 | - | if disably ~= true then |
424 | + | CROISSANCE locale = TAILLE - FINISSEZ |
425 | - | CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1) |
425 | + | TRANS local = TRANSPARENCY - ENDTRANSPARENCY |
426 | - | CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1) |
426 | + | si TYPE == "Block" alors |
427 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
427 | + | EFFECT.CFrame = CFRAME * ANGLES (RAD (MRANDOM (0,360)), RAD (MRANDOM (0,360)), RAD (MRANDOM (0,360))) |
428 | - | coroutine.resume(coroutine.create(function() |
428 | + | autre |
429 | - | if v.PlayerGui:FindFirstChild("Spinny")~= nil then |
429 | + | |
430 | - | v.PlayerGui:FindFirstChild("Spinny"):destroy() |
430 | + | fin |
431 | - | end |
431 | + | pour LOOP = 1, TIME + 1 do |
432 | - | local scrg = Instance.new("ScreenGui",v.PlayerGui) |
432 | + | Swait () |
433 | - | scrg.Name = "Spinny" |
433 | + | MSH.Scale = MSH.Scale - CROISSANCE / TEMPS |
434 | - | local frm = Instance.new("Frame",scrg) |
434 | + | si TYPE == "Wave" alors |
435 | - | frm.BackgroundTransparency = 0.25 |
435 | + | MSH.Offset = VT (0,0, -MSH.Scale.X / 8) |
436 | - | frm.BackgroundColor3 = color |
436 | + | fin |
437 | - | frm.BorderSizePixel = 0 |
437 | + | EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME |
438 | - | frm.Rotation = 45 |
438 | + | si TYPE == "Block" alors |
439 | - | frm.Size = UDim2.new(3,0,0,100) |
439 | + | EFFECT.CFrame = CFRAME * ANGLES (RAD (MRANDOM (0,360)), RAD (MRANDOM (0,360)), RAD (MRANDOM (0,360))) |
440 | - | frm.Position = UDim2.new(-4,0,0,0) |
440 | + | autre |
441 | - | local frm2 = frm:Clone() |
441 | + | EFFECT.CFrame = EFFECT.CFrame * ANGLES (RAD (ROTATION1), RAD (ROTATION2), RAD (ROTATION3)) |
442 | - | frm2.Parent = scrg |
442 | + | fin |
443 | - | frm2.BackgroundColor3 = color2 |
443 | + | si MOVEDIRECTION ~ = nil alors |
444 | - | frm2.Position = UDim2.new(-4.05,0,0,0) |
444 | + | ORI local = EFFECT.Orientation |
445 | - | local imlb = Instance.new("ImageLabel",scrg) |
445 | + | EFFECT.CFrame = CF (EFFECT.Position, MOVEDIRECTION) * CF (0,0, -MOVESPEED) |
446 | - | imlb.BackgroundTransparency = 1 |
446 | + | |
447 | - | imlb.BackgroundColor3 = Color3.new(0,0,0) |
447 | + | fin |
448 | - | imlb.Image = "rbxassetid://2344851144" |
448 | + | fin |
449 | - | imlb.Size = UDim2.new(0,750,0,750) |
449 | + | si PLAYSSOUND == faux alors |
450 | - | imlb.ImageColor3 = color2 |
450 | + | EFFET: remove () |
451 | - | imlb.ImageTransparency = 0.25 |
451 | + | autre |
452 | - | imlb.Position = UDim2.new(-2.5,0,-2.5,0) |
452 | + | SOUND.Stopped: Connect (fonction () |
453 | - | local imlb2 = imlb:Clone() |
453 | + | EFFET: remove () |
454 | - | imlb2.Image = "rbxassetid://2325939897" |
454 | + | fin) |
455 | - | imlb2.Size = UDim2.new(1,0,1,0) |
455 | + | fin |
456 | - | imlb2.ImageColor3 = color |
456 | + | autre |
457 | - | imlb2.ImageTransparency = 0 |
457 | + | si PLAYSSOUND == faux alors |
458 | - | imlb2.Position = UDim2.new(0,0,0,0) |
458 | + | EFFET: remove () |
459 | - | local imlb3 = imlb:Clone() |
459 | + | autre |
460 | - | imlb3.Image = "rbxassetid://2344830904" |
460 | + | répéter Swait () jusqu'à SOUND.Playing == false |
461 | - | imlb3.Size = UDim2.new(1,0,1,0) |
461 | + | EFFET: remove () |
462 | - | imlb3.ImageColor3 = color2 |
462 | + | fin |
463 | - | imlb3.ImageTransparency = 0 |
463 | + | fin |
464 | - | imlb3.Position = UDim2.new(0,0,0,0) |
464 | + | fin)) |
465 | - | local imlb4 = imlb:Clone() |
465 | + | fin |
466 | - | imlb4.Image = "rbxassetid://2344870656" |
466 | + | |
467 | - | imlb4.Size = UDim2.new(3,0,3,0) |
467 | + | fonction MakeForm (PART, TYPE) |
468 | - | imlb4.ImageColor3 = Color3.new(1,1,1) |
468 | + | si TYPE == "Cyl" alors |
469 | - | imlb4.ImageTransparency = 0 |
469 | + | MSH local = IT ("CylinderMesh", PART) |
470 | - | imlb4.Position = UDim2.new(-1,0,-1,0) |
470 | + | elseif TYPE == "Ball" alors |
471 | - | local imlb5 = imlb:Clone() |
471 | + | MSH local = IT ("SpecialMesh", PART) |
472 | - | imlb5.Image = "rbxassetid://2344870656" |
472 | + | |
473 | - | imlb5.Size = UDim2.new(10,0,10,0) |
473 | + | elseif TYPE == "Wedge" alors |
474 | - | imlb5.ImageColor3 = color2 |
474 | + | MSH local = IT ("SpecialMesh", PART) |
475 | - | imlb5.ImageTransparency = 0 |
475 | + | |
476 | - | imlb5.Position = UDim2.new(-4.5,0,-4.5,0) |
476 | + | fin |
477 | - | imlb2.Parent = imlb |
477 | + | fin |
478 | - | imlb3.Parent = imlb |
478 | + | |
479 | - | imlb4.Parent = imlb |
479 | + | fonction SpawnTrail (FROM, TO, BIG) |
480 | - | imlb5.Parent = imlb |
480 | + | local TRAIL = CreatePart (3, Effets, "Néon", 0, 0.5, "Vraiment rouge", "Tracé", VT (0,0,0)) |
481 | - | local txtlb2 = Instance.new("TextLabel",imlb) |
481 | + | MakeForm (TRAIL, "Cyl") |
482 | - | txtlb2.Text = text |
482 | + | local DIST = (FROM - TO) .Magnitude |
483 | - | txtlb2.Font = represfont |
483 | + | si GRAND == vrai alors |
484 | - | txtlb2.TextColor3 = color |
484 | + | TRAIL.Size = VT (0.8, DIST, 0.8) |
485 | - | txtlb2.TextStrokeTransparency = 0 |
485 | + | autre |
486 | - | txtlb2.BackgroundTransparency = 1 |
486 | + | TRAIL.Size = VT (0,35, DIST, 0,35) |
487 | - | txtlb2.TextStrokeColor3 = color2 |
487 | + | fin |
488 | - | txtlb2.TextScaled = true |
488 | + | TRAIL.CFrame = CF (DE, TO) * CF (0, 0, -DIST / 2) * ANGLES (RAD (90), RAD (0), RAD (0)) |
489 | - | txtlb2.Size = UDim2.new(1,0,1,0) |
489 | + | coroutine.resume (coroutine.create (function () |
490 | - | txtlb2.Position = UDim2.new(0,0,0,0) |
490 | + | pour i = 1, 5 do |
491 | - | local fvalen = 0.55 |
491 | + | Swait () |
492 | - | local fval = -0.49 |
492 | + | |
493 | - | coroutine.resume(coroutine.create(function() |
493 | + | fin |
494 | - | while true do |
494 | + | TRAIL: remove () |
495 | - | swait() |
495 | + | fin)) |
496 | - | if chaosmode == true then |
496 | + | fin |
497 | - | txtlb2.Rotation = math.random(-1,1) |
497 | + | |
498 | - | imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
498 | + | Débris = jeu: GetService ("Débris") |
499 | - | txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5) |
499 | + | |
500 | - | imlb.ImageColor3 = BrickColor.random().Color |
500 | + | fonction CastProperRay (StartPos, EndPos, Distance, Ignore) |
501 | - | txtlb2.TextStrokeColor3 = BrickColor.random().Color |
501 | + | local DIRECTION = CF (StartPos, EndPos) .lookVector |
502 | - | end |
502 | + | retourne Raycast (StartPos, DIRECTION, Distance, Ignore) |
503 | - | end |
503 | + | fin |
504 | - | end)) |
504 | + | |
505 | - | coroutine.resume(coroutine.create(function() |
505 | + | fonction turnto (position) |
506 | - | while true do |
506 | + | RootPart.CFrame = CFrame.new (RootPart.CFrame.p, VT (position.X, RootPart.Position.Y, position.Z)) * CFrame.new (0, 0, 0) |
507 | - | swait() |
507 | + | fin |
508 | - | if scrg.Parent ~= nil then |
508 | + | |
509 | - | fvalen = fvalen - 0.0001 |
509 | + | |
510 | - | elseif scrg.Parent == nil then |
510 | + | - // ================================= \\ |
511 | - | break |
511 | + | - || CRÉATION D'ARMES |
512 | - | end |
512 | + | - \\ ================================= |
513 | - | end |
513 | + | |
514 | - | end)) |
514 | + | |
515 | - | local flol = -5 |
515 | + | Particle local = IT ("ParticleEmitter", nil) |
516 | - | local flil = 1.6 |
516 | + | |
517 | - | coroutine.resume(coroutine.create(function() |
517 | + | Particle.Transparency = NumberSequence.new ({NumberSequenceKeypoint.new (0,0.3), NumberSequenceKeypoint.new (0.3,0), NumberSequenceKeypoint.new (1,1)}) |
518 | - | for i = 0, 49 do |
518 | + | |
519 | - | swait() |
519 | + | |
520 | - | flol = flol + 0.125 |
520 | + | |
521 | - | flil = flil - 0.1 |
521 | + | Particle.Rotation = NumberRange.new (-180, 180) |
522 | - | frm.Size = frm.Size + UDim2.new(0.1,0,0,0) |
522 | + | Particle.RotSpeed = NumberRange.new (-180, 180) |
523 | - | frm.Rotation = frm.Rotation - 0.25 |
523 | + | |
524 | - | frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0) |
524 | + | Particle.Color = ColorSequence.new (C3 (1,0,0), C3 (0.4,0,0)) |
525 | - | frm2.Rotation = frm.Rotation + 0.325 |
525 | + | |
526 | - | imlb3.Rotation = imlb3.Rotation - 10 |
526 | + | --ParticuleEmetteur ({Vitesse = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Activé = false}) |
527 | - | imlb2.Rotation = imlb.Rotation + 7.5 |
527 | + | fonction ParticleEmitter (Table) |
528 | - | imlb.Rotation = imlb.Rotation + 5 |
528 | + | PRTCL local = Particle: Clone () |
529 | - | txtlb2.Rotation = txtlb2.Rotation - 5.125 |
529 | + | vitesse locale = Table.Speed ou 5 |
530 | - | imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0) |
530 | + | local Drag = Table.Drag ou 0 |
531 | - | end |
531 | + | local Size1 = Table.Size1 ou 1 |
532 | - | for i = 0, 99 do |
532 | + | local Size2 = Table.Size2 ou 5 |
533 | - | swait() |
533 | + | local Lifetime1 = Table.Lifetime1 ou 1 |
534 | - | fval = fval + 0.05 |
534 | + | local Lifetime2 = Table.Lifetime2 ou 1.5 |
535 | - | flol = flol + 0.005 |
535 | + | parent local = Table.Parent ou Torse |
536 | - | frm.Size = frm.Size + UDim2.new(0.005,0,0,0) |
536 | + | Emit local = Table.Emit ou 100 |
537 | - | frm.Rotation = frm.Rotation - 0.075 |
537 | + | Décalage local = Table.Offset ou 360 |
538 | - | frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0) |
538 | + | local Acel = Table.Acel ou VT (0,0,0) |
539 | - | frm2.Rotation = frm2.Rotation + 0.125 |
539 | + | local Enabled = Table.Enabled ou false |
540 | - | imlb3.Rotation = imlb3.Rotation - 2 |
540 | + | |
541 | - | imlb2.Rotation = imlb.Rotation + 1.5 |
541 | + | PRTCL.Size = NumberSequence.new (Size1, Size2) |
542 | - | imlb.Rotation = imlb.Rotation + 1 |
542 | + | PRTCL.Lifetime = NumberRange.new (Lifetime1, Lifetime2) |
543 | - | txtlb2.Rotation = txtlb2.Rotation - 1.125 |
543 | + | PRTCL.Speed = NumberRange.new (Speed) |
544 | - | imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0) |
544 | + | PRTCL.VelocitySpread = Décalage |
545 | - | end |
545 | + | |
546 | - | local valinc = 0 |
546 | + | |
547 | - | local vinc2 = 1 |
547 | + | si activé == faux alors |
548 | - | for i = 0, 99 do |
548 | + | PRTCL: Emit (Emit) |
549 | - | swait() |
549 | + | Débris: AddItem (PRTCL, Lifetime2) |
550 | - | vinc2 = vinc2 + 0.25 |
550 | + | autre |
551 | - | valinc = valinc + 0.0001 |
551 | + | |
552 | - | flol = flol + valinc |
552 | + | fin |
553 | - | flil = flil + valinc |
553 | + | retourner PRTCL |
554 | - | txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2 |
554 | + | fin |
555 | - | imlb3.Rotation = imlb3.Rotation - 2*vinc2 |
555 | + | |
556 | - | imlb.Rotation = imlb.Rotation + 1*vinc2 |
556 | + | local Handle = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Pièce", VT (0.2,0.6,0.2), false) |
557 | - | imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0) |
557 | + | local RightArmGrasp = CreateWeldOrSnapOrMotor ("Weld", Handle, RightArm, Handle, CF (0, -1, 0) * ANGLES (RAD (90), RAD (0), RAD (0)), CF (0, 0.21, 0 )) |
558 | - | frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0) |
558 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.2,0.5,0.2), false) |
559 | - | frm.Rotation = frm.Rotation + 0.1*vinc2 |
559 | + | MakeForm (Part, "Wedge") |
560 | - | frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0) |
560 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,3, 0,2) * ANGLES (RAD (0), RAD (180), RAD (0)), CF (0, 0, 0)) |
561 | - | frm2.Rotation = frm2.Rotation + 0.225*vinc2 |
561 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.2,0.3,0.2), false) |
562 | - | frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075 |
562 | + | MakeForm (Part, "Wedge") |
563 | - | frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075 |
563 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,4, 0) * ANGLES (RAD (0), RAD (0), RAD (180)), CF (0, 0, 0)) |
564 | - | imlb.ImageTransparency = imlb.ImageTransparency + 0.005 |
564 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.3,0.3,0.3), false) |
565 | - | imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01 |
565 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,5, 0,2) * ANGLES (RAD (0), RAD (0), CF (0, 0, 0)) |
566 | - | imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01 |
566 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.3,0.5,0.5), false) |
567 | - | imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01 |
567 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,6, 0,5) * ANGLES (RAD (0), RAD (0), CF (0, 0, 0)) |
568 | - | imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01 |
568 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.4,0.4,0.4), false) |
569 | - | txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01 |
569 | + | MakeForm (Part, "Cyl") |
570 | - | txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01 |
570 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,6, 0,5) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
571 | - | end |
571 | + | pour i = 1, 8 do |
572 | - | scrg:Destroy() |
572 | + | local Piece = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Oeil", VT (0,0.35,0.41), faux) |
573 | - | end)) |
573 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Pièce, Pièce, CF (0, 0, 0) * ANGLES (RAD (0), RAD ((360/8) * i), RAD (0)), CF (0, 0 , 0)) |
574 | - | end)) |
574 | + | fin |
575 | - | end |
575 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Oeil", VT (0.38,0.41,0.38), faux) |
576 | - | end |
576 | + | MakeForm (Part, "Cyl") |
577 | - | end |
577 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,6, 0,5) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
578 | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.37,0.5,0.37), false) | |
579 | - | local Create = LoadLibrary("RbxUtility").Create |
579 | + | MakeForm (Part, "Ball") |
580 | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,6, 0,3) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) | |
581 | - | CFuncs = { |
581 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.2,0.7,0.4), false) |
582 | - | ["Part"] = { |
582 | + | MakeForm (Part, "Wedge") |
583 | - | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) |
583 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,7, 0,5) * ANGLES (RAD (90), RAD (180), RAD (180)), CF (0, 0, 0)) |
584 | - | local Part = Create("Part"){ |
584 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.3,0.4,0.2), false) |
585 | - | Parent = Parent, |
585 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,6, 0,7) * ANGLES (RAD (0), RAD (0), CF (0, 0, 0)) |
586 | - | Reflectance = Reflectance, |
586 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.35,0.35,0.35), false) |
587 | - | Transparency = Transparency, |
587 | + | MakeForm (Part, "Cyl") |
588 | - | CanCollide = false, |
588 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,6, 0,7) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
589 | - | Locked = true, |
589 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.5,0.1,0.5), false) |
590 | - | BrickColor = BrickColor.new(tostring(BColor)), |
590 | + | MakeForm (Part, "Cyl") |
591 | - | Name = Name, |
591 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,6, 1) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
592 | - | Size = Size, |
592 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.5,0.1,0.45), false) |
593 | - | Material = Material, |
593 | + | MakeForm (Part, "Cyl") |
594 | - | } |
594 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Pièce, CF (0, -0,6, 1.1) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
595 | - | RemoveOutlines(Part) |
595 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.2,0.5,0.2), false) |
596 | - | return Part |
596 | + | MakeForm (Part, "Wedge") |
597 | - | end; |
597 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,55, 0,2) * ANGLES (RAD (-135), RAD (0), CF (0, -0,3, 0) ) |
598 | - | }; |
598 | + | LASTPART local = Handle |
599 | - | |
599 | + | pour i = 1, 10 do |
600 | - | ["Mesh"] = { |
600 | + | si LASTPART == Handle alors |
601 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
601 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.1,0.2,0), false) |
602 | - | local Msh = Create(Mesh){ |
602 | + | |
603 | - | Parent = Part, |
603 | + | CreateWeldOrSnapOrMotor ("Soudure", Poignée, Poignée, Pièce, CF (0, -0,1, 0,2) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
604 | - | Offset = OffSet, |
604 | + | autre |
605 | - | Scale = Scale, |
605 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.1,0.05,0), false) |
606 | - | } |
606 | + | CreateWeldOrSnapOrMotor ("Soudure", poignée, LASTPART, pièce, CF (0, 0.025, 0) * ANGLES (RAD (8), RAD (0), RAD (0)), CF (0, -0,025, 0)) |
607 | - | if Mesh == "SpecialMesh" then |
607 | + | |
608 | - | Msh.MeshType = MeshType |
608 | + | fin |
609 | - | Msh.MeshId = MeshId |
609 | + | fin |
610 | - | end |
610 | + | |
611 | - | return Msh |
611 | + | local Barrel = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Pièce", VT (0.15,2,0.15), false) |
612 | - | end; |
612 | + | MakeForm (Barrel, "Cyl") |
613 | - | }; |
613 | + | CreateWeldOrSnapOrMotor ("Weld", Poignée, Poignée, Baril, CF (0, -0,6, 1,8) * ANGLES (RAD (90), RAD (0), CF (0, 0, 0)) |
614 | - | |
614 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0.25,1,0.25), false) |
615 | - | ["Mesh"] = { |
615 | + | MakeForm (Part, "Cyl") |
616 | - | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
616 | + | CreateWeldOrSnapOrMotor ("Weld", poignée, baril, pièce, CF (0, -0,6, 0), CF (0, 0, 0)) |
617 | - | local Msh = Create(Mesh){ |
617 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0,0.1,0.2), false) |
618 | - | Parent = Part, |
618 | + | MakeForm (Part, "Wedge") |
619 | - | Offset = OffSet, |
619 | + | CreateWeldOrSnapOrMotor ("Weld", poignée, baril, pièce, CF (0, 0.945, 0.1) * ANGLES (RAD (180), RAD (0), RAD (0)), CF (0, 0, 0)) |
620 | - | Scale = Scale, |
620 | + | trou local = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Oeil", VT (0.125,0,0.125), faux) |
621 | - | } |
621 | + | MakeForm (Trou, "Cyl") |
622 | - | if Mesh == "SpecialMesh" then |
622 | + | CreateWeldOrSnapOrMotor ("Weld", poignée, baril, trou, CF (0, 0.98, 0), CF (0, 0, 0)) |
623 | - | Msh.MeshType = MeshType |
623 | + | local Part = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Partie", VT (0,0,0), false) |
624 | - | Msh.MeshId = MeshId |
624 | + | local GEARWELD = CreateWeldOrSnapOrMotor ("Weld", poignée, poignée, pièce, CF (0, -0,6, 0,7), CF (0, 0, 0)) |
625 | - | end |
625 | + | CreateMesh ("SpecialMesh", Part, "FileMesh", 156292343, "", VT (0.8,0.8,1.5), VT (0,0,0.2)) |
626 | - | return Msh |
626 | + | partie locale = CreatePart (3, Arme, "Métal", 0, 0.5, "Gris moyen", "Oeil", VT (0,0,0), faux) |
627 | - | end; |
627 | + | local GEARWELD2 = CreateWeldOrSnapOrMotor ("Weld", poignée, poignée, pièce, CF (0, -0,6, 0,7), CF (0, 0, 0)) |
628 | - | }; |
628 | + | CreateMesh ("SpecialMesh", Part, "FileMesh", 156292343, "", VT (0.9,0.9,0.3), VT (0,0,0.2)) |
629 | - | |
629 | + | coroutine.resume (coroutine.create (function () |
630 | - | ["Weld"] = { |
630 | + | en attendant () do |
631 | - | Create = function(Parent, Part0, Part1, C0, C1) |
631 | + | GEARWELD.C0 = GEARWELD.C0 * ANGLES (RAD (0), RAD (0), RAD (0 - 25 * NAS (SINE / 25))) |
632 | - | local Weld = Create("Weld"){ |
632 | + | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES (RAD (0), RAD (0), RAD (0 - -25 * NAS (SINE / 25))) |
633 | - | Parent = Parent, |
633 | + | fin |
634 | - | Part0 = Part0, |
634 | + | fin)) |
635 | - | Part1 = Part1, |
635 | + | |
636 | - | C0 = C0, |
636 | + | local Hole2 = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Oeil", VT (0.125,0,0.125), faux) |
637 | - | C1 = C1, |
637 | + | MakeForm (Hole2, "Cyl") |
638 | - | } |
638 | + | CreateWeldOrSnapOrMotor ("Weld", poignée, baril, trou 2, CF (0,8, 0,98, 0), CF (0, 0, 0)) |
639 | - | return Weld |
639 | + | |
640 | - | end; |
640 | + | local Hole3 = CreatePart (3, Arme, "Métal", 0, 0, "Gris moyen", "Oeil", VT (0.125,0,0.125), faux) |
641 | - | }; |
641 | + | MakeForm (Hole3, "Cyl") |
642 | CreateWeldOrSnapOrMotor ("Weld", poignée, baril, trou 3, CF (-0,8, 0,98, 0), CF (0, 0, 0)) | |
643 | - | ["Sound"] = { |
643 | + | |
644 | - | Create = function(id, par, vol, pit) |
644 | + | ParticleEmitter ({Speed = 0.02, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Activé = true, Acel = VT (0,5 , 0)}) |
645 | - | coroutine.resume(coroutine.create(function() |
645 | + | ParticleEmitter ({Speed = 50, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Activé = true, Acel = VT (0,5 , 0)}) |
646 | - | local S = Create("Sound"){ |
646 | + | ParticleEmitter ({Vitesse = 10, Drag = 0, Size1 = 0.1, Size2 = 0, Durée de vie1 = 0.3, Durée de vie2 = 0.5, Parent = Trou, Emit = 100, Offset = 360, Activé = true, Acel = VT (0,5 , 0)}) |
647 | - | Volume = vol, |
647 | + | --ParticuleEmitter ({Vitesse = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Activé = true, Acel = VT (0 , 5,0)}) |
648 | - | Name = "EffectSoundo", |
648 | + | |
649 | - | Pitch = pit or 1, |
649 | + | pour _, c par paires (Weapon: GetDescendants ()) do |
650 | - | SoundId = id, |
650 | + | if c.ClassName == "Part" et c.Name ~ = "Eye" et c.Parent ~ = Effects et c.Parent.Parent ~ = Effects alors |
651 | - | Parent = par or workspace, |
651 | + | |
652 | - | } |
652 | + | Couleur = C3 (3,0,0) |
653 | - | wait() |
653 | + | elseif c.ClassName == "Part" et c.Name == "Eye", puis |
654 | - | S:play() |
654 | + | Couleur = C3 (1,0,0) |
655 | - | game:GetService("Debris"):AddItem(S, 10) |
655 | + | |
656 | - | end)) |
656 | + | fin |
657 | - | end; |
657 | + | fin |
658 | - | }; |
658 | + | |
659 | Weapon.Parent = Caractère | |
660 | - | ["TimeSound"] = { |
660 | + | pour _, c par paires (Weapon: GetChildren ()) do |
661 | - | Create = function(id, par, vol, pit, timepos) |
661 | + | si c.ClassName == "Part" alors |
662 | - | coroutine.resume(coroutine.create(function() |
662 | + | c.CustomPhysicalProperties = PhysicalProperties.new (0, 0, 0, 0, 0) |
663 | - | local S = Create("Sound"){ |
663 | + | fin |
664 | - | Volume = vol, |
664 | + | fin |
665 | - | Name = "EffectSoundo", |
665 | + | |
666 | - | Pitch = pit or 1, |
666 | + | local SKILLTEXTCOLOR = C3 (1,0,0) |
667 | - | SoundId = id, |
667 | + | |
668 | - | TimePosition = timepos, |
668 | + | |
669 | - | Parent = par or workspace, |
669 | + | |
670 | - | } |
670 | + | local SKILL1FRAME = CreateFrame (WEAPONGUI, 1, 2, UD2 (0,1, 0, 0,90, 0), UD2 (0,26, 0, 0,07, 0), C3 (0,0,0), C3 (0, 0, 0) , "Compétence 1 Cadre") |
671 | - | wait() |
671 | + | - [[local SKILL2FRAME = CreateFrame (WEAPONGUI, 1, 2, UD2 (0,63, 0, 0,90, 0), UD2 (0,26, 0, 0,07, 0), C3 (0,0,0), C3 (0, 0, 0), "Compétence 2 Cadre") |
672 | - | S:play() |
672 | + | local SKILL3FRAME = CreateFrame (WEAPONGUI, 1, 2, UD2 (0,215, 0, 0,90, 0), UD2 (0,26, 0, 0,07, 0), C3 (0,0,0), C3 (0, 0, 0) , "Compétence 3 Cadre") |
673 | - | game:GetService("Debris"):AddItem(S, 10) |
673 | + | local SKILL4FRAME = CreateFrame (WEAPONGUI, 1, 2, UD2 (0,525, 0, 0,90, 0), UD2 (0,26, 0, 0,07, 0), C3 (0,0,0), C3 (0, 0, 0) , "Compétence 4 Cadre") |
674 | - | end)) |
674 | + | local SKILL5FRAME = CreateFrame (WEAPONGUI, 1, 2, UD2 (0,365, 0, 0,90, 0), UD2 (0,26, 0, 0,07, 0), C3 (0,0,0), C3 (0, 0, 0) , "Compétence 5 Cadre") |
675 | - | end; |
675 | + | ]] |
676 | - | }; |
676 | + | local SKILL1TEXT = CreateLabel (SKILL1FRAME, ": / Edit By NameClan", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Texte 1") |
677 | - | ["EchoSound"] = { |
677 | + | - [[local SKILL2TEXT = CreateLabel (SKILL2FRAME, "[B] Capacité 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0,7, "Texte 2") |
678 | - | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) |
678 | + | local SKILL3TEXT = CreateLabel (SKILL3FRAME, "[C] Capacité 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Texte 3") |
679 | - | coroutine.resume(coroutine.create(function() |
679 | + | local SKILL4TEXT = CreateLabel (SKILL4FRAME, "[V] Capacité 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Texte 4") |
680 | - | local Sas = Create("Sound"){ |
680 | + | local SKILL5TEXT = CreateLabel (SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Texte 5") |
681 | - | Volume = vol, |
681 | + | ]] |
682 | - | Name = "EffectSoundo", |
682 | + | fonction printbye (Nom) |
683 | - | Pitch = pit or 1, |
683 | + | MESSAGES locaux = {"Vous ne pouvez pas lutter", "Votre existence est une insulte", "Fade", "Votre existence n'est pas souhaitée", "Vous n'êtes pas autorisé ici", "Vous ne devez pas décider de votre destin, "," sois parti "," tu es déjà mort "," ta vie est une anomalie "," n'ose pas rentrer "," pourquoi résistes-tu "," tu ne peux pas exister ici , "," Pourquoi luttez-vous "," Votre destin était déjà décidé "," Au revoir "," Vous ne pouvez pas ignorer mes ordres "," Vous ne pouvez pas résister à mes ordres "," Vous êtes déjà décédé "} |
684 | - | SoundId = id, |
684 | + | avertir (MESSAGES [MRANDOM (1, # MESSAGES)] .. Nom .. ".") |
685 | - | TimePosition = timepos, |
685 | + | fin |
686 | - | Parent = par or workspace, |
686 | + | |
687 | - | } |
687 | + | workspace.ChildAdded: connect (fonction (instance) |
688 | - | local E = Create("EchoSoundEffect"){ |
688 | + | pour BANISH = 1, #TOBANISH do |
689 | - | Delay = echodelay, |
689 | + | si TOBANISH [BANISH] ~ = nul alors |
690 | - | Name = "Echo", |
690 | + | si instance.Name == TOBANISH [BANISH] alors |
691 | - | Feedback = fedb, |
691 | + | coroutine.resume (coroutine.create (function () |
692 | - | DryLevel = dryl, |
692 | + | printbye (instance.Name) |
693 | - | Parent = Sas, |
693 | + | instance: ClearAllChildren () |
694 | - | } |
694 | + | Debris: AddItem (instance, 0.0005) |
695 | - | wait() |
695 | + | fin)) |
696 | - | Sas:play() |
696 | + | fin |
697 | - | game:GetService("Debris"):AddItem(Sas, delays) |
697 | + | fin |
698 | - | end)) |
698 | + | fin |
699 | - | end; |
699 | + | fin) |
700 | - | }; |
700 | + | |
701 | - // ================================= \\ | |
702 | - | ["LongSound"] = { |
702 | + | - || ENDOMMAGEMENT |
703 | - | Create = function(id, par, vol, pit) |
703 | + | - \\ ================================= |
704 | - | coroutine.resume(coroutine.create(function() |
704 | + | |
705 | - | local S = Create("Sound"){ |
705 | + | fonction bannir (ennemi) |
706 | - | Volume = vol, |
706 | + | si l'ennemi alors |
707 | - | Pitch = pit or 1, |
707 | + | coroutine.resume (coroutine.create (function () |
708 | - | SoundId = id, |
708 | + | --if game.Players: FindFirstChild (Foe.Name) puis |
709 | - | Parent = par or workspace, |
709 | + | table.insert (TOBANISH, Foe.Name) |
710 | - | } |
710 | + | printbye (Foe.Name) |
711 | - | wait() |
711 | + | --fin |
712 | - | S:play() |
712 | + | |
713 | - | game:GetService("Debris"):AddItem(S, 60) |
713 | + | local CLONE = Ennemi: Clone () |
714 | - | end)) |
714 | + | Ennemi: Détruire () |
715 | - | end; |
715 | + | CLONE.Parent = Effets |
716 | - | }; |
716 | + | CLONE: BreakJoints () |
717 | - | |
717 | + | MATERIALS local = {"Glass", "Neon"} |
718 | - | ["ParticleEmitter"] = { |
718 | + | pour _, c par paires (CLONE: GetDescendants ()) do |
719 | - | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) |
719 | + | si c: IsA ("BasePart") alors |
720 | - | local fp = Create("ParticleEmitter"){ |
720 | + | si c.Name == "Torse" ou c.Name == "UpperTorso" ou c == CLONE.PrimaryPart alors |
721 | - | Parent = Parent, |
721 | + | CreateSound (340722848, c, 10, 1, false) |
722 | - | Color = ColorSequence.new(Color1, Color2), |
722 | + | fin |
723 | - | LightEmission = LightEmission, |
723 | + | |
724 | - | Size = Size, |
724 | + | c.Transparency = c.Transparency + 0,2 |
725 | - | Texture = Texture, |
725 | + | c.Material = MATERIALS [MRANDOM (1,2)] |
726 | - | Transparency = Transparency, |
726 | + | Couleur = C3 (1,0,0) |
727 | - | ZOffset = ZOffset, |
727 | + | si c.ClassName == "MeshPart" alors |
728 | - | Acceleration = Accel, |
728 | + | |
729 | - | Drag = Drag, |
729 | + | fin |
730 | - | LockedToPart = LockedToPart, |
730 | + | si c: FindFirstChildOfClass ("SpecialMesh"), alors |
731 | - | VelocityInheritance = VelocityInheritance, |
731 | + | c: FindFirstChildOfClass ("SpecialMesh"). TextureId = "" |
732 | - | EmissionDirection = EmissionDirection, |
732 | + | fin |
733 | - | Enabled = Enabled, |
733 | + | si c: FindFirstChildOfClass ("Decal"), alors |
734 | - | Lifetime = LifeTime, |
734 | + | c: FindFirstChildOfClass ("Decal"): remove () |
735 | - | Rate = Rate, |
735 | + | fin |
736 | - | Rotation = Rotation, |
736 | + | c.Name = "banni" |
737 | - | RotSpeed = RotSpeed, |
737 | + | |
738 | - | Speed = Speed, |
738 | + | autre |
739 | - | VelocitySpread = VelocitySpread, |
739 | + | c: remove () |
740 | - | } |
740 | + | fin |
741 | - | return fp |
741 | + | fin |
742 | - | end; |
742 | + | local A = faux |
743 | - | }; |
743 | + | pour i = 1, 35 do |
744 | si A == faux alors | |
745 | - | CreateTemplate = { |
745 | + | A = vrai |
746 | - | |
746 | + | elseif A == vrai alors |
747 | - | }; |
747 | + | A = faux |
748 | - | } |
748 | + | fin |
749 | pour _, c par paires (CLONE: GetDescendants ()) do | |
750 | si c: IsA ("BasePart") alors | |
751 | c.Anchored = true | |
752 | - | New = function(Object, Parent, Name, Data) |
752 | + | c.Material = MATERIALS [MRANDOM (1,2)] |
753 | - | local Object = Instance.new(Object) |
753 | + | c.Transparency = c.Transparency + 0.8 / 35 |
754 | - | for Index, Value in pairs(Data or {}) do |
754 | + | si A == faux alors |
755 | - | Object[Index] = Value |
755 | + | c.CFrame = c.CFrame * CF (MRANDOM (-45,45) / 45, MRANDOM (-45,45) / 45, MRANDOM (-45,45) / 45) |
756 | - | end |
756 | + | elseif A == vrai alors |
757 | - | Object.Parent = Parent |
757 | + | c.CFrame = c.CFrame * CF (MRANDOM (-45,45) / 45, MRANDOM (-45,45) / 45, MRANDOM (-45,45) / 45) |
758 | - | Object.Name = Name |
758 | + | fin |
759 | - | return Object |
759 | + | fin |
760 | - | end |
760 | + | fin |
761 | - | local halocolor = BrickColor.new("Pastel light blue") |
761 | + | Swait () |
762 | - | local halocolor2 = BrickColor.new("Cool yellow") |
762 | + | fin |
763 | - | local starcolor = BrickColor.new("Bright yellow") |
763 | + | CLONE: remove () |
764 | - | local lunacolor = BrickColor.new("Navy blue") |
764 | + | fin)) |
765 | - | local lunacolor2 = BrickColor.new("Bright blue") |
765 | + | fin |
766 | - | local wepcolor = BrickColor.new("Really black") |
766 | + | fin |
767 | - | local maincolor = BrickColor.new("Really black") |
767 | + | |
768 | - | local m = Instance.new("Model",char) |
768 | + | fonction ApplyAoE (POSITION, GAMME, ISBANISH) |
769 | - | local m2 = Instance.new("Model",char) |
769 | + | local ENFANTS = espace de travail: GetDescendants () |
770 | - | local m3 = Instance.new("Model",char) |
770 | + | pour index, ENFANT par paires (ENFANTS) faire |
771 | - | local mw1 = Instance.new("Model",char) |
771 | + | Si CHILD.ClassName == "Modèle" et CHILD ~ = Caractère alors |
772 | - | local mw2 = Instance.new("Model",char) |
772 | + | local HUM = ENFANT: FindFirstChildOfClass ("Humanoid") |
773 | si HUM alors | |
774 | local TORSO = ENFANT: FindFirstChild ("torse") ou ENFANT: FindFirstChild ("UpperTorso") | |
775 | si TORSO alors | |
776 | if (TORSO.Position - POSITION) .Magnitude <= RANGE then | |
777 | - | local extrawingmod1 = Instance.new("Model",char) |
777 | + | si ISBANISH == vrai alors |
778 | - | local extrawingmod2 = Instance.new("Model",char) |
778 | + | Bannir (ENFANT) |
779 | autre | |
780 | - | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
780 | + | si ISBANISH == "Gravity" alors |
781 | - | local p = Instance.new("Part") |
781 | + | |
782 | - | p.TopSurface = 0 |
782 | + | si TORSO: FindFirstChild ("V3BanishForce" .. Player.Name), alors |
783 | - | p.BottomSurface = 0 |
783 | + | grav local local = Instance.new ("BodyPosition", TORSO) |
784 | - | p.Parent = parent |
784 | + | |
785 | - | p.Size = Vector3.new(0.1,0.1,0.1) |
785 | + | |
786 | - | p.Transparency = transparency |
786 | + | grav.maxForce = Vector3.new (math.huge, math.huge, math.huge) |
787 | - | p.Reflectance = reflectance |
787 | + | |
788 | - | p.CanCollide = false |
788 | + | grav.Name = "V3BanishForce" .. Player.Name |
789 | - | p.Locked = true |
789 | + | autre |
790 | - | p.BrickColor = brickcolor |
790 | + | TORSO: FindFirstChild ("V3BanishForce" .. Player.Name) .position = TORSO.Position + VT (0,0.3,0) |
791 | - | p.Material = material |
791 | + | TORSO.RotVelocity = VT (MRANDOM (-25,25), MRANDOM (-25,25), MRANDOM (-25,25)) |
792 | - | return p |
792 | + | fin |
793 | - | end |
793 | + | autre |
794 | HUM.PlatformStand = false | |
795 | - | function CreateMesh(parent,meshtype,x1,y1,z1) |
795 | + | fin |
796 | - | local mesh = Instance.new("SpecialMesh",parent) |
796 | + | fin |
797 | - | mesh.MeshType = meshtype |
797 | + | elseif ISBANISH == "Gravity" alors |
798 | - | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
798 | + | si TORSO: FindFirstChild ("V3BanishForce" .. Player.Name), alors |
799 | - | return mesh |
799 | + | TORSO: FindFirstChild ("V3BanishForce" .. Player.Name): remove () |
800 | - | end |
800 | + | |
801 | fin | |
802 | - | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
802 | + | fin |
803 | - | local mesh = Instance.new("SpecialMesh",parent) |
803 | + | fin |
804 | - | mesh.MeshType = "FileMesh" |
804 | + | fin |
805 | - | mesh.MeshId = meshid |
805 | + | fin |
806 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
806 | + | fin |
807 | - | return mesh |
807 | + | fin |
808 | - | end |
808 | + | |
809 | fonction ApplyDamage (Humanoid, Damage, TorsoPart) | |
810 | défense locale = Instance.new ("BoolValue", Humanoid.Parent) | |
811 | - | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
811 | + | defence.Name = ("HitBy" .. Player.Name) |
812 | - | local mesh = Instance.new("SpecialMesh",parent) |
812 | + | jeu: GetService ("Debris"): AddItem (défense, 0.001) |
813 | - | mesh.MeshType = "FileMesh" |
813 | + | Dommage = Dommage * DAMAGEMULTIPLIER |
814 | - | mesh.MeshId = meshid |
814 | + | si Humanoid.Health ~ = 0 alors |
815 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
815 | + | CritChance local = MRANDOM (1 100) |
816 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
816 | + | si Dommages> Humanoïde.Santé alors |
817 | - | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
817 | + | Dommages = math.ceil (Humanoid.Health) |
818 | - | return mesh |
818 | + | si Dommage == 0 alors |
819 | - | end |
819 | + | Dommage = 0.1 |
820 | fin | |
821 | - | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
821 | + | fin |
822 | - | local weld = Instance.new("Weld") |
822 | + | Humanoid.Health = Humanoid.Health - Dommages |
823 | - | weld.Parent = parent |
823 | + | fin |
824 | - | weld.Part0 = part0 |
824 | + | fin |
825 | - | weld.Part1 = part1 |
825 | + | |
826 | - | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
826 | + | fonction ApplyAoE3 (POSITION, PLAGE, MINDMG, MAXDMG, FLING, INSTAKILL) |
827 | - | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
827 | + | local ENFANTS = espace de travail: GetDescendants () |
828 | - | return weld |
828 | + | pour index, ENFANT par paires (ENFANTS) faire |
829 | - | end |
829 | + | si CHILD.ClassName == "Modèle" et CHILD ~ = Caractère et ENFANT.Parent ~ = Effets alors |
830 | local HUM = ENFANT: FindFirstChildOfClass ("Humanoid") | |
831 | si HUM alors | |
832 | - | -------------- |
832 | + | local TORSO = ENFANT: FindFirstChild ("torse") ou ENFANT: FindFirstChild ("UpperTorso") |
833 | - | -------------- |
833 | + | si TORSO alors |
834 | - | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
834 | + | if (TORSO.Position - POSITION) .Magnitude <= RANGE then |
835 | - | CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
835 | + | si INSTAKILL == vrai alors |
836 | - | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
836 | + | ENFANT: BreakJoints () |
837 | - | CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
837 | + | autre |
838 | DMG local = MRANDOM (MINDMG, MAXDMG) | |
839 | - | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
839 | + | ApplyDamage (HUM, DMG, TORSO) |
840 | - | CreateMesh(handle,"Brick",0,0,0) |
840 | + | fin |
841 | - | local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
841 | + | si FLING> 0 alors |
842 | - | local valuaring = 10 |
842 | + | pour _, c par paires (ENFANT: GetChildren ()) do |
843 | - | for i = 0, 49 do |
843 | + | si c: IsA ("BasePart") alors |
844 | - | valuaring = valuaring + 10 |
844 | + | local bv = Instance.new ("BodyVelocity") |
845 | - | rn = CreateParta(mw2,0,0,"Neon",halocolor) |
845 | + | bv.maxForce = Vector3.new (1e9, 1e9, 1e9) |
846 | - | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
846 | + | bv.velocity = CF (POSITION, TORSO.Position) .lookVector * FLING |
847 | - | CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
847 | + | |
848 | - | end |
848 | + | Débris: AddItem (bv, 0.05) |
849 | fin | |
850 | - | handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
850 | + | fin |
851 | - | CreateMesh(handle,"Brick",0,0,0) |
851 | + | fin |
852 | - | CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
852 | + | fin |
853 | - | local valuaring = 10 |
853 | + | fin |
854 | - | for i = 0, 49 do |
854 | + | fin |
855 | - | valuaring = valuaring + 10 |
855 | + | fin |
856 | - | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
856 | + | fin |
857 | - | CreateMesh(rn,"Brick",0.5,0.2,0.2) |
857 | + | fin |
858 | - | CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
858 | + | |
859 | - | end |
859 | + | - // ================================= \\ |
860 | - || FONCTIONS ET STUFF D'ATTAQUE | |
861 | - \\ ================================= | |
862 | - | local handle = CreateParta(m,1,1,"Neon",maincolor) |
862 | + | |
863 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
863 | + | fonction Shot () |
864 | - | local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
864 | + | |
865 | Enraciné = faux | |
866 | - | --- Left wing. |
866 | + | pour i = 0, 1, 0.1 / Animation_Speed do |
867 | Swait () | |
868 | - | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
868 | + | turnto (Mouse.Hit.p) |
869 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
869 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, -1) * ANGLES (RAD (0), RAD (0), RAD (0), 1 / Animation_Speed) |
870 | - | local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
870 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, 0, 0 + ((1) - 1)) * * ANGLES (RAD (-45), RAD (0), RAD (0)), 1 / La vitesse d'animation) |
871 | RightHip.C0 = Clerp (RightHip.C0, CF (1, -0,4, -1) * ANGLES (RAD (-25), RAD (90), RAD (0)) * ANGLES (RAD (-2), RAD ( 0), RAD (0)), 1 / Animation_Speed) | |
872 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
872 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1,5, -0,5) * ANGLES (RAD (-90), RAD (-90), RAD (-90), * ANGLES (RAD (-2), RAD (0), RAD (0)), 1 / Animation_Speed) |
873 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
873 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (90), RAD (0), RAD (0), RAD (-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
874 | - | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
874 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5, 0.5, 0) * ANGLES (RAD (90), RAD (0), RAD (0), RAD (45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) |
875 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
875 | + | fin |
876 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
876 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (120,120,120), Transparence = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = 317129949, SoundPitch = MRANDOM (13,15) / 10, SoundVolume = 999999}) |
877 | - | CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
877 | + | répéter |
878 | - | A0 = Instance.new('Attachment',wed) |
878 | + | pour i = 0, 0,2, 0,1 / Animation_Speed do |
879 | - | A0.Position = vt(0,0.25,0.25) |
879 | + | Swait () |
880 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
880 | + | turnto (Mouse.Hit.p) |
881 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
881 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, -1) * ANGLES (RAD (0), RAD (0), RAD (0), 1 / Animation_Speed) |
882 | - | CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
882 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, 0, 0 + ((1) - 1)) * * ANGLES (RAD (0), RAD (0), RAD (0)), 1 / Animation_Speed ) |
883 | - | A1 = Instance.new('Attachment',wed) |
883 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -0,4, -1) * ANGLES (RAD (-25), RAD (90), RAD (0)) * ANGLES (RAD (-2), RAD ( 0), RAD (0)), 1 / Animation_Speed) |
884 | - | A1.Position = vt(0,-0.25,-2) |
884 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1,5, -0,5) * ANGLES (RAD (-90), RAD (-90), RAD (-90), * ANGLES (RAD (-2), RAD (0), RAD (0)), 1 / Animation_Speed) |
885 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
885 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (90), RAD (0), RAD (0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
886 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
886 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-0,2, 0,5, -0,7) * ANGLES (RAD (90), RAD (0), RAD (45)) * LEFTSHOULDERC0, 0,5 / Animation_Speed) |
887 | - | CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
887 | + | fin |
888 | HIT local, POS = CastProperRay (Hole2.Position, Mouse.Hit.p, 1000, caractère) | |
889 | - | tl1 = Instance.new('Trail',wed) |
889 | + | SpawnTrail (Hole2.Position, POS) |
890 | - | tl1.Attachment0 = A1 |
890 | + | HIT local, POS = CastProperRay (Hole3.Position, Mouse.Hit.p, 1000, caractère) |
891 | - | tl1.Attachment1 = A0 |
891 | + | SpawnTrail (Hole3.Position, POS) |
892 | - | tl1.Texture = "rbxassetid://2108945559" |
892 | + | HIT local, POS = CastProperRay (Hole.Position, Mouse.Hit.p, 1000, caractère) |
893 | - | tl1.LightEmission = 1 |
893 | + | SpawnTrail (Hole.Position, POS) |
894 | - | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
894 | + | si HIT ~ = nul alors |
895 | - | tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
895 | + | si HIT.Parent ~ = workspace et HIT.Parent.ClassName ~ = "Dossier", alors |
896 | - | tl1.Lifetime = 0.6 |
896 | + | Bannir (HIT.Parent) |
897 | fin | |
898 | fin | |
899 | - | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
899 | + | |
900 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
900 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Taille = VT (0.3,0,0.3), Size2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole3.CFrame, MoveToPos = Hole3.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nul, SoundPitch = nil, SoundVolume = nil}) |
901 | - | local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
901 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Hole3.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nul, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
902 | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole3.CFrame, MoveToPos = Hole3.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nul, SoundPitch = nil, SoundVolume = nil}) | |
903 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
903 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Hole3.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = 168143115, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
904 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
904 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou3 .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Matériau = "Néon", Couleur = C3 ( 1,0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) |
905 | - | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
905 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou3 .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1 , 0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) |
906 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
906 | + | |
907 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
907 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Size = VT (0.3,0,0.3.3), Size2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole2.CFrame, MoveToPos = Trou2.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
908 | - | CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
908 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Hole2.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nul, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
909 | - | A0 = Instance.new('Attachment',wed) |
909 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3.3), Taille2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole2.CFrame, MoveToPos = Trou2.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
910 | - | A0.Position = vt(0,0.25,0.25) |
910 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Hole2.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = 168143115, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
911 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
911 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou 2). .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Matériau = "Néon", Couleur = C3 ( 1,0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) |
912 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
912 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou 2). .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1 , 0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) |
913 | - | CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
913 | + | |
914 | - | A1 = Instance.new('Attachment',wed) |
914 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Size = VT (0.3,0,0.3.3), Size2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole.CFrame, MoveToPos = Trou.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
915 | - | A1.Position = vt(0,-0.25,-2) |
915 | + | WACKYEFFECT ({Time = 25, EffectType = "Sphere", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Trou.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nul, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
916 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
916 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (1,1.5,1), Transparence = 0, Transparence2 = 1, CFrame = Hole.CFrame, MoveToPos = Trou.CFrame * CF (0,0.5,0) .p, RotationX = 0, RotationY = -15, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
917 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
917 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Taille2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = Trou.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1,0,0), SoundID = 168143115, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8 }) |
918 | - | CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
918 | + | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Matériau = "Néon", Couleur = C3 ( 1,0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) |
919 | WACKYEFFECT ({Time = 25, EffectType = "Wave", Taille = VT (0.3,0,0.3), Size2 = VT (2,0.5,2), Transparence = 0, Transparence2 = 1, CFrame = CF (POS, Trou .Position) * ANGLES (RAD (-90), RAD (0), RAD (0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Matériau = "Néon", Couleur = C3 (1 , 0,0), SoundID = nil, SoundPitch = MRANDOM (8,11) / 10, SoundVolume = 8}) | |
920 | - | tl2 = Instance.new('Trail',wed) |
920 | + | pour i = 0, 0,2, 0,1 / Animation_Speed do |
921 | - | tl2.Attachment0 = A1 |
921 | + | Swait () |
922 | - | tl2.Attachment1 = A0 |
922 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0.5) * ANGLES (RAD (95), RAD (15), RAD (0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) |
923 | - | tl2.Texture = "rbxassetid://2108945559" |
923 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-0,2, 0,5, 0,04) * ANGLES (RAD (95), RAD (0), RAD (45)) * LEFTSHOULDERC0, 0,5 / Animation_Speed) |
924 | - | tl2.LightEmission = 1 |
924 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0,1, -1) * ANGLES (RAD (0), RAD (0), RAD (0)), 1 / Animation_Speed) |
925 | - | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
925 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, 0.1, 0 + ((1) - 1))) * ANGLES (RAD (25), RAD (0), RAD (0)), 1 / Animation_Speed ) |
926 | - | tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
926 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -0,4, -1) * ANGLES (RAD (-25), RAD (90), RAD (0)) * ANGLES (RAD (-2), RAD ( 0), RAD (0)), 1 / Animation_Speed) |
927 | - | tl2.Lifetime = 0.6 |
927 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1,5, -0,5) * ANGLES (RAD (-90), RAD (-90), RAD (-90), * ANGLES (RAD (-2), RAD (0), RAD (0)), 1 / Animation_Speed) |
928 | fin | |
929 | - | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
929 | + | jusqu'au KEYHOLD == faux |
930 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
930 | + | ATTAQUE = faux |
931 | - | local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
931 | + | Enraciné = faux |
932 | fin | |
933 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
933 | + | |
934 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
934 | + | fonction Shot2 () |
935 | - | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
935 | + | |
936 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
936 | + | Enraciné = faux |
937 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
937 | + | pour i = 0, 3, 0.1 / Animation_Speed do |
938 | - | CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
938 | + | Swait () |
939 | - | A0 = Instance.new('Attachment',wed) |
939 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, 0) * ANGLES (RAD (-25), RAD (0), RAD (0)), 1 / Animation_Speed) |
940 | - | A0.Position = vt(0,0.25,0.25) |
940 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (75), RAD (0), RAD (0), RAD (45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
941 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
941 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5, 0.5, 0) * ANGLES (RAD (75), RAD (0), RAD (0), * ANGLES (RAD (0), RAD (0) , RAD (0)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
942 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
942 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -1, 0) * ANGLES (RAD (-25), RAD (70), RAD (0)) * ANGLES (RAD (0), RAD (0) , RAD (0)), 1 / Animation_Speed) |
943 | - | CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
943 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1, 0) * ANGLES (RAD (-25), RAD (-70), RAD (0)) * ANGLES (RAD (0), RAD ( 0), RAD (0)), 1 / Animation_Speed) |
944 | - | A1 = Instance.new('Attachment',wed) |
944 | + | fin |
945 | - | A1.Position = vt(0,-0.25,-2) |
945 | + | WACKYEFFECT ({Time = 75, EffectType = "Wave", Taille = VT (0,0,0), Size2 = VT (45,45,45), Transparence = 0,5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nul, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1,2, SoundVolume = 4}) |
946 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
946 | + | WACKYEFFECT ({Time = 75, EffectType = "Wave", Taille = VT (0,0,0), Size2 = VT (180,180,180), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
947 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
947 | + | WACKYEFFECT ({Time = 75, EffectType = "Wave", Taille = VT (0,0,0), Size2 = VT (123, 123, 123), Transparence = 0,5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
948 | - | CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
948 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (1.180,1), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil , RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
949 | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (150,1,150), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil , RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) | |
950 | - | tl3 = Instance.new('Trail',wed) |
950 | + | WACKYEFFECT ({Time = 75, EffectType = "Wave", Size = VT (0,0,0), Size2 = VT (150,150,150), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
951 | - | tl3.Attachment0 = A1 |
951 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (120,120,120), Transparence = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = 165970126, SoundPitch = MRANDOM (13,15) / 10, SoundVolume = 100}) |
952 | - | tl3.Attachment1 = A0 |
952 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (120,120,120), Transparence = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = 165970126, SoundPitch = MRANDOM (13,15) / 10, SoundVolume = 999999}) |
953 | - | tl3.Texture = "rbxassetid://2108945559" |
953 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (1.180,1), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil , RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
954 | - | tl3.LightEmission = 1 |
954 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (150,1,150), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil , RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
955 | - | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
955 | + | WACKYEFFECT ({Time = 75, EffectType = "Wave", Size = VT (0,0,0), Size2 = VT (150,150,150), Transparence = 0.5, Transparence2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4}) |
956 | - | tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
956 | + | WACKYEFFECT ({Time = 75, EffectType = "Sphere", Size = VT (0,0,0), Size2 = VT (120,120,120), Transparence = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Matériau = "Néon", Couleur = C3 (0,0,0), SoundID = 165970126, SoundPitch = MRANDOM (13,15) / 10, SoundVolume = 100}) |
957 | - | tl3.Lifetime = 0.6 |
957 | + | ApplyAoE3 (RootPart.Position, 95 999 999 999, false) |
958 | pour i = 0, 0.5, 0.1 / Animation_Speed do | |
959 | - | tl1.Enabled = false |
959 | + | Swait () |
960 | - | tl2.Enabled = false |
960 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, 0) * ANGLES (RAD (30), RAD (0), RAD (0)), 1 / Animation_Speed) |
961 | - | tl3.Enabled = false |
961 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.2, 0.5, -0.5) * ANGLES (RAD (75), RAD (0), RAD (-70)) * ANGLES (RAD (0), RAD (0) , RAD (0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed) |
962 | - | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
962 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.2, 0.5, -0.5) * ANGLES (RAD (75), RAD (0), RAD (0), * ANGLES (RAD (0), RAD (0) , RAD (0)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
963 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
963 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -1, 0) * ANGLES (RAD (30), RAD (75), RAD (0)) * ANGLES (RAD (0), RAD (0), RAD (0)), 1 / Animation_Speed) |
964 | - | local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
964 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1, 0) * ANGLES (RAD (30), RAD (-75), RAD (0)) * ANGLES (RAD (0), RAD (0 ), RAD (0)), 1 / Animation_Speed) |
965 | fin | |
966 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
966 | + | ATTAQUE = faux |
967 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
967 | + | Enraciné = faux |
968 | - | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
968 | + | fin |
969 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
969 | + | |
970 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
970 | + | - // ================================= \\ |
971 | - | CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
971 | + | - || Attribuer des choses à des clés |
972 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
972 | + | - \\ ================================= |
973 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
973 | + | |
974 | - | CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
974 | + | function MouseDown (Souris) |
975 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
975 | + | si ATTACK == false alors |
976 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
976 | + | fin |
977 | - | CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
977 | + | fin |
978 | ||
979 | - | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
979 | + | fonction MouseUp (Mouse) |
980 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
980 | + | |
981 | - | local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
981 | + | fin |
982 | ||
983 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
983 | + | fonction KeyDown (clé) |
984 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
984 | + | |
985 | - | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
985 | + | si Key == "z" et ATTACK == false alors |
986 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
986 | + | Coup() |
987 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
987 | + | fin |
988 | - | CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
988 | + | |
989 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
989 | + | si Key == "b" et ATTACK == false alors |
990 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
990 | + | AttackTemplate () |
991 | - | CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
991 | + | fin |
992 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
992 | + | |
993 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
993 | + | si Key == "c" et ATTACK == false alors |
994 | - | CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
994 | + | Shot2 () |
995 | fin | |
996 | - | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
996 | + | |
997 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
997 | + | si Key == "v" et ATTACK == false alors |
998 | - | local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
998 | + | fin |
999 | ||
1000 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
1000 | + | si Key == "x" et ATTACK == false alors |
1001 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1001 | + | fin |
1002 | - | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1002 | + | fin |
1003 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
1003 | + | |
1004 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1004 | + | fonction KeyUp (Key) |
1005 | - | CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1005 | + | |
1006 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
1006 | + | fin |
1007 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1007 | + | |
1008 | - | CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1008 | + | Mouse.Button1Down: connect (fonction (NEWKEY) |
1009 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
1009 | + | MouseDown (NEWKEY) |
1010 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
1010 | + | fin) |
1011 | - | CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1011 | + | Mouse.Button1Up: connect (fonction (NEWKEY) |
1012 | MouseUp (NEWKEY) | |
1013 | - | -- Right wing. |
1013 | + | fin) |
1014 | Mouse.KeyDown: connecte (fonction (NEWKEY) | |
1015 | - | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
1015 | + | KeyDown (NEWKEY) |
1016 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
1016 | + | fin) |
1017 | - | local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1017 | + | Mouse.KeyUp: connect (fonction (NEWKEY) |
1018 | KeyUp (NEWKEY) | |
1019 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1019 | + | fin) |
1020 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1020 | + | |
1021 | - | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1021 | + | - // ================================= \\ |
1022 | - | A0 = Instance.new('Attachment',wed) |
1022 | + | - \\ ================================= |
1023 | - | A0.Position = vt(0,0.25,0.25) |
1023 | + | |
1024 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1024 | + | |
1025 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1025 | + | fonction unanchor () |
1026 | - | CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1026 | + | si UNANCHOR == true alors |
1027 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1027 | + | g = Caractère: GetChildren () |
1028 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1028 | + | pour i = 1, #g do |
1029 | - | CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1029 | + | si g [i] .ClassName == "Part", alors |
1030 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1030 | + | g [i] .Anchored = false |
1031 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
1031 | + | fin |
1032 | - | CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1032 | + | fin |
1033 | - | A1 = Instance.new('Attachment',wed) |
1033 | + | fin |
1034 | - | A1.Position = vt(0,2,0.25) |
1034 | + | fin |
1035 | ||
1036 | - | tr1 = Instance.new('Trail',wed) |
1036 | + | |
1037 | - | tr1.Attachment0 = A1 |
1037 | + | - // ================================= \\ |
1038 | - | tr1.Attachment1 = A0 |
1038 | + | - || ENROULEZ LE TOUT SCRIPT |
1039 | - | tr1.Texture = "rbxassetid://2108945559" |
1039 | + | - \\ ================================= |
1040 | - | tr1.LightEmission = 1 |
1040 | + | |
1041 | - | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
1041 | + | Humanoid.Changed: connect (fonction (Saut) |
1042 | - | tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
1042 | + | si Jump == "Jump" et (Disable_Jump == true) alors |
1043 | - | tr1.Lifetime = 0.6 |
1043 | + | |
1044 | fin | |
1045 | - | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
1045 | + | fin) |
1046 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
1046 | + | |
1047 | - | local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1047 | + | local CONNECT = nil |
1048 | ||
1049 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1049 | + | tout en faisant vrai |
1050 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1050 | + | Swait () |
1051 | - | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1051 | + | ANIMATE.Parent = nil |
1052 | - | A0 = Instance.new('Attachment',wed) |
1052 | + | si Caractère: FindFirstChildOfClass ("Humanoid") == nil alors |
1053 | - | A0.Position = vt(0,0.25,0.25) |
1053 | + | Humanoid = IT ("Humanoid", Personnage) |
1054 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1054 | + | fin |
1055 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1055 | + | pour _, v dans next, Humanoid: GetPlayingAnimationTracks () do |
1056 | - | CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1056 | + | v: stop (); |
1057 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1057 | + | fin |
1058 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1058 | + | SINE = SINE + CHANGEMENT |
1059 | - | CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1059 | + | local TORSOVELOCITY = (RootPart.Velocity * VT (1, 0, 1)). Magnitude |
1060 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1060 | + | local TORSOVERTICALVELOCITY = RootPart.Velocity.y |
1061 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
1061 | + | local HITFLOOR = Raycast (RootPart.Position, (CF (RootPart.Position, RootPart.Position + VT (0, -1, 0))). lookVector, 4, Caractère) |
1062 | - | CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1062 | + | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) |
1063 | - | A1 = Instance.new('Attachment',wed) |
1063 | + | si ANIM == "Walk" et TORSOVELOCITY> 1, alors |
1064 | - | A1.Position = vt(0,2,0.25) |
1064 | + | RootJoint.C1 = Clerp (RootJoint.C1, ROOTC0 * CF (0, 0, -0,15 * COS (SINE / (WALKSPEEDVALUE / 2))) * ANGLES (RAD (0), RAD (0) - RootPart.RotVelocity.Y / 75, RAD (0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1065 | Neck.C1 = Clerp (Neck.C1, CF (0, -0,5, 0) * ANGLES (RAD (-90), RAD (0), RAD (180)) * ANGLES (RAD (2.5 * NAS (SIN / ( WALKSPEEDVALUE / 2))), RAD (0), RAD (0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
1066 | - | tr2 = Instance.new('Trail',wed) |
1066 | + | RightHip.C1 = Clerp (RightHip.C1, CF (0,5, 0,875 - 0,125 * SIN (SINE / WALKSPEEDVALUE)) - 0,15 * COS (SINE / WALKSPEEDVALUE * 2), -0,125 * COS (SINE / WALKSPEEDVALUE) +0,2+ 0,2 *. COS (SINE / WALKSPEEDVALUE)) * ANGLES (RAD (0), RAD (90), RAD (0)) * ANGLES (RAD (0) - RightLeg.RotVelocity.Y / 75, RAD (0), RAD (0 *). COS (SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1067 | - | tr2.Attachment0 = A1 |
1067 | + | LeftHip.C1 = Clerp (LeftHip.C1, CF (-0,5, 0,875 + 0,125 * SIN (SINE / WALKSPEEDVALUE)) - 0,15 * COS (SINE / WALKSPEEDVALUE * 2), 0,125 * COS (SINE / WALKSPEEDVALUE) +0,2 +0,2% -0,2 * COS (SINE / WALKSPEEDVALUE)) * ANGLES (RAD (0), RAD (-90), RAD (0)) * ANGLES (RAD (0) + LeftLeg.RotVelocity.Y / 75, RAD (0), RAD (0). 76 * COS (SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) |
1068 | - | tr2.Attachment1 = A0 |
1068 | + | elseif (ANIM ~ = "Walk") ou (TORSOVELOCITY <1) puis |
1069 | - | tr2.Texture = "rbxassetid://2108945559" |
1069 | + | RootJoint.C1 = Clerp (RootJoint.C1, ROOTC0 * CF (0, 0, 0) * ANGLES (RAD (0), RAD (0), RAD (0)), 0,2 / Animation_Speed) |
1070 | - | tr2.LightEmission = 1 |
1070 | + | Neck.C1 = Clerp (Neck.C1, CF (0, -0,5, 0) * ANGLES (RAD (-90), RAD (0), RAD (180)) * ANGLES (RAD (0), RAD (0) , RAD (0)), 0.2 / Animation_Speed) |
1071 | - | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
1071 | + | RightHip.C1 = Clerp (RightHip.C1, CF (0.5, 1, 0) * ANGLES (RAD (0), RAD (90), RAD (0)) * ANGLES (RAD (0), RAD (0), RAD (0)), 0.2 / Animation_Speed) |
1072 | - | tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
1072 | + | LeftHip.C1 = Clerp (LeftHip.C1, CF (-0,5, 1, 0) * ANGLES (RAD (0), RAD (-90), RAD (0)) * ANGLES (RAD (0), RAD (0) , RAD (0)), 0.2 / Animation_Speed) |
1073 | - | tr2.Lifetime = 0.6 |
1073 | + | fin |
1074 | si TORSOVERTICALVELOCITY> 1 et HITFLOOR == nil alors | |
1075 | - | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
1075 | + | ANIM = "Jump" |
1076 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
1076 | + | si ATTACK == false alors |
1077 | - | local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1077 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, 0) * ANGLES (RAD (0), RAD (0), RAD (0)), 0,2 / Animation_Speed) |
1078 | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, 0, 0 + ((1) - 1)) * * ANGLES (RAD (-20), RAD (0), RAD (0)), 0,2 / La vitesse d'animation) | |
1079 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1079 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (45), RAD (0), RAD (25)) * RIGHTSHOULDERC0, 0,15 / Animation_Speed) |
1080 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1080 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5, 0.5, 0) * ANGLES (RAD (-40), RAD (0), RAD (0), RAD (-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1081 | - | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1081 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -1, -0.3) * ANGLES (RAD (0), RAD (90), RAD (0)) * ANGLES (RAD (-5), RAD (0 ), RAD (-20)), 0.2 / Animation_Speed) |
1082 | - | A0 = Instance.new('Attachment',wed) |
1082 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1, -0.3) * ANGLES (RAD (0), RAD (-90), RAD (0)) * ANGLES (RAD (-5), RAD (0), RAD (20)), 0.2 / Animation_Speed) |
1083 | - | A0.Position = vt(0,0.25,0.25) |
1083 | + | fin |
1084 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1084 | + | elseif TORSOVERTICALVELOCITY <-1 et HITFLOOR == nil alors |
1085 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1085 | + | ANIM = "Fall" |
1086 | - | CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1086 | + | si ATTACK == false alors |
1087 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1087 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, 0) * ANGLES (RAD (0), RAD (0), RAD (0)), 0,2 / Animation_Speed) |
1088 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1088 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, 0, 0 + (1 - 1)) * ANGLES (RAD (20), RAD (0), RAD (0)), 0,2 / Animation_Speed ) |
1089 | - | CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1089 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (45), RAD (0), RAD (25)) * RIGHTSHOULDERC0, 0,15 / Animation_Speed) |
1090 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
1090 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5, 0.5, 0) * ANGLES (RAD (0), RAD (0), RAD (0), RAD (-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) |
1091 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
1091 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -1, 0) * ANGLES (RAD (0), RAD (90), RAD (0)) * ANGLES (RAD (0), RAD (0), RAD (20)), 0.2 / Animation_Speed) |
1092 | - | CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1092 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1, 0) * ANGLES (RAD (0), RAD (-90), RAD (0)) * ANGLES (RAD (0), RAD (0 ), RAD (10)), 0.2 / Animation_Speed) |
1093 | - | A1 = Instance.new('Attachment',wed) |
1093 | + | fin |
1094 | - | A1.Position = vt(0,2,0.25) |
1094 | + | elseif TORSOVELOCITY <1 et HITFLOOR ~ = nil alors |
1095 | ANIM = "Idle" | |
1096 | - | tr3 = Instance.new('Trail',wed) |
1096 | + | si ATTACK == false alors |
1097 | - | tr3.Attachment0 = A1 |
1097 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES (RAD (45), RAD (0 + 0,75 * NAS (SINE / 12) - 1,75 *) COS (SINE / 12)), RAD (2,75 * NAS (SINE / 12))), 0,2 / Animation_Speed * 3) |
1098 | - | tr3.Attachment1 = A0 |
1098 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES (RAD (0), RAD (0 + 0.75 * SIN ( SINE / 8) - 1,75 * COS (SINE / 8)), RAD (2,75 * SIN (SINE / 8))), 0,2 / Animation_Speed) |
1099 | - | tr3.Texture = "rbxassetid://2108945559" |
1099 | + | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (0.9, 0.5 + 0.05 * SIN (SINE / (SINE / 1)), -0.5) * ANGLES (RAD (100), RAD (0), RAD (-70) ) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
1100 | - | tr3.LightEmission = 1 |
1100 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES (RAD (90), RAD (25), RAD (45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) |
1101 | - | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
1101 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES (RAD (0), RAD (90), RAD (0)) * ANGLES (RAD (0) ), RAD (0), RAD (-20)), 0.2 / Animation_Speed) |
1102 | - | tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color) |
1102 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1,2, 0,2 - 0,1 * COS (SINE / 24), -0,4 - 0,1 * COS (SINE / 24)) * ANGLES (RAD (45), RAD (-70 ), RAD (0)) * ANGLES (RAD (0), RAD (0), RAD (10)), 0.2 / Animation_Speed) |
1103 | - | tr3.Lifetime = 0.6 |
1103 | + | fin |
1104 | elseif TORSOVELOCITY> 1 et HITFLOOR ~ = nil alors | |
1105 | ANIM = "Marche" | |
1106 | - | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
1106 | + | si ATTACK == false alors |
1107 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
1107 | + | RootJoint.C0 = Clerp (RootJoint.C0, ROOTC0 * CF (0, 0, -0,1) * ANGLES (RAD (-20), RAD (0), RAD (0)), 1 / Animation_Speed) |
1108 | - | local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1108 | + | Neck.C0 = Clerp (Neck.C0, NECKC0 * CF (0, -0,025, 0 + (1 - 1)) * * ANGLES (RAD (35), RAD (0), RAD (0)), 1 / La vitesse d'animation) |
1109 | RightShoulder.C0 = Clerp (RightShoulder.C0, CF (1.5, 0.5, 0) * ANGLES (RAD (80 * SIN (SINE / WALKSPEEDVALUE)), RAD (0), RAD (0)) * ANGLES (RAD (0) , RAD (5), RAD (0 - 40 * NAS (SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
1110 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1110 | + | LeftShoulder.C0 = Clerp (LeftShoulder.C0, CF (-1.5, 0.5, 0) * ANGLES (RAD (-80 * NAS (SINE / WALKSPEEDVALUE))), RAD (0), RAD (0)) * ANGLES (RAD (0)) 0), RAD (5), RAD (0 - 40 * NAS (SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
1111 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1111 | + | RightHip.C0 = Clerp (RightHip.C0, CF (1, -1, 0) * ANGLES (RAD (-5), RAD (85), RAD (0)) * ANGLES (RAD (0), RAD (0) , RAD (0)), 2 / Animation_Speed) |
1112 | - | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1112 | + | LeftHip.C0 = Clerp (LeftHip.C0, CF (-1, -1, 0) * ANGLES (RAD (-5), RAD (-85), RAD (0)) * ANGLES (RAD (0), RAD ( 0), RAD (0)), 2 / Animation_Speed) |
1113 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1113 | + | fin |
1114 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1114 | + | fin |
1115 | - | CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1115 | + | unanchor () |
1116 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1116 | + | |
1117 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1117 | + | |
1118 | - | CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1118 | + | si Rooted == false alors |
1119 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1119 | + | |
1120 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
1120 | + | Humanoid.WalkSpeed = Vitesse |
1121 | - | CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1121 | + | elseif Rooted == vrai alors |
1122 | Disable_Jump = true | |
1123 | - | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
1123 | + | Humanoid.WalkSpeed = 0 |
1124 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
1124 | + | fin |
1125 | - | local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1125 | + | fin |
1126 | ||
1127 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1127 | + | - // ================================= \\ |
1128 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1128 | + | - \\ ================================= |
1129 | - | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1129 | + | |
1130 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1130 | + | |
1131 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
1131 | + | |
1132 | - | CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1132 | + | |
1133 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1133 | + | |
1134 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
1134 | + | - // =========================================== ====== \\ - |
1135 | - | CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1135 | + | - || FIN DE L'ECRIT |
1136 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
1136 | + | - \\ =========================================== ====== // - |