SHOW:
|
|
- or go back to the newest paste.
1 | - | warn([[Star Glitcher Loaded. |
1 | + | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end |
2 | - | All purpose switcher... -- wat |
2 | + | print("FE Compatibility: by WaverlyCole & Mokiros") |
3 | InternalData = {} | |
4 | - | It's not over yet. |
4 | + | do |
5 | - | The faith is among us. |
5 | + | script.Parent = owner.Character |
6 | - | And yet you still haven't defeated me. |
6 | + | local Event = Instance.new("RemoteEvent") |
7 | - | Now is my chance to destroy you. |
7 | + | Event.Name = "UserInput" |
8 | - | With the elemental being struggling to gain power. |
8 | + | local function NewFakeEvent() |
9 | - | This is the result. |
9 | + | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect |
10 | - | Very unstable and powerful. |
10 | + | return Fake |
11 | - | An insanely chaotic being. |
11 | + | |
12 | - | Nobody knew that one could hold this power. |
12 | + | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} |
13 | - | It's the one that has been created by an unknown being. |
13 | + | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} |
14 | - | You know this name already. |
14 | + | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) |
15 | - | The power is inside your body. |
15 | + | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil |
16 | - | You will decide things with this power. |
16 | + | end};ContextActionService.UnBindAction = ContextActionService.BindAction |
17 | - | And the future changes with your choices. |
17 | + | local function TriggerEvent(self,Event,...) |
18 | - | For now, you'll decide. |
18 | + | local Trigger = Mouse[Event] |
19 | - | You're one of them who holds this chaotic power. |
19 | + | if Trigger and Trigger.fakeEvent and Trigger.Function then |
20 | - | And so on, you would get chaotic to everyone else. |
20 | + | Trigger.Function(...) |
21 | - | You seem not to trust anybody, but yourself. |
21 | + | |
22 | - | It's only your decision. |
22 | + | |
23 | - | No mercy, No spare. |
23 | + | Mouse.TrigEvent = TriggerEvent |
24 | - | Its in your hands, You are the Star Glitcher. |
24 | + | UserInputService.TrigEvent = TriggerEvent |
25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
26 | - | Created by 'NoobyGames12' |
26 | + | if FiredBy.Name ~= owner.Name then end |
27 | - | Edited by 'danny199990' |
27 | + | if Input.MouseEvent then |
28 | - | Some stuff by 'XXUNORIBOASXX' |
28 | + | Mouse.Target = Input.Target |
29 | - | Even more edited by 'GodzillaGamer2037' |
29 | + | Mouse.Hit = Input.Hit |
30 | else | |
31 | - | ]]) |
31 | + | local Begin = Input.UserInputState == Enum.UserInputState.Begin |
32 | - | print([[Icons: |
32 | + | if Input.UserInputType == Enum.UserInputType.MouseButton1 then |
33 | - | ! = New |
33 | + | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") |
34 | - | ? = Spoilers |
34 | + | |
35 | - | * = Exclusive |
35 | + | for _,Action in pairs(ContextActionService.Actions) do |
36 | - | ]]) |
36 | + | for _,Key in pairs(Action.Keys) do |
37 | - | warn([[V 3.3.1 (ON PROGRESS) Update Log: |
37 | + | if Key==Input.KeyCode then |
38 | - | - Original themes included |
38 | + | Action.Function(Action.Name,Input.UserInputState,Input) |
39 | - | *-Divine Purity |
39 | + | end |
40 | - | *-Distortion mode |
40 | + | |
41 | - | *-Divine universe |
41 | + | |
42 | - | !-Ultra Chaos/Rainbow mode |
42 | + | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) |
43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
44 | - | I'd like if you wouldnt remove my or NoobyGames's credit, thanks alot ;). |
44 | + | |
45 | - | ]]) |
45 | + | |
46 | - | --- its obs smooth af do not touch |
46 | + | InternalData["Mouse"] = Mouse |
47 | - | ---- Sources and functions might be taken from others |
47 | + | InternalData["ContextActionService"] = ContextActionService |
48 | InternalData["UserInputService"] = UserInputService | |
49 | Event.Parent = NLS([[ | |
50 | - | Cam = workspace.CurrentCamera |
50 | + | local Player = owner |
51 | local Event = script:WaitForChild("UserInput") | |
52 | local UserInputService = game:GetService("UserInputService") | |
53 | local Mouse = Player:GetMouse() | |
54 | - | Mouse = Player:GetMouse() |
54 | + | local Input = function(Input,gameProcessedEvent) |
55 | - | RootPart = Character["HumanoidRootPart"] |
55 | + | if gameProcessedEvent then return end |
56 | - | Torso = Character["Torso"] |
56 | + | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) |
57 | - | Head = Character["Head"] |
57 | + | |
58 | UserInputService.InputBegan:Connect(Input) | |
59 | UserInputService.InputEnded:Connect(Input) | |
60 | local Hit,Target | |
61 | while wait(1/30) do | |
62 | - | RootJoint = RootPart["RootJoint"] |
62 | + | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then |
63 | - | Neck = Torso["Neck"] |
63 | + | Hit,Target = Mouse.Hit,Mouse.Target |
64 | - | RightShoulder = Torso["Right Shoulder"] |
64 | + | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) |
65 | - | LeftShoulder = Torso["Left Shoulder"] |
65 | + | |
66 | - | RightHip = Torso["Right Hip"] |
66 | + | |
67 | - | LeftHip = Torso["Left Hip"] |
67 | + | ]],owner.Character) |
68 | end | |
69 | - | IT = Instance.new |
69 | + | RealGame = game;game = setmetatable({},{ |
70 | - | CF = CFrame.new |
70 | + | __index = function (self,Index) |
71 | - | VT = Vector3.new |
71 | + | local Sandbox = function (Thing) |
72 | - | RAD = math.rad |
72 | + | if Thing:IsA("Player") then |
73 | - | C3 = Color3.new |
73 | + | local RealPlayer = Thing |
74 | - | UD2 = UDim2.new |
74 | + | return setmetatable({},{ |
75 | - | BRICKC = BrickColor.new |
75 | + | __index = function (self,Index) |
76 | - | ANGLES = CFrame.Angles |
76 | + | local Type = type(RealPlayer[Index]) |
77 | - | EULER = CFrame.fromEulerAnglesXYZ |
77 | + | if Type == "function" then |
78 | - | COS = math.cos |
78 | + | if Index:lower() == "getmouse" or Index:lower() == "mouse" then |
79 | - | ACOS = math.acos |
79 | + | return function (self) |
80 | - | SIN = math.sin |
80 | + | return InternalData["Mouse"] |
81 | - | ASIN = math.asin |
81 | + | |
82 | - | ABS = math.abs |
82 | + | |
83 | - | MRANDOM = math.random |
83 | + | return function (self,...) |
84 | - | FLOOR = math.floor |
84 | + | return RealPlayer[Index](RealPlayer,...) |
85 | end | |
86 | - | plr = game:GetService("Players").LocalPlayer |
86 | + | else |
87 | if Index == "PlrObj" then | |
88 | return RealPlayer | |
89 | end | |
90 | - | local Controller = plr.PlayerScripts:WaitForChild("ControlScript") |
90 | + | return RealPlayer[Index] |
91 | end | |
92 | end; | |
93 | __tostring = function(self) | |
94 | return RealPlayer.Name | |
95 | end | |
96 | }) | |
97 | end | |
98 | end | |
99 | if RealGame[Index] then | |
100 | local Type = type(RealGame[Index]) | |
101 | if Type == "function" then | |
102 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
103 | return function (self,Service) | |
104 | if Service:lower() == "players" then | |
105 | return setmetatable({},{ | |
106 | __index = function (self2,Index2) | |
107 | local RealService = RealGame:GetService(Service) | |
108 | local Type2 = type(Index2) | |
109 | if Type2 == "function" then | |
110 | return function (self,...) | |
111 | return RealService[Index2](RealService,...) | |
112 | end | |
113 | else | |
114 | if Index2:lower() == "localplayer" then | |
115 | return Sandbox(owner) | |
116 | end | |
117 | return RealService[Index2] | |
118 | end | |
119 | end; | |
120 | - | local eff = true |
120 | + | __tostring = function(self) |
121 | - | local shielding = false |
121 | + | return RealGame:GetService(Service).Name |
122 | end | |
123 | - | Animation_Speed = 3 |
123 | + | }) |
124 | - | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) |
124 | + | elseif Service:lower() == "contextactionservice" then |
125 | - | local Speed = 12 |
125 | + | return InternalData["ContextActionService"] |
126 | - | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
126 | + | elseif Service:lower() == "contextactionservice" then |
127 | - | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) |
127 | + | return InternalData["UserInputService"] |
128 | - | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) |
128 | + | elseif Service:lower() == "runservice" then |
129 | - | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) |
129 | + | return setmetatable({},{ |
130 | - | local DAMAGEMULTIPLIER = 1 |
130 | + | __index = function(self2,Index2) |
131 | - | local ANIM = "Idle" |
131 | + | local RealService = RealGame:GetService(Service) |
132 | - | local ATTACK = false |
132 | + | local Type2 = type(Index2) |
133 | - | local EQUIPPED = false |
133 | + | if Type2 == "function" then |
134 | - | local HOLD = false |
134 | + | return function (self,...) |
135 | - | local COMBO = 1 |
135 | + | return RealService[Index2](RealService,...) |
136 | - | local Rooted = false |
136 | + | |
137 | - | local SINE = 0 |
137 | + | else |
138 | - | local KEYHOLD = false |
138 | + | if Index2:lower() == "bindtorenderstep" then |
139 | - | local CHANGE = 2 / Animation_Speed |
139 | + | return function (self,Name,Priority,Function) |
140 | - | local WALKINGANIM = false |
140 | + | return RealGame:GetService("RunService").Stepped:Connect(Function) |
141 | - | local VALUE1 = false |
141 | + | end |
142 | - | local VALUE2 = false |
142 | + | |
143 | - | local ROBLOXIDLEANIMATION = IT("Animation") |
143 | + | if Index2:lower() == "renderstepped" then |
144 | - | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" |
144 | + | return RealService["Stepped"] |
145 | - | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" |
145 | + | |
146 | - | --ROBLOXIDLEANIMATION.Parent = Humanoid |
146 | + | return RealService[Index2] |
147 | - | local WEAPONGUI = IT("ScreenGui", PlayerGui) |
147 | + | |
148 | - | WEAPONGUI.Name = "Weapon GUI" |
148 | + | |
149 | - | local Effects = IT("Folder", Character) |
149 | + | }) |
150 | - | Effects.Name = "Effects" |
150 | + | else |
151 | - | local ANIMATOR = Humanoid.Animator |
151 | + | return RealGame:GetService(Service) |
152 | - | local ANIMATE = Character.Animate |
152 | + | end |
153 | - | local UNANCHOR = true |
153 | + | end |
154 | - | local WHITELIST = {} |
154 | + | |
155 | - | local TAUNT = false |
155 | + | return function (self,...) |
156 | - | local OFFSET = 0 |
156 | + | return RealGame[Index](RealGame,...) |
157 | - | local FULL = false |
157 | + | |
158 | else | |
159 | - | local Booleans = { |
159 | + | if game:GetService(Index) then |
160 | - | CamFollow = true, |
160 | + | return game:GetService(Index) |
161 | - | GyroUse = true |
161 | + | |
162 | return RealGame[Index] | |
163 | end | |
164 | - | function Swait(NUMBER) |
164 | + | |
165 | - | if NUMBER == 0 or NUMBER == nil then |
165 | + | return nil |
166 | - | ArtificialHB.Event:wait() |
166 | + | |
167 | end | |
168 | - | for i = 1, NUMBER do |
168 | + | });Game = game;owner = game:GetService("Players").LocalPlayer;script = {} |
169 | - | ArtificialHB.Event:wait() |
169 | + | print("Complete! Running...") |
170 | ||
171 | ||
172 | --//Paste script below this line. | |
173 | ||
174 | warn("Star Glitcher Loaded.") | |
175 | - | return object:lerp(newCFrame, alpha) |
175 | + | warn("All purpose switcher...") |
176 | warn("Edit By Frepix.") | |
177 | warn("Minor Edit By UndeniableInfinity.") | |
178 | warn("Please Support The Original Creator Of This Script.") | |
179 | plr = game.Players.LocalPlayer | |
180 | char = plr.Character | |
181 | hum = char.Humanoid | |
182 | local cam = game.Workspace.CurrentCamera | |
183 | Camera = cam | |
184 | local CamInterrupt = false | |
185 | local TwoD = false | |
186 | local TargetInfo = {nil, nil} | |
187 | cam.CameraType = "Custom" | |
188 | t = char.Torso | |
189 | h = char.Head | |
190 | - | kan = Instance.new("Sound",char) |
190 | + | |
191 | - | kan.Volume = 1.25 |
191 | + | |
192 | rl = char["Right Leg"] | |
193 | ll = char["Left Leg"] | |
194 | tors = char.Torso | |
195 | - | kan.SoundId = "rbxassetid://614032233" |
195 | + | |
196 | root = char.HumanoidRootPart | |
197 | hed = char.Head | |
198 | rleg = char["Right Leg"] | |
199 | rarm = char["Right Arm"] | |
200 | - | function newTheme(ID,timepos,pitch,vol) |
200 | + | |
201 | - | local kanz = kan |
201 | + | |
202 | - | --kanz:Stop() |
202 | + | |
203 | - | --kanz.Volume = vol |
203 | + | |
204 | - | --kanz.TimePosition = timepos |
204 | + | |
205 | - | kanz.PlaybackSpeed = pitch |
205 | + | |
206 | - | kanz.Pitch = pitch |
206 | + | |
207 | - | kanz.SoundId = ID |
207 | + | |
208 | - | kanz.Name = "wrecked" |
208 | + | |
209 | - | kanz.Looped = true |
209 | + | |
210 | - | kanz.Volume = 3 |
210 | + | |
211 | - | --kanz:Play() |
211 | + | |
212 | - | --coroutine.resume(coroutine.create(function() |
212 | + | local Booleans = {CamFollow = true, GyroUse = true} |
213 | - | --wait(0.05) |
213 | + | |
214 | - | --end)) |
214 | + | return object:lerp(newCFrame, alpha) |
215 | end | |
216 | ||
217 | - | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) |
217 | + | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) |
218 | - | local NEWSOUND = nil |
218 | + | ff.Visible = false |
219 | ||
220 | - | NEWSOUND = S:Clone() |
220 | + | |
221 | - | NEWSOUND.Parent = PARENT |
221 | + | |
222 | - | NEWSOUND.Volume = VOLUME |
222 | + | |
223 | - | NEWSOUND.Pitch = PITCH |
223 | + | |
224 | - | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID |
224 | + | |
225 | - | NEWSOUND:play() |
225 | + | |
226 | - | if DOESLOOP == true then |
226 | + | |
227 | - | NEWSOUND.Looped = true |
227 | + | |
228 | CPart.Transparency = 1 | |
229 | - | repeat wait(1) until NEWSOUND.Playing == false |
229 | + | |
230 | - | NEWSOUND:remove() |
230 | + | |
231 | kan = Instance.new("Sound", char) | |
232 | kan.Volume = 1.98 | |
233 | - | return NEWSOUND |
233 | + | |
234 | kan.PlaybackSpeed = 1 | |
235 | kan.Pitch = 1 | |
236 | - | function newThemeCust(ID,timepos,pitch,vol) |
236 | + | kan.SoundId = "rbxassetid://415898123" |
237 | - | local kanz = kan |
237 | + | |
238 | - | kanz:Stop() |
238 | + | |
239 | - | kanz.Volume = vol |
239 | + | |
240 | - | kanz.TimePosition = timepos |
240 | + | function newTheme(ID, timepos, pitch, vol) |
241 | - | kanz.PlaybackSpeed = pitch |
241 | + | local kanz = kan |
242 | - | kanz.Pitch = pitch |
242 | + | kanz.PlaybackSpeed = pitch |
243 | - | kanz.SoundId = ID |
243 | + | kanz.Pitch = pitch |
244 | - | kanz.Name = "wrecked" |
244 | + | kanz.SoundId = ID |
245 | - | kanz.Looped = true |
245 | + | kanz.Name = "wrecked" |
246 | - | kanz:Play() |
246 | + | kanz.Looped = true |
247 | end | |
248 | - | wait(0.05) |
248 | + | |
249 | coroutine.resume(coroutine.create(function() | |
250 | FV = Instance.new("BoolValue", PlayerTarget) | |
251 | FV.Name = "CameraShake" | |
252 | for ShakeNum = 1, Times do | |
253 | swait() | |
254 | local ef = Power | |
255 | if ef >= 1 then | |
256 | - | FV = Instance.new("BoolValue", PlayerTarget) |
256 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) |
257 | - | FV.Name = "CameraShake" |
257 | + | |
258 | - | for ShakeNum=1,Times do |
258 | + | ef = Power * 10 |
259 | - | swait() |
259 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) |
260 | - | local ef=Power |
260 | + | |
261 | - | if ef>=1 then |
261 | + | |
262 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
262 | + | Humanoid.CameraOffset = Vector3.new(0, 0, 0) |
263 | - | else |
263 | + | FV:Destroy() |
264 | - | ef=Power*10 |
264 | + | |
265 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
265 | + | |
266 | - | end |
266 | + | function CameraEnshaking(Length, Intensity) |
267 | coroutine.resume(coroutine.create(function() | |
268 | - | Humanoid.CameraOffset = Vector3.new(0,0,0) |
268 | + | local intensity = 1 * Intensity |
269 | - | FV:Destroy() |
269 | + | local rotM = 0.01 * Intensity |
270 | for i = 0, Length, 0.1 do | |
271 | swait() | |
272 | intensity = intensity - 0.05 * Intensity / Length | |
273 | - | function CameraEnshaking(Length,Intensity) |
273 | + | rotM = rotM - 5.0E-4 * Intensity / Length |
274 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
275 | - | local intensity = 1*Intensity |
275 | + | 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) |
276 | - | local rotM = 0.01*Intensity |
276 | + | |
277 | - | for i = 0, Length, 0.1 do |
277 | + | Humanoid.CameraOffset = Vec3(0, 0, 0) |
278 | - | swait() |
278 | + | |
279 | - | intensity = intensity - 0.05*Intensity/Length |
279 | + | |
280 | - | rotM = rotM - 0.0005*Intensity/Length |
280 | + | function CamShake(Part, Distan, Power, Times) |
281 | - | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) |
281 | + | local de = Part.Position |
282 | - | 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) |
282 | + | for i, v in pairs(workspace:children()) do |
283 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
284 | - | Humanoid.CameraOffset = Vec3(0, 0, 0) |
284 | + | for _, c in pairs(v:children()) do |
285 | if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then | |
286 | do | |
287 | - | CamShake=function(Part,Distan,Power,Times) |
287 | + | local Noob = v.Humanoid |
288 | - | local de=Part.Position |
288 | + | if Noob ~= nil then |
289 | - | for i,v in pairs(workspace:children()) do |
289 | + | coroutine.resume(coroutine.create(function() |
290 | - | if v:IsA("Model") and v:findFirstChild("Humanoid") then |
290 | + | FV = Instance.new("BoolValue", Noob) |
291 | - | for _,c in pairs(v:children()) do |
291 | + | FV.Name = "CameraShake" |
292 | - | if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then |
292 | + | for ShakeNum = 1, Times do |
293 | - | local Noob=v.Humanoid |
293 | + | swait() |
294 | - | if Noob~=nil then |
294 | + | local ef = Power |
295 | if ef >= 1 then | |
296 | - | FV = Instance.new("BoolValue", Noob) |
296 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) |
297 | - | FV.Name = "CameraShake" |
297 | + | else |
298 | - | for ShakeNum=1,Times do |
298 | + | ef = Power * 10 |
299 | - | swait() |
299 | + | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) |
300 | - | local ef=Power |
300 | + | |
301 | - | if ef>=1 then |
301 | + | |
302 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef)) |
302 | + | Humanoid.CameraOffset = Vector3.new(0, 0, 0) |
303 | - | else |
303 | + | FV:Destroy() |
304 | - | ef=Power*10 |
304 | + | end)) |
305 | - | Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10) |
305 | + | CameraShake(Times, Power, Noob) |
306 | - | end |
306 | + | end |
307 | end | |
308 | - | Humanoid.CameraOffset = Vector3.new(0,0,0) |
308 | + | |
309 | - | FV:Destroy() |
309 | + | |
310 | end | |
311 | - | CameraShake(Times, Power, Noob) |
311 | + | |
312 | end | |
313 | function chatfunc(text, color) | |
314 | local chat = coroutine.wrap(function() | |
315 | if Character:FindFirstChild("TalkingBillBoard") ~= nil then | |
316 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
317 | end | |
318 | local naeeym2 = Instance.new("BillboardGui", Character) | |
319 | - | function chatfunc(text,color) |
319 | + | naeeym2.Size = UDim2.new(0, 100, 0, 40) |
320 | - | local chat = coroutine.wrap(function() |
320 | + | naeeym2.StudsOffset = Vector3.new(0, 3, 0) |
321 | - | if Character:FindFirstChild("TalkingBillBoard")~= nil then |
321 | + | naeeym2.Adornee = Character.Head |
322 | - | Character:FindFirstChild("TalkingBillBoard"):destroy() |
322 | + | naeeym2.Name = "TalkingBillBoard" |
323 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
324 | - | local naeeym2 = Instance.new("BillboardGui",Character) |
324 | + | tecks2.BackgroundTransparency = 1 |
325 | - | naeeym2.Size = UDim2.new(0,100,0,40) |
325 | + | tecks2.BorderSizePixel = 0 |
326 | - | naeeym2.StudsOffset = Vector3.new(0,3,0) |
326 | + | tecks2.Text = "" |
327 | - | naeeym2.Adornee = Character.Head |
327 | + | tecks2.Font = "SciFi" |
328 | - | naeeym2.Name = "TalkingBillBoard" |
328 | + | tecks2.TextSize = 30 |
329 | - | local tecks2 = Instance.new("TextLabel",naeeym2) |
329 | + | tecks2.TextStrokeTransparency = 0 |
330 | - | tecks2.BackgroundTransparency = 1 |
330 | + | tecks2.TextColor3 = color |
331 | - | tecks2.BorderSizePixel = 0 |
331 | + | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) |
332 | - | tecks2.Text = "" |
332 | + | tecks2.Size = UDim2.new(1, 0, 0.5, 0) |
333 | - | tecks2.Font = "SciFi" |
333 | + | local tecks3 = Instance.new("TextLabel", naeeym2) |
334 | - | tecks2.TextSize = 30 |
334 | + | tecks3.BackgroundTransparency = 1 |
335 | - | tecks2.TextStrokeTransparency = 0 |
335 | + | tecks3.BorderSizePixel = 0 |
336 | - | tecks2.TextColor3 = color |
336 | + | tecks3.Text = "" |
337 | - | tecks2.TextStrokeColor3 = Color3.new(0,0,0) |
337 | + | tecks3.Font = "SciFi" |
338 | - | tecks2.Size = UDim2.new(1,0,0.5,0) |
338 | + | tecks3.TextSize = 30 |
339 | - | local tecks3 = Instance.new("TextLabel",naeeym2) |
339 | + | tecks3.TextStrokeTransparency = 0 |
340 | - | tecks3.BackgroundTransparency = 1 |
340 | + | tecks3.TextColor3 = Color3.new(0, 0, 0) |
341 | - | tecks3.BorderSizePixel = 0 |
341 | + | tecks3.TextStrokeColor3 = color |
342 | - | tecks3.Text = "" |
342 | + | tecks3.Size = UDim2.new(1, 0, 0.5, 0) |
343 | - | tecks3.Font = "SciFi" |
343 | + | coroutine.resume(coroutine.create(function() |
344 | - | tecks3.TextSize = 30 |
344 | + | while true do |
345 | - | tecks3.TextStrokeTransparency = 0 |
345 | + | swait(1) |
346 | - | tecks3.TextColor3 = Color3.new(0,0,0) |
346 | + | if chaosmode == true then |
347 | - | tecks3.TextStrokeColor3 = color |
347 | + | tecks2.TextColor3 = BrickColor.random().Color |
348 | - | tecks3.Size = UDim2.new(1,0,0.5,0) |
348 | + | tecks3.TextStrokeColor3 = BrickColor.random().Color |
349 | end | |
350 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
351 | - | swait(1) |
351 | + | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) |
352 | - | plr.Character.wrecked.Volume = 0.3 |
352 | + | tecks2.Rotation = math.random(-5, 5) |
353 | - | if chaosmode == true then |
353 | + | tecks3.Rotation = math.random(-5, 5) |
354 | - | tecks2.TextColor3 = BrickColor.random().Color |
354 | + | |
355 | - | tecks3.TextStrokeColor3 = BrickColor.random().Color |
355 | + | end)) |
356 | for i = 1, string.len(text) do | |
357 | - | tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
357 | + | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115) |
358 | - | tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5)) |
358 | + | tecks2.Text = string.sub(text, 1, i) |
359 | - | tecks2.Rotation = math.random(-5,5) |
359 | + | tecks3.Text = string.sub(text, 1, i) |
360 | - | tecks3.Rotation = math.random(-5,5) |
360 | + | swait(1) |
361 | end | |
362 | wait(1) | |
363 | - | for i = 1,string.len(text),1 do |
363 | + | local randomrot = math.random(1, 2) |
364 | - | CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115) |
364 | + | if randomrot == 1 then |
365 | - | tecks2.Text = string.sub(text,1,i) |
365 | + | for i = 1, 50 do |
366 | - | tecks3.Text = string.sub(text,1,i) |
366 | + | swait() |
367 | - | swait(1) |
367 | + | tecks2.Rotation = tecks2.Rotation - 0.75 |
368 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
369 | - | wait(1) |
369 | + | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
370 | - | local randomrot = math.random(1,2) |
370 | + | tecks3.Rotation = tecks2.Rotation + 0.75 |
371 | - | if randomrot == 1 then |
371 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
372 | - | for i = 1, 50 do |
372 | + | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
373 | - | swait() |
373 | + | |
374 | - | tecks2.Rotation = tecks2.Rotation - .75 |
374 | + | elseif randomrot == 2 then |
375 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
375 | + | for i = 1, 50 do |
376 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
376 | + | swait() |
377 | - | tecks3.Rotation = tecks2.Rotation + .75 |
377 | + | tecks2.Rotation = tecks2.Rotation + 0.75 |
378 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
378 | + | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
379 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
379 | + | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 |
380 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
381 | - | elseif randomrot == 2 then |
381 | + | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 |
382 | - | for i = 1, 50 do |
382 | + | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 |
383 | - | swait() |
383 | + | |
384 | - | tecks2.Rotation = tecks2.Rotation + .75 |
384 | + | |
385 | - | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
385 | + | naeeym2:Destroy() |
386 | - | tecks2.TextTransparency = tecks2.TextTransparency + .04 |
386 | + | |
387 | - | tecks3.Rotation = tecks2.Rotation - .75 |
387 | + | chat() |
388 | - | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 |
388 | + | |
389 | - | tecks3.TextTransparency = tecks2.TextTransparency + .04 |
389 | + | |
390 | CFuncs = { | |
391 | Part = { | |
392 | - | naeeym2:Destroy() |
392 | + | |
393 | local Part = Create("Part")({ | |
394 | - | chat() |
394 | + | |
395 | Reflectance = Reflectance, | |
396 | Transparency = Transparency, | |
397 | - | ArtificialHB = Instance.new("BindableEvent", script) |
397 | + | |
398 | - | ArtificialHB.Name = "ArtificialHB" |
398 | + | |
399 | BrickColor = BrickColor.new(tostring(BColor)), | |
400 | - | script:WaitForChild("ArtificialHB") |
400 | + | |
401 | Size = Size, | |
402 | - | frame = Frame_Speed |
402 | + | Material = Material |
403 | - | tf = 0 |
403 | + | }) |
404 | - | allowframeloss = false |
404 | + | |
405 | - | tossremainder = false |
405 | + | |
406 | - | lastframe = tick() |
406 | + | |
407 | - | script.ArtificialHB:Fire() |
407 | + | }, |
408 | Mesh = { | |
409 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
409 | + | |
410 | - | tf = tf + s |
410 | + | local Msh = Create(Mesh)({ |
411 | - | if tf >= frame then |
411 | + | |
412 | - | if allowframeloss then |
412 | + | |
413 | - | script.ArtificialHB:Fire() |
413 | + | Scale = Scale |
414 | - | lastframe = tick() |
414 | + | }) |
415 | if Mesh == "SpecialMesh" then | |
416 | - | for i = 1, math.floor(tf / frame) do |
416 | + | |
417 | - | script.ArtificialHB:Fire() |
417 | + | |
418 | end | |
419 | - | lastframe = tick() |
419 | + | |
420 | end | |
421 | - | if tossremainder then |
421 | + | }, |
422 | - | tf = 0 |
422 | + | Mesh = { |
423 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
424 | - | tf = tf - frame * math.floor(tf / frame) |
424 | + | local Msh = Create(Mesh)({ |
425 | Parent = Part, | |
426 | Offset = OffSet, | |
427 | Scale = Scale | |
428 | }) | |
429 | if Mesh == "SpecialMesh" then | |
430 | Msh.MeshType = MeshType | |
431 | - | CFuncs = { |
431 | + | |
432 | - | ["Part"] = { |
432 | + | |
433 | return Msh | |
434 | - | local Part = Create("Part"){ |
434 | + | |
435 | }, | |
436 | Weld = { | |
437 | Create = function(Parent, Part0, Part1, C0, C1) | |
438 | local Weld = Create("Weld")({ | |
439 | Parent = Parent, | |
440 | Part0 = Part0, | |
441 | Part1 = Part1, | |
442 | C0 = C0, | |
443 | - | Material = Material, |
443 | + | C1 = C1 |
444 | - | } |
444 | + | }) |
445 | return Weld | |
446 | end | |
447 | - | end; |
447 | + | }, |
448 | - | }; |
448 | + | Sound = { |
449 | - | |
449 | + | Create = function(id, par, vol, pit) |
450 | - | ["Mesh"] = { |
450 | + | |
451 | local S = Create("Sound")({ | |
452 | - | local Msh = Create(Mesh){ |
452 | + | |
453 | Pitch = pit or 1, | |
454 | SoundId = id, | |
455 | - | Scale = Scale, |
455 | + | Parent = par or workspace |
456 | - | } |
456 | + | }) |
457 | wait() | |
458 | S:play() | |
459 | game:GetService("Debris"):AddItem(S, 10) | |
460 | end)) | |
461 | end | |
462 | - | end; |
462 | + | }, |
463 | - | }; |
463 | + | LongSound = { |
464 | - | |
464 | + | Create = function(id, par, vol, pit) |
465 | - | ["Mesh"] = { |
465 | + | |
466 | local S = Create("Sound")({ | |
467 | - | local Msh = Create(Mesh){ |
467 | + | |
468 | Pitch = pit or 1, | |
469 | SoundId = id, | |
470 | - | Scale = Scale, |
470 | + | Parent = par or workspace |
471 | - | } |
471 | + | }) |
472 | wait() | |
473 | S:play() | |
474 | game:GetService("Debris"):AddItem(S, 30) | |
475 | end)) | |
476 | end | |
477 | - | end; |
477 | + | }, |
478 | - | }; |
478 | + | ParticleEmitter = { |
479 | - | |
479 | + | |
480 | - | ["Weld"] = { |
480 | + | local fp = Create("ParticleEmitter")({ |
481 | Parent = Parent, | |
482 | - | local Weld = Create("Weld"){ |
482 | + | |
483 | LightEmission = LightEmission, | |
484 | Size = Size, | |
485 | Texture = Texture, | |
486 | Transparency = Transparency, | |
487 | - | C1 = C1, |
487 | + | |
488 | - | } |
488 | + | |
489 | Drag = Drag, | |
490 | - | end; |
490 | + | |
491 | - | }; |
491 | + | |
492 | EmissionDirection = EmissionDirection, | |
493 | - | ["Sound"] = { |
493 | + | |
494 | - | Create = function(id, par, vol, pit) |
494 | + | |
495 | Rate = Rate, | |
496 | - | local S = Create("Sound"){ |
496 | + | |
497 | RotSpeed = RotSpeed, | |
498 | - | Name = "EffectSoundo", |
498 | + | |
499 | VelocitySpread = VelocitySpread | |
500 | }) | |
501 | - | Parent = par or workspace, |
501 | + | |
502 | - | } |
502 | + | |
503 | - | wait() |
503 | + | }, |
504 | - | S:play() |
504 | + | CreateTemplate = {} |
505 | } | |
506 | function New(Object, Parent, Name, Data) | |
507 | - | end; |
507 | + | |
508 | - | }; |
508 | + | |
509 | Object[Index] = Value | |
510 | - | ["LongSound"] = { |
510 | + | |
511 | - | Create = function(id, par, vol, pit) |
511 | + | |
512 | Object.Name = Name | |
513 | - | local S = Create("Sound"){ |
513 | + | |
514 | end | |
515 | local halocolor = BrickColor.new("Pastel light blue") | |
516 | local halocolor2 = BrickColor.new("Really black") | |
517 | - | Parent = par or workspace, |
517 | + | local starcolor = BrickColor.new("Really black") |
518 | - | } |
518 | + | |
519 | - | wait() |
519 | + | |
520 | - | S:play() |
520 | + | |
521 | local maincolor = BrickColor.new("Really black") | |
522 | local m = Instance.new("Model", char) | |
523 | - | end; |
523 | + | local m2 = Instance.new("Model", char) |
524 | - | }; |
524 | + | local m3 = Instance.new("Model", char) |
525 | - | |
525 | + | local mw1 = Instance.new("Model", char) |
526 | - | ["ParticleEmitter"] = { |
526 | + | local mw2 = Instance.new("Model", char) |
527 | local extrawingmod1 = Instance.new("Model", char) | |
528 | - | local fp = Create("ParticleEmitter"){ |
528 | + | local extrawingmod2 = Instance.new("Model", char) |
529 | function CreateParta(parent, transparency, reflectance, material, brickcolor) | |
530 | local p = Instance.new("Part") | |
531 | p.TopSurface = 0 | |
532 | p.BottomSurface = 0 | |
533 | p.Parent = parent | |
534 | p.Size = Vector3.new(0.1, 0.1, 0.1) | |
535 | p.Transparency = transparency | |
536 | p.Reflectance = reflectance | |
537 | p.CanCollide = false | |
538 | p.Locked = true | |
539 | p.BrickColor = brickcolor | |
540 | p.Material = material | |
541 | return p | |
542 | end | |
543 | function CreateMesh(parent, meshtype, x1, y1, z1) | |
544 | local mesh = Instance.new("SpecialMesh", parent) | |
545 | mesh.MeshType = meshtype | |
546 | mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10) | |
547 | - | VelocitySpread = VelocitySpread, |
547 | + | return mesh |
548 | - | } |
548 | + | |
549 | function CreateSpecialMesh(parent, meshid, x1, y1, z1) | |
550 | - | end; |
550 | + | local mesh = Instance.new("SpecialMesh", parent) |
551 | - | }; |
551 | + | mesh.MeshType = "FileMesh" |
552 | mesh.MeshId = meshid | |
553 | - | CreateTemplate = { |
553 | + | mesh.Scale = Vector3.new(x1, y1, z1) |
554 | - | |
554 | + | return mesh |
555 | - | }; |
555 | + | |
556 | function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1) | |
557 | local mesh = Instance.new("SpecialMesh", parent) | |
558 | mesh.MeshType = "FileMesh" | |
559 | mesh.MeshId = meshid | |
560 | - | New = function(Object, Parent, Name, Data) |
560 | + | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
561 | mesh.Scale = Vector3.new(x1, y1, z1) | |
562 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
563 | return mesh | |
564 | end | |
565 | function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za) | |
566 | local weld = Instance.new("Weld") | |
567 | weld.Parent = parent | |
568 | weld.Part0 = part0 | |
569 | weld.Part1 = part1 | |
570 | - | local halocolor2 = BrickColor.new("Cool yellow") |
570 | + | weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za) |
571 | - | local starcolor = BrickColor.new("Bright yellow") |
571 | + | weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za) |
572 | return weld | |
573 | end | |
574 | local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor) | |
575 | CreateMesh(handle, "Brick", 0, 0, 0) | |
576 | - | local m = Instance.new("Model",char) |
576 | + | 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)) |
577 | - | local m2 = Instance.new("Model",char) |
577 | + | |
578 | - | local m3 = Instance.new("Model",char) |
578 | + | |
579 | - | local mw1 = Instance.new("Model",char) |
579 | + | |
580 | - | local mw2 = Instance.new("Model",char) |
580 | + | rn = CreateParta(mw2, 0, 0, "Neon", halocolor) |
581 | CreateMesh(rn, "Brick", 0.25, 0.1, 0.1) | |
582 | - | local extrawingmod1 = Instance.new("Model",char) |
582 | + | 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)) |
583 | - | local extrawingmod2 = Instance.new("Model",char) |
583 | + | |
584 | local handle = CreateParta(m, 1, 1, "Neon", maincolor) | |
585 | - | function CreateParta(parent,transparency,reflectance,material,brickcolor) |
585 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
586 | - | local p = Instance.new("Part") |
586 | + | 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)) |
587 | - | p.TopSurface = 0 |
587 | + | local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor) |
588 | - | p.BottomSurface = 0 |
588 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
589 | - | p.Parent = parent |
589 | + | 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)) |
590 | - | p.Size = Vector3.new(0.1,0.1,0.1) |
590 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
591 | - | p.Transparency = transparency |
591 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
592 | - | p.Reflectance = reflectance |
592 | + | 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)) |
593 | - | p.CanCollide = false |
593 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
594 | - | p.Locked = true |
594 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
595 | - | p.BrickColor = brickcolor |
595 | + | 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)) |
596 | - | p.Material = material |
596 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
597 | - | return p |
597 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
598 | 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)) | |
599 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
600 | - | function CreateMesh(parent,meshtype,x1,y1,z1) |
600 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
601 | - | local mesh = Instance.new("SpecialMesh",parent) |
601 | + | 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)) |
602 | - | mesh.MeshType = meshtype |
602 | + | local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor) |
603 | - | mesh.Scale = Vector3.new(x1*10,y1*10,z1*10) |
603 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
604 | - | return mesh |
604 | + | 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)) |
605 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
606 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
607 | - | function CreateSpecialMesh(parent,meshid,x1,y1,z1) |
607 | + | 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)) |
608 | - | local mesh = Instance.new("SpecialMesh",parent) |
608 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
609 | - | mesh.MeshType = "FileMesh" |
609 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
610 | - | mesh.MeshId = meshid |
610 | + | 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)) |
611 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
611 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
612 | - | return mesh |
612 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
613 | 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)) | |
614 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
615 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
616 | - | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) |
616 | + | 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)) |
617 | - | local mesh = Instance.new("SpecialMesh",parent) |
617 | + | local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor) |
618 | - | mesh.MeshType = "FileMesh" |
618 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
619 | - | mesh.MeshId = meshid |
619 | + | 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)) |
620 | - | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" |
620 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
621 | - | mesh.Scale = Vector3.new(x1,y1,z1) |
621 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
622 | - | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) |
622 | + | 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)) |
623 | - | return mesh |
623 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
624 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
625 | 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)) | |
626 | - | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) |
626 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
627 | - | local weld = Instance.new("Weld") |
627 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
628 | - | weld.Parent = parent |
628 | + | 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)) |
629 | - | weld.Part0 = part0 |
629 | + | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) |
630 | - | weld.Part1 = part1 |
630 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
631 | - | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) |
631 | + | 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)) |
632 | - | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) |
632 | + | local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor) |
633 | - | return weld |
633 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
634 | 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)) | |
635 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
636 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
637 | - | -------------- |
637 | + | 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)) |
638 | - | local secondchar = Instance.new("Model",char) |
638 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
639 | - | local GhostCol = BrickColor.new("Really red") |
639 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
640 | - | local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol) |
640 | + | 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)) |
641 | - | CreateMesh(sectors,"Brick",2*8,2*8,1*8) |
641 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
642 | - | local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
642 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
643 | 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)) | |
644 | - | local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
644 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
645 | - | CreateMesh(seclarm,"Brick",1*8,2*8,1*8) |
645 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
646 | - | local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
646 | + | 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)) |
647 | local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
648 | - | local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol) |
648 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
649 | - | CreateMesh(secrarm,"Brick",1*8,2*8,1*8) |
649 | + | 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)) |
650 | - | local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
650 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
651 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
652 | - | local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
652 | + | 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)) |
653 | - | CreateMesh(seclleg,"Brick",1*8,2*8,1*8) |
653 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
654 | - | local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
654 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
655 | 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)) | |
656 | - | local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol) |
656 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
657 | - | CreateMesh(secrleg,"Brick",1*8,2*8,1*8) |
657 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
658 | - | local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
658 | + | 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)) |
659 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
660 | - | local seched = CreateParta(secondchar,1,0,"Neon",GhostCol) |
660 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
661 | - | CreateMesh(seched,"Brick",1*8,1*8,1*8) |
661 | + | 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)) |
662 | - | local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
662 | + | local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor) |
663 | - | -------------- |
663 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
664 | - | local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
664 | + | 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)) |
665 | - | 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)) |
665 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
666 | - | local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
666 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
667 | - | 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)) |
667 | + | 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)) |
668 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
669 | - | local handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
669 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
670 | - | CreateMesh(handle,"Brick",0,0,0) |
670 | + | 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)) |
671 | - | 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)) |
671 | + | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) |
672 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
673 | 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)) | |
674 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
675 | - | rn = CreateParta(mw2,0,0,"Neon",halocolor) |
675 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
676 | - | CreateMesh(rn,"Brick",0.25,0.1,0.1) |
676 | + | 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)) |
677 | - | 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)) |
677 | + | local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor) |
678 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
679 | 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)) | |
680 | - | handlex = CreateParta(mw2,1,1,"Neon",maincolor) |
680 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
681 | - | CreateMesh(handle,"Brick",0,0,0) |
681 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
682 | - | 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)) |
682 | + | 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)) |
683 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
684 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
685 | 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)) | |
686 | - | rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
686 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
687 | - | CreateMesh(rn,"Brick",0.5,0.2,0.2) |
687 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
688 | - | 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)) |
688 | + | 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)) |
689 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
690 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
691 | 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)) | |
692 | - | local handle = CreateParta(m,1,1,"Neon",maincolor) |
692 | + | local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor) |
693 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
693 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
694 | - | 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)) |
694 | + | 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)) |
695 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
696 | - | --- Left wing. |
696 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
697 | 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)) | |
698 | - | local lwing1 = CreateParta(m,1,1,"Neon",maincolor) |
698 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
699 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
699 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
700 | - | 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)) |
700 | + | 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)) |
701 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
702 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
702 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
703 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
703 | + | 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)) |
704 | - | 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)) |
704 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
705 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
705 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
706 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
706 | + | 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)) |
707 | - | 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)) |
707 | + | local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor) |
708 | - | A0 = Instance.new('Attachment',wed) |
708 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
709 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
709 | + | 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)) |
710 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
710 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
711 | - | 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)) |
711 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
712 | - | A1 = Instance.new('Attachment',wed) |
712 | + | 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)) |
713 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
713 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
714 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
714 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
715 | - | 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)) |
715 | + | 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)) |
716 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
717 | - | tl1 = Instance.new('Trail',wed) |
717 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
718 | - | tl1.Attachment0 = A0 |
718 | + | 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)) |
719 | - | tl1.Attachment1 = A1 |
719 | + | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) |
720 | - | --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
720 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
721 | - | tl1.LightEmission = 1 |
721 | + | 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)) |
722 | - | tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
722 | + | local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor) |
723 | - | tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
723 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
724 | - | tl1.Lifetime = 0.6 |
724 | + | 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)) |
725 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
726 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
727 | - | local lwing2 = CreateParta(m,1,1,"Neon",maincolor) |
727 | + | 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)) |
728 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
728 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
729 | - | 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)) |
729 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
730 | 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)) | |
731 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
731 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
732 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
732 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
733 | - | 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)) |
733 | + | 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)) |
734 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
734 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
735 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
735 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
736 | - | 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)) |
736 | + | 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)) |
737 | - | A0 = Instance.new('Attachment',wed) |
737 | + | local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor) |
738 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
738 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
739 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
739 | + | 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)) |
740 | - | 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)) |
740 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
741 | - | A1 = Instance.new('Attachment',wed) |
741 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
742 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
742 | + | 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)) |
743 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
743 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
744 | - | 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)) |
744 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
745 | 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)) | |
746 | - | tl2 = Instance.new('Trail',wed) |
746 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
747 | - | tl2.Attachment0 = A0 |
747 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
748 | - | tl2.Attachment1 = A1 |
748 | + | 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)) |
749 | - | --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
749 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
750 | - | tl2.LightEmission = 1 |
750 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
751 | - | tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
751 | + | CreateWeld(wed, rwing5, 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)) |
752 | - | tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
752 | + | local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor) |
753 | - | tl2.Lifetime = 0.6 |
753 | + | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) |
754 | local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
755 | - | local lwing3 = CreateParta(m,1,1,"Neon",maincolor) |
755 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
756 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
756 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
757 | - | 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)) |
757 | + | CreateWeld(wed, rwing6, 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)) |
758 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
759 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
759 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) |
760 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
760 | + | CreateWeld(wed, rwing6, 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)) |
761 | - | 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)) |
761 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
762 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
762 | + | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) |
763 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
763 | + | CreateWeld(wed, rwing6, 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)) |
764 | - | 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)) |
764 | + | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) |
765 | - | A0 = Instance.new('Attachment',wed) |
765 | + | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) |
766 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
766 | + | CreateWeld(wed, rwing6, 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)) |
767 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
767 | + | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) |
768 | - | 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)) |
768 | + | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) |
769 | - | A1 = Instance.new('Attachment',wed) |
769 | + | CreateWeld(ran, larm, ran, 0, 0.15, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
770 | - | wed = CreateParta(mw1,0,0,"Neon",halocolor) |
770 | + | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
771 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
771 | + | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) |
772 | - | 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)) |
772 | + | CreateWeld(ran, larm, ran, 0, 0.155, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
773 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
774 | - | tl3 = Instance.new('Trail',wed) |
774 | + | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) |
775 | - | tl3.Attachment0 = A0 |
775 | + | CreateWeld(ran, larm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
776 | - | tl3.Attachment1 = A1 |
776 | + | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
777 | - | --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
777 | + | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
778 | - | tl3.LightEmission = 1 |
778 | + | CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
779 | - | tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
779 | + | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
780 | - | tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
780 | + | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
781 | - | tl3.Lifetime = 0.6 |
781 | + | CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
782 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
783 | - | tl1.Enabled = false |
783 | + | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
784 | - | tl2.Enabled = false |
784 | + | CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
785 | - | tl3.Enabled = false |
785 | + | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
786 | - | local lwing4 = CreateParta(m,1,1,"Neon",maincolor) |
786 | + | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
787 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
787 | + | CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
788 | - | 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)) |
788 | + | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) |
789 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
790 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
790 | + | CreateWeld(gane, larm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
791 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
791 | + | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
792 | - | 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)) |
792 | + | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) |
793 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
793 | + | CreateWeld(star, larm, star, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
794 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
794 | + | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) |
795 | - | 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)) |
795 | + | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) |
796 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
796 | + | CreateWeld(starl, larm, starl, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
797 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
797 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
798 | - | 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)) |
798 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
799 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
799 | + | CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
800 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
800 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
801 | - | 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)) |
801 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
802 | CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
803 | - | local lwing5 = CreateParta(m,1,1,"Neon",maincolor) |
803 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
804 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
804 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
805 | - | 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)) |
805 | + | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
806 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
807 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
807 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
808 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
808 | + | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
809 | - | 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)) |
809 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
810 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
810 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
811 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
811 | + | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
812 | - | 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)) |
812 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
813 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
813 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
814 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
814 | + | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
815 | - | 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)) |
815 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
816 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
816 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
817 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
817 | + | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
818 | - | 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)) |
818 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
819 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
820 | - | local lwing6 = CreateParta(m,1,1,"Neon",maincolor) |
820 | + | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
821 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
821 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
822 | - | 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)) |
822 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
823 | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
824 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
824 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
825 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
825 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
826 | - | 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)) |
826 | + | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
827 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
827 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
828 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
828 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
829 | - | 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)) |
829 | + | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
830 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
830 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
831 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
831 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
832 | - | 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)) |
832 | + | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
833 | - | wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor) |
833 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
834 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
834 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
835 | - | 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)) |
835 | + | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
836 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
837 | - | -- Right wing. |
837 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
838 | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
839 | - | local rwing1 = CreateParta(m,1,1,"Neon",maincolor) |
839 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
840 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
840 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
841 | - | 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)) |
841 | + | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
842 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
843 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
843 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
844 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
844 | + | CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
845 | - | 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)) |
845 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
846 | - | A0 = Instance.new('Attachment',wed) |
846 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
847 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
847 | + | CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
848 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
848 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
849 | - | 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)) |
849 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
850 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
850 | + | CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
851 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
851 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
852 | - | 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)) |
852 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
853 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
853 | + | CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
854 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
854 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
855 | - | 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)) |
855 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
856 | - | A1 = Instance.new('Attachment',wed) |
856 | + | CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
857 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
858 | - | tr1 = Instance.new('Trail',wed) |
858 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
859 | - | tr1.Attachment0 = A0 |
859 | + | CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
860 | - | tr1.Attachment1 = A1 |
860 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
861 | - | --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073" |
861 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
862 | - | tr1.LightEmission = 1 |
862 | + | CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
863 | - | tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
863 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
864 | - | tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
864 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
865 | - | tr1.Lifetime = 0.6 |
865 | + | CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
866 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
867 | - | local rwing2 = CreateParta(m,1,1,"Neon",maincolor) |
867 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
868 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
868 | + | CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
869 | - | 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)) |
869 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
870 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
871 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
871 | + | CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
872 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
872 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
873 | - | 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)) |
873 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
874 | - | A0 = Instance.new('Attachment',wed) |
874 | + | CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
875 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
875 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
876 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
876 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
877 | - | 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)) |
877 | + | CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
878 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
878 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
879 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
879 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
880 | - | 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)) |
880 | + | CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
881 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
881 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
882 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
882 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
883 | - | 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)) |
883 | + | CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
884 | - | A1 = Instance.new('Attachment',wed) |
884 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
885 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
886 | - | tr2 = Instance.new('Trail',wed) |
886 | + | CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
887 | - | tr2.Attachment0 = A0 |
887 | + | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) |
888 | - | tr2.Attachment1 = A1 |
888 | + | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) |
889 | - | --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073" |
889 | + | CreateWeld(ran, rarm, ran, 0, 0.15, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
890 | - | tr2.LightEmission = 1 |
890 | + | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
891 | - | tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
891 | + | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) |
892 | - | tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
892 | + | CreateWeld(ran, rarm, ran, 0, 0.155, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
893 | - | tr2.Lifetime = 0.6 |
893 | + | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
894 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
895 | - | local rwing3 = CreateParta(m,1,1,"Neon",maincolor) |
895 | + | CreateWeld(ran, rarm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
896 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
896 | + | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
897 | - | 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)) |
897 | + | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
898 | CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
899 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
899 | + | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
900 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
900 | + | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) |
901 | - | 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)) |
901 | + | CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
902 | - | A0 = Instance.new('Attachment',wed) |
902 | + | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
903 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
903 | + | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
904 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
904 | + | CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
905 | - | 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)) |
905 | + | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) |
906 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
906 | + | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) |
907 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
907 | + | CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
908 | - | 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)) |
908 | + | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) |
909 | - | wed = CreateParta(mw2,0,0,"Neon",halocolor) |
909 | + | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) |
910 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
910 | + | CreateWeld(gane, rarm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
911 | - | 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)) |
911 | + | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
912 | - | A1 = Instance.new('Attachment',wed) |
912 | + | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) |
913 | CreateWeld(star, rarm, star, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
914 | - | tr3 = Instance.new('Trail',wed) |
914 | + | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) |
915 | - | tr3.Attachment0 = A0 |
915 | + | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) |
916 | - | tr3.Attachment1 = A1 |
916 | + | CreateWeld(starl, rarm, starl, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
917 | - | --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073" |
917 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
918 | - | tr3.LightEmission = 1 |
918 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
919 | - | tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)}) |
919 | + | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
920 | - | tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color) |
920 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
921 | - | tr3.Lifetime = 0.6 |
921 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
922 | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
923 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
924 | - | local rwing4 = CreateParta(m,1,1,"Neon",maincolor) |
924 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
925 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
925 | + | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
926 | - | 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)) |
926 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
927 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
928 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
928 | + | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
929 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
929 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
930 | - | 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)) |
930 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
931 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
931 | + | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
932 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
932 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
933 | - | 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)) |
933 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
934 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
934 | + | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
935 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
935 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
936 | - | 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)) |
936 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
937 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
937 | + | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
938 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
938 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
939 | - | 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)) |
939 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
940 | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
941 | - | local rwing5 = CreateParta(m,1,1,"Neon",maincolor) |
941 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
942 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
942 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
943 | - | 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)) |
943 | + | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
944 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
945 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
945 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
946 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
946 | + | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
947 | - | 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)) |
947 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
948 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
948 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
949 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
949 | + | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
950 | - | 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)) |
950 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
951 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
951 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
952 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
952 | + | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
953 | - | 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)) |
953 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
954 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
954 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
955 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
955 | + | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
956 | - | CreateWeld(wed,rwing5,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)) |
956 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
957 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
958 | - | local rwing6 = CreateParta(m,1,1,"Neon",maincolor) |
958 | + | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
959 | - | CreateMesh(handle,"Brick",0.5,0.5,0.5) |
959 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
960 | - | local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
960 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
961 | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
962 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
962 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
963 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
963 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
964 | - | CreateWeld(wed,rwing6,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)) |
964 | + | CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
965 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
965 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
966 | - | CreateMesh(wed,"Wedge",0.05,0.5,0.5) |
966 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
967 | - | CreateWeld(wed,rwing6,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)) |
967 | + | CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
968 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
968 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
969 | - | CreateMesh(wed,"Wedge",0.05,0.5,3) |
969 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
970 | - | CreateWeld(wed,rwing6,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)) |
970 | + | CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
971 | - | wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor) |
971 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
972 | - | CreateMesh(wed,"Wedge",0.05,3,0.5) |
972 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
973 | - | CreateWeld(wed,rwing6,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)) |
973 | + | CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
974 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
975 | - | ---- HERES THE RING |
975 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
976 | CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
977 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
978 | - | --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
978 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
979 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
979 | + | CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
980 | - | CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
980 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
981 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
981 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
982 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
982 | + | CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
983 | - | CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
983 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
984 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
984 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
985 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
985 | + | CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
986 | - | CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
986 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
987 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
988 | CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
989 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
989 | + | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) |
990 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
990 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
991 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
991 | + | CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
992 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
993 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
993 | + | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) |
994 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
994 | + | CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
995 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
995 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
996 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
997 | CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
998 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
999 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
999 | + | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) |
1000 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
1000 | + | CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
1001 | - | CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1001 | + | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) |
1002 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
1003 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
1003 | + | CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
1004 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
1004 | + | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) |
1005 | - | CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1005 | + | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) |
1006 | CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
1007 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
1007 | + | |
1008 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
1008 | + | if v:IsA("Part") then |
1009 | - | CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1009 | + | v.BrickColor = BrickColor.new("Really black") |
1010 | v.Material = "Glass" | |
1011 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1011 | + | |
1012 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
1012 | + | |
1013 | - | CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1013 | + | |
1014 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
1014 | + | if v:IsA("Part") then |
1015 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
1015 | + | v.BrickColor = BrickColor.new("Crimson") |
1016 | - | CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1016 | + | v.Material = "Granite" |
1017 | end | |
1018 | - | --- second ring |
1018 | + | |
1019 | for i, v in pairs(m3:GetChildren()) do | |
1020 | - | ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor) |
1020 | + | if v:IsA("Part") then |
1021 | - | CreateMesh(ran,"Wedge",1.02,1.02,1.02) |
1021 | + | v.BrickColor = BrickColor.new("Really red") |
1022 | - | CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1022 | + | v.Material = "Neon" |
1023 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1023 | + | |
1024 | - | CreateMesh(ran,"Wedge",0.9,0.9,1.025) |
1024 | + | |
1025 | - | CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1025 | + | |
1026 | - | ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1026 | + | if v:IsA("Part") then |
1027 | - | CreateMesh(ran,"Wedge",1.025,0.9,0.9) |
1027 | + | v.BrickColor = BrickColor.new("Really red") |
1028 | - | CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1028 | + | v.Material = "Neon" |
1029 | end | |
1030 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1030 | + | |
1031 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
1031 | + | |
1032 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1032 | + | if v:IsA("Part") then |
1033 | v.Transparency = 1 | |
1034 | - | gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1034 | + | v.BrickColor = BrickColor.new("Really red") |
1035 | - | CreateMesh(gan,"Brick",1.075,0.1,1.075) |
1035 | + | v.Material = "Neon" |
1036 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1036 | + | |
1037 | end | |
1038 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
1039 | if v:IsA("Part") then | |
1040 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
1040 | + | v.Transparency = 1 |
1041 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
1041 | + | v.BrickColor = BrickColor.new("White") |
1042 | - | CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1042 | + | v.Material = "Neon" |
1043 | end | |
1044 | - | gan = CreateParta(m2,0,0,"Neon",halocolor2) |
1044 | + | |
1045 | - | CreateMesh(gan,"Brick",1.095,0.035,1.095) |
1045 | + | |
1046 | - | CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1046 | + | if v:IsA("Part") then |
1047 | v.Transparency = 1 | |
1048 | - | gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2) |
1048 | + | v.BrickColor = BrickColor.new("White") |
1049 | - | CreateMesh(gane,"Brick",1.0625,0.2,1.0625) |
1049 | + | v.Material = "Neon" |
1050 | - | CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1050 | + | |
1051 | end | |
1052 | - | star = CreateParta(m,0,0,"SmoothPlastic",wepcolor) |
1052 | + | |
1053 | - | CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5) |
1053 | + | FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) |
1054 | - | CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) |
1054 | + | Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) |
1055 | - | starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor) |
1055 | + | Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) |
1056 | - | CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95) |
1056 | + | FHead.CanCollide = false |
1057 | - | CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]-- |
1057 | + | |
1058 | ||
1059 | ||
1060 | local MAINRUINCOLOR = BrickColor.new("Really red") | |
1061 | function RemoveOutlines(part) | |
1062 | - | if v:IsA("Part") then |
1062 | + | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
1063 | - | v.BrickColor = BrickColor.new("Really black") |
1063 | + | |
1064 | - | v.Material = "Glass" |
1064 | + | |
1065 | local Part = Create("Part")({ | |
1066 | Parent = Parent, | |
1067 | Reflectance = Reflectance, | |
1068 | - | if v:IsA("Part") then |
1068 | + | Transparency = Transparency, |
1069 | - | v.BrickColor = BrickColor.new("Crimson") |
1069 | + | CanCollide = false, |
1070 | - | v.Material = "Granite" |
1070 | + | Locked = true, |
1071 | BrickColor = BrickColor.new(tostring(BColor)), | |
1072 | Name = Name, | |
1073 | Size = Size, | |
1074 | - | if v:IsA("Part") then |
1074 | + | Material = Material |
1075 | - | v.BrickColor = BrickColor.new("Really red") |
1075 | + | }) |
1076 | - | v.Material = "Neon" |
1076 | + | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
1077 | RemoveOutlines(Part) | |
1078 | return Part | |
1079 | end | |
1080 | - | if v:IsA("Part") then |
1080 | + | |
1081 | - | v.BrickColor = BrickColor.new("Really red") |
1081 | + | local Msh = Create(Mesh)({ |
1082 | - | v.Material = "Neon" |
1082 | + | Parent = Part, |
1083 | Offset = OffSet, | |
1084 | Scale = Scale | |
1085 | }) | |
1086 | - | if v:IsA("Part") then |
1086 | + | if Mesh == "SpecialMesh" then |
1087 | - | v.Transparency = 1 |
1087 | + | Msh.MeshType = MeshType |
1088 | - | v.BrickColor = BrickColor.new("Really red") |
1088 | + | Msh.MeshId = MeshId |
1089 | - | v.Material = "Neon" |
1089 | + | |
1090 | return Msh | |
1091 | end | |
1092 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
1093 | - | if v:IsA("Part") then |
1093 | + | local Weld = Create("Weld")({ |
1094 | - | v.Transparency = 1 |
1094 | + | Parent = Parent, |
1095 | - | v.BrickColor = BrickColor.new("White") |
1095 | + | Part0 = Part0, |
1096 | - | v.Material = "Neon" |
1096 | + | Part1 = Part1, |
1097 | C0 = C0, | |
1098 | C1 = C1 | |
1099 | }) | |
1100 | - | if v:IsA("Part") then |
1100 | + | return Weld |
1101 | - | v.Transparency = 1 |
1101 | + | |
1102 | - | v.BrickColor = BrickColor.new("White") |
1102 | + | |
1103 | - | v.Material = "Neon" |
1103 | + | |
1104 | PlayerGui = Player.PlayerGui | |
1105 | Backpack = Player.Backpack | |
1106 | Torso = Character.Torso | |
1107 | - | ------ |
1107 | + | Head = Character.Head |
1108 | Humanoid = Character.Humanoid | |
1109 | m = Instance.new("Model", Character) | |
1110 | LeftArm = Character["Left Arm"] | |
1111 | - | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 |
1111 | + | |
1112 | RightArm = Character["Right Arm"] | |
1113 | RightLeg = Character["Right Leg"] | |
1114 | - | local Part = Create("Part")({ |
1114 | + | LS = Torso["Left Shoulder"] |
1115 | - | Parent = Parent, |
1115 | + | LH = Torso["Left Hip"] |
1116 | - | Reflectance = Reflectance, |
1116 | + | RS = Torso["Right Shoulder"] |
1117 | - | Transparency = Transparency, |
1117 | + | RH = Torso["Right Hip"] |
1118 | - | CanCollide = false, |
1118 | + | |
1119 | - | Locked = true, |
1119 | + | Neck = Torso.Neck |
1120 | - | BrickColor = BrickColor.new(tostring(BColor)), |
1120 | + | |
1121 | - | Name = Name, |
1121 | + | attacktype = 1 |
1122 | - | Size = Size, |
1122 | + | |
1123 | - | Material = Material |
1123 | + | |
1124 | - | }) |
1124 | + | euler = CFrame.fromEulerAnglesXYZ |
1125 | - | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) |
1125 | + | angles = CFrame.Angles |
1126 | - | RemoveOutlines(Part) |
1126 | + | cloaked = false |
1127 | - | return Part |
1127 | + | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) |
1128 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1129 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
1130 | - | local Msh = Create(Mesh)({ |
1130 | + | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
1131 | - | Parent = Part, |
1131 | + | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1132 | - | Offset = OffSet, |
1132 | + | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) |
1133 | - | Scale = Scale |
1133 | + | RootPart = Character.HumanoidRootPart |
1134 | - | }) |
1134 | + | RootJoint = RootPart.RootJoint |
1135 | - | if Mesh == "SpecialMesh" then |
1135 | + | RootCF = euler(-1.57, 0, 3.14) |
1136 | - | Msh.MeshType = MeshType |
1136 | + | |
1137 | - | Msh.MeshId = MeshId |
1137 | + | attackdebounce = false |
1138 | - | end |
1138 | + | deb = false |
1139 | - | return Msh |
1139 | + | equipped = true |
1140 | hand = false | |
1141 | MMouse = nil | |
1142 | - | local Weld = Create("Weld")({ |
1142 | + | combo = 0 |
1143 | - | Parent = Parent, |
1143 | + | mana = 0 |
1144 | - | Part0 = Part0, |
1144 | + | trispeed = 0.2 |
1145 | - | Part1 = Part1, |
1145 | + | attackmode = "none" |
1146 | - | C0 = C0, |
1146 | + | local idle = 0 |
1147 | - | C1 = C1 |
1147 | + | local Anim = "Idle" |
1148 | - | }) |
1148 | + | local Effects = {} |
1149 | - | return Weld |
1149 | + | local gun = false |
1150 | local shoot = false | |
1151 | local sine = 0 | |
1152 | - | Player=game:GetService("Players").LocalPlayer |
1152 | + | |
1153 | - | Character=Player.Character |
1153 | + | player = nil |
1154 | - | PlayerGui=Player.PlayerGui |
1154 | + | |
1155 | - | Backpack=Player.Backpack |
1155 | + | |
1156 | - | Torso=Character.Torso |
1156 | + | |
1157 | - | Head=Character.Head |
1157 | + | |
1158 | - | Humanoid=Character.Humanoid |
1158 | + | |
1159 | - | m=Instance.new('Model',Character) |
1159 | + | txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0) |
1160 | - | LeftArm=Character["Left Arm"] |
1160 | + | |
1161 | - | LeftLeg=Character["Left Leg"] |
1161 | + | text.Size = UDim2.new(5, 0, 3.5, 0) |
1162 | - | RightArm=Character["Right Arm"] |
1162 | + | |
1163 | - | RightLeg=Character["Right Leg"] |
1163 | + | |
1164 | - | LS=Torso["Left Shoulder"] |
1164 | + | |
1165 | - | LH=Torso["Left Hip"] |
1165 | + | text.BackgroundTransparency = 1 |
1166 | - | RS=Torso["Right Shoulder"] |
1166 | + | |
1167 | - | RH=Torso["Right Hip"] |
1167 | + | |
1168 | text.Font = "Fantasy" | |
1169 | - | Neck=Torso.Neck |
1169 | + | text.TextStrokeColor3 = Color3.new(1, 0, 0) |
1170 | - | it=Instance.new |
1170 | + | text.TextColor3 = Color3.new(0, 0, 0) |
1171 | - | attacktype=1 |
1171 | + | text.Text = "Sweet Dreams" |
1172 | - | vt=Vector3.new |
1172 | + | function RecolorTextAndRename(name, col1, col2) |
1173 | - | cf=CFrame.new |
1173 | + | text.TextStrokeColor3 = col2 |
1174 | - | euler=CFrame.fromEulerAnglesXYZ |
1174 | + | text.TextColor3 = col1 |
1175 | - | angles=CFrame.Angles |
1175 | + | text.Text = name |
1176 | - | cloaked=false |
1176 | + | |
1177 | - | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
1177 | + | mouse = Player:GetMouse() |
1178 | - | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) |
1178 | + | RSH, LSH = nil, nil |
1179 | - | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) |
1179 | + | RW, LW = Instance.new("Weld"), Instance.new("Weld") |
1180 | - | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) |
1180 | + | RW.Name = "Right Shoulder" |
1181 | - | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) |
1181 | + | LW.Name = "Left Shoulder" |
1182 | - | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) |
1182 | + | LH = Torso["Left Hip"] |
1183 | - | RootPart=Character.HumanoidRootPart |
1183 | + | RH = Torso["Right Hip"] |
1184 | - | RootJoint=RootPart.RootJoint |
1184 | + | TorsoColor = Torso.BrickColor |
1185 | - | RootCF=euler(-1.57,0,3.14) |
1185 | + | |
1186 | - | attack = false |
1186 | + | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 |
1187 | - | attackdebounce = false |
1187 | + | |
1188 | - | deb=false |
1188 | + | player = Player |
1189 | - | equipped=true |
1189 | + | ch = Character |
1190 | - | hand=false |
1190 | + | RSH = ch.Torso["Right Shoulder"] |
1191 | - | MMouse=nil |
1191 | + | LSH = ch.Torso["Left Shoulder"] |
1192 | - | combo=0 |
1192 | + | RSH.Parent = nil |
1193 | - | mana=0 |
1193 | + | LSH.Parent = nil |
1194 | - | trispeed=.2 |
1194 | + | RW.Name = "Right Shoulder" |
1195 | - | attackmode='none' |
1195 | + | RW.Part0 = ch.Torso |
1196 | - | local idle=0 |
1196 | + | RW.C0 = cf(1.5, 0.5, 0) |
1197 | - | local Anim="Idle" |
1197 | + | RW.C1 = cf(0, 0.5, 0) |
1198 | - | local Effects={} |
1198 | + | RW.Part1 = ch["Right Arm"] |
1199 | - | local gun=false |
1199 | + | RW.Parent = ch.Torso |
1200 | - | local shoot=false |
1200 | + | LW.Name = "Left Shoulder" |
1201 | LW.Part0 = ch.Torso | |
1202 | LW.C0 = cf(-1.5, 0.5, 0) | |
1203 | - | player=nil |
1203 | + | LW.C1 = cf(0, 0.5, 0) |
1204 | LW.Part1 = ch["Left Arm"] | |
1205 | LW.Parent = ch.Torso | |
1206 | local Stats = Instance.new("BoolValue") | |
1207 | Stats.Name = "Stats" | |
1208 | Stats.Parent = Character | |
1209 | local Atk = Instance.new("NumberValue") | |
1210 | Atk.Name = "Damage" | |
1211 | - | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) |
1211 | + | Atk.Parent = Stats |
1212 | Atk.Value = 1 | |
1213 | - | text.Size = UDim2.new(10/2, 0, 7/2, 0) |
1213 | + | local Def = Instance.new("NumberValue") |
1214 | Def.Name = "Defense" | |
1215 | Def.Parent = Stats | |
1216 | Def.Value = 1 | |
1217 | - | text.BackgroundTransparency = 1 |
1217 | + | local Speed = Instance.new("NumberValue") |
1218 | Speed.Name = "Speed" | |
1219 | Speed.Parent = Stats | |
1220 | Speed.Value = 1 | |
1221 | - | text.TextStrokeColor3 = Color3.new(1,0,0) |
1221 | + | local Mvmt = Instance.new("NumberValue") |
1222 | - | text.TextColor3 = Color3.new(0,0,0) |
1222 | + | Mvmt.Name = "Movement" |
1223 | - | text.Text = "Mayhem" |
1223 | + | Mvmt.Parent = Stats |
1224 | Mvmt.Value = 1 | |
1225 | - | function RecolorTextAndRename(name,col1,col2) |
1225 | + | local donum = 0 |
1226 | - | text.TextStrokeColor3 = col2 |
1226 | + | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) |
1227 | - | text.TextColor3 = col1 |
1227 | + | local fp = it("Part") |
1228 | - | text.Text = name |
1228 | + | fp.formFactor = formfactor |
1229 | fp.Parent = parent | |
1230 | - | mouse=Player:GetMouse() |
1230 | + | fp.Reflectance = reflectance |
1231 | - | --save shoulders |
1231 | + | fp.Transparency = transparency |
1232 | - | RSH, LSH=nil, nil |
1232 | + | fp.CanCollide = false |
1233 | - | --welds |
1233 | + | fp.Locked = true |
1234 | - | RW, LW=Instance.new("Weld"), Instance.new("Weld") |
1234 | + | fp.BrickColor = brickcolor |
1235 | - | RW.Name="Right Shoulder" LW.Name="Left Shoulder" |
1235 | + | fp.Name = name |
1236 | - | LH=Torso["Left Hip"] |
1236 | + | fp.Size = size |
1237 | - | RH=Torso["Right Hip"] |
1237 | + | fp.Position = Torso.Position |
1238 | - | TorsoColor=Torso.BrickColor |
1238 | + | NoOutline(fp) |
1239 | fp.Material = "SmoothPlastic" | |
1240 | - | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 |
1240 | + | fp:BreakJoints() |
1241 | return fp | |
1242 | - | player=Player |
1242 | + | |
1243 | - | ch=Character |
1243 | + | function mesh(Mesh, part, meshtype, meshid, offset, scale) |
1244 | - | RSH=ch.Torso["Right Shoulder"] |
1244 | + | local mesh = it(Mesh) |
1245 | - | LSH=ch.Torso["Left Shoulder"] |
1245 | + | mesh.Parent = part |
1246 | - | -- |
1246 | + | if Mesh == "SpecialMesh" then |
1247 | - | RSH.Parent=nil |
1247 | + | mesh.MeshType = meshtype |
1248 | - | LSH.Parent=nil |
1248 | + | if meshid ~= "nil" then |
1249 | - | -- |
1249 | + | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid |
1250 | - | RW.Name="Right Shoulder" |
1250 | + | |
1251 | - | RW.Part0=ch.Torso |
1251 | + | |
1252 | - | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) |
1252 | + | mesh.Offset = offset |
1253 | - | RW.C1=cf(0, 0.5, 0) |
1253 | + | mesh.Scale = scale |
1254 | - | RW.Part1=ch["Right Arm"] |
1254 | + | return mesh |
1255 | - | RW.Parent=ch.Torso |
1255 | + | |
1256 | - | -- |
1256 | + | function weld(parent, part0, part1, c0) |
1257 | - | LW.Name="Left Shoulder" |
1257 | + | local weld = it("Weld") |
1258 | - | LW.Part0=ch.Torso |
1258 | + | weld.Parent = parent |
1259 | - | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
1259 | + | weld.Part0 = part0 |
1260 | - | LW.C1=cf(0, 0.5, 0) |
1260 | + | weld.Part1 = part1 |
1261 | - | LW.Part1=ch["Left Arm"] |
1261 | + | weld.C0 = c0 |
1262 | - | LW.Parent=ch.Torso |
1262 | + | return weld |
1263 | end | |
1264 | - | local Stats=Instance.new("BoolValue") |
1264 | + | local Color1 = Torso.BrickColor |
1265 | - | Stats.Name="Stats" |
1265 | + | local bodvel = Instance.new("BodyVelocity") |
1266 | - | Stats.Parent=Character |
1266 | + | local bg = Instance.new("BodyGyro") |
1267 | - | local Atk=Instance.new("NumberValue") |
1267 | + | |
1268 | - | Atk.Name="Damage" |
1268 | + | if num == 0 or num == nil then |
1269 | - | Atk.Parent=Stats |
1269 | + | game:service("RunService").Stepped:wait(0) |
1270 | - | Atk.Value=1 |
1270 | + | |
1271 | - | local Def=Instance.new("NumberValue") |
1271 | + | for i = 0, num do |
1272 | - | Def.Name="Defense" |
1272 | + | game:service("RunService").Stepped:wait(0) |
1273 | - | Def.Parent=Stats |
1273 | + | |
1274 | - | Def.Value=1 |
1274 | + | |
1275 | - | local Speed=Instance.new("NumberValue") |
1275 | + | |
1276 | - | Speed.Name="Speed" |
1276 | + | |
1277 | - | Speed.Parent=Stats |
1277 | + | |
1278 | - | Speed.Value=1 |
1278 | + | |
1279 | - | local Mvmt=Instance.new("NumberValue") |
1279 | + | |
1280 | - | Mvmt.Name="Movement" |
1280 | + | while wait() do |
1281 | - | Mvmt.Parent=Stats |
1281 | + | for i = 0, 50.8 do |
1282 | - | Mvmt.Value=1 |
1282 | + | swait() |
1283 | g = g + 5 | |
1284 | - | local donum=0 |
1284 | + | |
1285 | - | |
1285 | + | for i = 0, 50.8 do |
1286 | swait() | |
1287 | - | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) |
1287 | + | r = r - 5 |
1288 | - | local fp=it("Part") |
1288 | + | |
1289 | - | fp.formFactor=formfactor |
1289 | + | for i = 0, 50.8 do |
1290 | - | fp.Parent=parent |
1290 | + | swait() |
1291 | - | fp.Reflectance=reflectance |
1291 | + | b = b + 5 |
1292 | - | fp.Transparency=transparency |
1292 | + | |
1293 | - | fp.CanCollide=false |
1293 | + | for i = 0, 50.8 do |
1294 | - | fp.Locked=true |
1294 | + | swait() |
1295 | - | fp.BrickColor=brickcolor |
1295 | + | g = g - 5 |
1296 | - | fp.Name=name |
1296 | + | |
1297 | - | fp.Size=size |
1297 | + | for i = 0, 50.8 do |
1298 | - | fp.Position=Torso.Position |
1298 | + | swait() |
1299 | - | NoOutline(fp) |
1299 | + | r = r + 5 |
1300 | - | fp.Material="SmoothPlastic" |
1300 | + | |
1301 | - | fp:BreakJoints() |
1301 | + | for i = 0, 50.8 do |
1302 | - | return fp |
1302 | + | swait() |
1303 | - | end |
1303 | + | b = b - 5 |
1304 | - | |
1304 | + | |
1305 | - | function mesh(Mesh,part,meshtype,meshid,offset,scale) |
1305 | + | |
1306 | - | local mesh=it(Mesh) |
1306 | + | |
1307 | - | mesh.Parent=part |
1307 | + | function so(id, par, vol, pit) |
1308 | - | if Mesh=="SpecialMesh" then |
1308 | + | |
1309 | - | mesh.MeshType=meshtype |
1309 | + | local sou = Instance.new("Sound", par or workspace) |
1310 | - | if meshid~="nil" then |
1310 | + | sou.Volume = vol |
1311 | - | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid |
1311 | + | sou.Pitch = pit or 1 |
1312 | sou.SoundId = id | |
1313 | swait() | |
1314 | - | mesh.Offset=offset |
1314 | + | sou:play() |
1315 | - | mesh.Scale=scale |
1315 | + | game:GetService("Debris"):AddItem(sou, 6) |
1316 | - | return mesh |
1316 | + | |
1317 | end | |
1318 | - | |
1318 | + | function clerp(a, b, t) |
1319 | - | function weld(parent,part0,part1,c0) |
1319 | + | local qa = { |
1320 | - | local weld=it("Weld") |
1320 | + | QuaternionFromCFrame(a) |
1321 | - | weld.Parent=parent |
1321 | + | } |
1322 | - | weld.Part0=part0 |
1322 | + | local qb = { |
1323 | - | weld.Part1=part1 |
1323 | + | QuaternionFromCFrame(b) |
1324 | - | weld.C0=c0 |
1324 | + | } |
1325 | - | return weld |
1325 | + | local ax, ay, az = a.x, a.y, a.z |
1326 | local bx, by, bz = b.x, b.y, b.z | |
1327 | - | |
1327 | + | local _t = 1 - t |
1328 | - | local Color1=Torso.BrickColor |
1328 | + | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) |
1329 | end | |
1330 | - | local bodvel=Instance.new("BodyVelocity") |
1330 | + | function QuaternionFromCFrame(cf) |
1331 | - | local bg=Instance.new("BodyGyro") |
1331 | + | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
1332 | local trace = m00 + m11 + m22 | |
1333 | if trace > 0 then | |
1334 | - | if num==0 or num==nil then |
1334 | + | local s = math.sqrt(1 + trace) |
1335 | - | game:service'RunService'.Stepped:wait(0) |
1335 | + | local recip = 0.5 / s |
1336 | - | else |
1336 | + | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 |
1337 | - | for i=0,num do |
1337 | + | |
1338 | - | game:service'RunService'.Stepped:wait(0) |
1338 | + | local i = 0 |
1339 | if m00 < m11 then | |
1340 | i = 1 | |
1341 | end | |
1342 | if m22 > (i == 0 and m00 or m11) then | |
1343 | - | -------- RAINBOW LEAVE IT TO ME |
1343 | + | i = 2 |
1344 | end | |
1345 | if i == 0 then | |
1346 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
1347 | local recip = 0.5 / s | |
1348 | - | while wait() do |
1348 | + | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip |
1349 | - | for i = 0, 254/5 do |
1349 | + | elseif i == 1 then |
1350 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
1351 | - | g = g + 5 |
1351 | + | local recip = 0.5 / s |
1352 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
1353 | - | for i = 0, 254/5 do |
1353 | + | elseif i == 2 then |
1354 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
1355 | - | r = r - 5 |
1355 | + | local recip = 0.5 / s |
1356 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
1357 | - | for i = 0, 254/5 do |
1357 | + | |
1358 | end | |
1359 | - | b = b + 5 |
1359 | + | |
1360 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1361 | - | for i = 0, 254/5 do |
1361 | + | local xs, ys, zs = x + x, y + y, z + z |
1362 | local wx, wy, wz = w * xs, w * ys, w * zs | |
1363 | - | g = g - 5 |
1363 | + | local xx = x * xs |
1364 | local xy = x * ys | |
1365 | - | for i = 0, 254/5 do |
1365 | + | local xz = x * zs |
1366 | local yy = y * ys | |
1367 | - | r = r + 5 |
1367 | + | local yz = y * zs |
1368 | local zz = z * zs | |
1369 | - | for i = 0, 254/5 do |
1369 | + | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) |
1370 | end | |
1371 | - | b = b - 5 |
1371 | + | |
1372 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
1373 | local startInterp, finishInterp | |
1374 | if cosTheta >= 1.0E-4 then | |
1375 | - | |
1375 | + | if 1 - cosTheta > 1.0E-4 then |
1376 | - | |
1376 | + | local theta = math.acos(cosTheta) |
1377 | - | so = function(id,par,vol,pit) |
1377 | + | local invSinTheta = 1 / math.sin(theta) |
1378 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
1379 | - | local sou = Instance.new("Sound",par or workspace) |
1379 | + | finishInterp = math.sin(t * theta) * invSinTheta |
1380 | - | sou.Volume=vol |
1380 | + | |
1381 | - | sou.Pitch=pit or 1 |
1381 | + | |
1382 | - | sou.SoundId=id |
1382 | + | |
1383 | - | swait() |
1383 | + | |
1384 | - | sou:play() |
1384 | + | elseif 1 + cosTheta > 1.0E-4 then |
1385 | - | game:GetService("Debris"):AddItem(sou,6) |
1385 | + | local theta = math.acos(-cosTheta) |
1386 | local invSinTheta = 1 / math.sin(theta) | |
1387 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
1388 | - | |
1388 | + | finishInterp = math.sin(t * theta) * invSinTheta |
1389 | else | |
1390 | startInterp = t - 1 | |
1391 | - | local startInterp, finishInterp; |
1391 | + | finishInterp = t |
1392 | - | if cosTheta >= 0.0001 then |
1392 | + | |
1393 | - | if (1 - cosTheta) > 0.0001 then |
1393 | + | |
1394 | - | local theta = ACOS(cosTheta) |
1394 | + | |
1395 | - | local invSinTheta = 1 / SIN(theta) |
1395 | + | local CFrameFromTopBack = function(at, top, back) |
1396 | - | startInterp = SIN((1 - t) * theta) * invSinTheta |
1396 | + | local right = top:Cross(back) |
1397 | - | finishInterp = SIN(t * theta) * invSinTheta |
1397 | + | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) |
1398 | end | |
1399 | function Triangle(a, b, c) | |
1400 | local edg1 = (c - a):Dot((b - a).unit) | |
1401 | local edg2 = (a - b):Dot((c - b).unit) | |
1402 | local edg3 = (b - c):Dot((a - c).unit) | |
1403 | - | if (1 + cosTheta) > 0.0001 then |
1403 | + | if edg1 <= (b - a).magnitude and edg1 >= 0 then |
1404 | - | local theta = ACOS(-cosTheta) |
1404 | + | a, b = a, b |
1405 | - | local invSinTheta = 1 / SIN(theta) |
1405 | + | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then |
1406 | - | startInterp = SIN((t - 1) * theta) * invSinTheta |
1406 | + | a, b, c = b, c, a |
1407 | - | finishInterp = SIN(t * theta) * invSinTheta |
1407 | + | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then |
1408 | a, b, c = c, a, b | |
1409 | - | startInterp = t - 1 |
1409 | + | |
1410 | assert(false, "unreachable") | |
1411 | end | |
1412 | local len1 = (c - a):Dot((b - a).unit) | |
1413 | local len2 = (b - a).magnitude - len1 | |
1414 | local width = (a + (b - a).unit * len1 - c).magnitude | |
1415 | local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit) | |
1416 | - | function Clerp(a,b,t) |
1416 | + | local list = {} |
1417 | - | local qa = {QuaternionFromCFrame(a)} |
1417 | + | if len1 > 0.01 then |
1418 | - | local qb = {QuaternionFromCFrame(b)} |
1418 | + | local w1 = Instance.new("WedgePart", m) |
1419 | - | local ax, ay, az = a.x, a.y, a.z |
1419 | + | game:GetService("Debris"):AddItem(w1, 5) |
1420 | - | local bx, by, bz = b.x, b.y, b.z |
1420 | + | w1.Material = "SmoothPlastic" |
1421 | - | local _t = 1-t |
1421 | + | w1.FormFactor = "Custom" |
1422 | - | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) |
1422 | + | w1.BrickColor = BrickColor.new("Really red") |
1423 | - | end |
1423 | + | w1.Transparency = 0 |
1424 | - | |
1424 | + | w1.Reflectance = 0 |
1425 | - | function QuaternionFromCFrame(cf) |
1425 | + | w1.Material = "SmoothPlastic" |
1426 | - | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() |
1426 | + | w1.CanCollide = false |
1427 | - | local trace = m00 + m11 + m22 |
1427 | + | local l1 = Instance.new("PointLight", w1) |
1428 | - | if trace > 0 then |
1428 | + | l1.Color = Color3.new(170, 0, 0) |
1429 | - | local s = math.sqrt(1 + trace) |
1429 | + | NoOutline(w1) |
1430 | - | local recip = 0.5/s |
1430 | + | local sz = Vector3.new(0.2, width, len1) |
1431 | - | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 |
1431 | + | w1.Size = sz |
1432 | - | else |
1432 | + | local sp = Instance.new("SpecialMesh", w1) |
1433 | - | local i = 0 |
1433 | + | sp.MeshType = "Wedge" |
1434 | - | if m11 > m00 then |
1434 | + | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size |
1435 | - | i = 1 |
1435 | + | w1:BreakJoints() |
1436 | w1.Anchored = true | |
1437 | - | if m22 > (i == 0 and m00 or m11) then |
1437 | + | w1.Parent = workspace |
1438 | - | i = 2 |
1438 | + | w1.Transparency = 0.7 |
1439 | - | end |
1439 | + | table.insert(Effects, { |
1440 | - | if i == 0 then |
1440 | + | w1, |
1441 | - | local s = math.sqrt(m00-m11-m22+1) |
1441 | + | "Disappear", |
1442 | - | local recip = 0.5/s |
1442 | + | 0.01 |
1443 | - | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip |
1443 | + | }) |
1444 | - | elseif i == 1 then |
1444 | + | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) |
1445 | - | local s = math.sqrt(m11-m22-m00+1) |
1445 | + | table.insert(list, w1) |
1446 | - | local recip = 0.5/s |
1446 | + | |
1447 | - | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip |
1447 | + | if len2 > 0.01 then |
1448 | - | elseif i == 2 then |
1448 | + | local w2 = Instance.new("WedgePart", m) |
1449 | - | local s = math.sqrt(m22-m00-m11+1) |
1449 | + | game:GetService("Debris"):AddItem(w2, 5) |
1450 | - | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip |
1450 | + | w2.Material = "SmoothPlastic" |
1451 | - | end |
1451 | + | w2.FormFactor = "Custom" |
1452 | - | end |
1452 | + | w2.BrickColor = BrickColor.new("Really red") |
1453 | w2.Transparency = 0 | |
1454 | - | |
1454 | + | w2.Reflectance = 0 |
1455 | - | function QuaternionToCFrame(px, py, pz, x, y, z, w) |
1455 | + | w2.Material = "SmoothPlastic" |
1456 | - | local xs, ys, zs = x + x, y + y, z + z |
1456 | + | w2.CanCollide = false |
1457 | - | local wx, wy, wz = w*xs, w*ys, w*zs |
1457 | + | local l2 = Instance.new("PointLight", w2) |
1458 | - | local xx = x*xs |
1458 | + | l2.Color = Color3.new(170, 0, 0) |
1459 | - | local xy = x*ys |
1459 | + | NoOutline(w2) |
1460 | - | local xz = x*zs |
1460 | + | local sz = Vector3.new(0.2, width, len2) |
1461 | - | local yy = y*ys |
1461 | + | w2.Size = sz |
1462 | - | local yz = y*zs |
1462 | + | local sp = Instance.new("SpecialMesh", w2) |
1463 | - | local zz = z*zs |
1463 | + | sp.MeshType = "Wedge" |
1464 | - | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) |
1464 | + | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size |
1465 | w2:BreakJoints() | |
1466 | - | |
1466 | + | w2.Anchored = true |
1467 | - | function QuaternionSlerp(a, b, t) |
1467 | + | w2.Parent = workspace |
1468 | - | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] |
1468 | + | w2.Transparency = 0.7 |
1469 | - | local startInterp, finishInterp; |
1469 | + | table.insert(Effects, { |
1470 | - | if cosTheta >= 0.0001 then |
1470 | + | w2, |
1471 | - | if (1 - cosTheta) > 0.0001 then |
1471 | + | "Disappear", |
1472 | - | local theta = math.acos(cosTheta) |
1472 | + | 0.01 |
1473 | - | local invSinTheta = 1/math.sin(theta) |
1473 | + | }) |
1474 | - | startInterp = math.sin((1-t)*theta)*invSinTheta |
1474 | + | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) |
1475 | - | finishInterp = math.sin(t*theta)*invSinTheta |
1475 | + | table.insert(list, w2) |
1476 | - | else |
1476 | + | |
1477 | - | startInterp = 1-t |
1477 | + | return unpack(list) |
1478 | - | finishInterp = t |
1478 | + | |
1479 | - | end |
1479 | + | |
1480 | - | else |
1480 | + | if hit.Parent == nil then |
1481 | - | if (1+cosTheta) > 0.0001 then |
1481 | + | return |
1482 | - | local theta = math.acos(-cosTheta) |
1482 | + | |
1483 | - | local invSinTheta = 1/math.sin(theta) |
1483 | + | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
1484 | - | startInterp = math.sin((t-1)*theta)*invSinTheta |
1484 | + | for _, v in pairs(hit.Parent:children()) do |
1485 | - | finishInterp = math.sin(t*theta)*invSinTheta |
1485 | + | if v:IsA("Humanoid") then |
1486 | - | else |
1486 | + | h = v |
1487 | - | startInterp = t-1 |
1487 | + | |
1488 | - | finishInterp = t |
1488 | + | |
1489 | - | end |
1489 | + | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then |
1490 | - | end |
1490 | + | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then |
1491 | - | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp |
1491 | + | return |
1492 | end | |
1493 | local c = Create("ObjectValue")({ | |
1494 | - | local function CFrameFromTopBack(at, top, back) |
1494 | + | Name = "creator", |
1495 | - | local right = top:Cross(back) |
1495 | + | Value = RealGame:service("Players")[owner.Name], |
1496 | - | return CFrame.new(at.x, at.y, at.z, |
1496 | + | Parent = h |
1497 | - | right.x, top.x, back.x, |
1497 | + | }) |
1498 | - | right.y, top.y, back.y, |
1498 | + | game:GetService("Debris"):AddItem(c, 0.5) |
1499 | - | right.z, top.z, back.z) |
1499 | + | if HitSound ~= nil and HitPitch ~= nil then |
1500 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1501 | end | |
1502 | local Damage = math.random(minim, maxim) | |
1503 | - | local edg1 = (c-a):Dot((b-a).unit) |
1503 | + | local blocked = false |
1504 | - | local edg2 = (a-b):Dot((c-b).unit) |
1504 | + | local block = hit.Parent:findFirstChild("Block") |
1505 | - | local edg3 = (b-c):Dot((a-c).unit) |
1505 | + | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
1506 | - | if edg1 <= (b-a).magnitude and edg1 >= 0 then |
1506 | + | blocked = true |
1507 | - | a, b, c = a, b, c |
1507 | + | block.Value = block.Value - 1 |
1508 | - | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then |
1508 | + | print(block.Value) |
1509 | - | a, b, c = b, c, a |
1509 | + | |
1510 | - | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then |
1510 | + | if blocked == false then |
1511 | - | a, b, c = c, a, b |
1511 | + | HitHealth = h.Health |
1512 | - | else |
1512 | + | h.Health = h.Health - Damage |
1513 | - | assert(false, "unreachable") |
1513 | + | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
1514 | print("gained kill") | |
1515 | - | |
1515 | + | |
1516 | - | local len1 = (c-a):Dot((b-a).unit) |
1516 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1517 | - | local len2 = (b-a).magnitude - len1 |
1517 | + | |
1518 | - | local width = (a + (b-a).unit*len1 - c).magnitude |
1518 | + | h.Health = h.Health - Damage / 2 |
1519 | - | |
1519 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1520 | - | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) |
1520 | + | |
1521 | - | |
1521 | + | if Type == "Knockdown" then |
1522 | - | local list = {} |
1522 | + | local hum = hit.Parent.Humanoid |
1523 | - | |
1523 | + | hum.PlatformStand = true |
1524 | - | if len1 > 0.01 then |
1524 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
1525 | - | local w1 = Instance.new('WedgePart', m) |
1525 | + | swait(1) |
1526 | - | game:GetService("Debris"):AddItem(w1,5) |
1526 | + | HHumanoid.PlatformStand = false |
1527 | - | w1.Material = "SmoothPlastic" |
1527 | + | end), hum) |
1528 | - | w1.FormFactor = 'Custom' |
1528 | + | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
1529 | - | w1.BrickColor = BrickColor.new("Really red") |
1529 | + | local bodvol = Create("BodyVelocity")({ |
1530 | - | w1.Transparency = 0 |
1530 | + | velocity = angle * knockback, |
1531 | - | w1.Reflectance = 0 |
1531 | + | P = 5000, |
1532 | - | w1.Material = "SmoothPlastic" |
1532 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1533 | - | w1.CanCollide = false |
1533 | + | Parent = hit |
1534 | - | local l1 = Instance.new("PointLight",w1) |
1534 | + | }) |
1535 | - | l1.Color = Color3.new(170,0,0) |
1535 | + | local rl = Create("BodyAngularVelocity")({ |
1536 | - | NoOutline(w1) |
1536 | + | P = 3000, |
1537 | - | local sz = Vector3.new(0.2, width, len1) |
1537 | + | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
1538 | - | w1.Size = sz |
1538 | + | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
1539 | - | local sp = Instance.new("SpecialMesh",w1) |
1539 | + | Parent = hit |
1540 | - | sp.MeshType = "Wedge" |
1540 | + | }) |
1541 | - | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size |
1541 | + | game:GetService("Debris"):AddItem(bodvol, 0.5) |
1542 | - | w1:BreakJoints() |
1542 | + | game:GetService("Debris"):AddItem(rl, 0.5) |
1543 | - | w1.Anchored = true |
1543 | + | elseif Type == "Normal" then |
1544 | - | w1.Parent = workspace |
1544 | + | local vp = Create("BodyVelocity")({ |
1545 | - | w1.Transparency = 0.7 |
1545 | + | P = 500, |
1546 | - | table.insert(Effects,{w1,"Disappear",.01}) |
1546 | + | maxForce = Vector3.new(math.huge, 0, math.huge), |
1547 | - | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) |
1547 | + | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
1548 | - | table.insert(list,w1) |
1548 | + | }) |
1549 | if knockback > 0 then | |
1550 | - | |
1550 | + | vp.Parent = hit.Parent.Head |
1551 | - | if len2 > 0.01 then |
1551 | + | |
1552 | - | local w2 = Instance.new('WedgePart', m) |
1552 | + | game:GetService("Debris"):AddItem(vp, 0.5) |
1553 | - | game:GetService("Debris"):AddItem(w2,5) |
1553 | + | elseif Type == "Up" then |
1554 | - | w2.Material = "SmoothPlastic" |
1554 | + | local bodyVelocity = Create("BodyVelocity")({ |
1555 | - | w2.FormFactor = 'Custom' |
1555 | + | velocity = Vector3.new(0, 20, 0), |
1556 | - | w2.BrickColor = BrickColor.new("Really red") |
1556 | + | P = 5000, |
1557 | - | w2.Transparency = 0 |
1557 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1558 | - | w2.Reflectance = 0 |
1558 | + | Parent = hit |
1559 | - | w2.Material = "SmoothPlastic" |
1559 | + | }) |
1560 | - | w2.CanCollide = false |
1560 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1561 | - | local l2 = Instance.new("PointLight",w2) |
1561 | + | local bodyVelocity = Create("BodyVelocity")({ |
1562 | - | l2.Color = Color3.new(170,0,0) |
1562 | + | velocity = Vector3.new(0, 20, 0), |
1563 | - | NoOutline(w2) |
1563 | + | P = 5000, |
1564 | - | local sz = Vector3.new(0.2, width, len2) |
1564 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1565 | - | w2.Size = sz |
1565 | + | Parent = hit |
1566 | - | local sp = Instance.new("SpecialMesh",w2) |
1566 | + | }) |
1567 | - | sp.MeshType = "Wedge" |
1567 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
1568 | - | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size |
1568 | + | elseif Type == "Leech" then |
1569 | - | w2:BreakJoints() |
1569 | + | local hum = hit.Parent.Humanoid |
1570 | - | w2.Anchored = true |
1570 | + | if hum ~= nil then |
1571 | - | w2.Parent = workspace |
1571 | + | for i = 0, 2 do |
1572 | - | w2.Transparency = 0.7 |
1572 | + | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1573 | - | table.insert(Effects,{w2,"Disappear",.01}) |
1573 | + | |
1574 | - | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) |
1574 | + | Humanoid.Health = Humanoid.Health + 10 |
1575 | - | table.insert(list,w2) |
1575 | + | |
1576 | elseif Type == "UpKnock" then | |
1577 | - | return unpack(list) |
1577 | + | local hum = hit.Parent.Humanoid |
1578 | hum.PlatformStand = true | |
1579 | - | |
1579 | + | if hum ~= nil then |
1580 | hitr = true | |
1581 | end | |
1582 | - | if hit.Parent == nil then |
1582 | + | coroutine.resume(coroutine.create(function(HHumanoid) |
1583 | - | return |
1583 | + | swait(5) |
1584 | - | end |
1584 | + | HHumanoid.PlatformStand = false |
1585 | - | local h = hit.Parent:FindFirstChildOfClass("Humanoid") |
1585 | + | hitr = false |
1586 | - | for _, v in pairs(hit.Parent:children()) do |
1586 | + | end), hum) |
1587 | - | if v:IsA("Humanoid") then |
1587 | + | local bodyVelocity = Create("BodyVelocity")({ |
1588 | - | h = v |
1588 | + | velocity = Vector3.new(0, 20, 0), |
1589 | - | end |
1589 | + | P = 5000, |
1590 | - | end |
1590 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1591 | - | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then |
1591 | + | Parent = hit |
1592 | - | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then |
1592 | + | }) |
1593 | - | return |
1593 | + | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1594 | - | end |
1594 | + | local bodyVelocity = Create("BodyVelocity")({ |
1595 | - | local c = Create("ObjectValue")({ |
1595 | + | velocity = Vector3.new(0, 20, 0), |
1596 | - | Name = "creator", |
1596 | + | P = 5000, |
1597 | - | Value = game:service("Players").LocalPlayer, |
1597 | + | maxForce = Vector3.new(8000, 8000, 8000), |
1598 | - | Parent = h |
1598 | + | Parent = hit |
1599 | - | }) |
1599 | + | }) |
1600 | - | game:GetService("Debris"):AddItem(c, 0.5) |
1600 | + | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
1601 | - | if HitSound ~= nil and HitPitch ~= nil then |
1601 | + | elseif Type == "Snare" then |
1602 | - | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) |
1602 | + | local bp = Create("BodyPosition")({ |
1603 | - | end |
1603 | + | P = 2000, |
1604 | - | local Damage = math.random(minim, maxim) |
1604 | + | D = 100, |
1605 | - | local blocked = false |
1605 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1606 | - | local block = hit.Parent:findFirstChild("Block") |
1606 | + | position = hit.Parent.Torso.Position, |
1607 | - | if block ~= nil and block.className == "IntValue" and block.Value > 0 then |
1607 | + | Parent = hit.Parent.Torso |
1608 | - | blocked = true |
1608 | + | }) |
1609 | - | block.Value = block.Value - 1 |
1609 | + | game:GetService("Debris"):AddItem(bp, 1) |
1610 | - | print(block.Value) |
1610 | + | elseif Type == "Slashnare" then |
1611 | - | end |
1611 | + | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07) |
1612 | - | if blocked == false then |
1612 | + | for i = 1, math.random(4, 5) do |
1613 | - | HitHealth = h.Health |
1613 | + | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1614 | - | h.Health = h.Health - Damage |
1614 | + | |
1615 | - | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then |
1615 | + | local bp = Create("BodyPosition")({ |
1616 | - | print("gained kill") |
1616 | + | P = 2000, |
1617 | - | end |
1617 | + | D = 100, |
1618 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1618 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1619 | - | else |
1619 | + | position = hit.Parent.Torso.Position, |
1620 | - | h.Health = h.Health - Damage / 2 |
1620 | + | Parent = hit.Parent.Torso |
1621 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) |
1621 | + | }) |
1622 | - | end |
1622 | + | game:GetService("Debris"):AddItem(bp, 1) |
1623 | - | if Type == "Knockdown" then |
1623 | + | elseif Type == "Spike" then |
1624 | - | local hum = hit.Parent.Humanoid |
1624 | + | CreateBigIceSword(hit.Parent.Torso.CFrame) |
1625 | - | hum.PlatformStand = true |
1625 | + | local bp = Create("BodyPosition")({ |
1626 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
1626 | + | P = 2000, |
1627 | - | swait(1) |
1627 | + | D = 100, |
1628 | - | HHumanoid.PlatformStand = false |
1628 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1629 | - | end), hum) |
1629 | + | position = hit.Parent.Torso.Position, |
1630 | - | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit |
1630 | + | Parent = hit.Parent.Torso |
1631 | - | local bodvol = Create("BodyVelocity")({ |
1631 | + | }) |
1632 | - | velocity = angle * knockback, |
1632 | + | game:GetService("Debris"):AddItem(bp, 1) |
1633 | - | P = 5000, |
1633 | + | elseif Type == "Freeze" then |
1634 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1634 | + | local BodPos = Create("BodyPosition")({ |
1635 | - | Parent = hit |
1635 | + | P = 50000, |
1636 | - | }) |
1636 | + | D = 1000, |
1637 | - | local rl = Create("BodyAngularVelocity")({ |
1637 | + | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1638 | - | P = 3000, |
1638 | + | position = hit.Parent.Torso.Position, |
1639 | - | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, |
1639 | + | Parent = hit.Parent.Torso |
1640 | - | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), |
1640 | + | }) |
1641 | - | Parent = hit |
1641 | + | local BodGy = Create("BodyGyro")({ |
1642 | - | }) |
1642 | + | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
1643 | - | game:GetService("Debris"):AddItem(bodvol, 0.5) |
1643 | + | P = 20000, |
1644 | - | game:GetService("Debris"):AddItem(rl, 0.5) |
1644 | + | Parent = hit.Parent.Torso, |
1645 | - | elseif Type == "Normal" then |
1645 | + | cframe = hit.Parent.Torso.CFrame |
1646 | - | local vp = Create("BodyVelocity")({ |
1646 | + | }) |
1647 | - | P = 500, |
1647 | + | hit.Parent.Torso.Anchored = true |
1648 | - | maxForce = Vector3.new(math.huge, 0, math.huge), |
1648 | + | coroutine.resume(coroutine.create(function(Part) |
1649 | - | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 |
1649 | + | swait(1.5) |
1650 | - | }) |
1650 | + | Part.Anchored = false |
1651 | - | if knockback > 0 then |
1651 | + | end), hit.Parent.Torso) |
1652 | - | vp.Parent = hit.Parent.Head |
1652 | + | game:GetService("Debris"):AddItem(BodPos, 3) |
1653 | - | end |
1653 | + | game:GetService("Debris"):AddItem(BodGy, 3) |
1654 | - | game:GetService("Debris"):AddItem(vp, 0.5) |
1654 | + | |
1655 | - | elseif Type == "Up" then |
1655 | + | local debounce = Create("BoolValue")({ |
1656 | - | local bodyVelocity = Create("BodyVelocity")({ |
1656 | + | Name = "DebounceHit", |
1657 | - | velocity = Vector3.new(0, 20, 0), |
1657 | + | Parent = hit.Parent, |
1658 | - | P = 5000, |
1658 | + | Value = true |
1659 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1659 | + | }) |
1660 | - | Parent = hit |
1660 | + | game:GetService("Debris"):AddItem(debounce, Delay) |
1661 | - | }) |
1661 | + | c = Instance.new("ObjectValue") |
1662 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1662 | + | c.Name = "creator" |
1663 | - | local bodyVelocity = Create("BodyVelocity")({ |
1663 | + | c.Value = RealGame:service("Players")[owner.Name]; |
1664 | - | velocity = Vector3.new(0, 20, 0), |
1664 | + | c.Parent = h |
1665 | - | P = 5000, |
1665 | + | game:GetService("Debris"):AddItem(c, 0.5) |
1666 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1666 | + | |
1667 | - | Parent = hit |
1667 | + | |
1668 | - | }) |
1668 | + | |
1669 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
1669 | + | local Rate = 0.03333333333333333 |
1670 | - | elseif Type == "Leech" then |
1670 | + | local Pos = Pos or Vector3.new(0, 0, 0) |
1671 | - | local hum = hit.Parent.Humanoid |
1671 | + | local Text = Text or "" |
1672 | - | if hum ~= nil then |
1672 | + | local Time = Time or 2 |
1673 | - | for i = 0, 2 do |
1673 | + | local Color = Color or Color3.new(1, 0, 1) |
1674 | - | Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1674 | + | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
1675 | - | end |
1675 | + | EffectPart.Anchored = true |
1676 | - | Humanoid.Health = Humanoid.Health + 10 |
1676 | + | local BillboardGui = Create("BillboardGui")({ |
1677 | - | end |
1677 | + | Size = UDim2.new(3, 0, 3, 0), |
1678 | - | elseif Type == "UpKnock" then |
1678 | + | Adornee = EffectPart, |
1679 | - | local hum = hit.Parent.Humanoid |
1679 | + | Parent = EffectPart |
1680 | - | hum.PlatformStand = true |
1680 | + | }) |
1681 | - | if hum ~= nil then |
1681 | + | local TextLabel = Create("TextLabel")({ |
1682 | - | hitr = true |
1682 | + | BackgroundTransparency = 1, |
1683 | - | end |
1683 | + | Size = UDim2.new(1, 0, 1, 0), |
1684 | - | coroutine.resume(coroutine.create(function(HHumanoid) |
1684 | + | Text = Text, |
1685 | - | swait(5) |
1685 | + | TextColor3 = Color, |
1686 | - | HHumanoid.PlatformStand = false |
1686 | + | TextScaled = true, |
1687 | - | hitr = false |
1687 | + | Font = Enum.Font.ArialBold, |
1688 | - | end), hum) |
1688 | + | Parent = BillboardGui |
1689 | - | local bodyVelocity = Create("BodyVelocity")({ |
1689 | + | }) |
1690 | - | velocity = Vector3.new(0, 20, 0), |
1690 | + | game.Debris:AddItem(EffectPart, Time + 0.1) |
1691 | - | P = 5000, |
1691 | + | EffectPart.Parent = game:GetService("Workspace") |
1692 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1692 | + | delay(0, function() |
1693 | - | Parent = hit |
1693 | + | local Frames = Time / Rate |
1694 | - | }) |
1694 | + | for Frame = 1, Frames do |
1695 | - | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) |
1695 | + | wait(Rate) |
1696 | - | local bodyVelocity = Create("BodyVelocity")({ |
1696 | + | local Percent = Frame / Frames |
1697 | - | velocity = Vector3.new(0, 20, 0), |
1697 | + | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
1698 | - | P = 5000, |
1698 | + | TextLabel.TextTransparency = Percent |
1699 | - | maxForce = Vector3.new(8000, 8000, 8000), |
1699 | + | |
1700 | - | Parent = hit |
1700 | + | if EffectPart and EffectPart.Parent then |
1701 | - | }) |
1701 | + | EffectPart:Destroy() |
1702 | - | game:GetService("Debris"):AddItem(bodyVelocity, 1) |
1702 | + | |
1703 | - | elseif Type == "Snare" then |
1703 | + | |
1704 | - | local bp = Create("BodyPosition")({ |
1704 | + | |
1705 | - | P = 2000, |
1705 | + | |
1706 | - | D = 100, |
1706 | + | for _, c in pairs(workspace:children()) do |
1707 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1707 | + | local hum = c:findFirstChildOfClass("Humanoid") |
1708 | - | position = hit.Parent.Torso.Position, |
1708 | + | if hum ~= nil then |
1709 | - | Parent = hit.Parent.Torso |
1709 | + | local head = c:findFirstChild("Head") |
1710 | - | }) |
1710 | + | if head ~= nil then |
1711 | - | game:GetService("Debris"):AddItem(bp, 1) |
1711 | + | local targ = head.Position - Part.Position |
1712 | - | elseif Type == "Slashnare" then |
1712 | + | local mag = targ.magnitude |
1713 | - | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) |
1713 | + | if magni >= mag and c.Name ~= Player.Name then |
1714 | - | for i = 1, math.random(4, 5) do |
1714 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
1715 | - | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) |
1715 | + | |
1716 | - | end |
1716 | + | |
1717 | - | local bp = Create("BodyPosition")({ |
1717 | + | |
1718 | - | P = 2000, |
1718 | + | |
1719 | - | D = 100, |
1719 | + | |
1720 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1720 | + | |
1721 | - | position = hit.Parent.Torso.Position, |
1721 | + | for _, c in pairs(workspace:children()) do |
1722 | - | Parent = hit.Parent.Torso |
1722 | + | local hum = c:findFirstChild("Humanoid") |
1723 | - | }) |
1723 | + | if hum ~= nil then |
1724 | - | game:GetService("Debris"):AddItem(bp, 1) |
1724 | + | local head = c:findFirstChild("Torso") |
1725 | - | elseif Type == "Spike" then |
1725 | + | if head ~= nil then |
1726 | - | CreateBigIceSword(hit.Parent.Torso.CFrame) |
1726 | + | local targ = head.Position - Part.Position |
1727 | - | local bp = Create("BodyPosition")({ |
1727 | + | local mag = targ.magnitude |
1728 | - | P = 2000, |
1728 | + | if magni >= mag and c.Name ~= Player.Name then |
1729 | - | D = 100, |
1729 | + | MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05) |
1730 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1730 | + | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
1731 | - | position = hit.Parent.Torso.Position, |
1731 | + | |
1732 | - | Parent = hit.Parent.Torso |
1732 | + | |
1733 | - | }) |
1733 | + | |
1734 | - | game:GetService("Debris"):AddItem(bp, 1) |
1734 | + | |
1735 | - | elseif Type == "Freeze" then |
1735 | + | |
1736 | - | local BodPos = Create("BodyPosition")({ |
1736 | + | function rayCast(Pos, Dir, Max, Ignore) |
1737 | - | P = 50000, |
1737 | + | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1738 | - | D = 1000, |
1738 | + | |
1739 | - | maxForce = Vector3.new(math.huge, math.huge, math.huge), |
1739 | + | function SkullEffect(brickcolor, cframe, x1, y1, z1, delay) |
1740 | - | position = hit.Parent.Torso.Position, |
1740 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1741 | - | Parent = hit.Parent.Torso |
1741 | + | prt.Anchored = true |
1742 | - | }) |
1742 | + | prt.CFrame = cframe |
1743 | - | local BodGy = Create("BodyGyro")({ |
1743 | + | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1)) |
1744 | - | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, |
1744 | + | game:GetService("Debris"):AddItem(prt, 2) |
1745 | - | P = 20000, |
1745 | + | CF = prt.CFrame |
1746 | - | Parent = hit.Parent.Torso, |
1746 | + | coroutine.resume(coroutine.create(function(Part, Mesh, TehCF) |
1747 | - | cframe = hit.Parent.Torso.CFrame |
1747 | + | for i = 0, 1, 0.2 do |
1748 | - | }) |
1748 | + | wait() |
1749 | - | hit.Parent.Torso.Anchored = true |
1749 | + | Part.CFrame = CF * cf(0, 0, -0.4) |
1750 | - | coroutine.resume(coroutine.create(function(Part) |
1750 | + | |
1751 | - | swait(1.5) |
1751 | + | for i = 0, 1, delay do |
1752 | - | Part.Anchored = false |
1752 | + | wait() |
1753 | - | end), hit.Parent.Torso) |
1753 | + | Mesh.Scale = Mesh.Scale |
1754 | - | game:GetService("Debris"):AddItem(BodPos, 3) |
1754 | + | |
1755 | - | game:GetService("Debris"):AddItem(BodGy, 3) |
1755 | + | for i = 0, 1, 0.1 do |
1756 | - | end |
1756 | + | wait() |
1757 | - | local debounce = Create("BoolValue")({ |
1757 | + | Part.Transparency = i |
1758 | - | Name = "DebounceHit", |
1758 | + | |
1759 | - | Parent = hit.Parent, |
1759 | + | Part.Parent = nil |
1760 | - | Value = true |
1760 | + | end), prt, msh, CF) |
1761 | - | }) |
1761 | + | |
1762 | - | game:GetService("Debris"):AddItem(debounce, Delay) |
1762 | + | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1763 | - | c = Instance.new("ObjectValue") |
1763 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1764 | - | c.Name = "creator" |
1764 | + | prt.Anchored = true |
1765 | - | c.Value = Player |
1765 | + | prt.Material = "Neon" |
1766 | - | c.Parent = h |
1766 | + | prt.CFrame = cframe |
1767 | - | game:GetService("Debris"):AddItem(c, 0.5) |
1767 | + | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
1768 | - | end |
1768 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1769 | game:GetService("Debris"):AddItem(prt, 5) | |
1770 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1771 | - | local Rate = 0.03333333333333333 |
1771 | + | for i = 0, 1, delay do |
1772 | - | local Pos = Pos or Vector3.new(0, 0, 0) |
1772 | + | swait() |
1773 | - | local Text = Text or "" |
1773 | + | Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
1774 | - | local Time = Time or 2 |
1774 | + | Part.Transparency = i |
1775 | - | local Color = Color or Color3.new(1, 0, 1) |
1775 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1776 | - | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) |
1776 | + | |
1777 | - | EffectPart.Anchored = true |
1777 | + | Part.Parent = nil |
1778 | - | local BillboardGui = Create("BillboardGui")({ |
1778 | + | end), prt, msh) |
1779 | - | Size = UDim2.new(3, 0, 3, 0), |
1779 | + | |
1780 | - | Adornee = EffectPart, |
1780 | + | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
1781 | - | Parent = EffectPart |
1781 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1782 | - | }) |
1782 | + | prt.Anchored = true |
1783 | - | local TextLabel = Create("TextLabel")({ |
1783 | + | prt.Material = "Neon" |
1784 | - | BackgroundTransparency = 1, |
1784 | + | prt.CFrame = cframe |
1785 | - | Size = UDim2.new(1, 0, 1, 0), |
1785 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1786 | - | Text = Text, |
1786 | + | game:GetService("Debris"):AddItem(prt, 5) |
1787 | - | TextColor3 = Color, |
1787 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1788 | - | TextScaled = true, |
1788 | + | local rtype = rottype |
1789 | - | Font = Enum.Font.ArialBold, |
1789 | + | for i = 0, 1, delay do |
1790 | - | Parent = BillboardGui |
1790 | + | swait() |
1791 | - | }) |
1791 | + | if rtype == 1 then |
1792 | - | game.Debris:AddItem(EffectPart, Time + 0.1) |
1792 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1793 | - | EffectPart.Parent = game:GetService("Workspace") |
1793 | + | elseif rtype == 2 then |
1794 | - | delay(0, function() |
1794 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1795 | - | local Frames = Time / Rate |
1795 | + | |
1796 | - | for Frame = 1, Frames do |
1796 | + | Part.Transparency = i |
1797 | - | wait(Rate) |
1797 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1798 | - | local Percent = Frame / Frames |
1798 | + | |
1799 | - | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) |
1799 | + | Part.Parent = nil |
1800 | - | TextLabel.TextTransparency = Percent |
1800 | + | end), prt, msh) |
1801 | - | end |
1801 | + | |
1802 | - | if EffectPart and EffectPart.Parent then |
1802 | + | function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1803 | - | EffectPart:Destroy() |
1803 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1804 | - | end |
1804 | + | prt.Anchored = true |
1805 | - | end) |
1805 | + | prt.CFrame = cframe |
1806 | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1807 | msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1808 | - | for _, c in pairs(workspace:children()) do |
1808 | + | game:GetService("Debris"):AddItem(prt, 5) |
1809 | - | local hum = c:findFirstChildOfClass("Humanoid") |
1809 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1810 | - | if hum ~= nil then |
1810 | + | for i = 0, 1, delay do |
1811 | - | local head = c:findFirstChild("Head") |
1811 | + | wait() |
1812 | - | if head ~= nil then |
1812 | + | Part.Transparency = i |
1813 | - | local targ = head.Position - Part.Position |
1813 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1814 | - | local mag = targ.magnitude |
1814 | + | |
1815 | - | if magni >= mag and c.Name ~= Player.Name then |
1815 | + | Part.Parent = nil |
1816 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
1816 | + | end), prt, msh) |
1817 | - | end |
1817 | + | |
1818 | - | end |
1818 | + | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
1819 | - | end |
1819 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1820 | - | end |
1820 | + | prt.Anchored = true |
1821 | prt.Material = "Neon" | |
1822 | prt.CFrame = cframe | |
1823 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
1824 | - | for _, c in pairs(workspace:children()) do |
1824 | + | game:GetService("Debris"):AddItem(prt, 5) |
1825 | - | local hum = c:findFirstChild("Humanoid") |
1825 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1826 | - | if hum ~= nil then |
1826 | + | local rtype = rottype |
1827 | - | local head = c:findFirstChild("Torso") |
1827 | + | for i = 0, 1, delay do |
1828 | - | if head ~= nil then |
1828 | + | swait() |
1829 | - | local targ = head.Position - Part.Position |
1829 | + | if rtype == 1 then |
1830 | - | local mag = targ.magnitude |
1830 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1831 | - | if magni >= mag and c.Name ~= Player.Name then |
1831 | + | elseif rtype == 2 then |
1832 | - | MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) |
1832 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1833 | - | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) |
1833 | + | |
1834 | - | end |
1834 | + | Part.Transparency = i |
1835 | - | end |
1835 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1836 | - | end |
1836 | + | |
1837 | - | end |
1837 | + | Part.Parent = nil |
1838 | end), prt, msh) | |
1839 | end | |
1840 | - | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants |
1840 | + | function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) |
1841 | - | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) |
1841 | + | local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1842 | - | end |
1842 | + | prt.Anchored = true |
1843 | prt.Material = "Neon" | |
1844 | - | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) |
1844 | + | prt.CFrame = cframe |
1845 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1845 | + | local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) |
1846 | - | prt.Anchored=true |
1846 | + | local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) |
1847 | - | prt.CFrame=cframe |
1847 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01)) |
1848 | - | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) |
1848 | + | game:GetService("Debris"):AddItem(prt, 5) |
1849 | - | --http://www.roblox.com/asset/?id=4770560 |
1849 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1850 | - | game:GetService("Debris"):AddItem(prt,2) |
1850 | + | local rtype = rottype |
1851 | - | CF=prt.CFrame |
1851 | + | for i = 0, 1, delay do |
1852 | - | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) |
1852 | + | swait() |
1853 | - | for i=0,1,0.2 do |
1853 | + | if rtype == 1 then |
1854 | - | wait() |
1854 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1855 | - | Part.CFrame=CF*cf(0,0,-0.4) |
1855 | + | elseif rtype == 2 then |
1856 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
1857 | - | for i=0,1,delay do |
1857 | + | |
1858 | - | wait() |
1858 | + | dec.Transparency = i |
1859 | - | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) |
1859 | + | dec2.Transparency = i |
1860 | - | Mesh.Scale=Mesh.Scale |
1860 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
1861 | end | |
1862 | - | for i=0,1,0.1 do |
1862 | + | Part.Parent = nil |
1863 | - | wait() |
1863 | + | end), prt, msh) |
1864 | - | Part.Transparency=i |
1864 | + | |
1865 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
1866 | - | Part.Parent=nil |
1866 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1867 | - | end),prt,msh,CF) |
1867 | + | prt.Anchored = true |
1868 | prt.Material = "Neon" | |
1869 | - | |
1869 | + | prt.CFrame = cframe |
1870 | - | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1870 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01)) |
1871 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1871 | + | game:GetService("Debris"):AddItem(prt, 5) |
1872 | - | prt.Anchored=true |
1872 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1873 | - | prt.Material = "Neon" |
1873 | + | local rtype = rottype |
1874 | - | prt.CFrame=cframe |
1874 | + | for i = 0, 1, delay do |
1875 | - | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1875 | + | swait() |
1876 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1876 | + | if rtype == 1 then |
1877 | - | game:GetService("Debris"):AddItem(prt,5) |
1877 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1878 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1878 | + | elseif rtype == 2 then |
1879 | - | for i=0,1,delay do |
1879 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1880 | - | swait() |
1880 | + | |
1881 | - | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1881 | + | prt.Transparency = i |
1882 | - | Part.Transparency=i |
1882 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
1883 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1883 | + | |
1884 | Part.Parent = nil | |
1885 | - | Part.Parent=nil |
1885 | + | end), prt, msh) |
1886 | - | end),prt,msh) |
1886 | + | |
1887 | function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype) | |
1888 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1889 | - | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
1889 | + | prt.Anchored = true |
1890 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1890 | + | prt.Material = "Neon" |
1891 | - | prt.Anchored=true |
1891 | + | prt.CFrame = cframe |
1892 | - | prt.Material = "Neon" |
1892 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1)) |
1893 | - | prt.CFrame=cframe |
1893 | + | game:GetService("Debris"):AddItem(prt, 5) |
1894 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1894 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1895 | - | game:GetService("Debris"):AddItem(prt,5) |
1895 | + | local rtype = rottype |
1896 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1896 | + | for i = 0, 1, delay do |
1897 | - | local rtype = rottype |
1897 | + | swait() |
1898 | - | for i=0,1,delay do |
1898 | + | if rtype == 1 then |
1899 | - | swait() |
1899 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0) |
1900 | - | if rtype == 1 then |
1900 | + | elseif rtype == 2 then |
1901 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1901 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0) |
1902 | - | elseif rtype == 2 then |
1902 | + | |
1903 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1903 | + | prt.Transparency = i |
1904 | Mesh.Scale = Mesh.Scale + vt(x3, 0, z3) | |
1905 | - | Part.Transparency=i |
1905 | + | |
1906 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1906 | + | Part.Parent = nil |
1907 | end), prt, msh) | |
1908 | - | Part.Parent=nil |
1908 | + | |
1909 | - | end),prt,msh) |
1909 | + | function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype) |
1910 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
1911 | prt.Anchored = true | |
1912 | - | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
1912 | + | prt.Material = "Neon" |
1913 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1913 | + | prt.CFrame = cframe |
1914 | - | prt.Anchored=true |
1914 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1915 | - | prt.CFrame=cframe |
1915 | + | game:GetService("Debris"):AddItem(prt, 5) |
1916 | - | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
1916 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1917 | - | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
1917 | + | local rtype = rottype |
1918 | - | game:GetService("Debris"):AddItem(prt,5) |
1918 | + | for i = 0, 1, delay do |
1919 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1919 | + | swait() |
1920 | - | for i=0,1,delay do |
1920 | + | if rtype == 1 then |
1921 | - | wait() |
1921 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1922 | - | Part.Transparency=i |
1922 | + | elseif rtype == 2 then |
1923 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1923 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1924 | end | |
1925 | - | Part.Parent=nil |
1925 | + | prt.Transparency = i |
1926 | - | end),prt,msh) |
1926 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) |
1927 | end | |
1928 | Part.Parent = nil | |
1929 | - | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
1929 | + | end), prt, msh) |
1930 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1930 | + | |
1931 | - | prt.Anchored=true |
1931 | + | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) |
1932 | - | prt.Material = "Neon" |
1932 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1933 | - | prt.CFrame=cframe |
1933 | + | prt.Anchored = true |
1934 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
1934 | + | prt.Material = "Neon" |
1935 | - | game:GetService("Debris"):AddItem(prt,5) |
1935 | + | prt.CFrame = cframe |
1936 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1936 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1937 | - | local rtype = rottype |
1937 | + | game:GetService("Debris"):AddItem(prt, 5) |
1938 | - | for i=0,1,delay do |
1938 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
1939 | - | swait() |
1939 | + | local rtype = rottype |
1940 | - | if rtype == 1 then |
1940 | + | for i = 0, 1, delay do |
1941 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1941 | + | swait() |
1942 | - | elseif rtype == 2 then |
1942 | + | if rtype == 1 then |
1943 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1943 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) |
1944 | elseif rtype == 2 then | |
1945 | - | Part.Transparency=i |
1945 | + | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) |
1946 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
1946 | + | |
1947 | prt.Transparency = i | |
1948 | - | Part.Parent=nil |
1948 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1949 | - | end),prt,msh) |
1949 | + | |
1950 | Part.Parent = nil | |
1951 | end), prt, msh) | |
1952 | - | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
1952 | + | |
1953 | - | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1953 | + | function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) |
1954 | - | prt.Anchored=true |
1954 | + | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1955 | - | prt.Material = "Neon" |
1955 | + | prt.Anchored = false |
1956 | - | prt.CFrame=cframe |
1956 | + | prt.CFrame = cframe |
1957 | - | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) |
1957 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1958 | - | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) |
1958 | + | local wld = weld(prt, prt, Parent, cframe) |
1959 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) |
1959 | + | game:GetService("Debris"):AddItem(prt, 5) |
1960 | - | game:GetService("Debris"):AddItem(prt,5) |
1960 | + | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) |
1961 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1961 | + | for i = 0, 1, delay do |
1962 | - | local rtype = rottype |
1962 | + | wait() |
1963 | - | for i=0,1,delay do |
1963 | + | Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe |
1964 | - | swait() |
1964 | + | Part.Transparency = i |
1965 | - | if rtype == 1 then |
1965 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1966 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1966 | + | |
1967 | - | elseif rtype == 2 then |
1967 | + | Part.Parent = nil |
1968 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1968 | + | end), prt, msh, wld) |
1969 | end | |
1970 | - | dec.Transparency=i |
1970 | + | function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) |
1971 | - | dec2.Transparency=i |
1971 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1972 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
1972 | + | prt.Anchored = false |
1973 | prt.CFrame = cframe | |
1974 | - | Part.Parent=nil |
1974 | + | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1975 | - | end),prt,msh) |
1975 | + | local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0)) |
1976 | game:GetService("Debris"):AddItem(prt, 5) | |
1977 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
1978 | - | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) |
1978 | + | for i = 0, 1, delay do |
1979 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
1979 | + | wait() |
1980 | - | prt.Anchored=true |
1980 | + | Weld.C0 = euler(i * 20, 0, 0) |
1981 | - | prt.Material = "Neon" |
1981 | + | Part.Transparency = i |
1982 | - | prt.CFrame=cframe |
1982 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1983 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) |
1983 | + | |
1984 | - | game:GetService("Debris"):AddItem(prt,5) |
1984 | + | Part.Parent = nil |
1985 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
1985 | + | end), prt, msh, wld) |
1986 | - | local rtype = rottype |
1986 | + | |
1987 | - | for i=0,1,delay do |
1987 | + | function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
1988 | - | swait() |
1988 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1989 | - | if rtype == 1 then |
1989 | + | prt.Anchored = true |
1990 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
1990 | + | prt.CFrame = cframe |
1991 | - | elseif rtype == 2 then |
1991 | + | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1)) |
1992 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
1992 | + | game:GetService("Debris"):AddItem(prt, 2) |
1993 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
1994 | - | prt.Transparency=i |
1994 | + | for i = 0, 1, delay do |
1995 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
1995 | + | wait() |
1996 | Part.CFrame = Part.CFrame | |
1997 | - | Part.Parent=nil |
1997 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
1998 | - | end),prt,msh) |
1998 | + | local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
1999 | prt2.Anchored = true | |
2000 | prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2001 | - | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) |
2001 | + | local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5)) |
2002 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2002 | + | game:GetService("Debris"):AddItem(prt2, 2) |
2003 | - | prt.Anchored=true |
2003 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
2004 | - | prt.Material = "Neon" |
2004 | + | for i = 0, 1, 0.1 do |
2005 | - | prt.CFrame=cframe |
2005 | + | wait() |
2006 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) |
2006 | + | Part.CFrame = Part.CFrame * cf(0, 0.5, 0) |
2007 | - | game:GetService("Debris"):AddItem(prt,5) |
2007 | + | |
2008 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2008 | + | Part.Parent = nil |
2009 | - | local rtype = rottype |
2009 | + | end), prt2, msh2) |
2010 | - | for i=0,1,delay do |
2010 | + | |
2011 | - | swait() |
2011 | + | for i = 0, 1, delay * 2 do |
2012 | - | if rtype == 1 then |
2012 | + | wait() |
2013 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) |
2013 | + | Part.CFrame = Part.CFrame |
2014 | - | elseif rtype == 2 then |
2014 | + | Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i) |
2015 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) |
2015 | + | |
2016 | Part.Parent = nil | |
2017 | - | prt.Transparency=i |
2017 | + | end), prt, msh) |
2018 | - | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) |
2018 | + | |
2019 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2020 | - | Part.Parent=nil |
2020 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
2021 | - | end),prt,msh) |
2021 | + | prt.Anchored = true |
2022 | prt.CFrame = cframe | |
2023 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2024 | - | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) |
2024 | + | game:GetService("Debris"):AddItem(prt, 2) |
2025 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2025 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
2026 | - | prt.Anchored=true |
2026 | + | for i = 0, 1, delay do |
2027 | - | prt.Material = "Neon" |
2027 | + | wait() |
2028 | - | prt.CFrame=cframe |
2028 | + | Part.CFrame = Part.CFrame |
2029 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
2029 | + | Part.Transparency = i |
2030 | - | game:GetService("Debris"):AddItem(prt,5) |
2030 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
2031 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2031 | + | |
2032 | - | local rtype = rottype |
2032 | + | Part.Parent = nil |
2033 | - | for i=0,1,delay do |
2033 | + | end), prt, msh) |
2034 | - | swait() |
2034 | + | |
2035 | - | if rtype == 1 then |
2035 | + | function BreakEffect(brickcolor, cframe, x1, y1, z1) |
2036 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
2036 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
2037 | - | elseif rtype == 2 then |
2037 | + | prt.Anchored = true |
2038 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
2038 | + | prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) |
2039 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
2040 | - | prt.Transparency=i |
2040 | + | game:GetService("Debris"):AddItem(prt, 2) |
2041 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) |
2041 | + | coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb) |
2042 | CF = Part.CFrame | |
2043 | - | Part.Parent=nil |
2043 | + | Numbb = 0 |
2044 | - | end),prt,msh) |
2044 | + | randnumb = math.random() / 10 |
2045 | rand1 = math.random() / 10 | |
2046 | for i = 0, 1, rand1 do | |
2047 | - | function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) |
2047 | + | wait() |
2048 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2048 | + | CF = CF * cf(0, math.random() / 2, 0) |
2049 | - | prt.Anchored=true |
2049 | + | Part.CFrame = CF * euler(Numbb, 0, 0) |
2050 | - | prt.Material = "Neon" |
2050 | + | Part.Transparency = i |
2051 | - | prt.CFrame=cframe |
2051 | + | Numbb = Numbb + randnumb |
2052 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
2052 | + | |
2053 | - | game:GetService("Debris"):AddItem(prt,5) |
2053 | + | Part.Parent = nil |
2054 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2054 | + | end), prt, CF, Numbb, randnumb) |
2055 | - | local rtype = rottype |
2055 | + | |
2056 | - | for i=0,1,delay do |
2056 | + | function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
2057 | - | swait() |
2057 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
2058 | - | if rtype == 1 then |
2058 | + | prt.Anchored = true |
2059 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) |
2059 | + | prt.CFrame = cframe |
2060 | - | elseif rtype == 2 then |
2060 | + | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1)) |
2061 | - | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) |
2061 | + | game:GetService("Debris"):AddItem(prt, 5) |
2062 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
2063 | - | prt.Transparency=i |
2063 | + | for i = 0, 1, delay do |
2064 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2064 | + | wait() |
2065 | Part.CFrame = Part.CFrame * euler(0, 0.7, 0) | |
2066 | - | Part.Parent=nil |
2066 | + | Part.Transparency = i |
2067 | - | end),prt,msh) |
2067 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
2068 | end | |
2069 | - | |
2069 | + | Part.Parent = nil |
2070 | - | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
2070 | + | end), prt, msh) |
2071 | - | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2071 | + | |
2072 | - | prt.Anchored=false |
2072 | + | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) |
2073 | - | prt.CFrame=cframe |
2073 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
2074 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
2074 | + | prt.Anchored = true |
2075 | - | local wld=weld(prt,prt,Parent,cframe) |
2075 | + | prt.CFrame = cframe |
2076 | - | game:GetService("Debris"):AddItem(prt,5) |
2076 | + | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) |
2077 | - | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
2077 | + | game:GetService("Debris"):AddItem(prt, 2) |
2078 | - | for i=0,1,delay do |
2078 | + | coroutine.resume(coroutine.create(function(Part, Mesh) |
2079 | - | wait() |
2079 | + | for i = 0, 1, delay do |
2080 | - | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe |
2080 | + | wait() |
2081 | - | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
2081 | + | Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0) |
2082 | - | Part.Transparency=i |
2082 | + | Part.Transparency = i |
2083 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2083 | + | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) |
2084 | end | |
2085 | - | Part.Parent=nil |
2085 | + | Part.Parent = nil |
2086 | - | end),prt,msh,wld) |
2086 | + | end), prt, msh) |
2087 | end | |
2088 | - | |
2088 | + | function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay) |
2089 | - | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) |
2089 | + | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) |
2090 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2090 | + | prt.Anchored = true |
2091 | - | prt.Anchored=false |
2091 | + | prt.CFrame = cframe * cf(x, y, z) |
2092 | - | prt.CFrame=cframe |
2092 | + | msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1)) |
2093 | - | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
2093 | + | game:GetService("Debris"):AddItem(prt, 5) |
2094 | - | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) |
2094 | + | coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee) |
2095 | - | game:GetService("Debris"):AddItem(prt,5) |
2095 | + | local num = math.random() |
2096 | - | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) |
2096 | + | local num2 = math.random(-3, 2) + math.random() |
2097 | - | for i=0,1,delay do |
2097 | + | local numm = 0 |
2098 | - | wait() |
2098 | + | for i = 0, 1, delay * 2 do |
2099 | - | Weld.C0=euler(i*20,0,0) |
2099 | + | swait() |
2100 | - | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
2100 | + | Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0) |
2101 | - | Part.Transparency=i |
2101 | + | Part.Transparency = i |
2102 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2102 | + | numm = numm + 0.01 |
2103 | end | |
2104 | - | Part.Parent=nil |
2104 | + | Part.Parent = nil |
2105 | - | end),prt,msh,wld) |
2105 | + | Mesh.Parent = nil |
2106 | end), prt, msh, x, y, z) | |
2107 | - | |
2107 | + | |
2108 | - | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
2108 | + | function dmgstart(dmg, what) |
2109 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2109 | + | |
2110 | - | prt.Anchored=true |
2110 | + | |
2111 | - | prt.CFrame=cframe |
2111 | + | |
2112 | - | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) |
2112 | + | |
2113 | - | game:GetService("Debris"):AddItem(prt,2) |
2113 | + | |
2114 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2114 | + | |
2115 | - | for i=0,1,delay do |
2115 | + | |
2116 | - | wait() |
2116 | + | |
2117 | - | Part.CFrame=Part.CFrame |
2117 | + | |
2118 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2118 | + | |
2119 | - | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2119 | + | |
2120 | - | prt2.Anchored=true |
2120 | + | Face.Parent = nil |
2121 | - | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
2121 | + | cloaked = true |
2122 | - | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) |
2122 | + | for _, v in pairs(Torso.Parent:children()) do |
2123 | - | game:GetService("Debris"):AddItem(prt2,2) |
2123 | + | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then |
2124 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2124 | + | |
2125 | - | for i=0,1,0.1 do |
2125 | + | for i = 0, 1, 0.2 do |
2126 | - | wait() |
2126 | + | wait() |
2127 | - | Part.CFrame=Part.CFrame*cf(0,0.5,0) |
2127 | + | v.Transparency = i |
2128 | end | |
2129 | - | Part.Parent=nil |
2129 | + | v.Transparency = 1 |
2130 | - | end),prt2,msh2) |
2130 | + | |
2131 | end | |
2132 | - | for i=0,1,delay*2 do |
2132 | + | if v.className == "Hat" then |
2133 | - | wait() |
2133 | + | hatp = v.Handle |
2134 | - | Part.CFrame=Part.CFrame |
2134 | + | coroutine.resume(coroutine.create(function(derp) |
2135 | - | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) |
2135 | + | for i = 0, 1, 0.2 do |
2136 | wait() | |
2137 | - | Part.Parent=nil |
2137 | + | derp.Transparency = i |
2138 | - | end),prt,msh) |
2138 | + | |
2139 | derp.Transparency = 1 | |
2140 | - | |
2140 | + | end), hatp) |
2141 | - | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
2141 | + | |
2142 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2142 | + | |
2143 | - | prt.Anchored=true |
2143 | + | for _, v in pairs(m:children()) do |
2144 | - | prt.CFrame=cframe |
2144 | + | if v.className == "Part" then |
2145 | - | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
2145 | + | |
2146 | - | game:GetService("Debris"):AddItem(prt,2) |
2146 | + | for i = 0, 1, 0.2 do |
2147 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2147 | + | wait() |
2148 | - | for i=0,1,delay do |
2148 | + | v.Transparency = i |
2149 | - | wait() |
2149 | + | |
2150 | - | Part.CFrame=Part.CFrame |
2150 | + | v.Transparency = 1 |
2151 | - | Part.Transparency=i |
2151 | + | |
2152 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2152 | + | |
2153 | end | |
2154 | - | Part.Parent=nil |
2154 | + | |
2155 | - | end),prt,msh) |
2155 | + | |
2156 | so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1) | |
2157 | - | |
2157 | + | Face.Parent = Head |
2158 | - | function BreakEffect(brickcolor,cframe,x1,y1,z1) |
2158 | + | cloaked = false |
2159 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2159 | + | for _, v in pairs(Torso.Parent:children()) do |
2160 | - | prt.Anchored=true |
2160 | + | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then |
2161 | - | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) |
2161 | + | |
2162 | - | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) |
2162 | + | for i = 0, 1, 0.1 do |
2163 | - | game:GetService("Debris"):AddItem(prt,2) |
2163 | + | wait() |
2164 | - | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) |
2164 | + | v.Transparency = v.Transparency - 0.1 |
2165 | - | CF=Part.CFrame |
2165 | + | |
2166 | - | Numbb=0 |
2166 | + | v.Transparency = 0 |
2167 | - | randnumb=math.random()/10 |
2167 | + | |
2168 | - | rand1=math.random()/10 |
2168 | + | |
2169 | - | for i=0,1,rand1 do |
2169 | + | if v.className == "Hat" then |
2170 | - | wait() |
2170 | + | hatp = v.Handle |
2171 | - | CF=CF*cf(0,math.random()/2,0) |
2171 | + | coroutine.resume(coroutine.create(function(derp) |
2172 | - | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) |
2172 | + | for i = 0, 1, 0.1 do |
2173 | - | Part.CFrame=CF*euler(Numbb,0,0) |
2173 | + | wait() |
2174 | - | Part.Transparency=i |
2174 | + | derp.Transparency = derp.Transparency - 0.1 |
2175 | - | Numbb=Numbb+randnumb |
2175 | + | |
2176 | derp.Transparency = 0 | |
2177 | - | Part.Parent=nil |
2177 | + | end), hatp) |
2178 | - | end),prt,CF,Numbb,randnumb) |
2178 | + | |
2179 | end | |
2180 | - | |
2180 | + | for _, v in pairs(m:children()) do |
2181 | - | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
2181 | + | if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then |
2182 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2182 | + | |
2183 | - | prt.Anchored=true |
2183 | + | for i = 0, 1, 0.1 do |
2184 | - | prt.CFrame=cframe |
2184 | + | wait() |
2185 | - | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) |
2185 | + | v.Transparency = v.Transparency - 0.1 |
2186 | - | game:GetService("Debris"):AddItem(prt,5) |
2186 | + | |
2187 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2187 | + | v.Transparency = 0 |
2188 | - | for i=0,1,delay do |
2188 | + | |
2189 | - | wait() |
2189 | + | v.Transparency = 0 |
2190 | - | Part.CFrame=Part.CFrame*euler(0,0.7,0) |
2190 | + | |
2191 | - | Part.Transparency=i |
2191 | + | |
2192 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2192 | + | |
2193 | local origcolor = BrickColor.new("Pastel light blue") | |
2194 | - | Part.Parent=nil |
2194 | + | function Explode(rad, par, pitch, vol, mindam, maxdam) |
2195 | - | end),prt,msh) |
2195 | + | local expart = Instance.new("Part", char) |
2196 | local expart2 = Instance.new("Part", char) | |
2197 | - | |
2197 | + | local rin = Instance.new("Part", char) |
2198 | - | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) |
2198 | + | local rin2 = Instance.new("Part", char) |
2199 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2199 | + | local partMesh = Instance.new("SpecialMesh", expart) |
2200 | - | prt.Anchored=true |
2200 | + | |
2201 | - | prt.CFrame=cframe |
2201 | + | local partMesh2 = Instance.new("SpecialMesh", expart2) |
2202 | - | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) |
2202 | + | |
2203 | - | game:GetService("Debris"):AddItem(prt,2) |
2203 | + | local partMesh3 = Instance.new("SpecialMesh", rin) |
2204 | - | coroutine.resume(coroutine.create(function(Part,Mesh) |
2204 | + | |
2205 | - | for i=0,1,delay do |
2205 | + | local partMesh4 = Instance.new("SpecialMesh", rin2) |
2206 | - | wait() |
2206 | + | |
2207 | - | Part.CFrame=Part.CFrame*cf(0,y3/2,0) |
2207 | + | CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch) |
2208 | - | Part.Transparency=i |
2208 | + | partMesh.Scale = vt(rad, rad, rad) |
2209 | - | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) |
2209 | + | expart.Size = vt(1, 1, 1) |
2210 | expart.Transparency = 0 | |
2211 | - | Part.Parent=nil |
2211 | + | |
2212 | - | end),prt,msh) |
2212 | + | |
2213 | expart.BrickColor = bc("White") | |
2214 | - | |
2214 | + | |
2215 | - | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) |
2215 | + | partMesh2.Scale = vt(rad, rad, rad) |
2216 | - | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) |
2216 | + | expart2.Size = vt(1.15, 1.15, 1.15) |
2217 | - | prt.Anchored=true |
2217 | + | |
2218 | - | prt.CFrame=cframe*cf(x,y,z) |
2218 | + | |
2219 | - | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) |
2219 | + | |
2220 | - | game:GetService("Debris"):AddItem(prt,5) |
2220 | + | |
2221 | - | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) |
2221 | + | |
2222 | - | local num=math.random() |
2222 | + | rin.Size = vt(1.15, 1.15, 1.15) |
2223 | - | local num2=math.random(-3,2)+math.random() |
2223 | + | |
2224 | - | local numm=0 |
2224 | + | |
2225 | - | for i=0,1,delay*2 do |
2225 | + | |
2226 | - | swait() |
2226 | + | |
2227 | - | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) |
2227 | + | rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) |
2228 | - | Part.Transparency=i |
2228 | + | rin2.Size = vt(1.15, 1.15, 1.15) |
2229 | - | numm=numm+0.01 |
2229 | + | |
2230 | rin2.Anchored = true | |
2231 | - | Part.Parent=nil |
2231 | + | |
2232 | - | Mesh.Parent=nil |
2232 | + | |
2233 | - | end),prt,msh,x,y,z) |
2233 | + | rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) |
2234 | partMesh3.Scale = vt(0, 1, 0) | |
2235 | partMesh4.Scale = vt(0, 1, 0) | |
2236 | - | function dmgstart(dmg,what) |
2236 | + | local dec2 = Instance.new("Decal", rin) |
2237 | dec2.Face = "Top" | |
2238 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2239 | dec2.Parent = rin | |
2240 | local dec2b = dec2:Clone() | |
2241 | dec2b.Face = "Bottom" | |
2242 | dec2b.Parent = rin | |
2243 | local dec2a = Instance.new("Decal", rin2) | |
2244 | dec2a.Face = "Top" | |
2245 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
2246 | dec2a.Parent = rin2 | |
2247 | local dec2ab = dec2a:Clone() | |
2248 | dec2ab.Face = "Bottom" | |
2249 | dec2ab.Parent = rin2 | |
2250 | - | Face.Parent=nil |
2250 | + | |
2251 | - | cloaked=true |
2251 | + | expart2.CanCollide = false |
2252 | - | for _,v in pairs(Torso.Parent:children()) do |
2252 | + | rin.CanCollide = false |
2253 | - | if v.className=="Part" and v.Name~="HumanoidRootPart" then |
2253 | + | rin2.CanCollide = false |
2254 | - | coroutine.resume(coroutine.create(function() |
2254 | + | MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal") |
2255 | - | for i=0,1,0.2 do |
2255 | + | local value = 1 * rad / 6.5 |
2256 | - | wait() |
2256 | + | |
2257 | - | v.Transparency=i |
2257 | + | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
2258 | - | end |
2258 | + | |
2259 | - | v.Transparency=1 |
2259 | + | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) |
2260 | - | end)) |
2260 | + | |
2261 | - | end |
2261 | + | value = value - 0.035 * rad / 30 |
2262 | - | if v.className=="Hat" then |
2262 | + | if value < 7.5 then |
2263 | - | hatp=v.Handle |
2263 | + | partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5) |
2264 | - | coroutine.resume(coroutine.create(function(derp) |
2264 | + | rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0) |
2265 | - | for i=0,1,0.2 do |
2265 | + | partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5) |
2266 | - | wait() |
2266 | + | rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0) |
2267 | - | derp.Transparency=i |
2267 | + | |
2268 | - | end |
2268 | + | if value < 0 then |
2269 | - | derp.Transparency=1 |
2269 | + | dec2.Transparency = dec2.Transparency + 0.025 |
2270 | - | end),hatp) |
2270 | + | dec2a.Transparency = dec2a.Transparency + 0.025 |
2271 | - | end |
2271 | + | dec2b.Transparency = dec2b.Transparency + 0.025 |
2272 | - | end |
2272 | + | dec2ab.Transparency = dec2ab.Transparency + 0.025 |
2273 | - | for _,v in pairs(m:children()) do |
2273 | + | expart.Transparency = expart.Transparency + 0.025 |
2274 | - | if v.className=="Part" then |
2274 | + | expart2.Transparency = expart2.Transparency + 0.025 |
2275 | - | coroutine.resume(coroutine.create(function() |
2275 | + | rin.Transparency = rin.Transparency + 0.025 |
2276 | - | for i=0,1,0.2 do |
2276 | + | rin2.Transparency = rin2.Transparency + 0.025 |
2277 | - | wait() |
2277 | + | |
2278 | - | v.Transparency=i |
2278 | + | |
2279 | - | end |
2279 | + | |
2280 | - | v.Transparency=1 |
2280 | + | game:GetService("Debris"):AddItem(expart, 1) |
2281 | - | end)) |
2281 | + | game:GetService("Debris"):AddItem(expart2, 1) |
2282 | - | end |
2282 | + | game:GetService("Debris"):AddItem(rin, 1) |
2283 | - | end |
2283 | + | game:GetService("Debris"):AddItem(rin2, 1) |
2284 | end | |
2285 | - | |
2285 | + | function ExplodeShort(rad, par, pitch, vol, mindam, maxdam) |
2286 | local expart = Instance.new("Part", char) | |
2287 | - | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) |
2287 | + | local expart2 = Instance.new("Part", char) |
2288 | - | Face.Parent=Head |
2288 | + | local partMesh = Instance.new("SpecialMesh", expart) |
2289 | - | cloaked=false |
2289 | + | |
2290 | - | for _,v in pairs(Torso.Parent:children()) do |
2290 | + | local partMesh2 = Instance.new("SpecialMesh", expart2) |
2291 | - | if v.className=="Part" and v.Name~="HumanoidRootPart" then |
2291 | + | |
2292 | - | coroutine.resume(coroutine.create(function() |
2292 | + | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch) |
2293 | - | for i=0,1,0.1 do |
2293 | + | partMesh.Scale = vt(rad, rad, rad) |
2294 | - | wait() |
2294 | + | expart.Size = vt(1, 1, 1) |
2295 | - | v.Transparency=v.Transparency-0.1 |
2295 | + | |
2296 | - | end |
2296 | + | |
2297 | - | v.Transparency=0 |
2297 | + | |
2298 | - | end)) |
2298 | + | |
2299 | - | end |
2299 | + | |
2300 | - | if v.className=="Hat" then |
2300 | + | partMesh2.Scale = vt(rad, rad, rad) |
2301 | - | hatp=v.Handle |
2301 | + | expart2.Size = vt(1.15, 1.15, 1.15) |
2302 | - | coroutine.resume(coroutine.create(function(derp) |
2302 | + | |
2303 | - | for i=0,1,0.1 do |
2303 | + | |
2304 | - | wait() |
2304 | + | |
2305 | - | derp.Transparency=derp.Transparency-0.1 |
2305 | + | |
2306 | - | end |
2306 | + | |
2307 | - | derp.Transparency=0 |
2307 | + | |
2308 | - | end),hatp) |
2308 | + | expart2.CanCollide = false |
2309 | - | end |
2309 | + | MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal") |
2310 | - | end |
2310 | + | local value = 1 * rad / 6.5 |
2311 | - | for _,v in pairs(m:children()) do |
2311 | + | |
2312 | - | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then |
2312 | + | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
2313 | - | coroutine.resume(coroutine.create(function() |
2313 | + | |
2314 | - | for i=0,1,0.1 do |
2314 | + | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) |
2315 | - | wait() |
2315 | + | |
2316 | - | v.Transparency=v.Transparency-0.1 |
2316 | + | value = value - 0.035 * rad / 5 |
2317 | - | end |
2317 | + | if value < 0 then |
2318 | - | v.Transparency=0 |
2318 | + | value = 0 |
2319 | - | end)) |
2319 | + | expart.Transparency = expart.Transparency + 0.05 |
2320 | - | v.Transparency=0 |
2320 | + | expart2.Transparency = expart2.Transparency + 0.05 |
2321 | - | end |
2321 | + | |
2322 | - | end |
2322 | + | |
2323 | end | |
2324 | game:GetService("Debris"):AddItem(expart, 1) | |
2325 | game:GetService("Debris"):AddItem(expart2, 1) | |
2326 | - | ---- This section of explosions. |
2326 | + | |
2327 | - | function Explode(rad,par,pitch,vol,mindam,maxdam) |
2327 | + | function AreaDanger(rad, par, mindam, maxdam) |
2328 | - | local expart = Instance.new("Part",char) |
2328 | + | local expart = Instance.new("Part", char) |
2329 | - | local expart2 = Instance.new("Part",char) |
2329 | + | local partMesh = Instance.new("SpecialMesh", expart) |
2330 | - | local rin = Instance.new("Part",char) |
2330 | + | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15) |
2331 | - | local rin2 = Instance.new("Part",char) |
2331 | + | |
2332 | - | local partMesh = Instance.new("SpecialMesh",expart) |
2332 | + | partMesh.Scale = vt(rad, rad, rad) |
2333 | expart.Size = vt(1, 1, 1) | |
2334 | - | local partMesh2 = Instance.new("SpecialMesh",expart2) |
2334 | + | |
2335 | expart.Anchored = true | |
2336 | - | local partMesh3 = Instance.new("SpecialMesh",rin) |
2336 | + | |
2337 | expart.CanCollide = false | |
2338 | - | local partMesh4 = Instance.new("SpecialMesh",rin2) |
2338 | + | |
2339 | expart.CFrame = par.CFrame | |
2340 | - | CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch) |
2340 | + | local value = 1 * rad / 5 |
2341 | - | partMesh.Scale = vt(rad,rad,rad) |
2341 | + | MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1) |
2342 | - | expart.Size = vt(1,1,1) |
2342 | + | |
2343 | wait() | |
2344 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
2345 | expart.CFrame = expart.CFrame | |
2346 | value = value - 0.035 * rad | |
2347 | if value < 0 then | |
2348 | - | partMesh2.Scale = vt(rad,rad,rad) |
2348 | + | value = 0 |
2349 | - | expart2.Size = vt(1.15,1.15,1.15) |
2349 | + | |
2350 | end | |
2351 | wait(0.25) | |
2352 | CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1) | |
2353 | wait(0.5) | |
2354 | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1) | |
2355 | - | rin.Size = vt(1.15,1.15,1.15) |
2355 | + | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75) |
2356 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
2357 | MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025) | |
2358 | for i = 0, 14 do | |
2359 | wait() | |
2360 | - | rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2360 | + | partMesh.Scale = partMesh.Scale + vt(value, value, value) |
2361 | - | rin2.Size = vt(1.15,1.15,1.15) |
2361 | + | |
2362 | value = value - 0.035 * rad / 2 | |
2363 | end | |
2364 | expart.Transparency = 1 | |
2365 | game:GetService("Debris"):AddItem(expart, 5) | |
2366 | - | rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) |
2366 | + | |
2367 | - | partMesh3.Scale = vt(0,1,0) |
2367 | + | function Swarmsplosions(negrad, rad, par, mindam, maxdam) |
2368 | - | partMesh4.Scale = vt(0,1,0) |
2368 | + | CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2) |
2369 | - | local dec2 = Instance.new("Decal", rin) |
2369 | + | CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1) |
2370 | - | dec2.Face = "Top" |
2370 | + | CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1) |
2371 | - | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" |
2371 | + | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1) |
2372 | - | dec2.Parent = rin |
2372 | + | MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal") |
2373 | - | local dec2b = dec2:Clone() |
2373 | + | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025) |
2374 | - | dec2b.Face = "Bottom" |
2374 | + | |
2375 | - | dec2b.Parent = rin |
2375 | + | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2)) |
2376 | end | |
2377 | - | local dec2a = Instance.new("Decal", rin2) |
2377 | + | |
2378 | - | dec2a.Face = "Top" |
2378 | + | local expart = Instance.new("Part", char) |
2379 | - | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" |
2379 | + | expart.Transparency = 1 |
2380 | - | dec2a.Parent = rin2 |
2380 | + | expart.Anchored = true |
2381 | - | local dec2ab = dec2a:Clone() |
2381 | + | expart.CanCollide = false |
2382 | - | dec2ab.Face = "Bottom" |
2382 | + | expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad)) |
2383 | - | dec2ab.Parent = rin2 |
2383 | + | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2) |
2384 | - | expart.CanCollide = false |
2384 | + | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15) |
2385 | - | expart2.CanCollide = false |
2385 | + | MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal") |
2386 | - | rin.CanCollide = false |
2386 | + | MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025) |
2387 | - | rin2.CanCollide = false |
2387 | + | for i = 0, 9 do |
2388 | - | MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal") |
2388 | + | MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2)) |
2389 | - | local value = 1*rad/6.5 |
2389 | + | |
2390 | game:GetService("Debris"):AddItem(expart, 2) | |
2391 | - | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2391 | + | wait(0.1) |
2392 | end | |
2393 | - | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
2393 | + | |
2394 | function EXterPlosion(par) | |
2395 | - | value = value - 0.035*rad/30 |
2395 | + | CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1) |
2396 | - | if value < 7.5 then |
2396 | + | CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85) |
2397 | - | partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5) |
2397 | + | CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2) |
2398 | - | rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0) |
2398 | + | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1) |
2399 | - | partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5) |
2399 | + | MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal") |
2400 | - | rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0) |
2400 | + | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005) |
2401 | MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1) | |
2402 | - | if value < 0 then |
2402 | + | |
2403 | - | dec2.Transparency = dec2.Transparency + 0.025 |
2403 | + | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2)) |
2404 | - | dec2a.Transparency = dec2a.Transparency + 0.025 |
2404 | + | |
2405 | - | dec2b.Transparency = dec2b.Transparency + 0.025 |
2405 | + | |
2406 | - | dec2ab.Transparency = dec2ab.Transparency + 0.025 |
2406 | + | MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2)) |
2407 | - | expart.Transparency = expart.Transparency + 0.025 |
2407 | + | |
2408 | - | expart2.Transparency = expart2.Transparency + 0.025 |
2408 | + | |
2409 | - | rin.Transparency = rin.Transparency + 0.025 |
2409 | + | function ring(type, pos, scale, value) |
2410 | - | rin2.Transparency = rin2.Transparency + 0.025 |
2410 | + | local type = type |
2411 | - | end |
2411 | + | local rng = Instance.new("Part", char) |
2412 | rng.Anchored = true | |
2413 | rng.BrickColor = origcolor | |
2414 | - | game:GetService("Debris"):AddItem(expart, 1) |
2414 | + | rng.CanCollide = false |
2415 | - | game:GetService("Debris"):AddItem(expart2, 1) |
2415 | + | rng.FormFactor = 3 |
2416 | - | game:GetService("Debris"):AddItem(rin, 1) |
2416 | + | rng.Name = "Ring" |
2417 | - | game:GetService("Debris"):AddItem(rin2, 1) |
2417 | + | rng.Size = Vector3.new(1, 1, 1) |
2418 | rng.Transparency = 0 | |
2419 | rng.TopSurface = 0 | |
2420 | - | function ExplodeShort(rad,par,pitch,vol,mindam,maxdam) |
2420 | + | rng.BottomSurface = 0 |
2421 | - | local expart = Instance.new("Part",char) |
2421 | + | rng.CFrame = pos |
2422 | - | local expart2 = Instance.new("Part",char) |
2422 | + | local rngm = Instance.new("SpecialMesh", rng) |
2423 | - | local partMesh = Instance.new("SpecialMesh",expart) |
2423 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
2424 | rngm.Scale = scale | |
2425 | - | local partMesh2 = Instance.new("SpecialMesh",expart2) |
2425 | + | local scaler2 = 1 |
2426 | if type == "Add" then | |
2427 | - | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch) |
2427 | + | scaler2 = 1 * value |
2428 | - | partMesh.Scale = vt(rad,rad,rad) |
2428 | + | elseif type == "Divide" then |
2429 | - | expart.Size = vt(1,1,1) |
2429 | + | scaler2 = 1 / value |
2430 | end | |
2431 | coroutine.resume(coroutine.create(function() | |
2432 | for i = 0, 10, 0.1 do | |
2433 | swait() | |
2434 | if type == "Add" then | |
2435 | - | partMesh2.Scale = vt(rad,rad,rad) |
2435 | + | scaler2 = scaler2 - 0.01 * value |
2436 | - | expart2.Size = vt(1.15,1.15,1.15) |
2436 | + | elseif type == "Divide" then |
2437 | scaler2 = scaler2 - 0.01 / value | |
2438 | end | |
2439 | rng.Transparency = rng.Transparency + 0.01 | |
2440 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2441 | end | |
2442 | - | expart.CanCollide = false |
2442 | + | rng:Destroy() |
2443 | - | expart2.CanCollide = false |
2443 | + | |
2444 | - | MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal") |
2444 | + | |
2445 | - | local value = 1*rad/6.5 |
2445 | + | function wave(type, pos, scale, value) |
2446 | local type = type | |
2447 | - | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2447 | + | local rng = Instance.new("Part", char) |
2448 | rng.Anchored = true | |
2449 | - | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) |
2449 | + | rng.BrickColor = origcolor |
2450 | rng.CanCollide = false | |
2451 | - | value = value - 0.035*rad/5 |
2451 | + | rng.FormFactor = 3 |
2452 | - | if value < 0 then |
2452 | + | rng.Name = "Ring" |
2453 | - | value = 0 |
2453 | + | rng.Size = Vector3.new(1, 1, 1) |
2454 | - | expart.Transparency = expart.Transparency + 0.05 |
2454 | + | rng.Transparency = 0 |
2455 | - | expart2.Transparency = expart2.Transparency + 0.05 |
2455 | + | rng.TopSurface = 0 |
2456 | - | end |
2456 | + | rng.BottomSurface = 0 |
2457 | rng.CFrame = pos | |
2458 | local rngm = Instance.new("SpecialMesh", rng) | |
2459 | - | game:GetService("Debris"):AddItem(expart, 1) |
2459 | + | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
2460 | - | game:GetService("Debris"):AddItem(expart2, 1) |
2460 | + | rngm.Scale = scale |
2461 | local scaler2 = 1 | |
2462 | if type == "Add" then | |
2463 | - | function AreaDanger(rad,par,mindam,maxdam) |
2463 | + | scaler2 = 1 * value |
2464 | - | local expart = Instance.new("Part",char) |
2464 | + | elseif type == "Divide" then |
2465 | - | local partMesh = Instance.new("SpecialMesh",expart) |
2465 | + | scaler2 = 1 / value |
2466 | - | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) |
2466 | + | |
2467 | coroutine.resume(coroutine.create(function() | |
2468 | - | partMesh.Scale = vt(rad,rad,rad) |
2468 | + | for i = 0, 10, 0.1 do |
2469 | - | expart.Size = vt(1,1,1) |
2469 | + | swait() |
2470 | if type == "Add" then | |
2471 | scaler2 = scaler2 - 0.01 * value | |
2472 | elseif type == "Divide" then | |
2473 | scaler2 = scaler2 - 0.01 / value | |
2474 | end | |
2475 | rng.Transparency = rng.Transparency + 0.01 | |
2476 | - | local value = 1*rad/5 |
2476 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
2477 | - | MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1) |
2477 | + | |
2478 | rng:Destroy() | |
2479 | end)) | |
2480 | - | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2480 | + | |
2481 | function wind(type, pos, scale, value, speed) | |
2482 | - | value = value - 0.035*rad |
2482 | + | local type = type |
2483 | - | if value < 0 then |
2483 | + | local rng = Instance.new("Part", char) |
2484 | - | value = 0 |
2484 | + | rng.Anchored = true |
2485 | rng.BrickColor = origcolor | |
2486 | rng.CanCollide = false | |
2487 | rng.FormFactor = 3 | |
2488 | - | CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1) |
2488 | + | rng.Name = "Ring" |
2489 | - | wait(0.5) |
2489 | + | rng.Size = Vector3.new(1, 1, 1) |
2490 | - | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1) |
2490 | + | rng.Transparency = 0 |
2491 | - | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75) |
2491 | + | rng.TopSurface = 0 |
2492 | - | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") |
2492 | + | rng.BottomSurface = 0 |
2493 | - | MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025) |
2493 | + | rng.CFrame = pos |
2494 | - | for i = 0, 14 do |
2494 | + | local rngm = Instance.new("SpecialMesh", rng) |
2495 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2496 | - | partMesh.Scale = partMesh.Scale + vt(value,value,value) |
2496 | + | rngm.Scale = scale |
2497 | local scaler2 = 1 | |
2498 | - | value = value - 0.035*rad/2 |
2498 | + | if type == "Add" then |
2499 | scaler2 = 1 * value | |
2500 | - | expart.Transparency = 1 |
2500 | + | elseif type == "Divide" then |
2501 | - | game:GetService("Debris"):AddItem(expart, 5) |
2501 | + | scaler2 = 1 / value |
2502 | end | |
2503 | coroutine.resume(coroutine.create(function() | |
2504 | - | function Swarmsplosions(negrad,rad,par,mindam,maxdam) |
2504 | + | for i = 0, 10, 0.1 do |
2505 | - | CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2) |
2505 | + | swait() |
2506 | - | CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1) |
2506 | + | if type == "Add" then |
2507 | - | CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1) |
2507 | + | scaler2 = scaler2 - 0.01 * value |
2508 | - | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) |
2508 | + | elseif type == "Divide" then |
2509 | - | MagniDamageWithEffect(par, 25, 5,10, 0, "Normal") |
2509 | + | scaler2 = scaler2 - 0.01 / value |
2510 | - | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025) |
2510 | + | |
2511 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
2512 | - | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2)) |
2512 | + | rng.Transparency = rng.Transparency + 0.01 |
2513 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
2514 | end | |
2515 | - | local expart = Instance.new("Part",char) |
2515 | + | rng:Destroy() |
2516 | end)) | |
2517 | end | |
2518 | function groundwind(type, pos, scale, value, speed) | |
2519 | - | expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad)) |
2519 | + | local type = type |
2520 | - | CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2) |
2520 | + | local rng = Instance.new("Part", char) |
2521 | - | CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15) |
2521 | + | rng.Anchored = true |
2522 | - | MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal") |
2522 | + | rng.BrickColor = origcolor |
2523 | - | MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025) |
2523 | + | rng.CanCollide = false |
2524 | - | for i = 0, 9 do |
2524 | + | rng.FormFactor = 3 |
2525 | - | MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2)) |
2525 | + | rng.Name = "Ring" |
2526 | rng.Size = Vector3.new(1, 1, 1) | |
2527 | - | game:GetService("Debris"):AddItem(expart, 2) |
2527 | + | rng.Transparency = 0 |
2528 | - | wait(0.1) |
2528 | + | rng.TopSurface = 0 |
2529 | rng.BottomSurface = 0 | |
2530 | rng.CFrame = pos | |
2531 | local rngm = Instance.new("SpecialMesh", rng) | |
2532 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
2533 | - | CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1) |
2533 | + | rngm.Scale = scale |
2534 | - | CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85) |
2534 | + | local scaler2 = 1 |
2535 | - | CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2) |
2535 | + | if type == "Add" then |
2536 | - | CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1) |
2536 | + | scaler2 = 1 * value |
2537 | - | MagniDamageWithEffect(par, 500, 80,99, 0, "Normal") |
2537 | + | elseif type == "Divide" then |
2538 | - | MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005) |
2538 | + | scaler2 = 1 / value |
2539 | - | MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1) |
2539 | + | |
2540 | coroutine.resume(coroutine.create(function() | |
2541 | - | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2)) |
2541 | + | for i = 0, 10, 0.1 do |
2542 | swait() | |
2543 | if type == "Add" then | |
2544 | - | MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2)) |
2544 | + | scaler2 = scaler2 - 0.01 * value |
2545 | elseif type == "Divide" then | |
2546 | scaler2 = scaler2 - 0.01 / value | |
2547 | - | ---- |
2547 | + | |
2548 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
2549 | rng.Transparency = rng.Transparency + 0.01 | |
2550 | - | function ring(type,pos,scale,value) |
2550 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2) |
2551 | - | local type = type |
2551 | + | |
2552 | - | local rng = Instance.new("Part", char) |
2552 | + | rng:Destroy() |
2553 | - | rng.Anchored = true |
2553 | + | |
2554 | - | rng.BrickColor = origcolor |
2554 | + | |
2555 | - | rng.CanCollide = false |
2555 | + | |
2556 | - | rng.FormFactor = 3 |
2556 | + | if TwoD and not CamInterrupt then |
2557 | - | rng.Name = "Ring" |
2557 | + | if Humanoid.Health > 0 then |
2558 | - | rng.Size = Vector3.new(1, 1, 1) |
2558 | + | Camera.CameraSubject = Humanoid |
2559 | - | rng.Transparency = 0 |
2559 | + | Camera.CameraType = "Scriptable" |
2560 | - | rng.TopSurface = 0 |
2560 | + | Humanoid.AutoRotate = false |
2561 | - | rng.BottomSurface = 0 |
2561 | + | if Booleans.GyroUse then |
2562 | - | rng.CFrame = pos |
2562 | + | Directer.MaxTorque = Vec3(0, huge, 0) |
2563 | - | local rngm = Instance.new("SpecialMesh", rng) |
2563 | + | |
2564 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" |
2564 | + | Directer.MaxTorque = Vec3(0, 0, 0) |
2565 | - | rngm.Scale = scale |
2565 | + | |
2566 | - | local scaler2 = 1 |
2566 | + | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
2567 | - | if type == "Add" then |
2567 | + | if Booleans.CamFollow then |
2568 | - | scaler2 = 1*value |
2568 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
2569 | - | elseif type == "Divide" then |
2569 | + | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
2570 | - | scaler2 = 1/value |
2570 | + | |
2571 | CPart.Position = RootPart.Position | |
2572 | end | |
2573 | - | for i = 0,10,0.1 do |
2573 | + | |
2574 | - | swait() |
2574 | + | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
2575 | - | if type == "Add" then |
2575 | + | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
2576 | - | scaler2 = scaler2 - 0.01*value |
2576 | + | |
2577 | - | elseif type == "Divide" then |
2577 | + | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
2578 | - | scaler2 = scaler2 - 0.01/value |
2578 | + | |
2579 | Camera.CameraSubject = Humanoid | |
2580 | - | rng.Transparency = rng.Transparency + 0.01 |
2580 | + | Camera.CameraType = "Custom" |
2581 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) |
2581 | + | |
2582 | end | |
2583 | - | rng:Destroy() |
2583 | + | |
2584 | function sphere(bonuspeed, type, pos, scale, value, color) | |
2585 | local type = type | |
2586 | local rng = Instance.new("Part", char) | |
2587 | rng.Anchored = true | |
2588 | - | function wave(type,pos,scale,value) |
2588 | + | rng.BrickColor = color |
2589 | - | local type = type |
2589 | + | rng.CanCollide = false |
2590 | - | local rng = Instance.new("Part", char) |
2590 | + | rng.FormFactor = 3 |
2591 | - | rng.Anchored = true |
2591 | + | rng.Name = "Ring" |
2592 | - | rng.BrickColor = origcolor |
2592 | + | rng.Material = "Neon" |
2593 | - | rng.CanCollide = false |
2593 | + | rng.Size = Vector3.new(1, 1, 1) |
2594 | - | rng.FormFactor = 3 |
2594 | + | rng.Transparency = 0 |
2595 | - | rng.Name = "Ring" |
2595 | + | rng.TopSurface = 0 |
2596 | - | rng.Size = Vector3.new(1, 1, 1) |
2596 | + | rng.BottomSurface = 0 |
2597 | - | rng.Transparency = 0 |
2597 | + | rng.CFrame = pos |
2598 | - | rng.TopSurface = 0 |
2598 | + | local rngm = Instance.new("SpecialMesh", rng) |
2599 | - | rng.BottomSurface = 0 |
2599 | + | rngm.MeshType = "Sphere" |
2600 | - | rng.CFrame = pos |
2600 | + | rngm.Scale = scale |
2601 | - | local rngm = Instance.new("SpecialMesh", rng) |
2601 | + | if rainbowmode == true then |
2602 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" |
2602 | + | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
2603 | - | rngm.Scale = scale |
2603 | + | |
2604 | - | local scaler2 = 1 |
2604 | + | local scaler2 = 1 |
2605 | - | if type == "Add" then |
2605 | + | if type == "Add" then |
2606 | - | scaler2 = 1*value |
2606 | + | scaler2 = 1 * value |
2607 | - | elseif type == "Divide" then |
2607 | + | elseif type == "Divide" then |
2608 | - | scaler2 = 1/value |
2608 | + | scaler2 = 1 / value |
2609 | end | |
2610 | coroutine.resume(coroutine.create(function() | |
2611 | - | for i = 0,10,0.1 do |
2611 | + | for i = 0, 10 / bonuspeed, 0.1 do |
2612 | - | swait() |
2612 | + | swait() |
2613 | - | if type == "Add" then |
2613 | + | if rainbowmode == true then |
2614 | - | scaler2 = scaler2 - 0.01*value |
2614 | + | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
2615 | - | elseif type == "Divide" then |
2615 | + | |
2616 | - | scaler2 = scaler2 - 0.01/value |
2616 | + | if type == "Add" then |
2617 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
2618 | - | rng.Transparency = rng.Transparency + 0.01 |
2618 | + | elseif type == "Divide" then |
2619 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
2619 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
2620 | end | |
2621 | - | rng:Destroy() |
2621 | + | if chaosmode == true then |
2622 | rng.BrickColor = BrickColor.random() | |
2623 | end | |
2624 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
2625 | - | function wind(type,pos,scale,value,speed) |
2625 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) |
2626 | - | local type = type |
2626 | + | |
2627 | - | local rng = Instance.new("Part", char) |
2627 | + | rng:Destroy() |
2628 | - | rng.Anchored = true |
2628 | + | |
2629 | - | rng.BrickColor = origcolor |
2629 | + | |
2630 | - | rng.CanCollide = false |
2630 | + | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
2631 | - | rng.FormFactor = 3 |
2631 | + | local type = type |
2632 | - | rng.Name = "Ring" |
2632 | + | local rng = Instance.new("Part", char) |
2633 | - | rng.Size = Vector3.new(1, 1, 1) |
2633 | + | rng.Anchored = true |
2634 | - | rng.Transparency = 0 |
2634 | + | rng.BrickColor = color |
2635 | - | rng.TopSurface = 0 |
2635 | + | rng.CanCollide = false |
2636 | - | rng.BottomSurface = 0 |
2636 | + | rng.FormFactor = 3 |
2637 | - | rng.CFrame = pos |
2637 | + | rng.Name = "Ring" |
2638 | - | local rngm = Instance.new("SpecialMesh", rng) |
2638 | + | rng.Material = "Neon" |
2639 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
2639 | + | rng.Size = Vector3.new(1, 1, 1) |
2640 | - | rngm.Scale = scale |
2640 | + | rng.Transparency = 0 |
2641 | - | local scaler2 = 1 |
2641 | + | rng.TopSurface = 0 |
2642 | - | if type == "Add" then |
2642 | + | rng.BottomSurface = 0 |
2643 | - | scaler2 = 1*value |
2643 | + | rng.CFrame = pos |
2644 | - | elseif type == "Divide" then |
2644 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
2645 | - | scaler2 = 1/value |
2645 | + | local rngm = Instance.new("SpecialMesh", rng) |
2646 | rngm.MeshType = "Sphere" | |
2647 | rngm.Scale = vt(x1, y1, z1) | |
2648 | - | for i = 0,10,0.1 do |
2648 | + | if rainbowmode == true then |
2649 | - | swait() |
2649 | + | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
2650 | - | if type == "Add" then |
2650 | + | |
2651 | - | scaler2 = scaler2 - 0.01*value |
2651 | + | local scaler2 = 1 |
2652 | - | elseif type == "Divide" then |
2652 | + | local speeder = FastSpeed |
2653 | - | scaler2 = scaler2 - 0.01/value |
2653 | + | if type == "Add" then |
2654 | scaler2 = 1 * value | |
2655 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
2655 | + | elseif type == "Divide" then |
2656 | - | rng.Transparency = rng.Transparency + 0.01 |
2656 | + | scaler2 = 1 / value |
2657 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) |
2657 | + | |
2658 | coroutine.resume(coroutine.create(function() | |
2659 | - | rng:Destroy() |
2659 | + | for i = 0, 10 / bonuspeed, 0.1 do |
2660 | swait() | |
2661 | if rainbowmode == true then | |
2662 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
2663 | - | function groundwind(type,pos,scale,value,speed) |
2663 | + | |
2664 | - | local type = type |
2664 | + | if type == "Add" then |
2665 | - | local rng = Instance.new("Part", char) |
2665 | + | scaler2 = scaler2 - 0.01 * value / bonuspeed |
2666 | - | rng.Anchored = true |
2666 | + | elseif type == "Divide" then |
2667 | - | rng.BrickColor = origcolor |
2667 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
2668 | - | rng.CanCollide = false |
2668 | + | |
2669 | - | rng.FormFactor = 3 |
2669 | + | if chaosmode == true then |
2670 | - | rng.Name = "Ring" |
2670 | + | rng.BrickColor = BrickColor.random() |
2671 | - | rng.Size = Vector3.new(1, 1, 1) |
2671 | + | |
2672 | - | rng.Transparency = 0 |
2672 | + | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
2673 | - | rng.TopSurface = 0 |
2673 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
2674 | - | rng.BottomSurface = 0 |
2674 | + | rng.Transparency = rng.Transparency + 0.01 * bonuspeed |
2675 | - | rng.CFrame = pos |
2675 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
2676 | - | local rngm = Instance.new("SpecialMesh", rng) |
2676 | + | |
2677 | - | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" |
2677 | + | rng:Destroy() |
2678 | - | rngm.Scale = scale |
2678 | + | |
2679 | - | local scaler2 = 1 |
2679 | + | |
2680 | - | if type == "Add" then |
2680 | + | function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) |
2681 | - | scaler2 = 1*value |
2681 | + | local type = type |
2682 | - | elseif type == "Divide" then |
2682 | + | local rng = Instance.new("Part", char) |
2683 | - | scaler2 = 1/value |
2683 | + | rng.Anchored = true |
2684 | rng.BrickColor = color | |
2685 | rng.CanCollide = false | |
2686 | - | for i = 0,10,0.1 do |
2686 | + | rng.FormFactor = 3 |
2687 | - | swait() |
2687 | + | rng.Name = "Ring" |
2688 | - | if type == "Add" then |
2688 | + | rng.Material = "Neon" |
2689 | - | scaler2 = scaler2 - 0.01*value |
2689 | + | rng.Size = Vector3.new(1, 1, 1) |
2690 | - | elseif type == "Divide" then |
2690 | + | rng.Transparency = 1 |
2691 | - | scaler2 = scaler2 - 0.01/value |
2691 | + | rng.TopSurface = 0 |
2692 | rng.BottomSurface = 0 | |
2693 | - | rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0) |
2693 | + | rng.CFrame = pos |
2694 | - | rng.Transparency = rng.Transparency + 0.01 |
2694 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos |
2695 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2) |
2695 | + | local rngm = Instance.new("SpecialMesh", rng) |
2696 | rngm.MeshType = "Sphere" | |
2697 | - | rng:Destroy() |
2697 | + | rngm.Scale = vt(x1, y1, z1) |
2698 | if rainbowmode == true then | |
2699 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
2700 | end | |
2701 | local scaler2 = 1 | |
2702 | - | if TwoD and not CamInterrupt then |
2702 | + | local speeder = FastSpeed |
2703 | - | if Humanoid.Health > 0 then |
2703 | + | if type == "Add" then |
2704 | - | Camera.CameraSubject = Humanoid |
2704 | + | scaler2 = 1 * value |
2705 | - | Camera.CameraType = "Scriptable" |
2705 | + | elseif type == "Divide" then |
2706 | - | Humanoid.AutoRotate = false |
2706 | + | scaler2 = 1 / value |
2707 | - | if Booleans.GyroUse then |
2707 | + | |
2708 | - | Directer.MaxTorque = Vec3(0, huge, 0) |
2708 | + | |
2709 | - | else |
2709 | + | for i = 0, 10 / bonuspeed, 0.1 do |
2710 | - | Directer.MaxTorque = Vec3(0, 0, 0) |
2710 | + | swait() |
2711 | - | end |
2711 | + | if rainbowmode == true then |
2712 | - | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then |
2712 | + | rng.Color = Color3.new(r / 255, g / 255, b / 255) |
2713 | - | if Booleans.CamFollow then |
2713 | + | |
2714 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) |
2714 | + | if type == "Add" then |
2715 | - | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) |
2715 | + | scaler2 = scaler2 - 0.01 * value / bonuspeed |
2716 | - | else |
2716 | + | elseif type == "Divide" then |
2717 | - | CPart.Position = RootPart.Position |
2717 | + | scaler2 = scaler2 - 0.01 / value * bonuspeed |
2718 | - | end |
2718 | + | |
2719 | - | else |
2719 | + | if chaosmode == true then |
2720 | - | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p |
2720 | + | rng.BrickColor = BrickColor.random() |
2721 | - | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) |
2721 | + | |
2722 | - | end |
2722 | + | speeder = speeder - 0.01 * FastSpeed * bonuspeed |
2723 | - | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) |
2723 | + | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed |
2724 | - | else |
2724 | + | rng.Transparency = rng.Transparency - 0.01 * bonuspeed |
2725 | - | Camera.CameraSubject = Humanoid |
2725 | + | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) |
2726 | - | Camera.CameraType = "Custom" |
2726 | + | |
2727 | - | Controller.Disabled = false |
2727 | + | rng:Destroy() |
2728 | - | end |
2728 | + | |
2729 | - | end |
2729 | + | |
2730 | function dmg(dude) | |
2731 | if dude.Name ~= Character then | |
2732 | - | function sphere(bonuspeed,type,pos,scale,value,color) |
2732 | + | local bgf = Instance.new("BodyGyro", dude.Head) |
2733 | - | local type = type |
2733 | + | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0) |
2734 | - | local rng = Instance.new("Part", char) |
2734 | + | local val = Instance.new("BoolValue", dude) |
2735 | - | rng.Anchored = true |
2735 | + | val.Name = "IsHit" |
2736 | - | rng.BrickColor = color |
2736 | + | local ds = coroutine.wrap(function() |
2737 | - | rng.CanCollide = false |
2737 | + | dude:WaitForChild("Head"):BreakJoints() |
2738 | - | rng.FormFactor = 3 |
2738 | + | wait(0.5) |
2739 | - | rng.Name = "Ring" |
2739 | + | targetted = nil |
2740 | - | rng.Material = "Neon" |
2740 | + | CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3) |
2741 | - | rng.Size = Vector3.new(1, 1, 1) |
2741 | + | |
2742 | - | rng.Transparency = 0 |
2742 | + | for i, v in pairs(dude:GetChildren()) do |
2743 | - | rng.TopSurface = 0 |
2743 | + | if v:IsA("Accessory") then |
2744 | - | rng.BottomSurface = 0 |
2744 | + | v:Destroy() |
2745 | - | rng.CFrame = pos |
2745 | + | end |
2746 | - | local rngm = Instance.new("SpecialMesh", rng) |
2746 | + | if v:IsA("Humanoid") then |
2747 | - | rngm.MeshType = "Sphere" |
2747 | + | v:Destroy() |
2748 | - | rngm.Scale = scale |
2748 | + | end |
2749 | - | if rainbowmode == true then |
2749 | + | if v:IsA("CharacterMesh") then |
2750 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2750 | + | v:Destroy() |
2751 | end | |
2752 | - | local scaler2 = 1 |
2752 | + | if v:IsA("Model") then |
2753 | - | if type == "Add" then |
2753 | + | v:Destroy() |
2754 | - | scaler2 = 1*value |
2754 | + | end |
2755 | - | elseif type == "Divide" then |
2755 | + | if v:IsA("Part") or v:IsA("MeshPart") then |
2756 | - | scaler2 = 1/value |
2756 | + | for x, o in pairs(v:GetChildren()) do |
2757 | if o:IsA("Decal") then | |
2758 | o:Destroy() | |
2759 | - | for i = 0,10/bonuspeed,0.1 do |
2759 | + | |
2760 | - | swait() |
2760 | + | end |
2761 | - | if rainbowmode == true then |
2761 | + | coroutine.resume(coroutine.create(function() |
2762 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2762 | + | v.Material = "Neon" |
2763 | v.CanCollide = false | |
2764 | - | if type == "Add" then |
2764 | + | local bld = Instance.new("ParticleEmitter", v) |
2765 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
2765 | + | bld.LightEmission = 1 |
2766 | - | elseif type == "Divide" then |
2766 | + | bld.Texture = "rbxassetid://284205403" |
2767 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
2767 | + | bld.Color = ColorSequence.new(Color3.new(1, 1, 1)) |
2768 | bld.Rate = 50 | |
2769 | - | if chaosmode == true then |
2769 | + | bld.Lifetime = NumberRange.new(1) |
2770 | - | rng.BrickColor = BrickColor.random() |
2770 | + | bld.Size = NumberSequence.new({ |
2771 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
2772 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2772 | + | NumberSequenceKeypoint.new(1, 0, 0) |
2773 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2773 | + | }) |
2774 | bld.Transparency = NumberSequence.new({ | |
2775 | - | rng:Destroy() |
2775 | + | NumberSequenceKeypoint.new(0, 0, 0), |
2776 | NumberSequenceKeypoint.new(1, 1, 0) | |
2777 | }) | |
2778 | bld.Speed = NumberRange.new(0, 0) | |
2779 | - | function spherew(bonuspeed,type,pos,scale,value,color) |
2779 | + | bld.VelocitySpread = 50000 |
2780 | - | local type = type |
2780 | + | bld.Rotation = NumberRange.new(-500, 500) |
2781 | - | local rng = Instance.new("Part", workspace) |
2781 | + | bld.RotSpeed = NumberRange.new(-500, 500) |
2782 | - | rng.Anchored = true |
2782 | + | local sbs = Instance.new("BodyPosition", v) |
2783 | - | rng.BrickColor = color |
2783 | + | sbs.P = 3000 |
2784 | - | rng.CanCollide = false |
2784 | + | sbs.D = 1000 |
2785 | - | rng.FormFactor = 3 |
2785 | + | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
2786 | - | rng.Name = "Ring" |
2786 | + | sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) |
2787 | - | rng.Material = "Neon" |
2787 | + | v.Color = Color3.new(1, 1, 1) |
2788 | - | rng.Size = Vector3.new(1, 1, 1) |
2788 | + | coroutine.resume(coroutine.create(function() |
2789 | - | rng.Transparency = 0 |
2789 | + | for i = 0, 49 do |
2790 | - | rng.TopSurface = 0 |
2790 | + | swait(1) |
2791 | - | rng.BottomSurface = 0 |
2791 | + | v.Transparency = v.Transparency + 0.02 |
2792 | - | rng.CFrame = pos |
2792 | + | |
2793 | - | local rngm = Instance.new("SpecialMesh", rng) |
2793 | + | CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1) |
2794 | - | rngm.MeshType = "Sphere" |
2794 | + | bld.Speed = NumberRange.new(1, 5) |
2795 | - | rngm.Scale = scale |
2795 | + | bld.Acceleration = vt(0, 10, 0) |
2796 | - | if rainbowmode == true then |
2796 | + | wait(0.5) |
2797 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2797 | + | bld.Enabled = false |
2798 | wait(3) | |
2799 | - | local scaler2 = 1 |
2799 | + | v:Destroy() |
2800 | - | if type == "Add" then |
2800 | + | dude:Destroy() |
2801 | - | scaler2 = 1*value |
2801 | + | end)) |
2802 | - | elseif type == "Divide" then |
2802 | + | end)) |
2803 | - | scaler2 = 1/value |
2803 | + | end |
2804 | end | |
2805 | end)) | |
2806 | - | for i = 0,10/bonuspeed,0.1 do |
2806 | + | end) |
2807 | - | swait() |
2807 | + | ds() |
2808 | - | if rainbowmode == true then |
2808 | + | |
2809 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2809 | + | |
2810 | function FindNearestHead(Position, Distance, SinglePlayer) | |
2811 | - | if type == "Add" then |
2811 | + | |
2812 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
2812 | + | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude |
2813 | - | elseif type == "Divide" then |
2813 | + | |
2814 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
2814 | + | |
2815 | for i, v in pairs(workspace:GetChildren()) do | |
2816 | - | if chaosmode == true then |
2816 | + | if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then |
2817 | - | rng.BrickColor = BrickColor.random() |
2817 | + | table.insert(List, v) |
2818 | end | |
2819 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2819 | + | |
2820 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2820 | + | |
2821 | end | |
2822 | - | rng:Destroy() |
2822 | + | |
2823 | Cam = workspace.CurrentCamera | |
2824 | return { | |
2825 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
2826 | - | function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2826 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
2827 | - | local type = type |
2827 | + | } |
2828 | - | local rng = Instance.new("Part", char) |
2828 | + | |
2829 | - | rng.Anchored = true |
2829 | + | |
2830 | - | rng.BrickColor = color |
2830 | + | Cam = workspace.CurrentCamera |
2831 | - | rng.CanCollide = false |
2831 | + | return { |
2832 | - | rng.FormFactor = 3 |
2832 | + | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
2833 | - | rng.Name = "Ring" |
2833 | + | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
2834 | - | rng.Material = "Neon" |
2834 | + | } |
2835 | - | rng.Size = Vector3.new(1, 1, 1) |
2835 | + | |
2836 | - | rng.Transparency = 0 |
2836 | + | |
2837 | - | rng.TopSurface = 0 |
2837 | + | |
2838 | - | rng.BottomSurface = 0 |
2838 | + | |
2839 | - | rng.CFrame = pos |
2839 | + | local targetted |
2840 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2840 | + | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then |
2841 | - | local rngm = Instance.new("SpecialMesh", rng) |
2841 | + | targetted = mouse.Target.Parent |
2842 | - | rngm.MeshType = "Brick" |
2842 | + | |
2843 | - | rngm.Scale = vt(x1,y1,z1) |
2843 | + | if targetted ~= nil then |
2844 | - | if rainbowmode == true then |
2844 | + | attack = true |
2845 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2845 | + | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1) |
2846 | for i = 0, 9 do | |
2847 | - | local scaler2 = 1 |
2847 | + | sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0) |
2848 | - | local speeder = FastSpeed/10 |
2848 | + | |
2849 | - | if type == "Add" then |
2849 | + | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black")) |
2850 | - | scaler2 = 1*value |
2850 | + | local originalpos = root.CFrame |
2851 | - | elseif type == "Divide" then |
2851 | + | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2) |
2852 | - | scaler2 = 1/value |
2852 | + | for i = 0, 9 do |
2853 | sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0) | |
2854 | end | |
2855 | - | for i = 0,10/bonuspeed,0.1 do |
2855 | + | hum.WalkSpeed = 0 |
2856 | - | swait() |
2856 | + | targetted.Head.Anchored = true |
2857 | - | if rainbowmode == true then |
2857 | + | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black")) |
2858 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2858 | + | for i = 0, 2, 0.1 do |
2859 | swait() | |
2860 | - | if type == "Add" then |
2860 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4) |
2861 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
2861 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4) |
2862 | - | elseif type == "Divide" then |
2862 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4) |
2863 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
2863 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) |
2864 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
2865 | - | if chaosmode == true then |
2865 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4) |
2866 | - | rng.BrickColor = BrickColor.random() |
2866 | + | |
2867 | coroutine.resume(coroutine.create(function() | |
2868 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed/10 |
2868 | + | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso")) |
2869 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2869 | + | bld.LightEmission = 0.1 |
2870 | - | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2870 | + | bld.Texture = "rbxassetid://284205403" |
2871 | - | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2871 | + | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) |
2872 | bld.Rate = 500 | |
2873 | - | rng:Destroy() |
2873 | + | bld.Lifetime = NumberRange.new(1) |
2874 | bld.Size = NumberSequence.new({ | |
2875 | NumberSequenceKeypoint.new(0, 2, 0), | |
2876 | NumberSequenceKeypoint.new(1, 0, 0) | |
2877 | - | function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2877 | + | }) |
2878 | - | local type = type |
2878 | + | bld.Acceleration = vt(0, -25, 0) |
2879 | - | local rng = Instance.new("Part", char) |
2879 | + | bld.Transparency = NumberSequence.new({ |
2880 | - | rng.Anchored = true |
2880 | + | NumberSequenceKeypoint.new(0, 0, 0), |
2881 | - | rng.BrickColor = color |
2881 | + | NumberSequenceKeypoint.new(1, 0, 0) |
2882 | - | rng.CanCollide = false |
2882 | + | }) |
2883 | - | rng.FormFactor = 3 |
2883 | + | bld.Speed = NumberRange.new(10, 50) |
2884 | - | rng.Name = "Ring" |
2884 | + | bld.EmissionDirection = "Front" |
2885 | - | rng.Material = "Neon" |
2885 | + | bld.VelocitySpread = 25 |
2886 | - | rng.Size = Vector3.new(1, 1, 1) |
2886 | + | bld.Rotation = NumberRange.new(-500, 500) |
2887 | - | rng.Transparency = 0 |
2887 | + | bld.RotSpeed = NumberRange.new(-500, 500) |
2888 | - | rng.TopSurface = 0 |
2888 | + | end)) |
2889 | - | rng.BottomSurface = 0 |
2889 | + | coroutine.resume(coroutine.create(function() |
2890 | - | rng.CFrame = pos |
2890 | + | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso")) |
2891 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2891 | + | bld.LightEmission = 0.1 |
2892 | - | local rngm = Instance.new("SpecialMesh", rng) |
2892 | + | bld.Texture = "rbxassetid://284205403" |
2893 | - | rngm.MeshType = "Brick" |
2893 | + | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) |
2894 | - | rngm.Scale = vt(x1,y1,z1) |
2894 | + | bld.Rate = 500 |
2895 | - | if rainbowmode == true then |
2895 | + | bld.Lifetime = NumberRange.new(1) |
2896 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2896 | + | bld.Size = NumberSequence.new({ |
2897 | NumberSequenceKeypoint.new(0, 2, 0), | |
2898 | - | local scaler2 = 0 |
2898 | + | NumberSequenceKeypoint.new(1, 0, 0) |
2899 | - | local speeder = FastSpeed/10 |
2899 | + | }) |
2900 | - | if type == "Add" then |
2900 | + | bld.Acceleration = vt(0, -25, 0) |
2901 | - | scaler2 = 1*value |
2901 | + | bld.Transparency = NumberSequence.new({ |
2902 | - | elseif type == "Divide" then |
2902 | + | NumberSequenceKeypoint.new(0, 0, 0), |
2903 | - | scaler2 = 1/value |
2903 | + | NumberSequenceKeypoint.new(1, 0, 0) |
2904 | }) | |
2905 | bld.Speed = NumberRange.new(10, 50) | |
2906 | - | for i = 0,10/bonuspeed,0.1 do |
2906 | + | bld.EmissionDirection = "Front" |
2907 | - | swait() |
2907 | + | bld.VelocitySpread = 25 |
2908 | - | if rainbowmode == true then |
2908 | + | bld.Rotation = NumberRange.new(-500, 500) |
2909 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2909 | + | bld.RotSpeed = NumberRange.new(-500, 500) |
2910 | end)) | |
2911 | - | if type == "Add" then |
2911 | + | CameraEnshaking(5, 5) |
2912 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
2912 | + | game:GetService("Debris"):AddItem(bld, 3) |
2913 | - | elseif type == "Divide" then |
2913 | + | dmg(targetted) |
2914 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
2914 | + | CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1) |
2915 | for i = 0, 1, 0.1 do | |
2916 | - | if chaosmode == true then |
2916 | + | swait() |
2917 | - | rng.BrickColor = BrickColor.random() |
2917 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8) |
2918 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8) | |
2919 | - | speeder = speeder + 0.01*FastSpeed*bonuspeed/10 |
2919 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8) |
2920 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2920 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8) |
2921 | - | --rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2921 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) |
2922 | - | rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) |
2922 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8) |
2923 | end | |
2924 | - | rng:Destroy() |
2924 | + | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1) |
2925 | for i = 0, 9 do | |
2926 | sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0) | |
2927 | end | |
2928 | - | function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2928 | + | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black")) |
2929 | - | local type = type |
2929 | + | root.CFrame = originalpos |
2930 | - | local rng = Instance.new("Part", workspace) |
2930 | + | for i = 0, 9 do |
2931 | - | rng.Anchored = true |
2931 | + | sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0) |
2932 | - | rng.BrickColor = color |
2932 | + | |
2933 | - | rng.CanCollide = false |
2933 | + | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black")) |
2934 | - | rng.FormFactor = 3 |
2934 | + | bld.Enabled = false |
2935 | - | rng.Name = "Ring" |
2935 | + | attack = false |
2936 | - | rng.Material = "Neon" |
2936 | + | hum.WalkSpeed = storehumanoidWS |
2937 | - | rng.Size = Vector3.new(1, 1, 1) |
2937 | + | |
2938 | - | rng.Transparency = 0 |
2938 | + | |
2939 | - | rng.TopSurface = 0 |
2939 | + | |
2940 | - | rng.BottomSurface = 0 |
2940 | + | |
2941 | - | rng.CFrame = pos |
2941 | + | local orb = Instance.new("Part", char) |
2942 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2942 | + | orb.Anchored = true |
2943 | - | local rngm = Instance.new("SpecialMesh", rng) |
2943 | + | orb.BrickColor = BrickColor.new("Toothpaste") |
2944 | - | rngm.MeshType = "Sphere" |
2944 | + | orb.CanCollide = false |
2945 | - | rngm.Scale = vt(x1,y1,z1) |
2945 | + | orb.FormFactor = 3 |
2946 | - | if rainbowmode == true then |
2946 | + | orb.Name = "Ring" |
2947 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2947 | + | orb.Material = "Neon" |
2948 | orb.Size = Vector3.new(1, 1, 1) | |
2949 | - | local scaler2 = 1 |
2949 | + | orb.Transparency = 0 |
2950 | - | local speeder = FastSpeed |
2950 | + | orb.TopSurface = 0 |
2951 | - | if type == "Add" then |
2951 | + | orb.BottomSurface = 0 |
2952 | - | scaler2 = 1*value |
2952 | + | local orbm = Instance.new("SpecialMesh", orb) |
2953 | - | elseif type == "Divide" then |
2953 | + | orbm.MeshType = "Sphere" |
2954 | - | scaler2 = 1/value |
2954 | + | orbm.Name = "SizeMesh" |
2955 | orbm.Scale = vt(0, 0, 0) | |
2956 | local scaled = 0.1 | |
2957 | - | for i = 0,10/bonuspeed,0.1 do |
2957 | + | local posid = 0 |
2958 | - | swait() |
2958 | + | CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1) |
2959 | - | if rainbowmode == true then |
2959 | + | for i = 0, 5, 0.1 do |
2960 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2960 | + | |
2961 | scaled = scaled - 0.001 | |
2962 | - | if type == "Add" then |
2962 | + | posid = posid - scaled |
2963 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
2963 | + | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) |
2964 | - | elseif type == "Divide" then |
2964 | + | orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled) |
2965 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
2965 | + | sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Toothpaste"), 10) |
2966 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1) | |
2967 | - | if chaosmode == true then |
2967 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1) |
2968 | - | rng.BrickColor = BrickColor.random() |
2968 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
2969 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2970 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed |
2970 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1) |
2971 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
2971 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1) |
2972 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
2972 | + | |
2973 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
2973 | + | |
2974 | swait() | |
2975 | - | rng:Destroy() |
2975 | + | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) |
2976 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) | |
2977 | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) | |
2978 | - | function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
2978 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4) |
2979 | - | local type = type |
2979 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) |
2980 | - | local rng = Instance.new("Part", char) |
2980 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4) |
2981 | - | rng.Anchored = true |
2981 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) |
2982 | - | rng.BrickColor = color |
2982 | + | |
2983 | - | rng.CanCollide = false |
2983 | + | |
2984 | - | rng.FormFactor = 3 |
2984 | + | orb.Anchored = false |
2985 | - | rng.Name = "Ring" |
2985 | + | CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1) |
2986 | - | rng.Material = "Neon" |
2986 | + | local a = Instance.new("Part", workspace) |
2987 | - | rng.Size = Vector3.new(1, 1, 1) |
2987 | + | a.Name = "Direction" |
2988 | - | rng.Transparency = 0 |
2988 | + | a.Anchored = true |
2989 | - | rng.TopSurface = 0 |
2989 | + | a.BrickColor = bc("Bright red") |
2990 | - | rng.BottomSurface = 0 |
2990 | + | a.Material = "Neon" |
2991 | - | rng.CFrame = pos |
2991 | + | a.Transparency = 1 |
2992 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
2992 | + | a.CanCollide = false |
2993 | - | local rngm = Instance.new("SpecialMesh", rng) |
2993 | + | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500) |
2994 | - | rngm.MeshType = "Sphere" |
2994 | + | local ignore = orb |
2995 | - | rngm.Scale = vt(x1,y1,z1) |
2995 | + | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
2996 | - | if rainbowmode == true then |
2996 | + | a.BottomSurface = 10 |
2997 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
2997 | + | a.TopSurface = 10 |
2998 | local distance = (orb.CFrame.p - position).magnitude | |
2999 | - | local scaler2 = 1 |
2999 | + | a.Size = Vector3.new(0.1, 0.1, 0.1) |
3000 | - | local speeder = FastSpeed |
3000 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
3001 | - | if type == "Add" then |
3001 | + | orb.CFrame = a.CFrame |
3002 | - | scaler2 = 1*value |
3002 | + | a:Destroy() |
3003 | - | elseif type == "Divide" then |
3003 | + | local bv = Instance.new("BodyVelocity") |
3004 | - | scaler2 = 1/value |
3004 | + | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
3005 | bv.velocity = orb.CFrame.lookVector * 125 | |
3006 | bv.Parent = orb | |
3007 | - | for i = 0,10/bonuspeed,0.1 do |
3007 | + | local hitted = false |
3008 | - | swait() |
3008 | + | game:GetService("Debris"):AddItem(orb, 15) |
3009 | - | if rainbowmode == true then |
3009 | + | |
3010 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
3010 | + | local hit = orb.Touched:connect(function(hit) |
3011 | if hitted == false then | |
3012 | - | if type == "Add" then |
3012 | + | hitted = true |
3013 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
3013 | + | CameraEnshaking(10, 2.5) |
3014 | - | elseif type == "Divide" then |
3014 | + | CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1) |
3015 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
3015 | + | MagniDamage(orb, 65, 65, 90, 0, "Normal") |
3016 | sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste")) | |
3017 | - | if chaosmode == true then |
3017 | + | sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste")) |
3018 | - | rng.BrickColor = BrickColor.random() |
3018 | + | for i = 0, 9 do |
3019 | sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0) | |
3020 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed |
3020 | + | sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0) |
3021 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
3021 | + | |
3022 | - | rng.Transparency = rng.Transparency + 0.01*bonuspeed |
3022 | + | orb.Anchored = true |
3023 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
3023 | + | orb.Transparency = 1 |
3024 | wait(8) | |
3025 | - | rng:Destroy() |
3025 | + | orb:Destroy() |
3026 | end | |
3027 | end) | |
3028 | end)) | |
3029 | for i = 0, 1, 0.1 do | |
3030 | - | function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) |
3030 | + | |
3031 | - | local type = type |
3031 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4) |
3032 | - | local rng = Instance.new("Part", char) |
3032 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4) |
3033 | - | rng.Anchored = true |
3033 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4) |
3034 | - | rng.BrickColor = color |
3034 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4) |
3035 | - | rng.CanCollide = false |
3035 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4) |
3036 | - | rng.FormFactor = 3 |
3036 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4) |
3037 | - | rng.Name = "Ring" |
3037 | + | |
3038 | - | rng.Material = "Neon" |
3038 | + | |
3039 | - | rng.Size = Vector3.new(1, 1, 1) |
3039 | + | |
3040 | - | rng.Transparency = 1 |
3040 | + | |
3041 | - | rng.TopSurface = 0 |
3041 | + | |
3042 | - | rng.BottomSurface = 0 |
3042 | + | |
3043 | - | rng.CFrame = pos |
3043 | + | |
3044 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos |
3044 | + | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) |
3045 | - | local rngm = Instance.new("SpecialMesh", rng) |
3045 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) |
3046 | - | rngm.MeshType = "Sphere" |
3046 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
3047 | - | rngm.Scale = vt(x1,y1,z1) |
3047 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
3048 | - | if rainbowmode == true then |
3048 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
3049 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
3049 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
3050 | end | |
3051 | - | local scaler2 = 1 |
3051 | + | CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1) |
3052 | - | local speeder = FastSpeed |
3052 | + | CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1) |
3053 | - | if type == "Add" then |
3053 | + | CameraEnshaking(4, 12) |
3054 | - | scaler2 = 1*value |
3054 | + | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do |
3055 | - | elseif type == "Divide" then |
3055 | + | if v:FindFirstChild("Head") then |
3056 | - | scaler2 = 1/value |
3056 | + | dmg(v) |
3057 | end | |
3058 | end | |
3059 | - | for i = 0,10/bonuspeed,0.1 do |
3059 | + | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random()) |
3060 | - | swait() |
3060 | + | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random()) |
3061 | - | if rainbowmode == true then |
3061 | + | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random()) |
3062 | - | rng.Color = Color3.new(r/255,g/255,b/255) |
3062 | + | |
3063 | swait() | |
3064 | - | if type == "Add" then |
3064 | + | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) |
3065 | - | scaler2 = scaler2 - 0.01*value/bonuspeed |
3065 | + | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) |
3066 | - | elseif type == "Divide" then |
3066 | + | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) |
3067 | - | scaler2 = scaler2 - 0.01/value*bonuspeed |
3067 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) |
3068 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
3069 | - | if chaosmode == true then |
3069 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
3070 | - | rng.BrickColor = BrickColor.random() |
3070 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
3071 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
3072 | - | speeder = speeder - 0.01*FastSpeed*bonuspeed |
3072 | + | |
3073 | - | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed |
3073 | + | |
3074 | - | rng.Transparency = rng.Transparency - 0.01*bonuspeed |
3074 | + | |
3075 | - | rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) |
3075 | + | |
3076 | attack = true | |
3077 | - | rng:Destroy() |
3077 | + | chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color) |
3078 | for i = 0, 10, 0.1 do | |
3079 | swait() | |
3080 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
3081 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2) | |
3082 | - | if dude.Name ~= Character then |
3082 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
3083 | - | local bgf = Instance.new("BodyGyro",dude.Head) |
3083 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
3084 | - | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) |
3084 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
3085 | - | local val = Instance.new("BoolValue",dude) |
3085 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
3086 | - | val.Name = "IsHit" |
3086 | + | |
3087 | - | local ds = coroutine.wrap(function() |
3087 | + | chatfunc("DIE!!", BrickColor.random().Color) |
3088 | - | dude:WaitForChild("Head"):BreakJoints() |
3088 | + | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1) |
3089 | - | wait(0.5) |
3089 | + | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1) |
3090 | - | targetted = nil |
3090 | + | CameraEnshaking(5, 25) |
3091 | - | CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3) |
3091 | + | |
3092 | if v:FindFirstChild("Head") then | |
3093 | - | for i, v in pairs(dude:GetChildren()) do |
3093 | + | dmg(v) |
3094 | - | if v:IsA("Accessory") then |
3094 | + | |
3095 | - | v:Destroy() |
3095 | + | |
3096 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
3097 | - | if v:IsA("Humanoid") then |
3097 | + | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) |
3098 | - | v:Destroy() |
3098 | + | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) |
3099 | for i = 0, 3, 0.1 do | |
3100 | - | if v:IsA("CharacterMesh") then |
3100 | + | |
3101 | - | v:Destroy() |
3101 | + | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) |
3102 | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) | |
3103 | - | if v:IsA("Model") then |
3103 | + | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) |
3104 | - | v:Destroy() |
3104 | + | sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0) |
3105 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
3106 | - | if v:IsA("Part") or v:IsA("MeshPart") then |
3106 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) |
3107 | - | for x, o in pairs(v:GetChildren()) do |
3107 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
3108 | - | if o:IsA("Decal") then |
3108 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
3109 | - | o:Destroy() |
3109 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
3110 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
3111 | end | |
3112 | attack = false | |
3113 | - | v.Material = "Neon" |
3113 | + | |
3114 | - | v.CanCollide = false |
3114 | + | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) |
3115 | - | local bld = Instance.new("ParticleEmitter",v) |
3115 | + | local orb = Instance.new("Part", char) |
3116 | - | bld.LightEmission = 1 |
3116 | + | orb.Anchored = true |
3117 | - | bld.Texture = "rbxassetid://284205403" |
3117 | + | orb.BrickColor = color |
3118 | - | bld.Color = ColorSequence.new(Color3.new(1,1,1)) |
3118 | + | orb.CanCollide = false |
3119 | - | bld.Rate = 50 |
3119 | + | orb.FormFactor = 3 |
3120 | - | bld.Lifetime = NumberRange.new(1) |
3120 | + | orb.Name = "Ring" |
3121 | - | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)}) |
3121 | + | orb.Material = "Neon" |
3122 | - | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) |
3122 | + | orb.Size = Vector3.new(1, 1, 1) |
3123 | - | bld.Speed = NumberRange.new(0,0) |
3123 | + | orb.Transparency = 0 |
3124 | - | bld.VelocitySpread = 50000 |
3124 | + | orb.TopSurface = 0 |
3125 | - | bld.Rotation = NumberRange.new(-500,500) |
3125 | + | orb.BottomSurface = 0 |
3126 | - | bld.RotSpeed = NumberRange.new(-500,500) |
3126 | + | local orbm = Instance.new("SpecialMesh", orb) |
3127 | - | local sbs = Instance.new("BodyPosition", v) |
3127 | + | orbm.MeshType = "Sphere" |
3128 | - | sbs.P = 3000 |
3128 | + | orb.CFrame = positted |
3129 | - | sbs.D = 1000 |
3129 | + | orbm.Name = "SizeMesh" |
3130 | - | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) |
3130 | + | orbm.Scale = vt(1, 1, 1) |
3131 | - | sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) |
3131 | + | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1) |
3132 | - | v.Color = Color3.new(1,1,1) |
3132 | + | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) |
3133 | coroutine.resume(coroutine.create(function() | |
3134 | wait(timer) | |
3135 | - | swait(1) |
3135 | + | CameraEnshaking(3, ShakePower) |
3136 | - | v.Transparency = v.Transparency + 0.02 |
3136 | + | orb.Transparency = 1 |
3137 | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") | |
3138 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1) |
3138 | + | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) |
3139 | - | bld.Speed = NumberRange.new(1,5) |
3139 | + | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7) |
3140 | - | bld.Acceleration = vt(0,10,0) |
3140 | + | wait(3) |
3141 | - | wait(0.5) |
3141 | + | orb:Destroy() |
3142 | - | bld.Enabled = false |
3142 | + | |
3143 | - | wait(3) |
3143 | + | |
3144 | - | v:Destroy() |
3144 | + | function orb_spawn(positted, timer) |
3145 | - | dude:Destroy() |
3145 | + | local randomcol = math.random(1, 2) |
3146 | local orb = Instance.new("Part", char) | |
3147 | orb.Anchored = true | |
3148 | if randomcol == 1 then | |
3149 | orb.BrickColor = BrickColor.new("White") | |
3150 | elseif randomcol == 2 then | |
3151 | orb.BrickColor = BrickColor.new("Really black") | |
3152 | - | ds() |
3152 | + | |
3153 | orb.CanCollide = false | |
3154 | orb.FormFactor = 3 | |
3155 | orb.Name = "Ring" | |
3156 | orb.Material = "Neon" | |
3157 | orb.Size = Vector3.new(1, 1, 1) | |
3158 | orb.Transparency = 0 | |
3159 | - | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance |
3159 | + | orb.TopSurface = 0 |
3160 | orb.BottomSurface = 0 | |
3161 | local orbm = Instance.new("SpecialMesh", orb) | |
3162 | orbm.MeshType = "Sphere" | |
3163 | - | if v:IsA("Model") then |
3163 | + | orb.CFrame = positted |
3164 | - | if v:findFirstChild("Head") then |
3164 | + | orbm.Name = "SizeMesh" |
3165 | - | if v ~= Character then |
3165 | + | orbm.Scale = vt(1, 1, 1) |
3166 | - | if (v.Head.Position - Position).magnitude <= Distance then |
3166 | + | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1) |
3167 | - | table.insert(List, v) |
3167 | + | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) |
3168 | - | end |
3168 | + | for i = 0, 2 do |
3169 | - | end |
3169 | + | sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0) |
3170 | - | end |
3170 | + | |
3171 | - | end |
3171 | + | |
3172 | wait(timer) | |
3173 | CameraEnshaking(3, 2) | |
3174 | orb.Transparency = 1 | |
3175 | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") | |
3176 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) | |
3177 | - | Cam = workspace.CurrentCamera |
3177 | + | for i = 0, 4 do |
3178 | - | return { |
3178 | + | sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0) |
3179 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), |
3179 | + | |
3180 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
3180 | + | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7) |
3181 | - | } |
3181 | + | wait(3) |
3182 | orb:Destroy() | |
3183 | end)) | |
3184 | end | |
3185 | - | Cam = workspace.CurrentCamera |
3185 | + | |
3186 | - | return { |
3186 | + | |
3187 | - | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)), |
3187 | + | local rot = 0 |
3188 | - | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) |
3188 | + | local randomrotations = math.random(1, 2) |
3189 | - | } |
3189 | + | local lookv = 2.5 |
3190 | local power = 5 | |
3191 | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple")) | |
3192 | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple")) | |
3193 | - | -- Functions are ready. |
3193 | + | for i = 0, 9 do |
3194 | sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0) | |
3195 | end | |
3196 | - | function Blink() |
3196 | + | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6) |
3197 | - | for i = 0, 14 do |
3197 | + | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5) |
3198 | - | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) |
3198 | + | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1) |
3199 | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75) | |
3200 | - | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
3200 | + | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5) |
3201 | - | RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0) |
3201 | + | local hite = Instance.new("Part", char) |
3202 | - | CameraEnshaking(2,10) |
3202 | + | hite.Anchored = true |
3203 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do |
3203 | + | hite.CanCollide = false |
3204 | - | if v:FindFirstChild('Head') then |
3204 | + | hite.FormFactor = 3 |
3205 | hite.Name = "Ring" | |
3206 | hite.Material = "Neon" | |
3207 | - | for i = 0, 14 do |
3207 | + | hite.Size = Vector3.new(1, 1, 1) |
3208 | - | PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0) |
3208 | + | hite.Transparency = 1 |
3209 | hite.TopSurface = 0 | |
3210 | - | sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
3210 | + | hite.BottomSurface = 0 |
3211 | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) | |
3212 | - | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) |
3212 | + | local rem = Instance.new("Part", char) |
3213 | - | function WACKYEFFECT(Table) |
3213 | + | rem.Anchored = true |
3214 | - | local TYPE = (Table.EffectType or "Sphere") |
3214 | + | rem.CanCollide = false |
3215 | - | local SIZE = (Table.Size or VT(1,1,1)) |
3215 | + | rem.FormFactor = 3 |
3216 | - | local ENDSIZE = (Table.Size2 or VT(0,0,0)) |
3216 | + | rem.Name = "Ring" |
3217 | - | local TRANSPARENCY = (Table.Transparency or 0) |
3217 | + | rem.Material = "Neon" |
3218 | - | local ENDTRANSPARENCY = (Table.Transparency2 or 1) |
3218 | + | rem.Size = Vector3.new(1, 1, 1) |
3219 | - | local CFRAME = (Table.CFrame or Torso.CFrame) |
3219 | + | rem.Transparency = 1 |
3220 | - | local MOVEDIRECTION = (Table.MoveToPos or nil) |
3220 | + | rem.TopSurface = 0 |
3221 | - | local ROTATION1 = (Table.RotationX or 0) |
3221 | + | rem.BottomSurface = 0 |
3222 | - | local ROTATION2 = (Table.RotationY or 0) |
3222 | + | rem.CFrame = hite.CFrame |
3223 | - | local ROTATION3 = (Table.RotationZ or 0) |
3223 | + | local rem2 = rem:Clone() |
3224 | - | local MATERIAL = (Table.Material or "Neon") |
3224 | + | rem2.Parent = char |
3225 | - | local COLOR = (Table.Color or C3(1,1,1)) |
3225 | + | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3226 | - | local TIME = (Table.Time or 45) |
3226 | + | local rem3 = rem:Clone() |
3227 | - | local SOUNDID = (Table.SoundID or nil) |
3227 | + | rem3.Parent = char |
3228 | - | local SOUNDPITCH = (Table.SoundPitch or nil) |
3228 | + | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) |
3229 | - | local SOUNDVOLUME = (Table.SoundVolume or nil) |
3229 | + | local rem4 = rem:Clone() |
3230 | rem4.Parent = char | |
3231 | - | local PLAYSSOUND = false |
3231 | + | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) |
3232 | - | local SOUND = nil |
3232 | + | hite:Destroy() |
3233 | - | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) |
3233 | + | |
3234 | - | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then |
3234 | + | for i = 0, 24 do |
3235 | - | PLAYSSOUND = true |
3235 | + | swait(1) |
3236 | - | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) |
3236 | + | if randomrotations == 1 then |
3237 | rot = rot + 1 | |
3238 | - | EFFECT.Color = COLOR |
3238 | + | elseif randomrotations == 2 then |
3239 | - | local MSH = nil |
3239 | + | rot = rot - 1 |
3240 | - | if TYPE == "Sphere" then |
3240 | + | |
3241 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) |
3241 | + | power = power + 0.5 |
3242 | - | elseif TYPE == "Block" then |
3242 | + | lookv = lookv + 7.5 |
3243 | - | MSH = IT("BlockMesh",EFFECT) |
3243 | + | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) |
3244 | - | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) |
3244 | + | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3245 | - | elseif TYPE == "Wave" then |
3245 | + | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) |
3246 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) |
3246 | + | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) |
3247 | - | elseif TYPE == "Ring" then |
3247 | + | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) |
3248 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) |
3248 | + | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) |
3249 | - | elseif TYPE == "Slash" then |
3249 | + | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) |
3250 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
3250 | + | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5) |
3251 | - | elseif TYPE == "Round Slash" then |
3251 | + | |
3252 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) |
3252 | + | |
3253 | - | elseif TYPE == "Swirl" then |
3253 | + | |
3254 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) |
3254 | + | |
3255 | - | elseif TYPE == "Skull" then |
3255 | + | |
3256 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) |
3256 | + | |
3257 | - | elseif TYPE == "Crystal" then |
3257 | + | |
3258 | - | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) |
3258 | + | |
3259 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2) | |
3260 | - | if MSH ~= nil then |
3260 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2) |
3261 | - | local MOVESPEED = nil |
3261 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) |
3262 | - | if MOVEDIRECTION ~= nil then |
3262 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
3263 | - | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME |
3263 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) |
3264 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
3265 | - | local GROWTH = SIZE - ENDSIZE |
3265 | + | |
3266 | - | local TRANS = TRANSPARENCY - ENDTRANSPARENCY |
3266 | + | local bv = Instance.new("BodyVelocity") |
3267 | - | if TYPE == "Block" then |
3267 | + | bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
3268 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
3268 | + | bv.velocity = root.CFrame.lookVector * 175 |
3269 | bv.Parent = root | |
3270 | - | EFFECT.CFrame = CFRAME |
3270 | + | for Rotations = 0, 9 do |
3271 | for i = 0, 1, 0.5 do | |
3272 | - | for LOOP = 1, TIME+1 do |
3272 | + | swait() |
3273 | - | Swait() |
3273 | + | bv.velocity = root.CFrame.lookVector * 175 |
3274 | - | MSH.Scale = MSH.Scale - GROWTH/TIME |
3274 | + | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
3275 | - | if TYPE == "Wave" then |
3275 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) |
3276 | - | MSH.Offset = VT(0,0,-MSH.Scale.X/8) |
3276 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5) |
3277 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
3278 | - | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME |
3278 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
3279 | - | if TYPE == "Block" then |
3279 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
3280 | - | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
3280 | + | |
3281 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
3282 | - | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) |
3282 | + | for i = 0, 1, 0.5 do |
3283 | swait() | |
3284 | - | if MOVEDIRECTION ~= nil then |
3284 | + | bv.velocity = root.CFrame.lookVector * 175 |
3285 | - | local ORI = EFFECT.Orientation |
3285 | + | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) |
3286 | - | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) |
3286 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) |
3287 | - | EFFECT.Orientation = ORI |
3287 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5) |
3288 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
3289 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
3290 | - | if PLAYSSOUND == false then |
3290 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
3291 | - | EFFECT:remove() |
3291 | + | |
3292 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
3293 | - | SOUND.Stopped:Connect(function() |
3293 | + | for i = 0, 1, 0.5 do |
3294 | - | EFFECT:remove() |
3294 | + | swait() |
3295 | - | end) |
3295 | + | bv.velocity = root.CFrame.lookVector * 175 |
3296 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) | |
3297 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) | |
3298 | - | if PLAYSSOUND == false then |
3298 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5) |
3299 | - | EFFECT:remove() |
3299 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
3300 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
3301 | - | repeat Swait() until SOUND.Playing == false |
3301 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
3302 | - | EFFECT:remove() |
3302 | + | |
3303 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
3304 | for i = 0, 1, 0.5 do | |
3305 | swait() | |
3306 | bv.velocity = root.CFrame.lookVector * 175 | |
3307 | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5) | |
3308 | - | local targetted = nil |
3308 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5) |
3309 | - | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then |
3309 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5) |
3310 | - | targetted = mouse.Target.Parent |
3310 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
3311 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
3312 | - | if targetted ~= nil then |
3312 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
3313 | - | attack = true |
3313 | + | |
3314 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3314 | + | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) |
3315 | - | for i = 0, 9 do |
3315 | + | |
3316 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3316 | + | bv:Destroy() |
3317 | attack = false | |
3318 | - | for i = 0, 24 do |
3318 | + | |
3319 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) |
3319 | + | |
3320 | attack = true | |
3321 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3321 | + | local rngb = Instance.new("Part", char) |
3322 | - | local originalpos = root.CFrame |
3322 | + | rngb.Anchored = true |
3323 | - | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2) |
3323 | + | rngb.BrickColor = origcolor |
3324 | - | for i = 0, 9 do |
3324 | + | rngb.CanCollide = false |
3325 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3325 | + | rngb.FormFactor = 3 |
3326 | rngb.Name = "Ring" | |
3327 | - | for i = 0, 24 do |
3327 | + | rngb.Material = "Neon" |
3328 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) |
3328 | + | rngb.Size = Vector3.new(1, 0.05, 1) |
3329 | rngb.Transparency = 1 | |
3330 | - | hum.WalkSpeed = 0 |
3330 | + | rngb.TopSurface = 0 |
3331 | - | targetted.Head.Anchored = true |
3331 | + | rngb.BottomSurface = 0 |
3332 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3332 | + | local rngmb = Instance.new("SpecialMesh", rngb) |
3333 | - | for i = 0,2,0.1 do |
3333 | + | rngmb.MeshType = "Brick" |
3334 | - | swait() |
3334 | + | rngmb.Name = "SizeMesh" |
3335 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) |
3335 | + | rngmb.Scale = vt(0, 1, 0) |
3336 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4) |
3336 | + | local orb = rngb:Clone() |
3337 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4) |
3337 | + | orb.Parent = char |
3338 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
3338 | + | orb.Transparency = 0 |
3339 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4) |
3339 | + | orb.BrickColor = BrickColor.new("White") |
3340 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4) |
3340 | + | orb.Size = vt(1, 1, 1) |
3341 | local orbmish = orb.SizeMesh | |
3342 | orbmish.Scale = vt(0, 0, 0) | |
3343 | - | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso")) |
3343 | + | orbmish.MeshType = "Sphere" |
3344 | - | bld.LightEmission = 0.1 |
3344 | + | local orbe = rngb:Clone() |
3345 | - | bld.Texture = "rbxassetid://284205403" |
3345 | + | orbe.Parent = char |
3346 | - | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
3346 | + | orbe.Transparency = 0.5 |
3347 | - | bld.Rate = 500 |
3347 | + | orbe.BrickColor = BrickColor.new("New Yeller") |
3348 | - | bld.Lifetime = NumberRange.new(1) |
3348 | + | orbe.Size = vt(1, 1, 1) |
3349 | - | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
3349 | + | local orbmish2 = orbe.SizeMesh |
3350 | - | bld.Acceleration = vt(0,-25,0) |
3350 | + | orbmish2.Scale = vt(0, 0, 0) |
3351 | - | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
3351 | + | orbmish2.MeshType = "Sphere" |
3352 | - | bld.Speed = NumberRange.new(10,50) |
3352 | + | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
3353 | - | bld.EmissionDirection = "Front" |
3353 | + | rngb:Destroy() |
3354 | - | bld.VelocitySpread = 25 |
3354 | + | for i = 0, 5, 0.1 do |
3355 | - | bld.Rotation = NumberRange.new(-500,500) |
3355 | + | |
3356 | - | bld.RotSpeed = NumberRange.new(-500,500) |
3356 | + | if rainbowmode == true then |
3357 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
3358 | end | |
3359 | - | bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso")) |
3359 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
3360 | - | bld.LightEmission = 0.1 |
3360 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
3361 | - | bld.Texture = "rbxassetid://284205403" |
3361 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
3362 | - | bld.Color = ColorSequence.new(Color3.new(0.5,0,0)) |
3362 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
3363 | - | bld.Rate = 500 |
3363 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
3364 | - | bld.Lifetime = NumberRange.new(1) |
3364 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
3365 | - | bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)}) |
3365 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) |
3366 | - | bld.Acceleration = vt(0,-25,0) |
3366 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) |
3367 | - | bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)}) |
3367 | + | RootPart.CFrame = FaceMouse()[1] |
3368 | - | bld.Speed = NumberRange.new(10,50) |
3368 | + | |
3369 | - | bld.EmissionDirection = "Front" |
3369 | + | orbe.Transparency = 1 |
3370 | - | bld.VelocitySpread = 25 |
3370 | + | orb.Transparency = 1 |
3371 | - | bld.Rotation = NumberRange.new(-500,500) |
3371 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 |
3372 | - | bld.RotSpeed = NumberRange.new(-500,500) |
3372 | + | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1) |
3373 | local a = Instance.new("Part", Character) | |
3374 | - | CameraEnshaking(5,5) |
3374 | + | a.Name = "Direction" |
3375 | - | game:GetService("Debris"):AddItem(bld,3) |
3375 | + | |
3376 | - | dmg(targetted) |
3376 | + | |
3377 | - | CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1) |
3377 | + | a.Material = "Neon" |
3378 | - | for i = 0,1,0.1 do |
3378 | + | a.Transparency = 0 |
3379 | - | swait() |
3379 | + | a.Shape = "Cylinder" |
3380 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
3380 | + | |
3381 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8) |
3381 | + | local a2 = Instance.new("Part", Character) |
3382 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8) |
3382 | + | a2.Name = "Direction" |
3383 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8) |
3383 | + | |
3384 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8) |
3384 | + | |
3385 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8) |
3385 | + | a2.Color = Color3.new(r / 255, g / 255, b / 255) |
3386 | a2.Material = "Neon" | |
3387 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3387 | + | a2.Transparency = 0.5 |
3388 | - | for i = 0, 9 do |
3388 | + | a2.Shape = "Cylinder" |
3389 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3389 | + | |
3390 | local ba = Instance.new("Part", Character) | |
3391 | - | for i = 0, 24 do |
3391 | + | ba.Name = "HitDirect" |
3392 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) |
3392 | + | |
3393 | ba.BrickColor = bc("Really black") | |
3394 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3394 | + | ba.Material = "Neon" |
3395 | - | root.CFrame = originalpos |
3395 | + | ba.Transparency = 1 |
3396 | - | for i = 0, 9 do |
3396 | + | |
3397 | - | sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0) |
3397 | + | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3398 | local ignore = Character | |
3399 | - | for i = 0, 24 do |
3399 | + | |
3400 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0) |
3400 | + | |
3401 | a.TopSurface = 10 | |
3402 | - | sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red")) |
3402 | + | |
3403 | - | bld.Enabled = false |
3403 | + | |
3404 | local distance = (orb.CFrame.p - position).magnitude | |
3405 | - | hum.WalkSpeed = storehumanoidWS |
3405 | + | |
3406 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
3407 | a2.Size = Vector3.new(distance, 1, 1) | |
3408 | - | function MeteorStrike() |
3408 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3409 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
3410 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
3411 | - | swait() |
3411 | + | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3412 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3412 | + | game:GetService("Debris"):AddItem(a, 20) |
3413 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3413 | + | game:GetService("Debris"):AddItem(a2, 20) |
3414 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
3414 | + | game:GetService("Debris"):AddItem(ba, 20) |
3415 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
3415 | + | local msh = Instance.new("SpecialMesh", a) |
3416 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
3416 | + | msh.MeshType = "Cylinder" |
3417 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3417 | + | msh.Scale = vt(1, 25, 25) |
3418 | local msh2 = Instance.new("SpecialMesh", a2) | |
3419 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2) |
3419 | + | msh2.MeshType = "Cylinder" |
3420 | - | for i=1,20 do |
3420 | + | msh2.Scale = vt(1, 30, 30) |
3421 | - | sphereMKCharge(5,-0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10) |
3421 | + | for i = 0, 10, 0.1 do |
3422 | - | swait() |
3422 | + | |
3423 | CameraEnshaking(1, 5) | |
3424 | - | swait(30) |
3424 | + | a2.Color = Color3.new(r / 255, g / 255, b / 255) |
3425 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1) |
3425 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3426 | - | for i =1,20 do |
3426 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3427 | - | sphereMKw(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0) |
3427 | + | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3428 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
3428 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3429 | distance = (orb.CFrame.p - position).magnitude | |
3430 | - | for i = 0,2,0.1 do |
3430 | + | if typrot == 1 then |
3431 | - | swait() |
3431 | + | rotation = rotation + 2.5 |
3432 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) |
3432 | + | elseif typrot == 2 then |
3433 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) |
3433 | + | rotation = rotation - 2.5 |
3434 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) |
3434 | + | |
3435 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) |
3435 | + | RootPart.CFrame = FaceMouse()[1] |
3436 | - | RW.C0=Clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) |
3436 | + | a.Size = Vector3.new(distance, 1, 1) |
3437 | - | LW.C0=Clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) |
3437 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3438 | a2.Size = Vector3.new(distance, 1, 1) | |
3439 | - | for i =1,20 do |
3439 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3440 | - | sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3440 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
3441 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
3442 | - | text.TextTransparency = 1 |
3442 | + | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3443 | - | text.TextStrokeTransparency = 1 |
3443 | + | msh.Scale = msh.Scale - vt(0, 0.25, 0.25) |
3444 | - | tr2.Enabled = false |
3444 | + | msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3) |
3445 | - | tr1.Enabled = false |
3445 | + | sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0) |
3446 | - | tr3.Enabled = false |
3446 | + | sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0) |
3447 | - | tl1.Enabled = false |
3447 | + | MagniDamage(ba, 30, 500, 60000, 0, "Normal") |
3448 | - | tl2.Enabled = false |
3448 | + | |
3449 | - | tl3.Enabled = false |
3449 | + | a:Destroy() |
3450 | - | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
3450 | + | a2:Destroy() |
3451 | - | eff = false |
3451 | + | ba:Destroy() |
3452 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3452 | + | orb:Destroy() |
3453 | - | local invtab = {} |
3453 | + | orbe:Destroy() |
3454 | - | local function search(targ) |
3454 | + | |
3455 | - | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then |
3455 | + | |
3456 | - | table.insert(invtab,targ) |
3456 | + | |
3457 | attack = true | |
3458 | - | for i,v in pairs(targ:GetChildren()) do |
3458 | + | local rngb = Instance.new("Part", char) |
3459 | - | search(v) |
3459 | + | rngb.Anchored = true |
3460 | rngb.BrickColor = origcolor | |
3461 | rngb.CanCollide = false | |
3462 | - | search(plr.Character) |
3462 | + | rngb.FormFactor = 3 |
3463 | - | local frm = 0 |
3463 | + | rngb.Name = "Ring" |
3464 | - | local frmcon |
3464 | + | rngb.Material = "Neon" |
3465 | - | frmcon = game:GetService("RunService").Heartbeat:connect(function() |
3465 | + | rngb.Size = Vector3.new(1, 0.05, 1) |
3466 | - | if frm < 10 then |
3466 | + | rngb.Transparency = 1 |
3467 | - | for i,v in pairs(invtab) do |
3467 | + | rngb.TopSurface = 0 |
3468 | - | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then |
3468 | + | rngb.BottomSurface = 0 |
3469 | - | v.Transparency = v.Transparency + 0.1 |
3469 | + | local rngmb = Instance.new("SpecialMesh", rngb) |
3470 | rngmb.MeshType = "Brick" | |
3471 | rngmb.Name = "SizeMesh" | |
3472 | - | frm = frm + 1 |
3472 | + | rngmb.Scale = vt(0, 1, 0) |
3473 | - | else |
3473 | + | local orb = rngb:Clone() |
3474 | - | frmcon:disconnect() |
3474 | + | orb.Parent = char |
3475 | orb.Transparency = 0 | |
3476 | - | end) |
3476 | + | orb.BrickColor = BrickColor.new("White") |
3477 | - | swait(200) |
3477 | + | orb.Size = vt(1, 1, 1) |
3478 | local orbmish = orb.SizeMesh | |
3479 | orbmish.Scale = vt(0, 0, 0) | |
3480 | - | tr2.Enabled = false |
3480 | + | orbmish.MeshType = "Sphere" |
3481 | - | tr1.Enabled = false |
3481 | + | local orbe = rngb:Clone() |
3482 | - | tr3.Enabled = false |
3482 | + | orbe.Parent = char |
3483 | - | tl1.Enabled = false |
3483 | + | orbe.Transparency = 0.5 |
3484 | - | tl2.Enabled = false |
3484 | + | orbe.BrickColor = BrickColor.new("New Yeller") |
3485 | - | tl3.Enabled = false |
3485 | + | orbe.Size = vt(1, 1, 1) |
3486 | - | eff = true |
3486 | + | local orbmish2 = orbe.SizeMesh |
3487 | - | for i =1,20 do |
3487 | + | orbmish2.Scale = vt(0, 0, 0) |
3488 | - | sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3488 | + | orbmish2.MeshType = "Sphere" |
3489 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
3490 | - | spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
3490 | + | rngb:Destroy() |
3491 | - | CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1) |
3491 | + | for i = 0, 5, 0.1 do |
3492 | - | local invtab = {} |
3492 | + | |
3493 | - | local function search(targ) |
3493 | + | if rainbowmode == true then |
3494 | - | if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then |
3494 | + | orbe.Color = Color3.new(r / 255, g / 255, b / 255) |
3495 | - | table.insert(invtab,targ) |
3495 | + | |
3496 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
3497 | - | for i,v in pairs(targ:GetChildren()) do |
3497 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 |
3498 | - | search(v) |
3498 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
3499 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3500 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
3501 | - | search(plr.Character) |
3501 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
3502 | - | local frm = 0 |
3502 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) |
3503 | - | local frmcon |
3503 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) |
3504 | - | frmcon = game:GetService("RunService").Heartbeat:connect(function() |
3504 | + | RootPart.CFrame = FaceMouse()[1] |
3505 | - | if frm < 10 then |
3505 | + | |
3506 | - | for i,v in pairs(invtab) do |
3506 | + | orbe.Transparency = 1 |
3507 | - | if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then |
3507 | + | orb.Transparency = 1 |
3508 | - | v.Transparency = v.Transparency - 0.1 |
3508 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 |
3509 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1) | |
3510 | CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1) | |
3511 | - | frm = frm + 1 |
3511 | + | CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1) |
3512 | - | else |
3512 | + | CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1) |
3513 | - | frmcon:disconnect() |
3513 | + | CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1) |
3514 | CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85) | |
3515 | - | end) |
3515 | + | CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1) |
3516 | - | swait(5) |
3516 | + | local xd = Instance.new("Sound", char) |
3517 | - | for i = 0, 2, 0.1 do |
3517 | + | xd.SoundId = "rbxassetid://445796828" |
3518 | - | swait() |
3518 | + | xd.Pitch = 0.75 |
3519 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3519 | + | xd.Looped = true |
3520 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3520 | + | xd.Volume = 1.25 |
3521 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4) |
3521 | + | xd:Play() |
3522 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4) |
3522 | + | local a = Instance.new("Part", Character) |
3523 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1) |
3523 | + | a.Name = "Direction" |
3524 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3524 | + | |
3525 | a.BrickColor = bc("Alder") | |
3526 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3526 | + | a.Color = MAINRUINCOLOR.Color |
3527 | - | CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1) |
3527 | + | a.Material = "Neon" |
3528 | - | MagniDamage(root, 30, 65,90, 0, "Normal") |
3528 | + | a.Transparency = 0.5 |
3529 | - | for i =1,20 do |
3529 | + | a.Shape = "Cylinder" |
3530 | - | sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0) |
3530 | + | |
3531 | local a2 = Instance.new("Part", Character) | |
3532 | - | sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR) |
3532 | + | a2.Name = "Direction" |
3533 | - | for i =1,20 do |
3533 | + | |
3534 | - | PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0) |
3534 | + | |
3535 | a2.Color = MAINRUINCOLOR.Color | |
3536 | - | swait(20) |
3536 | + | a2.Material = "Neon" |
3537 | a2.Transparency = 0.5 | |
3538 | - | tr2.Enabled = true |
3538 | + | a2.Shape = "Cylinder" |
3539 | - | tr1.Enabled = true |
3539 | + | |
3540 | - | tr3.Enabled = true |
3540 | + | local ba = Instance.new("Part", Character) |
3541 | - | tl1.Enabled = true |
3541 | + | ba.Name = "HitDirect" |
3542 | - | tl2.Enabled = true |
3542 | + | |
3543 | - | tl3.Enabled = true |
3543 | + | ba.BrickColor = bc("Really black") |
3544 | ba.Material = "Neon" | |
3545 | - | function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS) |
3545 | + | ba.Transparency = 1 |
3546 | ba.CanCollide = false | |
3547 | - | local METEOR = IT("Model",Effects) |
3547 | + | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3548 | - | METEOR.Name = "Meteorite" |
3548 | + | |
3549 | - | local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) |
3549 | + | |
3550 | - | METEOR.PrimaryPart = CENTER |
3550 | + | |
3551 | - | local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) |
3551 | + | |
3552 | - | PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
3552 | + | |
3553 | - | for i = 1, 15 do |
3553 | + | |
3554 | - | local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE) |
3554 | + | |
3555 | - | FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) |
3555 | + | |
3556 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
3557 | - | if ISDEBREE ~= true then |
3557 | + | |
3558 | - | METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
3558 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3559 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
3560 | - | METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
3560 | + | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3561 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
3562 | - | local IMPACT = false |
3562 | + | game:GetService("Debris"):AddItem(a, 60) |
3563 | - | CreateSound(463593339, CENTER, 10, 0.6) |
3563 | + | game:GetService("Debris"):AddItem(a2, 60) |
3564 | - | if SIZE >= 3.5 then |
3564 | + | game:GetService("Debris"):AddItem(ba, 60) |
3565 | - | for i = 1, MRANDOM(3,7) do |
3565 | + | local outerscale = 0 |
3566 | - | SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p) |
3566 | + | local msh = Instance.new("SpecialMesh", a) |
3567 | msh.MeshType = "Cylinder" | |
3568 | msh.Scale = vt(1, 0, 0) | |
3569 | - | for i = 1, 200 do |
3569 | + | local msh2 = Instance.new("SpecialMesh", a2) |
3570 | - | Swait() |
3570 | + | msh2.MeshType = "Cylinder" |
3571 | - | local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character) |
3571 | + | msh2.Scale = vt(1, 0, 0) |
3572 | - | if HITFLOOR == nil then |
3572 | + | |
3573 | - | local ORI = CENTER.Orientation |
3573 | + | |
3574 | - | METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) |
3574 | + | CameraEnshaking(1, 1) |
3575 | msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20) | |
3576 | - | if HITFLOOR.Anchored == true then |
3576 | + | msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15) |
3577 | - | CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5) |
3577 | + | outerscale = outerscale - 0.015 |
3578 | - | CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175) |
3578 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3579 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
3580 | - | IMPACT = true |
3580 | + | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3581 | - | break |
3581 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3582 | distance = (orb.CFrame.p - position).magnitude | |
3583 | if typrot == 1 then | |
3584 | - | if IMPACT == true then |
3584 | + | rotation = rotation + 2.5 |
3585 | - | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5}) |
3585 | + | elseif typrot == 2 then |
3586 | - | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5}) |
3586 | + | rotation = rotation - 2.5 |
3587 | - | WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5}) |
3587 | + | |
3588 | - | ApplyAoE(CENTER.Position,30*SIZE) |
3588 | + | RootPart.CFrame = FaceMouse()[1] |
3589 | a.Size = Vector3.new(distance, 1, 1) | |
3590 | - | METEOR:remove() |
3590 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3591 | a2.Size = Vector3.new(distance, 1, 1) | |
3592 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
3593 | - | function FinalCalam() |
3593 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
3594 | - | attack = true |
3594 | + | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3595 | - | hum.WalkSpeed = 0 |
3595 | + | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3596 | - | local orb = Instance.new("Part", char) |
3596 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3597 | - | orb.Anchored = true |
3597 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3598 | - | orb.BrickColor = MAINRUINCOLOR |
3598 | + | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
3599 | - | orb.CanCollide = false |
3599 | + | |
3600 | - | orb.FormFactor = 3 |
3600 | + | for z = 0, 2 do |
3601 | - | orb.Name = "Ring" |
3601 | + | for i = 0, 4, 0.1 do |
3602 | - | orb.Material = "Neon" |
3602 | + | swait() |
3603 | - | orb.Size = Vector3.new(1, 1, 1) |
3603 | + | CameraEnshaking(1, 1) |
3604 | - | orb.Transparency = 0 |
3604 | + | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) |
3605 | - | orb.TopSurface = 0 |
3605 | + | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
3606 | - | orb.BottomSurface = 0 |
3606 | + | outerscale = outerscale + 0.015 |
3607 | - | local orbm = Instance.new("SpecialMesh", orb) |
3607 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3608 | - | orbm.MeshType = "Sphere" |
3608 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3609 | - | orbm.Name = "SizeMesh" |
3609 | + | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3610 | - | orbm.Scale = vt(0,0,0) |
3610 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3611 | - | local scaled = 0.1 |
3611 | + | distance = (orb.CFrame.p - position).magnitude |
3612 | - | local posid = 0 |
3612 | + | if typrot == 1 then |
3613 | - | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) |
3613 | + | rotation = rotation + 2.5 |
3614 | - | for i = 0, 5, 0.1 do |
3614 | + | elseif typrot == 2 then |
3615 | - | swait() |
3615 | + | rotation = rotation - 2.5 |
3616 | - | scaled = scaled - 0.001 |
3616 | + | |
3617 | - | posid = posid - scaled |
3617 | + | RootPart.CFrame = FaceMouse()[1] |
3618 | - | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3618 | + | a.Size = Vector3.new(distance, 1, 1) |
3619 | - | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
3619 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3620 | - | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10) |
3620 | + | a2.Size = Vector3.new(distance, 1, 1) |
3621 | - | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0) |
3621 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3622 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3622 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
3623 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3623 | + | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3624 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
3624 | + | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3625 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3625 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3626 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
3627 | - | swait(60) |
3627 | + | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
3628 | - | for i =1,3 do |
3628 | + | |
3629 | - | swait(30) |
3629 | + | for i = 0, 4, 0.1 do |
3630 | - | CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9) |
3630 | + | swait() |
3631 | - | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR) |
3631 | + | CameraEnshaking(1, 1) |
3632 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
3633 | - | swait(30) |
3633 | + | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
3634 | - | for i = 0, 2, 0.1 do |
3634 | + | outerscale = outerscale - 0.015 |
3635 | - | swait() |
3635 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3636 | - | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3636 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3637 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3637 | + | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3638 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3638 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3639 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
3639 | + | distance = (orb.CFrame.p - position).magnitude |
3640 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
3640 | + | if typrot == 1 then |
3641 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
3641 | + | rotation = rotation + 2.5 |
3642 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
3642 | + | elseif typrot == 2 then |
3643 | rotation = rotation - 2.5 | |
3644 | - | swait(60) |
3644 | + | |
3645 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3645 | + | RootPart.CFrame = FaceMouse()[1] |
3646 | - | CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1) |
3646 | + | a.Size = Vector3.new(distance, 1, 1) |
3647 | - | sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR) |
3647 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3648 | - | sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR) |
3648 | + | a2.Size = Vector3.new(distance, 1, 1) |
3649 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
3650 | - | if v:FindFirstChild('Head') then |
3650 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
3651 | - | dmg(v) |
3651 | + | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3652 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
3653 | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) | |
3654 | - | for i = 1,20 do |
3654 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3655 | - | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0) |
3655 | + | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
3656 | - | for i = 0, 10 do |
3656 | + | |
3657 | - | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0) |
3657 | + | |
3658 | for i = 0, 4, 0.1 do | |
3659 | swait() | |
3660 | - | orb:Remove() |
3660 | + | CameraEnshaking(1, 1) |
3661 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
3662 | - | hum.WalkSpeed = storehumanoidWS |
3662 | + | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) |
3663 | xd.Volume = xd.Volume - 0.025 | |
3664 | a.Transparency = a.Transparency + 0.025 | |
3665 | - | attack = true |
3665 | + | a2.Transparency = a2.Transparency + 0.025 |
3666 | outerscale = outerscale - 0.015 | |
3667 | - | local orb = Instance.new("Part", char) |
3667 | + | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3668 | - | orb.Anchored = true |
3668 | + | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 |
3669 | - | orb.BrickColor = BrickColor.new("Toothpaste") |
3669 | + | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) |
3670 | - | orb.CanCollide = false |
3670 | + | hit, position, normal = workspace:FindPartOnRay(ray, ignore) |
3671 | - | orb.FormFactor = 3 |
3671 | + | distance = (orb.CFrame.p - position).magnitude |
3672 | - | orb.Name = "Ring" |
3672 | + | if typrot == 1 then |
3673 | - | orb.Material = "Neon" |
3673 | + | rotation = rotation + 2.5 |
3674 | - | orb.Size = Vector3.new(1, 1, 1) |
3674 | + | elseif typrot == 2 then |
3675 | - | orb.Transparency = 0 |
3675 | + | rotation = rotation - 2.5 |
3676 | - | orb.TopSurface = 0 |
3676 | + | |
3677 | - | orb.BottomSurface = 0 |
3677 | + | RootPart.CFrame = FaceMouse()[1] |
3678 | - | local orbm = Instance.new("SpecialMesh", orb) |
3678 | + | a.Size = Vector3.new(distance, 1, 1) |
3679 | - | orbm.MeshType = "Sphere" |
3679 | + | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3680 | - | orbm.Name = "SizeMesh" |
3680 | + | a2.Size = Vector3.new(distance, 1, 1) |
3681 | - | orbm.Scale = vt(0,0,0) |
3681 | + | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) |
3682 | - | local scaled = 0.1 |
3682 | + | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) |
3683 | - | local posid = 0 |
3683 | + | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3684 | - | CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1) |
3684 | + | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) |
3685 | - | for i = 0, 5, 0.1 do |
3685 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3686 | - | swait() |
3686 | + | sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0) |
3687 | - | scaled = scaled - 0.001 |
3687 | + | MagniDamage(ba, 100, 500, 60000, 0, "Normal") |
3688 | - | posid = posid - scaled |
3688 | + | |
3689 | - | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3689 | + | xd:Destroy() |
3690 | - | orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled) |
3690 | + | a:Destroy() |
3691 | - | sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10) |
3691 | + | a2:Destroy() |
3692 | - | PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0) |
3692 | + | ba:Destroy() |
3693 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1) |
3693 | + | orb:Destroy() |
3694 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) |
3694 | + | orbe:Destroy() |
3695 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3695 | + | |
3696 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) |
3696 | + | |
3697 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1) |
3697 | + | |
3698 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1) |
3698 | + | rainbowmode = false |
3699 | chaosmode = false | |
3700 | - | for i = 0, 2, 0.1 do |
3700 | + | RecolorTextAndRename("Singularity", Color3.new(0, 0, 0), Color3.new(1, 0, 0)) |
3701 | - | swait() |
3701 | + | ModeOfGlitch = 1 |
3702 | - | orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0) |
3702 | + | storehumanoidWS = 16 |
3703 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3703 | + | for i, v in pairs(mw2:GetChildren()) do |
3704 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3704 | + | if v:IsA("Part") then |
3705 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4) |
3705 | + | v.BrickColor = BrickColor.new("Really red") |
3706 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4) |
3706 | + | v.Material = "Neon" |
3707 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4) |
3707 | + | |
3708 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
3708 | + | |
3709 | for i, v in pairs(mw1:GetChildren()) do | |
3710 | if v:IsA("Part") then | |
3711 | - | orb.Anchored = false |
3711 | + | v.Transparency = 1 |
3712 | - | CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1) |
3712 | + | v.BrickColor = BrickColor.new("Really red") |
3713 | - | local a = Instance.new("Part",workspace) |
3713 | + | v.Material = "Neon" |
3714 | - | a.Name = "Direction" |
3714 | + | |
3715 | end | |
3716 | - | a.BrickColor = bc("Bright red") |
3716 | + | MAINRUINCOLOR = BrickColor.new("Really red") |
3717 | - | a.Material = "Neon" |
3717 | + | hum.WalkSpeed = 16 |
3718 | - | a.Transparency = 1 |
3718 | + | newTheme("rbxassetid://415898123", 0, 1, 10) |
3719 | for i, v in pairs(m:GetChildren()) do | |
3720 | - | local ray = Ray.new( |
3720 | + | if v:IsA("Part") then |
3721 | - | orb.CFrame.p, -- origin |
3721 | + | v.BrickColor = BrickColor.new("Really black") |
3722 | - | (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction |
3722 | + | v.Material = "Glass" |
3723 | - | ) |
3723 | + | |
3724 | - | local ignore = orb |
3724 | + | |
3725 | for i, v in pairs(m2:GetChildren()) do | |
3726 | if v:IsA("Part") then | |
3727 | v.BrickColor = BrickColor.new("Crimson") | |
3728 | v.Material = "Granite" | |
3729 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
3729 | + | |
3730 | - | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0) |
3730 | + | |
3731 | - | orb.CFrame = a.CFrame |
3731 | + | for i, v in pairs(m3:GetChildren()) do |
3732 | - | a:Destroy() |
3732 | + | if v:IsA("Part") then |
3733 | - | local bv = Instance.new("BodyVelocity") |
3733 | + | v.BrickColor = BrickColor.new("Really red") |
3734 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
3734 | + | v.Material = "Neon" |
3735 | - | bv.velocity = orb.CFrame.lookVector*125 |
3735 | + | |
3736 | - | bv.Parent = orb |
3736 | + | |
3737 | - | local hitted = false |
3737 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
3738 | - | game:GetService("Debris"):AddItem(orb, 15) |
3738 | + | if v:IsA("Part") then |
3739 | - | wait() |
3739 | + | v.Transparency = 1 |
3740 | - | local hit =orb.Touched:connect(function(hit) |
3740 | + | v.BrickColor = BrickColor.new("White") |
3741 | - | if hitted == false then |
3741 | + | v.Material = "Neon" |
3742 | - | hitted = true |
3742 | + | |
3743 | - | CameraEnshaking(10,2.5) |
3743 | + | |
3744 | - | MagniDamage(orb, 65, 65,90, 0, "Normal") |
3744 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
3745 | - | sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste")) |
3745 | + | if v:IsA("Part") then |
3746 | - | sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste")) |
3746 | + | v.Transparency = 1 |
3747 | v.BrickColor = BrickColor.new("White") | |
3748 | - | PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0) |
3748 | + | v.Material = "Neon" |
3749 | end | |
3750 | - | for i = 0, 9 do |
3750 | + | |
3751 | - | sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) |
3751 | + | |
3752 | - | sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0) |
3752 | + | |
3753 | attack = true | |
3754 | - | orb.Anchored = true |
3754 | + | for i = 0, 1, 0.1 do |
3755 | - | orb.Transparency = 1 |
3755 | + | |
3756 | - | wait(8) |
3756 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) |
3757 | - | orb:Destroy() |
3757 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) |
3758 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
3759 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
3760 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2) | |
3761 | - | for i = 0, 1, 0.1 do |
3761 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2) |
3762 | - | swait() |
3762 | + | |
3763 | - | RH.C0=Clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4) |
3763 | + | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1) |
3764 | - | LH.C0=Clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4) |
3764 | + | local hitb = Instance.new("Part", char) |
3765 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4) |
3765 | + | hitb.Anchored = true |
3766 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4) |
3766 | + | hitb.CanCollide = false |
3767 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4) |
3767 | + | hitb.FormFactor = 3 |
3768 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4) |
3768 | + | hitb.Name = "Ring" |
3769 | hitb.Material = "Neon" | |
3770 | hitb.Size = Vector3.new(1, 1, 1) | |
3771 | hitb.Transparency = 1 | |
3772 | hitb.TopSurface = 0 | |
3773 | hitb.BottomSurface = 0 | |
3774 | - | attack = true |
3774 | + | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 |
3775 | - | for i = 0, 2, 0.1 do |
3775 | + | MagniDamage(hitb, 3, 10, 30, 0, "Normal") |
3776 | - | swait() |
3776 | + | hitb:Destroy() |
3777 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
3777 | + | for i = 0, 1, 0.1 do |
3778 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
3778 | + | |
3779 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
3779 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) |
3780 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
3780 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) |
3781 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
3781 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) |
3782 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
3782 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) |
3783 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4) | |
3784 | - | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) |
3784 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4) |
3785 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3785 | + | |
3786 | - | CameraEnshaking(4,12) |
3786 | + | |
3787 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do |
3787 | + | |
3788 | - | if v:FindFirstChild('Head') then |
3788 | + | |
3789 | - | dmg(v) |
3789 | + | |
3790 | for i = 0, 1, 0.1 do | |
3791 | swait() | |
3792 | - | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random()) |
3792 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) |
3793 | - | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random()) |
3793 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) |
3794 | - | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random()) |
3794 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
3795 | - | for i = 0, 2, 0.1 do |
3795 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
3796 | - | swait() |
3796 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2) |
3797 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
3797 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2) |
3798 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
3798 | + | |
3799 | - | RH.C0=Clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3799 | + | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1) |
3800 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3800 | + | local hitb = Instance.new("Part", char) |
3801 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3801 | + | hitb.Anchored = true |
3802 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3802 | + | hitb.CanCollide = false |
3803 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
3803 | + | hitb.FormFactor = 3 |
3804 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
3804 | + | hitb.Name = "Ring" |
3805 | hitb.Material = "Neon" | |
3806 | hitb.Size = Vector3.new(1, 1, 1) | |
3807 | hitb.Transparency = 1 | |
3808 | hitb.TopSurface = 0 | |
3809 | - | function ChaosGroundStrike2() |
3809 | + | hitb.BottomSurface = 0 |
3810 | - | attack = true |
3810 | + | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 |
3811 | - | for i = 0, 2, 0.1 do |
3811 | + | MagniDamage(hitb, 3, 10, 30, 0, "Normal") |
3812 | - | swait() |
3812 | + | hitb:Destroy() |
3813 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
3813 | + | for i = 0, 1, 0.1 do |
3814 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
3814 | + | |
3815 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
3815 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) |
3816 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
3816 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) |
3817 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
3817 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) |
3818 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
3818 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) |
3819 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4) | |
3820 | - | CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1) |
3820 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4) |
3821 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1) |
3821 | + | |
3822 | - | CameraEnshaking(4,12) |
3822 | + | |
3823 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 250)) do |
3823 | + | |
3824 | - | if v:FindFirstChild('Head') then |
3824 | + | |
3825 | - | dmg(v) |
3825 | + | |
3826 | for i = 0, 1, 0.1 do | |
3827 | swait() | |
3828 | - | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.new("Alder")) |
3828 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) |
3829 | - | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.new("Alder")) |
3829 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) |
3830 | - | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(250,0.1,250),0.01,BrickColor.new("Alder")) |
3830 | + | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) |
3831 | - | for i = 0, 2, 0.1 do |
3831 | + | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
3832 | - | swait() |
3832 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3) |
3833 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Alder"),0) |
3833 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3) |
3834 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.new("Alder"),0) |
3834 | + | |
3835 | - | RH.C0=Clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3835 | + | local distlook = 5 |
3836 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
3836 | + | for i = 0, 4 do |
3837 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3837 | + | swait(2) |
3838 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
3838 | + | CameraEnshaking(2, 3) |
3839 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
3839 | + | local hite = Instance.new("Part", char) |
3840 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
3840 | + | hite.Anchored = true |
3841 | hite.CanCollide = false | |
3842 | hite.FormFactor = 3 | |
3843 | hite.Name = "Ring" | |
3844 | hite.Material = "Neon" | |
3845 | hite.Size = Vector3.new(1, 1, 1) | |
3846 | - | function Starfall() |
3846 | + | hite.Transparency = 1 |
3847 | - | attack = true |
3847 | + | hite.TopSurface = 0 |
3848 | - | hum.WalkSpeed = 0 |
3848 | + | hite.BottomSurface = 0 |
3849 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) |
3849 | + | hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook |
3850 | - | for i = 0, 5, 0.1 do |
3850 | + | sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR) |
3851 | - | swait() |
3851 | + | sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR) |
3852 | - | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3852 | + | MagniDamage(hite, 10, 15, 35, 0, "Normal") |
3853 | - | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3853 | + | for i = 0, 2 do |
3854 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) |
3854 | + | sphereMK(2, 0.2, "Add", rarm.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) |
3855 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) |
3855 | + | sphereMK(3, 0.2, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) |
3856 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
3856 | + | sphereMK(6, 0.35, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0) |
3857 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
3857 | + | |
3858 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) |
3858 | + | CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1) |
3859 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) |
3859 | + | CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6) |
3860 | game:GetService("Debris"):AddItem(hite, 5) | |
3861 | - | local Overed = false |
3861 | + | distlook = distlook + 10 |
3862 | - | CameraEnshaking(2,20) |
3862 | + | |
3863 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3863 | + | |
3864 | - | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3864 | + | |
3865 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
3865 | + | |
3866 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) |
3866 | + | |
3867 | - | local orb = Instance.new("Part", char) |
3867 | + | if attack == false and attacktype == 1 then |
3868 | - | orb.Anchored = true |
3868 | + | attacktype = 2 |
3869 | - | orb.BrickColor = BrickColor.new("Toothpaste") |
3869 | + | attackone() |
3870 | - | orb.CanCollide = false |
3870 | + | elseif attack == false and attacktype == 2 then |
3871 | - | orb.FormFactor = 3 |
3871 | + | attacktype = 3 |
3872 | - | orb.Name = "Remenant" |
3872 | + | attacktwo() |
3873 | - | orb.Material = "Neon" |
3873 | + | elseif attack == false and attacktype == 3 then |
3874 | - | orb.CFrame = root.CFrame*CFrame.new(0,150,0) |
3874 | + | attacktype = 1 |
3875 | - | orb.Size = Vector3.new(1, 1, 1) |
3875 | + | attackthree() |
3876 | - | orb.Transparency = 1 |
3876 | + | elseif attack == false and attacktype == 4 then |
3877 | - | orb.TopSurface = 0 |
3877 | + | attacktype = 1 |
3878 | - | orb.BottomSurface = 0 |
3878 | + | |
3879 | - | hum.WalkSpeed = storehumanoidWS |
3879 | + | |
3880 | mouse.KeyDown:connect(function(k) | |
3881 | - | for i = 0, 9 do |
3881 | + | if k == "q" and attack == false and ModeOfGlitch ~= 2 then |
3882 | - | swait(10) |
3882 | + | ModeOfGlitch = 2 |
3883 | - | local lb = Instance.new("Part") |
3883 | + | storehumanoidWS = 16 |
3884 | - | lb.Color = MAINRUINCOLOR.Color |
3884 | + | hum.WalkSpeed = 16 |
3885 | - | lb.CanCollide = false |
3885 | + | rainbowmode = false |
3886 | - | lb.Material = "Neon" |
3886 | + | chaosmode = false |
3887 | - | lb.Anchored = true |
3887 | + | RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1)) |
3888 | - | lb.TopSurface = 0 |
3888 | + | newTheme("rbxassetid://1119453744", 20.25, 1, 1) |
3889 | - | lb.BottomSurface = 0 |
3889 | + | MAINRUINCOLOR = BrickColor.new("Toothpaste") |
3890 | - | lb.Transparency = 0 |
3890 | + | for i, v in pairs(mw2:GetChildren()) do |
3891 | - | lb.Size = vt(1,1,1) |
3891 | + | if v:IsA("Part") then |
3892 | - | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) |
3892 | + | v.BrickColor = MAINRUINCOLOR |
3893 | - | lb.Anchored = false |
3893 | + | v.Material = "Neon" |
3894 | - | lb.Parent = char |
3894 | + | |
3895 | - | local thingery = Instance.new("SpecialMesh",lb) |
3895 | + | |
3896 | - | thingery.MeshType = "Sphere" |
3896 | + | for i, v in pairs(mw1:GetChildren()) do |
3897 | - | thingery.Scale = vt(20,20,20) |
3897 | + | if v:IsA("Part") then |
3898 | - | game:GetService("Debris"):AddItem(lb, 10) |
3898 | + | v.Transparency = 1 |
3899 | - | local bv = Instance.new("BodyVelocity") |
3899 | + | v.BrickColor = MAINRUINCOLOR |
3900 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
3900 | + | v.Material = "Neon" |
3901 | - | bv.velocity = lb.CFrame.lookVector*math.random(75,250) |
3901 | + | |
3902 | - | bv.Parent = lb |
3902 | + | |
3903 | - | sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR) |
3903 | + | for i, v in pairs(m:GetChildren()) do |
3904 | - | sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR) |
3904 | + | if v:IsA("Part") then |
3905 | - | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) |
3905 | + | v.BrickColor = BrickColor.new("White") |
3906 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) |
3906 | + | v.Material = "Ice" |
3907 | - | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) |
3907 | + | |
3908 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) |
3908 | + | |
3909 | - | local hitted = false |
3909 | + | for i, v in pairs(m2:GetChildren()) do |
3910 | if v:IsA("Part") then | |
3911 | v.BrickColor = BrickColor.new("Pastel light blue") | |
3912 | - | swait(1) |
3912 | + | v.Material = "Glass" |
3913 | - | if lb.Parent ~= nil and hitted == false then |
3913 | + | |
3914 | - | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) |
3914 | + | |
3915 | - | elseif lb.Parent == nil then |
3915 | + | for i, v in pairs(m3:GetChildren()) do |
3916 | - | break |
3916 | + | if v:IsA("Part") then |
3917 | v.BrickColor = BrickColor.new("Toothpaste") | |
3918 | v.Material = "Neon" | |
3919 | end | |
3920 | end | |
3921 | - | game:GetService("Debris"):AddItem(a, 0.1) |
3921 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
3922 | if v:IsA("Part") then | |
3923 | v.Transparency = 1 | |
3924 | - | swait(1) |
3924 | + | v.BrickColor = BrickColor.new("White") |
3925 | - | lb.Touched:connect(function(hit) |
3925 | + | v.Material = "Neon" |
3926 | - | if hitted == false then |
3926 | + | |
3927 | - | hitted = true |
3927 | + | |
3928 | - | lb.Transparency = 1 |
3928 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
3929 | - | lb.Anchored = true |
3929 | + | if v:IsA("Part") then |
3930 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) |
3930 | + | v.Transparency = 1 |
3931 | - | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) |
3931 | + | v.BrickColor = BrickColor.new("White") |
3932 | - | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) |
3932 | + | v.Material = "Neon" |
3933 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) |
3933 | + | |
3934 | - | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) |
3934 | + | |
3935 | - | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) |
3935 | + | elseif k == "q" and attack == false and ModeOfGlitch == 2 then |
3936 | - | MagniDamage(lb, 45, 45,85, 0, "Normal") |
3936 | + | resetmode() |
3937 | - | CameraEnshaking(1,5) |
3937 | + | |
3938 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
3938 | + | if k == "e" and attack == false and ModeOfGlitch ~= 3 then |
3939 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
3939 | + | ModeOfGlitch = 3 |
3940 | - | for i = 0, 9 do |
3940 | + | storehumanoidWS = 16 |
3941 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
3941 | + | hum.WalkSpeed = 16 |
3942 | rainbowmode = false | |
3943 | chaosmode = false | |
3944 | - | swait() |
3944 | + | RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1)) |
3945 | - | MagniDamage(lb, 30, 2,4, 0, "Normal") |
3945 | + | newTheme("rbxassetid://1509634377", 58.15, 1,2) |
3946 | - | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
3946 | + | MAINRUINCOLOR = BrickColor.new("Royal purple") |
3947 | for i, v in pairs(mw2:GetChildren()) do | |
3948 | if v:IsA("Part") then | |
3949 | v.BrickColor = MAINRUINCOLOR | |
3950 | v.Material = "Neon" | |
3951 | end | |
3952 | - | Overed = true |
3952 | + | |
3953 | - | orb:Destroy() |
3953 | + | for i, v in pairs(mw1:GetChildren()) do |
3954 | if v:IsA("Part") then | |
3955 | v.Transparency = 1 | |
3956 | v.BrickColor = MAINRUINCOLOR | |
3957 | v.Material = "Neon" | |
3958 | end | |
3959 | - | function StarfallEX() |
3959 | + | |
3960 | - | attack = true |
3960 | + | for i, v in pairs(m:GetChildren()) do |
3961 | - | hum.WalkSpeed = 0 |
3961 | + | if v:IsA("Part") then |
3962 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1) |
3962 | + | v.BrickColor = BrickColor.new("Black") |
3963 | - | for i = 0, 5, 0.1 do |
3963 | + | v.Material = "Ice" |
3964 | - | swait() |
3964 | + | |
3965 | - | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3965 | + | |
3966 | - | PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
3966 | + | for i, v in pairs(m2:GetChildren()) do |
3967 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1) |
3967 | + | if v:IsA("Part") then |
3968 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1) |
3968 | + | v.BrickColor = BrickColor.new("Dark indigo") |
3969 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
3969 | + | v.Material = "Glass" |
3970 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1) |
3970 | + | |
3971 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1) |
3971 | + | |
3972 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1) |
3972 | + | for i, v in pairs(m3:GetChildren()) do |
3973 | if v:IsA("Part") then | |
3974 | - | local Overed = false |
3974 | + | v.BrickColor = BrickColor.new("Royal purple") |
3975 | - | CameraEnshaking(2,20) |
3975 | + | v.Material = "Neon" |
3976 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3976 | + | |
3977 | - | sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3977 | + | |
3978 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
3978 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
3979 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3979 | + | if v:IsA("Part") then |
3980 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR) |
3980 | + | v.Transparency = 1 |
3981 | - | sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR) |
3981 | + | v.BrickColor = BrickColor.new("White") |
3982 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1) |
3982 | + | v.Material = "Neon" |
3983 | - | local orb = Instance.new("Part", char) |
3983 | + | |
3984 | - | orb.Anchored = true |
3984 | + | |
3985 | - | orb.BrickColor = BrickColor.new("Toothpaste") |
3985 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
3986 | - | orb.CanCollide = false |
3986 | + | if v:IsA("Part") then |
3987 | - | orb.FormFactor = 3 |
3987 | + | v.Transparency = 1 |
3988 | - | orb.Name = "Remenant" |
3988 | + | v.BrickColor = BrickColor.new("White") |
3989 | - | orb.Material = "Neon" |
3989 | + | v.Material = "Neon" |
3990 | - | orb.CFrame = root.CFrame*CFrame.new(0,150,0) |
3990 | + | |
3991 | - | orb.Size = Vector3.new(1, 1, 1) |
3991 | + | |
3992 | - | orb.Transparency = 1 |
3992 | + | elseif k == "e" and attack == false and ModeOfGlitch == 3 then |
3993 | - | orb.TopSurface = 0 |
3993 | + | resetmode() |
3994 | - | orb.BottomSurface = 0 |
3994 | + | |
3995 | - | hum.WalkSpeed = storehumanoidWS |
3995 | + | if k == "r" and attack == false and ModeOfGlitch ~= 4 then |
3996 | ModeOfGlitch = 4 | |
3997 | - | for i = 0, 9 do |
3997 | + | storehumanoidWS = 16 |
3998 | - | swait(10) |
3998 | + | hum.WalkSpeed = 16 |
3999 | - | local lb = Instance.new("Part") |
3999 | + | rainbowmode = false |
4000 | - | lb.Color = MAINRUINCOLOR.Color |
4000 | + | chaosmode = true |
4001 | - | lb.CanCollide = false |
4001 | + | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color) |
4002 | - | lb.Material = "Neon" |
4002 | + | newTheme("rbxassetid://415898123", 0, 1, 10) |
4003 | - | lb.Anchored = true |
4003 | + | MAINRUINCOLOR = BrickColor.new("Black") |
4004 | - | lb.TopSurface = 0 |
4004 | + | for i, v in pairs(mw2:GetChildren()) do |
4005 | - | lb.BottomSurface = 0 |
4005 | + | if v:IsA("Part") then |
4006 | - | lb.Transparency = 0 |
4006 | + | v.BrickColor = MAINRUINCOLOR |
4007 | - | lb.Size = vt(1,1,1) |
4007 | + | v.Material = "Neon" |
4008 | - | lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15))) |
4008 | + | |
4009 | - | lb.Anchored = false |
4009 | + | |
4010 | - | lb.Parent = char |
4010 | + | for i, v in pairs(mw1:GetChildren()) do |
4011 | - | local thingery = Instance.new("SpecialMesh",lb) |
4011 | + | if v:IsA("Part") then |
4012 | - | thingery.MeshType = "Sphere" |
4012 | + | v.Transparency = 0.75 |
4013 | - | thingery.Scale = vt(20,20,20) |
4013 | + | v.BrickColor = BrickColor.random() |
4014 | - | game:GetService("Debris"):AddItem(lb, 10) |
4014 | + | v.Material = "Neon" |
4015 | - | local bv = Instance.new("BodyVelocity") |
4015 | + | |
4016 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
4016 | + | |
4017 | - | bv.velocity = lb.CFrame.lookVector*math.random(75,250) |
4017 | + | for i, v in pairs(m:GetChildren()) do |
4018 | - | bv.Parent = lb |
4018 | + | if v:IsA("Part") then |
4019 | - | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
4019 | + | v.BrickColor = BrickColor.new("Black") |
4020 | - | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) |
4020 | + | v.Material = "Neon" |
4021 | - | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
4021 | + | |
4022 | - | sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR) |
4022 | + | |
4023 | - | sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR) |
4023 | + | for i, v in pairs(m2:GetChildren()) do |
4024 | - | CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1) |
4024 | + | if v:IsA("Part") then |
4025 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1) |
4025 | + | v.BrickColor = BrickColor.random() |
4026 | - | CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1) |
4026 | + | v.Material = "Neon" |
4027 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1) |
4027 | + | |
4028 | - | local hitted = false |
4028 | + | |
4029 | for i, v in pairs(m3:GetChildren()) do | |
4030 | if v:IsA("Part") then | |
4031 | - | swait(1) |
4031 | + | v.BrickColor = BrickColor.new("Black") |
4032 | - | if lb.Parent ~= nil and hitted == false then |
4032 | + | v.Material = "Neon" |
4033 | - | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) |
4033 | + | |
4034 | - | PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2) |
4034 | + | |
4035 | - | elseif lb.Parent == nil then |
4035 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
4036 | - | break |
4036 | + | if v:IsA("Part") then |
4037 | v.Transparency = 1 | |
4038 | v.BrickColor = BrickColor.new("White") | |
4039 | v.Material = "Neon" | |
4040 | end | |
4041 | - | game:GetService("Debris"):AddItem(a, 0.1) |
4041 | + | |
4042 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
4043 | if v:IsA("Part") then | |
4044 | - | swait(1) |
4044 | + | v.Transparency = 1 |
4045 | - | lb.Touched:connect(function(hit) |
4045 | + | v.BrickColor = BrickColor.new("White") |
4046 | - | if hitted == false then |
4046 | + | v.Material = "Neon" |
4047 | - | hitted = true |
4047 | + | |
4048 | - | lb.Transparency = 1 |
4048 | + | |
4049 | - | lb.Anchored = true |
4049 | + | elseif k == "r" and attack == false and ModeOfGlitch == 4 then |
4050 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1) |
4050 | + | resetmode() |
4051 | - | CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7) |
4051 | + | |
4052 | - | CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75) |
4052 | + | if k == "t" and attack == false and ModeOfGlitch ~= 5 then |
4053 | - | CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75) |
4053 | + | ModeOfGlitch = 5 |
4054 | - | CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1) |
4054 | + | |
4055 | - | CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85) |
4055 | + | storehumanoidWS = 16 |
4056 | - | MagniDamage(lb, 45, 45,85, 0, "Normal") |
4056 | + | hum.WalkSpeed = 16 |
4057 | - | CameraEnshaking(10,5) |
4057 | + | rainbowmode = false |
4058 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4058 | + | chaosmode = false |
4059 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4059 | + | RecolorTextAndRename("Solitude", Color3.new(0, 0, 0), Color3.new(255, 255, 255)) |
4060 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4060 | + | newTheme("rbxassetid://723652641", 10, 1, 3.2) |
4061 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4061 | + | ModeOfGlitch = 1 |
4062 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4062 | + | MAINRUINCOLOR = BrickColor.new("Really black") |
4063 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4063 | + | for i, v in pairs(mw2:GetChildren()) do |
4064 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4064 | + | if v:IsA("Part") then |
4065 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4065 | + | v.BrickColor = MAINRUINCOLOR |
4066 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4066 | + | v.Material = "Neon" |
4067 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4067 | + | |
4068 | - | sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR) |
4068 | + | |
4069 | - | sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR) |
4069 | + | for i, v in pairs(mw1:GetChildren()) do |
4070 | - | for i = 0, 9 do |
4070 | + | if v:IsA("Part") then |
4071 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4071 | + | v.Transparency = 0 |
4072 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4072 | + | v.BrickColor = MAINRUINCOLOR |
4073 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4073 | + | v.Material = "Neon" |
4074 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4074 | + | |
4075 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4075 | + | |
4076 | - | sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0) |
4076 | + | for i, v in pairs(m:GetChildren()) do |
4077 | if v:IsA("Part") then | |
4078 | v.BrickColor = BrickColor.new("Really black") | |
4079 | - | swait() |
4079 | + | v.Material = "Ice" |
4080 | - | MagniDamage(lb, 30, 30, 60, 0, "Normal") |
4080 | + | |
4081 | - | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
4081 | + | |
4082 | - | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
4082 | + | for i, v in pairs(m2:GetChildren()) do |
4083 | - | PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0) |
4083 | + | if v:IsA("Part") then |
4084 | v.BrickColor = BrickColor.new("Really black") | |
4085 | v.Material = "Ice" | |
4086 | end | |
4087 | end | |
4088 | for i, v in pairs(m3:GetChildren()) do | |
4089 | - | Overed = true |
4089 | + | if v:IsA("Part") then |
4090 | - | orb:Destroy() |
4090 | + | v.BrickColor = BrickColor.new("Really black") |
4091 | v.Material = "Neon" | |
4092 | end | |
4093 | end | |
4094 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
4095 | if v:IsA("Part") then | |
4096 | - | function StarDivision() |
4096 | + | v.Transparency = 1 |
4097 | - | attack = true |
4097 | + | v.BrickColor = BrickColor.new("White") |
4098 | - | CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5) |
4098 | + | v.Material = "Neon" |
4099 | - | for i = 0, 2, 0.1 do |
4099 | + | |
4100 | - | swait() |
4100 | + | |
4101 | - | PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0) |
4101 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
4102 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6) |
4102 | + | if v:IsA("Part") then |
4103 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6) |
4103 | + | v.Transparency = 1 |
4104 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6) |
4104 | + | v.BrickColor = BrickColor.new("White") |
4105 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6) |
4105 | + | v.Material = "Neon" |
4106 | - | RW.C0 = Clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6) |
4106 | + | |
4107 | - | LW.C0 = Clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6) |
4107 | + | |
4108 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
4109 | - | local orb = Instance.new("Part", char) |
4109 | + | resetmode() |
4110 | - | orb.BrickColor = MAINRUINCOLOR |
4110 | + | |
4111 | - | orb.CanCollide = false |
4111 | + | if k == "y" and attack == false and ModeOfGlitch ~= 6 then |
4112 | - | orb.FormFactor = 3 |
4112 | + | ModeOfGlitch = 6 |
4113 | - | orb.Name = "Ring" |
4113 | + | storehumanoidWS = 75 |
4114 | - | orb.Material = "Neon" |
4114 | + | hum.WalkSpeed = 75 |
4115 | - | orb.Size = Vector3.new(1, 1, 1) |
4115 | + | rainbowmode = false |
4116 | - | orb.Transparency = 0 |
4116 | + | chaosmode = false |
4117 | - | orb.TopSurface = 0 |
4117 | + | RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1)) |
4118 | - | orb.BottomSurface = 0 |
4118 | + | newTheme("rbxassetid://519067542", 0, 1, 1) |
4119 | - | local orbm = Instance.new("SpecialMesh", orb) |
4119 | + | MAINRUINCOLOR = BrickColor.new("Really black") |
4120 | - | orbm.MeshType = "Sphere" |
4120 | + | for i, v in pairs(mw2:GetChildren()) do |
4121 | - | orbm.Name = "SizeMesh" |
4121 | + | if v:IsA("Part") then |
4122 | - | orbm.Scale = vt(2,2,2) |
4122 | + | v.BrickColor = BrickColor.new("White") |
4123 | - | local a = Instance.new("Part",workspace) |
4123 | + | v.Material = "Neon" |
4124 | - | a.Name = "Direction" |
4124 | + | |
4125 | end | |
4126 | - | a.BrickColor = bc("Bright red") |
4126 | + | for i, v in pairs(mw1:GetChildren()) do |
4127 | - | a.Material = "Neon" |
4127 | + | if v:IsA("Part") then |
4128 | - | a.Transparency = 1 |
4128 | + | v.Transparency = 0 |
4129 | v.BrickColor = BrickColor.new("Really black") | |
4130 | - | local ray = Ray.new( |
4130 | + | v.Material = "Neon" |
4131 | - | sorb.CFrame.p, -- origin |
4131 | + | |
4132 | - | (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction |
4132 | + | |
4133 | - | ) |
4133 | + | for i, v in pairs(m:GetChildren()) do |
4134 | - | local ignore = sorb |
4134 | + | if v:IsA("Part") then |
4135 | v.BrickColor = BrickColor.new("White") | |
4136 | v.Material = "Ice" | |
4137 | end | |
4138 | - | local distance = (sorb.CFrame.p - position).magnitude |
4138 | + | |
4139 | - | a.Size = Vector3.new(0.1, 0.1, 0.1) |
4139 | + | for i, v in pairs(m2:GetChildren()) do |
4140 | - | a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0) |
4140 | + | if v:IsA("Part") then |
4141 | - | orb.CFrame = a.CFrame |
4141 | + | v.BrickColor = BrickColor.new("Really black") |
4142 | - | a:Destroy() |
4142 | + | v.Material = "Ice" |
4143 | - | local bv = Instance.new("BodyVelocity") |
4143 | + | |
4144 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
4144 | + | |
4145 | - | bv.velocity = orb.CFrame.lookVector*100 |
4145 | + | for i, v in pairs(m3:GetChildren()) do |
4146 | - | bv.Parent = orb |
4146 | + | if v:IsA("Part") then |
4147 | - | local hitted = false |
4147 | + | v.BrickColor = BrickColor.new("White") |
4148 | - | game:GetService("Debris"):AddItem(orb, 10) |
4148 | + | v.Material = "Neon" |
4149 | - | CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15) |
4149 | + | |
4150 | - | CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15) |
4150 | + | |
4151 | - | CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15) |
4151 | + | for i, v in pairs(extrawingmod1:GetChildren()) do |
4152 | - | CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15) |
4152 | + | if v:IsA("Part") then |
4153 | - | CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15) |
4153 | + | v.Transparency = 1 |
4154 | v.BrickColor = BrickColor.new("White") | |
4155 | v.Material = "Neon" | |
4156 | - | swait(1) |
4156 | + | |
4157 | - | if orb.Parent ~= nil and hitted == false then |
4157 | + | |
4158 | - | PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2) |
4158 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
4159 | - | elseif orb.Parent == nil then |
4159 | + | if v:IsA("Part") then |
4160 | - | break |
4160 | + | v.Transparency = 1 |
4161 | v.BrickColor = BrickColor.new("White") | |
4162 | v.Material = "Neon" | |
4163 | end | |
4164 | end | |
4165 | - | swait(1) |
4165 | + | |
4166 | - | orb.Touched:connect(function(hit) |
4166 | + | |
4167 | - | if hitted == false then |
4167 | + | elseif k == "y" and attack == false and ModeOfGlitch == 6 then |
4168 | - | hitted = true |
4168 | + | resetmode() |
4169 | - | game:GetService("Debris"):AddItem(orb, 5) |
4169 | + | |
4170 | - | orb.Transparency = 1 |
4170 | + | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then |
4171 | - | orb.Anchored = true |
4171 | + | ModeOfGlitch = 6127843 |
4172 | - | local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
4172 | + | storehumanoidWS = 50 |
4173 | - | elocacenter.Anchored = true |
4173 | + | hum.WalkSpeed = 50 |
4174 | - | elocacenter.CFrame = orb.CFrame |
4174 | + | rainbowmode = true |
4175 | - | elocacenter.Orientation = vt(0,0,0) |
4175 | + | chaosmode = false |
4176 | - | local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
4176 | + | RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1)) |
4177 | - | eloca1.Anchored = true |
4177 | + | newTheme("rbxassetid://152539141", 0, 1, 1) |
4178 | - | eloca1.CFrame = elocacenter.CFrame |
4178 | + | MAINRUINCOLOR = BrickColor.new("White") |
4179 | - | local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
4179 | + | for i, v in pairs(mw2:GetChildren()) do |
4180 | - | eloca2.Anchored = true |
4180 | + | if v:IsA("Part") then |
4181 | - | eloca2.CFrame = elocacenter.CFrame |
4181 | + | v.BrickColor = MAINRUINCOLOR |
4182 | - | local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
4182 | + | v.Material = "Neon" |
4183 | - | eloca3.Anchored = true |
4183 | + | |
4184 | - | eloca3.CFrame = elocacenter.CFrame |
4184 | + | |
4185 | - | local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random()) |
4185 | + | for i, v in pairs(mw1:GetChildren()) do |
4186 | - | eloca4.Anchored = true |
4186 | + | if v:IsA("Part") then |
4187 | - | eloca4.CFrame = elocacenter.CFrame |
4187 | + | v.Transparency = 0 |
4188 | - | local lookavec = 0 |
4188 | + | v.BrickColor = MAINRUINCOLOR |
4189 | - | local speeds = 0 |
4189 | + | v.Material = "Neon" |
4190 | - | CameraEnshaking(1,1) |
4190 | + | |
4191 | - | CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1) |
4191 | + | |
4192 | - | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
4192 | + | for i, v in pairs(m:GetChildren()) do |
4193 | - | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
4193 | + | if v:IsA("Part") then |
4194 | - | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
4194 | + | v.BrickColor = BrickColor.new("White") |
4195 | - | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
4195 | + | v.Material = "Neon" |
4196 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR) |
4196 | + | |
4197 | - | for i = 0, 99 do |
4197 | + | |
4198 | - | swait() |
4198 | + | for i, v in pairs(m2:GetChildren()) do |
4199 | - | lookavec = lookavec + 1 |
4199 | + | if v:IsA("Part") then |
4200 | - | speeds = speeds + 0.1 |
4200 | + | v.BrickColor = BrickColor.new("White") |
4201 | - | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
4201 | + | v.Material = "Neon" |
4202 | - | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) |
4202 | + | |
4203 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4203 | + | |
4204 | for i, v in pairs(m3:GetChildren()) do | |
4205 | - | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) |
4205 | + | if v:IsA("Part") then |
4206 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4206 | + | v.BrickColor = BrickColor.new("White") |
4207 | v.Material = "Neon" | |
4208 | - | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) |
4208 | + | |
4209 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4209 | + | |
4210 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
4211 | - | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) |
4211 | + | if v:IsA("Part") then |
4212 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4212 | + | v.Transparency = 1 |
4213 | v.BrickColor = BrickColor.new("White") | |
4214 | v.Material = "Neon" | |
4215 | - | for i = 0, 149 do |
4215 | + | |
4216 | - | swait() |
4216 | + | |
4217 | - | speeds = speeds + 0.1 |
4217 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
4218 | - | elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0) |
4218 | + | if v:IsA("Part") then |
4219 | - | eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0) |
4219 | + | v.Transparency = 1 |
4220 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4220 | + | v.BrickColor = BrickColor.new("White") |
4221 | v.Material = "Neon" | |
4222 | - | eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0) |
4222 | + | |
4223 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4223 | + | |
4224 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
4225 | - | eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec) |
4225 | + | resetmode() |
4226 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4226 | + | |
4227 | if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then | |
4228 | - | eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec) |
4228 | + | ModeOfGlitch = 1000000 |
4229 | - | PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2) |
4229 | + | storehumanoidWS = 100 |
4230 | hum.WalkSpeed = 100 | |
4231 | - | for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do |
4231 | + | rainbowmode = false |
4232 | - | if v:FindFirstChild('Head') then |
4232 | + | chaosmode = false |
4233 | - | dmg(v) |
4233 | + | RecolorTextAndRename("True Starlight", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1)) |
4234 | newTheme("rbxassetid://614032233", 0, 1, 1) | |
4235 | MAINRUINCOLOR = BrickColor.new("Bright violet") | |
4236 | - | CameraEnshaking(7,30) |
4236 | + | for i, v in pairs(mw2:GetChildren()) do |
4237 | - | MagniDamage(elocacenter, 225, 50,75, 0, "Normal") |
4237 | + | if v:IsA("Part") then |
4238 | - | CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1) |
4238 | + | v.BrickColor = MAINRUINCOLOR |
4239 | - | CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75) |
4239 | + | v.Material = "Neon" |
4240 | - | CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1) |
4240 | + | |
4241 | - | CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1) |
4241 | + | |
4242 | - | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR) |
4242 | + | for i, v in pairs(mw1:GetChildren()) do |
4243 | - | sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR) |
4243 | + | if v:IsA("Part") then |
4244 | - | sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
4244 | + | v.Transparency = 0 |
4245 | - | sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
4245 | + | v.BrickColor = MAINRUINCOLOR |
4246 | - | sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
4246 | + | v.Material = "Neon" |
4247 | - | sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
4247 | + | |
4248 | - | sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR) |
4248 | + | |
4249 | - | for i = 0, 24 do |
4249 | + | for i, v in pairs(m:GetChildren()) do |
4250 | - | sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0) |
4250 | + | if v:IsA("Part") then |
4251 | - | sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0) |
4251 | + | v.Color = Color3.new(0.5, 0, 1) |
4252 | - | sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0) |
4252 | + | v.Material = "Neon" |
4253 | - | sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0) |
4253 | + | |
4254 | end | |
4255 | for i, v in pairs(m2:GetChildren()) do | |
4256 | - | for i = 0, 499 do |
4256 | + | if v:IsA("Part") then |
4257 | - | swait(1) |
4257 | + | v.Color = Color3.new(0.25, 0, 1) |
4258 | - | MagniDamage(elocacenter, 90, 1,5, 0, "Normal") |
4258 | + | v.Material = "Neon" |
4259 | - | PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5) |
4259 | + | |
4260 | end | |
4261 | - | elocacenter:Destroy() |
4261 | + | for i, v in pairs(m3:GetChildren()) do |
4262 | - | eloca1:Destroy() |
4262 | + | if v:IsA("Part") then |
4263 | - | eloca2:Destroy() |
4263 | + | v.Color = Color3.new(0.45, 0, 1) |
4264 | - | eloca3:Destroy() |
4264 | + | v.Material = "Neon" |
4265 | - | eloca4:Destroy() |
4265 | + | |
4266 | end | |
4267 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
4268 | if v:IsA("Part") then | |
4269 | v.Transparency = 0 | |
4270 | v.Color = Color3.new(0.25, 0, 1) | |
4271 | v.Material = "Neon" | |
4272 | end | |
4273 | end | |
4274 | - | function UniversalCollapse() |
4274 | + | for i, v in pairs(extrawingmod2:GetChildren()) do |
4275 | - | attack = true |
4275 | + | if v:IsA("Part") then |
4276 | - | local speedearn = 0 |
4276 | + | v.Transparency = 0 |
4277 | - | hum.WalkSpeed = 0 |
4277 | + | v.Color = Color3.new(0.5, 0, 1) |
4278 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1) |
4278 | + | v.Material = "Neon" |
4279 | - | for i = 0, 10, 0.1 do |
4279 | + | |
4280 | - | swait() |
4280 | + | |
4281 | - | speedearn = speedearn + 0.1 |
4281 | + | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then |
4282 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4282 | + | resetmode() |
4283 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4283 | + | |
4284 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4284 | + | if k == "l" and toggleTag == false then |
4285 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4285 | + | toggleTag = true |
4286 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4286 | + | text.TextTransparency = 0 |
4287 | - | RH.C0=Clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1) |
4287 | + | text.TextStrokeTransparency = 0 |
4288 | - | LH.C0=Clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1) |
4288 | + | elseif k == "l" and toggleTag == true then |
4289 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) |
4289 | + | toggleTag = false |
4290 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1) |
4290 | + | text.TextTransparency = 1 |
4291 | - | RW.C0=Clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1) |
4291 | + | text.TextStrokeTransparency = 1 |
4292 | - | LW.C0=Clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1) |
4292 | + | |
4293 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
4294 | - | CameraEnshaking(5,45) |
4294 | + | ExtinctiveHeartbreak() |
4295 | - | sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR) |
4295 | + | elseif k == "z" and attack == false and ModeOfGlitch == 2 then |
4296 | - | CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1) |
4296 | + | PureBomb() |
4297 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do |
4297 | + | elseif k == "z" and attack == false and ModeOfGlitch == 3 then |
4298 | - | if v:FindFirstChild('Head') then |
4298 | + | scattercorrupt() |
4299 | - | dmg(v) |
4299 | + | elseif k == "z" and attack == false and ModeOfGlitch == 4 then |
4300 | ChaosGroundStrike() | |
4301 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
4302 | - | hum.WalkSpeed = storehumanoidWS |
4302 | + | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then |
4303 | UniversalSpark() | |
4304 | elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then | |
4305 | scattercorrupt() | |
4306 | - | attack = true |
4306 | + | wait(1) |
4307 | - | local speedearn = 0 |
4307 | + | yinyangi() |
4308 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75) |
4308 | + | elseif k == "l" and attack == false and ModeOfGlitch == 5 then |
4309 | - | for i = 0, 10, 0.1 do |
4309 | + | scattercorrupt() |
4310 | - | swait() |
4310 | + | scattercorrupt() |
4311 | - | speedearn = speedearn + 0.1 |
4311 | + | elseif k == "z" and attack == false and ModeOfGlitch == 6 then |
4312 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4312 | + | yinyangi() |
4313 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4313 | + | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then |
4314 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4314 | + | Wip() |
4315 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4315 | + | |
4316 | - | sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0) |
4316 | + | if k == "l" and attack == false and ModeOfGlitch == 4 then |
4317 | - | RH.C0=Clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
4317 | + | ChaosBegone() |
4318 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2) |
4318 | + | |
4319 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
4319 | + | |
4320 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) |
4320 | + | |
4321 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2) |
4321 | + | while true do |
4322 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2) |
4322 | + | swait(2) |
4323 | if rainbowmode == true or ModeOfGlitch == 6 then | |
4324 | - | CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1) |
4324 | + | sphereMK(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0) |
4325 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1) |
4325 | + | |
4326 | - | CameraEnshaking(5,25) |
4326 | + | |
4327 | - | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do |
4327 | + | |
4328 | - | if v:FindFirstChild('Head') then |
4328 | + | |
4329 | - | dmg(v) |
4329 | + | while true do |
4330 | swait(0.5) | |
4331 | if ModeOfGlitch == 1000000 then | |
4332 | - | sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random()) |
4332 | + | sphereMK(5, 0.5, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0) |
4333 | - | sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random()) |
4333 | + | |
4334 | - | sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random()) |
4334 | + | |
4335 | - | for i = 0, 3, 0.1 do |
4335 | + | |
4336 | - | swait() |
4336 | + | |
4337 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
4337 | + | while true do |
4338 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
4338 | + | swait(2) |
4339 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
4339 | + | if chaosmode == true then |
4340 | - | sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0) |
4340 | + | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color) |
4341 | - | RH.C0=Clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
4341 | + | for i, v in pairs(mw1:GetChildren()) do |
4342 | - | LH.C0=Clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4) |
4342 | + | if v:IsA("Part") then |
4343 | - | RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
4343 | + | v.Transparency = 0.75 |
4344 | - | Torso.Neck.C0=Clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) |
4344 | + | v.BrickColor = BrickColor.random() |
4345 | - | RW.C0=Clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4) |
4345 | + | v.Material = "Neon" |
4346 | - | LW.C0=Clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4) |
4346 | + | |
4347 | end | |
4348 | for i, v in pairs(m2:GetChildren()) do | |
4349 | if v:IsA("Part") then | |
4350 | v.BrickColor = BrickColor.random() | |
4351 | - | function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon) |
4351 | + | v.Material = "Neon" |
4352 | - | local orb = Instance.new("Part", char) |
4352 | + | |
4353 | - | orb.Anchored = true |
4353 | + | |
4354 | - | orb.BrickColor = color |
4354 | + | |
4355 | - | orb.CanCollide = false |
4355 | + | |
4356 | - | orb.FormFactor = 3 |
4356 | + | |
4357 | - | orb.Name = "Ring" |
4357 | + | |
4358 | - | orb.Material = "Neon" |
4358 | + | |
4359 | - | orb.Size = Vector3.new(1, 1, 1) |
4359 | + | |
4360 | - | orb.Transparency = 0 |
4360 | + | Instance.new("ForceField", char).Visible = false |
4361 | - | orb.TopSurface = 0 |
4361 | + | |
4362 | - | orb.BottomSurface = 0 |
4362 | + | idleanim = 0.4 |
4363 | - | local orbm = Instance.new("SpecialMesh", orb) |
4363 | + | |
4364 | - | orbm.MeshType = "Sphere" |
4364 | + | if rainbowmode == true then |
4365 | - | orb.CFrame = positted |
4365 | + | RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500)) |
4366 | - | orbm.Name = "SizeMesh" |
4366 | + | MAINRUINCOLOR = BrickColor.new("White") |
4367 | - | orbm.Scale = vt(1,1,1) |
4367 | + | for i, v in pairs(m:GetChildren()) do |
4368 | - | CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1) |
4368 | + | if v:IsA("Part") then |
4369 | - | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor) |
4369 | + | v.Color = Color3.new(r / 255, g / 255, b / 255) |
4370 | - | --[[for i = 0, 2 do |
4370 | + | |
4371 | - | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) |
4371 | + | |
4372 | - | end]]-- |
4372 | + | for i, v in pairs(m2:GetChildren()) do |
4373 | if v:IsA("Part") then | |
4374 | - | wait(timer) |
4374 | + | v.Color = Color3.new(r / 255, g / 255, b / 255) |
4375 | - | CameraEnshaking(3,ShakePower) |
4375 | + | |
4376 | - | orb.Transparency = 1 |
4376 | + | |
4377 | - | MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal") |
4377 | + | for i, v in pairs(m3:GetChildren()) do |
4378 | - | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor) |
4378 | + | if v:IsA("Part") then |
4379 | - | --[[for i = 0, 4 do |
4379 | + | v.Color = Color3.new(r / 255, g / 255, b / 255) |
4380 | - | sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) |
4380 | + | |
4381 | - | end]]-- |
4381 | + | |
4382 | - | CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7) |
4382 | + | for i, v in pairs(mw1:GetChildren()) do |
4383 | - | wait(3) |
4383 | + | if v:IsA("Part") then |
4384 | - | orb:Destroy() |
4384 | + | v.Color = Color3.new(r / 255, g / 255, b / 255) |
4385 | v.Material = "Neon" | |
4386 | end | |
4387 | end | |
4388 | - | function orb_spawn(positted,timer) |
4388 | + | for i, v in pairs(mw2:GetChildren()) do |
4389 | - | local randomcol = math.random(1,2) |
4389 | + | if v:IsA("Part") then |
4390 | - | local orb = Instance.new("Part", char) |
4390 | + | v.Color = Color3.new(r / 255, g / 255, b / 255) |
4391 | - | orb.Anchored = true |
4391 | + | v.Material = "Neon" |
4392 | - | if randomcol == 1 then |
4392 | + | |
4393 | - | orb.BrickColor = BrickColor.new("White") |
4393 | + | |
4394 | - | elseif randomcol == 2 then |
4394 | + | |
4395 | - | orb.BrickColor = BrickColor.new("Really black") |
4395 | + | CameraManager() |
4396 | swait() | |
4397 | - | orb.CanCollide = false |
4397 | + | lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3) |
4398 | - | orb.FormFactor = 3 |
4398 | + | lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3) |
4399 | - | orb.Name = "Ring" |
4399 | + | lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3) |
4400 | - | orb.Material = "Neon" |
4400 | + | lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3) |
4401 | - | orb.Size = Vector3.new(1, 1, 1) |
4401 | + | lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3) |
4402 | - | orb.Transparency = 0 |
4402 | + | lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3) |
4403 | - | orb.TopSurface = 0 |
4403 | + | rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3) |
4404 | - | orb.BottomSurface = 0 |
4404 | + | rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3) |
4405 | - | local orbm = Instance.new("SpecialMesh", orb) |
4405 | + | rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3) |
4406 | - | orbm.MeshType = "Sphere" |
4406 | + | rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3) |
4407 | - | orb.CFrame = positted |
4407 | + | rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3) |
4408 | - | orbm.Name = "SizeMesh" |
4408 | + | rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3) |
4409 | - | orbm.Scale = vt(1,1,1) |
4409 | + | sine = sine + change |
4410 | - | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) |
4410 | + | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude |
4411 | - | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) |
4411 | + | local velderp = RootPart.Velocity.y |
4412 | - | for i = 0, 2 do |
4412 | + | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) |
4413 | - | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) |
4413 | + | if equipped == true or equipped == false then |
4414 | if attack == false then | |
4415 | idle = idle + 1 | |
4416 | - | wait(timer) |
4416 | + | |
4417 | - | CameraEnshaking(3,2) |
4417 | + | idle = 0 |
4418 | - | orb.Transparency = 1 |
4418 | + | |
4419 | - | MagniDamage(orb, 17.5, 10,50, 0, "Normal") |
4419 | + | if not (idle >= 500) or attack == false then |
4420 | - | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) |
4420 | + | |
4421 | - | for i = 0, 4 do |
4421 | + | if RootPart.Velocity.y > 1 and hitfloor == nil then |
4422 | - | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) |
4422 | + | Anim = "Jump" |
4423 | if attack == false then | |
4424 | - | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) |
4424 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) |
4425 | - | wait(3) |
4425 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1) |
4426 | - | orb:Destroy() |
4426 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1) |
4427 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1) | |
4428 | RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(25)), 0.1) | |
4429 | LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(-25)), 0.1) | |
4430 | - | function orb_spawn2(positted,timer) |
4430 | + | |
4431 | - | local randomcol = math.random(1,7) |
4431 | + | elseif RootPart.Velocity.y < -1 and hitfloor == nil then |
4432 | - | local orb = Instance.new("Part", char) |
4432 | + | Anim = "Fall" |
4433 | - | orb.Anchored = true |
4433 | + | if attack == false then |
4434 | - | if randomcol == 1 then |
4434 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1) |
4435 | - | orb.BrickColor = BrickColor.new("White") |
4435 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1) |
4436 | - | elseif randomcol == 2 then |
4436 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
4437 | - | orb.BrickColor = BrickColor.new("Really black") |
4437 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
4438 | - | elseif randomcol == 3 then |
4438 | + | RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1) |
4439 | - | orb.BrickColor = BrickColor.new("Really red") |
4439 | + | LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) |
4440 | - | elseif randomcol == 4 then |
4440 | + | |
4441 | - | orb.BrickColor = BrickColor.new("Really blue") |
4441 | + | elseif torvel < 1 and hitfloor ~= nil then |
4442 | - | elseif randomcol == 5 then |
4442 | + | Anim = "Idle" |
4443 | - | orb.BrickColor = BrickColor.new("Deep orange") |
4443 | + | if attack == false then |
4444 | - | elseif randomcol == 6 then |
4444 | + | if ModeOfGlitch == 1 then |
4445 | - | orb.BrickColor = BrickColor.new("Bright yellow") |
4445 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10 - 2.5 * math.cos(sine / 32)), math.rad(-20), math.rad(0)), 0.1) |
4446 | - | elseif randomcol == 7 then |
4446 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.1) |
4447 | - | orb.BrickColor = BrickColor.new("Lime green") |
4447 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(10 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1) |
4448 | - | elseif randomcol == 8 then |
4448 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1) |
4449 | - | orb.BrickColor = BrickColor.new("Hot pink") |
4449 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1) |
4450 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) | |
4451 | - | orb.CanCollide = false |
4451 | + | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then |
4452 | - | orb.FormFactor = 3 |
4452 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
4453 | - | orb.Name = "Ring" |
4453 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
4454 | - | orb.Material = "Neon" |
4454 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1) |
4455 | - | orb.Size = Vector3.new(1, 1, 1) |
4455 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1) |
4456 | - | orb.Transparency = 0 |
4456 | + | RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1) |
4457 | - | orb.TopSurface = 0 |
4457 | + | LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1) |
4458 | - | orb.BottomSurface = 0 |
4458 | + | elseif ModeOfGlitch == 3 then |
4459 | - | local orbm = Instance.new("SpecialMesh", orb) |
4459 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 - 1 * math.cos(sine / 34))), 0.1) |
4460 | - | orbm.MeshType = "Sphere" |
4460 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
4461 | - | orb.CFrame = positted |
4461 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-20)), 0.1) |
4462 | - | orbm.Name = "SizeMesh" |
4462 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1) |
4463 | - | orbm.Scale = vt(1,1,1) |
4463 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1) |
4464 | - | CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1) |
4464 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1) |
4465 | - | sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor) |
4465 | + | elseif ModeOfGlitch == 4 then |
4466 | - | for i = 0, 2 do |
4466 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1) |
4467 | - | sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0) |
4467 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1) |
4468 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1) | |
4469 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1) | |
4470 | - | wait(timer) |
4470 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1) |
4471 | - | CameraEnshaking(3,2) |
4471 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1) |
4472 | - | orb.Transparency = 1 |
4472 | + | elseif ModeOfGlitch == 5 then |
4473 | - | MagniDamage(orb, 17.5, 10,50, 0, "Normal") |
4473 | + | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
4474 | - | sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor) |
4474 | + | LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1) |
4475 | - | for i = 0, 4 do |
4475 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1) |
4476 | - | sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0) |
4476 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1) |
4477 | RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1) | |
4478 | - | CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7) |
4478 | + | LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1) |
4479 | - | wait(3) |
4479 | + | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then |
4480 | - | orb:Destroy() |
4480 | + | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1) |
4481 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1) | |
4482 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1) | |
4483 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1) | |
4484 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1) | |
4485 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1) | |
4486 | - | attack = true |
4486 | + | |
4487 | - | local rot = 0 |
4487 | + | |
4488 | - | local randomrotations = math.random(1,2) |
4488 | + | elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then |
4489 | - | local lookv = 2.5 |
4489 | + | Anim = "Walk" |
4490 | - | local power = 5 |
4490 | + | if attack == false then |
4491 | - | sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple")) |
4491 | + | if ModeOfGlitch == 1 then |
4492 | - | sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple")) |
4492 | + | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1) |
4493 | - | for i = 0, 9 do |
4493 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1) |
4494 | - | sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0) |
4494 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1) |
4495 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1) | |
4496 | - | CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6) |
4496 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1) |
4497 | - | CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5) |
4497 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) |
4498 | - | CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1) |
4498 | + | elseif ModeOfGlitch == 4 then |
4499 | - | CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75) |
4499 | + | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1) |
4500 | - | CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5) |
4500 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1) |
4501 | - | local hite = Instance.new("Part", char) |
4501 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1) |
4502 | - | hite.Anchored = true |
4502 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1) |
4503 | - | hite.CanCollide = false |
4503 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1) |
4504 | - | hite.FormFactor = 3 |
4504 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1) |
4505 | - | hite.Name = "Ring" |
4505 | + | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then |
4506 | - | hite.Material = "Neon" |
4506 | + | RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1) |
4507 | - | hite.Size = Vector3.new(1, 1, 1) |
4507 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1) |
4508 | - | hite.Transparency = 1 |
4508 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1) |
4509 | - | hite.TopSurface = 0 |
4509 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1) |
4510 | - | hite.BottomSurface = 0 |
4510 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1) |
4511 | - | hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0) |
4511 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1) |
4512 | - | local rem = Instance.new("Part", char) |
4512 | + | |
4513 | - | rem.Anchored = true |
4513 | + | |
4514 | - | rem.CanCollide = false |
4514 | + | elseif torvel >= 22 and hitfloor ~= nil then |
4515 | - | rem.FormFactor = 3 |
4515 | + | Anim = "Run" |
4516 | - | rem.Name = "Ring" |
4516 | + | if attack == false then |
4517 | - | rem.Material = "Neon" |
4517 | + | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then |
4518 | - | rem.Size = Vector3.new(1, 1, 1) |
4518 | + | RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1) |
4519 | - | rem.Transparency = 1 |
4519 | + | LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1) |
4520 | - | rem.TopSurface = 0 |
4520 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1) |
4521 | - | rem.BottomSurface = 0 |
4521 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1) |
4522 | - | rem.CFrame = hite.CFrame |
4522 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1) |
4523 | - | local rem2 = rem:Clone() |
4523 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1) |
4524 | - | rem2.Parent = char |
4524 | + | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then |
4525 | - | rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0) |
4525 | + | RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2) |
4526 | - | local rem3 = rem:Clone() |
4526 | + | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2) |
4527 | - | rem3.Parent = char |
4527 | + | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2) |
4528 | - | rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0) |
4528 | + | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
4529 | - | local rem4 = rem:Clone() |
4529 | + | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2) |
4530 | - | rem4.Parent = char |
4530 | + | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2) |
4531 | - | rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0) |
4531 | + | |
4532 | - | hite:Destroy() |
4532 | + | |
4533 | end | |
4534 | - | for i = 0, 24 do |
4534 | + | |
4535 | - | swait(1) |
4535 | + |