SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | - | while wait(1/500000000000000) do |
| 78 | + | while wait(1.000000000000003e-544) do |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | ||
| 88 | ||
| 89 | print("update log")
| |
| 90 | print("21/01/2019")
| |
| 91 | print("add new mode name lover key j")
| |
| 92 | print("open extarwing 3 and 4")
| |
| 93 | warn("Star Glitcher Loaded.")
| |
| 94 | warn("All purpose switcher...")
| |
| 95 | warn("Edit By Frepix.")
| |
| 96 | warn("Edit by plytalent")
| |
| 97 | warn("Moves Edited By UndeniableInfinity.")
| |
| 98 | warn("Please Support The Original Creator Of This Script.")
| |
| 99 | warn("key mode q e r t y u p g h j")
| |
| 100 | warn("key skill l z")
| |
| 101 | warn("key clock unclock f")
| |
| 102 | warn("key hidden unhidden wing x")
| |
| 103 | plr = owner | |
| 104 | char = plr.Character | |
| 105 | hum = char.Humanoid | |
| 106 | local cam = game.Workspace.CurrentCamera | |
| 107 | --local Controller = game:GetService("Players").plytalent.PlayerScripts:WaitForChild("ControlScript")
| |
| 108 | Camera = cam | |
| 109 | local CamInterrupt = false | |
| 110 | local TwoD = false | |
| 111 | local TargetInfo = {nil, nil}
| |
| 112 | cam.CameraType = "Custom" | |
| 113 | t = char.Torso | |
| 114 | h = char.Head | |
| 115 | ra = char["Right Arm"] | |
| 116 | la = char["Left Arm"] | |
| 117 | rl = char["Right Leg"] | |
| 118 | ll = char["Left Leg"] | |
| 119 | tors = char.Torso | |
| 120 | lleg = char["Left Leg"] | |
| 121 | root = char.HumanoidRootPart | |
| 122 | hed = char.Head | |
| 123 | rleg = char["Right Leg"] | |
| 124 | rarm = char["Right Arm"] | |
| 125 | larm = char["Left Arm"] | |
| 126 | radian = math.rad | |
| 127 | random = math.random | |
| 128 | Vec3 = Vector3.new | |
| 129 | Inst = Instance.new | |
| 130 | cFrame = CFrame.new | |
| 131 | Euler = CFrame.fromEulerAnglesXYZ | |
| 132 | vt = Vector3.new | |
| 133 | bc = BrickColor.new | |
| 134 | br = BrickColor.random | |
| 135 | it = Instance.new | |
| 136 | cf = CFrame.new | |
| 137 | local Booleans = {CamFollow = true, GyroUse = true}
| |
| 138 | function lerp(object, newCFrame, alpha) | |
| 139 | return object:lerp(newCFrame, alpha) | |
| 140 | end | |
| 141 | ||
| 142 | ff = Instance.new("ForceField", owner.Character)
| |
| 143 | ff.Visible = false | |
| 144 | ||
| 145 | local Directer = Inst("BodyGyro", root)
| |
| 146 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 147 | Directer.P = 600000 | |
| 148 | local CPart = Inst("Part")
| |
| 149 | CPart.Anchored = true | |
| 150 | CPart.CanCollide = false | |
| 151 | CPart.Locked = true | |
| 152 | CPart.Transparency = 1 | |
| 153 | local rainbowmode = false | |
| 154 | local chaosmode = false | |
| 155 | kan = Instance.new("Sound", char)
| |
| 156 | kan.Volume = 1.98 | |
| 157 | kan.TimePosition = 0 | |
| 158 | kan.PlaybackSpeed = 1 | |
| 159 | kan.Pitch = 1 | |
| 160 | kan.SoundId = "rbxassetid://415898123" | |
| 161 | kan.Name = "wrecked" | |
| 162 | kan.Looped = true | |
| 163 | kan:Play() | |
| 164 | function newTheme(ID, timepos, pitch, vol) | |
| 165 | local kanz = kan | |
| 166 | kanz.PlaybackSpeed = pitch | |
| 167 | kanz.Pitch = pitch | |
| 168 | kanz.SoundId = ID | |
| 169 | kanz.Name = "wrecked" | |
| 170 | kanz.Looped = true | |
| 171 | end | |
| 172 | function CameraShake(Times, Power, PlayerTarget) | |
| 173 | coroutine.resume(coroutine.create(function() | |
| 174 | FV = Instance.new("BoolValue", PlayerTarget)
| |
| 175 | FV.Name = "CameraShake" | |
| 176 | for ShakeNum = 1, Times do | |
| 177 | swait() | |
| 178 | local ef = Power | |
| 179 | if ef >= 1 then | |
| 180 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) | |
| 181 | else | |
| 182 | ef = Power * 10 | |
| 183 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) | |
| 184 | end | |
| 185 | end | |
| 186 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 187 | FV:Destroy() | |
| 188 | end)) | |
| 189 | end | |
| 190 | function CameraEnshaking(Length, Intensity) | |
| 191 | coroutine.resume(coroutine.create(function() | |
| 192 | local intensity = 1 * Intensity | |
| 193 | local rotM = 0.01 * Intensity | |
| 194 | for i = 0, Length, 0.1 do | |
| 195 | swait() | |
| 196 | intensity = intensity - 0.05 * Intensity / Length | |
| 197 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 198 | hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) | |
| 199 | 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) | |
| 200 | end | |
| 201 | Humanoid.CameraOffset = Vec3(0, 0, 0) | |
| 202 | end)) | |
| 203 | end | |
| 204 | function CamShake(Part, Distan, Power, Times) | |
| 205 | local de = Part.Position | |
| 206 | for i, v in pairs(workspace:children()) do | |
| 207 | if v:IsA("Model") and v:findFirstChild("Humanoid") then
| |
| 208 | for _, c in pairs(v:children()) do | |
| 209 | if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then | |
| 210 | do | |
| 211 | local Noob = v.Humanoid | |
| 212 | if Noob ~= nil then | |
| 213 | coroutine.resume(coroutine.create(function() | |
| 214 | FV = Instance.new("BoolValue", Noob)
| |
| 215 | FV.Name = "CameraShake" | |
| 216 | for ShakeNum = 1, Times do | |
| 217 | swait() | |
| 218 | local ef = Power | |
| 219 | if ef >= 1 then | |
| 220 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef)) | |
| 221 | else | |
| 222 | ef = Power * 10 | |
| 223 | Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10) | |
| 224 | end | |
| 225 | end | |
| 226 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 227 | FV:Destroy() | |
| 228 | end)) | |
| 229 | CameraShake(Times, Power, Noob) | |
| 230 | end | |
| 231 | end | |
| 232 | end | |
| 233 | end | |
| 234 | end | |
| 235 | end | |
| 236 | end | |
| 237 | function chatfunc(text, color) | |
| 238 | local chat = coroutine.wrap(function() | |
| 239 | if Character:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 240 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 241 | end | |
| 242 | local naeeym2 = Instance.new("BillboardGui", Character)
| |
| 243 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
| 244 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
| 245 | naeeym2.Adornee = Character.Head | |
| 246 | naeeym2.Name = "TalkingBillBoard" | |
| 247 | local tecks2 = Instance.new("TextLabel", naeeym2)
| |
| 248 | tecks2.BackgroundTransparency = 1 | |
| 249 | tecks2.BorderSizePixel = 0 | |
| 250 | tecks2.Text = "" | |
| 251 | tecks2.Font = "SciFi" | |
| 252 | tecks2.TextSize = 30 | |
| 253 | tecks2.TextStrokeTransparency = 0 | |
| 254 | tecks2.TextColor3 = color | |
| 255 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
| 256 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
| 257 | local tecks3 = Instance.new("TextLabel", naeeym2)
| |
| 258 | tecks3.BackgroundTransparency = 1 | |
| 259 | tecks3.BorderSizePixel = 0 | |
| 260 | tecks3.Text = "" | |
| 261 | tecks3.Font = "SciFi" | |
| 262 | tecks3.TextSize = 30 | |
| 263 | tecks3.TextStrokeTransparency = 0 | |
| 264 | tecks3.TextColor3 = Color3.new(0, 0, 0) | |
| 265 | tecks3.TextStrokeColor3 = color | |
| 266 | tecks3.Size = UDim2.new(1, 0, 0.5, 0) | |
| 267 | coroutine.resume(coroutine.create(function() | |
| 268 | while true do | |
| 269 | swait(1) | |
| 270 | if chaosmode == true then | |
| 271 | tecks2.TextColor3 = BrickColor.random().Color | |
| 272 | tecks3.TextStrokeColor3 = BrickColor.random().Color | |
| 273 | end | |
| 274 | tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 275 | tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5)) | |
| 276 | tecks2.Rotation = math.random(-5, 5) | |
| 277 | tecks3.Rotation = math.random(-5, 5) | |
| 278 | end | |
| 279 | end)) | |
| 280 | for i = 1, string.len(text) do | |
| 281 | CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
| |
| 282 | tecks2.Text = string.sub(text, 1, i) | |
| 283 | tecks3.Text = string.sub(text, 1, i) | |
| 284 | swait(1) | |
| 285 | end | |
| 286 | wait(1) | |
| 287 | local randomrot = math.random(1, 2) | |
| 288 | if randomrot == 1 then | |
| 289 | for i = 1, 50 do | |
| 290 | swait() | |
| 291 | tecks2.Rotation = tecks2.Rotation - 0.75 | |
| 292 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 293 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 294 | tecks3.Rotation = tecks2.Rotation + 0.75 | |
| 295 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 296 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 297 | end | |
| 298 | elseif randomrot == 2 then | |
| 299 | for i = 1, 50 do | |
| 300 | swait() | |
| 301 | tecks2.Rotation = tecks2.Rotation + 0.75 | |
| 302 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 303 | tecks2.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 304 | tecks3.Rotation = tecks2.Rotation - 0.75 | |
| 305 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04 | |
| 306 | tecks3.TextTransparency = tecks2.TextTransparency + 0.04 | |
| 307 | end | |
| 308 | end | |
| 309 | naeeym2:Destroy() | |
| 310 | end) | |
| 311 | chat() | |
| 312 | end | |
| 313 | local Create = LoadLibrary("RbxUtility").Create
| |
| 314 | CFuncs = {
| |
| 315 | Part = {
| |
| 316 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 317 | local Part = Create("Part")({
| |
| 318 | Parent = Parent, | |
| 319 | Reflectance = Reflectance, | |
| 320 | Transparency = Transparency, | |
| 321 | CanCollide = false, | |
| 322 | Locked = true, | |
| 323 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 324 | Name = Name, | |
| 325 | Size = Size, | |
| 326 | Material = Material | |
| 327 | }) | |
| 328 | RemoveOutlines(Part) | |
| 329 | return Part | |
| 330 | end | |
| 331 | }, | |
| 332 | Mesh = {
| |
| 333 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 334 | local Msh = Create(Mesh)({
| |
| 335 | Parent = Part, | |
| 336 | Offset = OffSet, | |
| 337 | Scale = Scale | |
| 338 | }) | |
| 339 | if Mesh == "SpecialMesh" then | |
| 340 | Msh.MeshType = MeshType | |
| 341 | Msh.MeshId = MeshId | |
| 342 | end | |
| 343 | return Msh | |
| 344 | end | |
| 345 | }, | |
| 346 | Mesh = {
| |
| 347 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 348 | local Msh = Create(Mesh)({
| |
| 349 | Parent = Part, | |
| 350 | Offset = OffSet, | |
| 351 | Scale = Scale | |
| 352 | }) | |
| 353 | if Mesh == "SpecialMesh" then | |
| 354 | Msh.MeshType = MeshType | |
| 355 | Msh.MeshId = MeshId | |
| 356 | end | |
| 357 | return Msh | |
| 358 | end | |
| 359 | }, | |
| 360 | Weld = {
| |
| 361 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 362 | local Weld = Create("Weld")({
| |
| 363 | Parent = Parent, | |
| 364 | Part0 = Part0, | |
| 365 | Part1 = Part1, | |
| 366 | C0 = C0, | |
| 367 | C1 = C1 | |
| 368 | }) | |
| 369 | return Weld | |
| 370 | end | |
| 371 | }, | |
| 372 | Sound = {
| |
| 373 | Create = function(id, par, vol, pit) | |
| 374 | coroutine.resume(coroutine.create(function() | |
| 375 | local S = Create("Sound")({
| |
| 376 | Volume = vol, | |
| 377 | Pitch = pit or 1, | |
| 378 | SoundId = id, | |
| 379 | Parent = par or workspace | |
| 380 | }) | |
| 381 | wait() | |
| 382 | S:play() | |
| 383 | game:GetService("Debris"):AddItem(S, 10)
| |
| 384 | end)) | |
| 385 | end | |
| 386 | }, | |
| 387 | LongSound = {
| |
| 388 | Create = function(id, par, vol, pit) | |
| 389 | coroutine.resume(coroutine.create(function() | |
| 390 | local S = Create("Sound")({
| |
| 391 | Volume = vol, | |
| 392 | Pitch = pit or 1, | |
| 393 | SoundId = id, | |
| 394 | Parent = par or workspace | |
| 395 | }) | |
| 396 | wait() | |
| 397 | S:play() | |
| 398 | game:GetService("Debris"):AddItem(S, 30)
| |
| 399 | end)) | |
| 400 | end | |
| 401 | }, | |
| 402 | ParticleEmitter = {
| |
| 403 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 404 | local fp = Create("ParticleEmitter")({
| |
| 405 | Parent = Parent, | |
| 406 | Color = ColorSequence.new(Color1, Color2), | |
| 407 | LightEmission = LightEmission, | |
| 408 | Size = Size, | |
| 409 | Texture = Texture, | |
| 410 | Transparency = Transparency, | |
| 411 | ZOffset = ZOffset, | |
| 412 | Acceleration = Accel, | |
| 413 | Drag = Drag, | |
| 414 | LockedToPart = LockedToPart, | |
| 415 | VelocityInheritance = VelocityInheritance, | |
| 416 | EmissionDirection = EmissionDirection, | |
| 417 | Enabled = Enabled, | |
| 418 | Lifetime = LifeTime, | |
| 419 | Rate = Rate, | |
| 420 | Rotation = Rotation, | |
| 421 | RotSpeed = RotSpeed, | |
| 422 | Speed = Speed, | |
| 423 | VelocitySpread = VelocitySpread | |
| 424 | }) | |
| 425 | return fp | |
| 426 | end | |
| 427 | }, | |
| 428 | CreateTemplate = {}
| |
| 429 | } | |
| 430 | function New(Object, Parent, Name, Data) | |
| 431 | local Object = Instance.new(Object) | |
| 432 | for Index, Value in pairs(Data or {}) do
| |
| 433 | Object[Index] = Value | |
| 434 | end | |
| 435 | Object.Parent = Parent | |
| 436 | Object.Name = Name | |
| 437 | return Object | |
| 438 | end | |
| 439 | local halocolor = BrickColor.new("Pastel light blue")
| |
| 440 | local halocolor2 = BrickColor.new("Really black")
| |
| 441 | local starcolor = BrickColor.new("Really black")
| |
| 442 | local lunacolor = BrickColor.new("Navy blue")
| |
| 443 | local lunacolor2 = BrickColor.new("Bright blue")
| |
| 444 | local wepcolor = BrickColor.new("Really black")
| |
| 445 | local maincolor = BrickColor.new("Really black")
| |
| 446 | local m = Instance.new("Model", char)
| |
| 447 | m.Name = "wing and hand" | |
| 448 | local m2 = Instance.new("Model", char)
| |
| 449 | m2.Name = "right and left hand" | |
| 450 | local m3 = Instance.new("Model", char)
| |
| 451 | - | extrawingmod1.Name = "extar_wing 1" |
| 451 | + | |
| 452 | local mw1 = Instance.new("Model", char)
| |
| 453 | - | extrawingmod2.Name = "extar_wing 2" |
| 453 | + | |
| 454 | local mw2 = Instance.new("Model", char)
| |
| 455 | - | extrawingmod3.Name = "extar_wing 3" |
| 455 | + | |
| 456 | local extrawingmod1 = Instance.new("Model", char)
| |
| 457 | - | extrawingmod4.Name = "extar_wing 4" |
| 457 | + | extrawingmod1.Name = "extara_wing 1" |
| 458 | local extrawingmod2 = Instance.new("Model", char)
| |
| 459 | - | extrawingmod5.Name = "extar_wing 5" |
| 459 | + | extrawingmod2.Name = "extara_wing 2" |
| 460 | local extrawingmod3 = Instance.new("Model", char)
| |
| 461 | - | extrawingmod5.Name = "extar_wing 6" |
| 461 | + | extrawingmod3.Name = "extara_wing 3" |
| 462 | local extrawingmod4 = Instance.new("Model", char)
| |
| 463 | extrawingmod4.Name = "extara_wing 4" | |
| 464 | local extrawingmod5 = Instance.new("Model",char)
| |
| 465 | extrawingmod5.Name = "extara_wing 5" | |
| 466 | local extrawingmod6 = Instance.new("Model",char)
| |
| 467 | extrawingmod5.Name = "extara_wing 6" | |
| 468 | function CreateParta(parent, transparency, reflectance, material, brickcolor) | |
| 469 | local p = Instance.new("Part")
| |
| 470 | p.TopSurface = 0 | |
| 471 | p.BottomSurface = 0 | |
| 472 | p.Parent = parent | |
| 473 | p.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 474 | p.Transparency = transparency | |
| 475 | p.Reflectance = reflectance | |
| 476 | p.CanCollide = false | |
| 477 | p.Locked = true | |
| 478 | p.BrickColor = brickcolor | |
| 479 | p.Material = material | |
| 480 | return p | |
| 481 | end | |
| 482 | function CreateMesh(parent, meshtype, x1, y1, z1) | |
| 483 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 484 | mesh.MeshType = meshtype | |
| 485 | mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10) | |
| 486 | return mesh | |
| 487 | end | |
| 488 | function CreateSpecialMesh(parent, meshid, x1, y1, z1) | |
| 489 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 490 | mesh.MeshType = "FileMesh" | |
| 491 | mesh.MeshId = meshid | |
| 492 | mesh.Scale = Vector3.new(x1, y1, z1) | |
| 493 | return mesh | |
| 494 | end | |
| 495 | function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1) | |
| 496 | local mesh = Instance.new("SpecialMesh", parent)
| |
| 497 | mesh.MeshType = "FileMesh" | |
| 498 | mesh.MeshId = meshid | |
| 499 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
| 500 | mesh.Scale = Vector3.new(x1, y1, z1) | |
| 501 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
| 502 | return mesh | |
| 503 | end | |
| 504 | function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za) | |
| 505 | local weld = Instance.new("Weld")
| |
| 506 | weld.Parent = parent | |
| 507 | weld.Part0 = part0 | |
| 508 | weld.Part1 = part1 | |
| 509 | weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za) | |
| 510 | weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za) | |
| 511 | return weld | |
| 512 | end | |
| 513 | local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor) | |
| 514 | CreateMesh(handle, "Brick", 0, 0, 0) | |
| 515 | 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)) | |
| 516 | local valuaring = 10 | |
| 517 | for i = 0, 49 do | |
| 518 | valuaring = valuaring + 10 | |
| 519 | rn = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 520 | CreateMesh(rn, "Brick", 0.25, 0.1, 0.1) | |
| 521 | 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)) | |
| 522 | end | |
| 523 | local handle = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 524 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 525 | 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)) | |
| 526 | local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 527 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 528 | 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)) | |
| 529 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 530 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 531 | 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)) | |
| 532 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 533 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 534 | 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)) | |
| 535 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 536 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 537 | 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)) | |
| 538 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 539 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 540 | 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)) | |
| 541 | local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 542 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 543 | 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)) | |
| 544 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 545 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 546 | 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)) | |
| 547 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 548 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 549 | 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)) | |
| 550 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 551 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 552 | - | 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)) |
| 552 | + | |
| 553 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 554 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 555 | 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)) | |
| 556 | local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 557 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 558 | local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.5, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 559 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 560 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 561 | 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)) | |
| 562 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 563 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 564 | 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)) | |
| 565 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 566 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 567 | - | 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)) |
| 567 | + | |
| 568 | wed = CreateParta(mw1, 0, 0, "Neon", halocolor) | |
| 569 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 570 | 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)) | |
| 571 | local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 572 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 573 | local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 574 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 575 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 576 | 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)) | |
| 577 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 578 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 579 | 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)) | |
| 580 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 581 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 582 | - | 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)) |
| 582 | + | |
| 583 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 584 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 585 | 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)) | |
| 586 | local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 587 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 588 | local lwing5weld = CreateWeld(lwing5, handle, lwing5, 5.5, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 589 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 590 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 591 | 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)) | |
| 592 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 593 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 594 | 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)) | |
| 595 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 596 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 597 | - | 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)) |
| 597 | + | |
| 598 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 599 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 600 | 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)) | |
| 601 | local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 602 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 603 | local lwing6weld = CreateWeld(lwing6, handle, lwing6, 6, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 604 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 605 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 606 | 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)) | |
| 607 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 608 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 609 | 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)) | |
| 610 | wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor) | |
| 611 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 612 | 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)) | |
| 613 | - | local lwing7weld = CreateWeld(lwing7, handle, lwing7, 8.75, 6, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 613 | + | |
| 614 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 615 | 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)) | |
| 616 | --edit left wing here -- | |
| 617 | local lwing7 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 618 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 619 | local lwing7weld = CreateWeld(lwing7, handle, lwing7, 6.5, 6, 0, math.rad(35), math.rad(0), math.rad(87.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 620 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 621 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 622 | CreateWeld(wed, lwing7, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 624 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 625 | CreateWeld(wed, lwing7, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 627 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 628 | - | local lwing8weld = CreateWeld(lwing8, handle, lwing8, 9.75, 7, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 628 | + | |
| 629 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 630 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 631 | CreateWeld(wed, lwing7, 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 | local lwing8 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 633 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 634 | local lwing8weld = CreateWeld(lwing8, handle, lwing8, 7, 7, 0, math.rad(40), math.rad(0), math.rad(100), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 635 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 636 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 637 | CreateWeld(wed, lwing8, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 639 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 640 | CreateWeld(wed, lwing8, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 642 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 643 | - | local lwing9weld = CreateWeld(lwing9, handle, lwing9, 10.75, 8, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 643 | + | |
| 644 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 645 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 646 | CreateWeld(wed, lwing8, 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 lwing9 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 648 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 649 | local lwing9weld = CreateWeld(lwing9, handle, lwing9, 7.5, 8, 0, math.rad(45), math.rad(0), math.rad(112.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 650 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 651 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 652 | CreateWeld(wed, lwing9, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 654 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 655 | CreateWeld(wed, lwing9, 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 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 657 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 658 | - | --local lwing10weld = CreateWeld(lwing10, handle, lwing10, 11.75, 9, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 658 | + | |
| 659 | wed = CreateParta(extrawingmod3, 0, 0, "Neon", halocolor) | |
| 660 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 661 | CreateWeld(wed, lwing9, 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 lwing10 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 663 | --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 664 | --local lwing10weld = CreateWeld(lwing10, handle, lwing10, 8, 9, 0, math.rad(50), math.rad(0), math.rad(125), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 665 | --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor) | |
| 666 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 667 | --CreateWeld(wed, lwing10, 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(extrawingmod5, 0, 0, "Neon", halocolor) | |
| 669 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 670 | --CreateWeld(wed, lwing10, 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 | --wed = CreateParta(extrawingmod5, 0, 0, "Neon", halocolor) | |
| 672 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 673 | --CreateWeld(wed, lwing10, 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(extrawingmod5, 0, 0, "Neon", halocolor) | |
| 675 | --CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 676 | --CreateWeld(wed, lwing10, 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 | --end of edit wing left-- | |
| 678 | local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 679 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 680 | 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)) | |
| 681 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 682 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 683 | 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)) | |
| 684 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 685 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 686 | 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)) | |
| 687 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 688 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 689 | 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)) | |
| 690 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 691 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 692 | 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)) | |
| 693 | local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 694 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 695 | 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)) | |
| 696 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 697 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 698 | 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)) | |
| 699 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 700 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 701 | 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)) | |
| 702 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 703 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 704 | - | 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)) |
| 704 | + | |
| 705 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 706 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 707 | 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)) | |
| 708 | local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 709 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 710 | local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.5, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 711 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 712 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 713 | 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)) | |
| 714 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 715 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 716 | 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)) | |
| 717 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 718 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 719 | - | 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)) |
| 719 | + | |
| 720 | wed = CreateParta(mw2, 0, 0, "Neon", halocolor) | |
| 721 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 722 | 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)) | |
| 723 | local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 724 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 725 | local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 726 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 727 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 728 | 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)) | |
| 729 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 730 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 731 | 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)) | |
| 732 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 733 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 734 | - | 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)) |
| 734 | + | |
| 735 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 736 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 737 | 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)) | |
| 738 | local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 739 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 740 | local rwing5weld = CreateWeld(rwing5, handle, rwing5, -5.5, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 741 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 742 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 743 | 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)) | |
| 744 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 745 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 746 | 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)) | |
| 747 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 748 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 749 | - | 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)) |
| 749 | + | |
| 750 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 751 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 752 | 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)) | |
| 753 | local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 754 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 755 | local rwing6weld = CreateWeld(rwing6, handle, rwing6, -6, 5, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 756 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 757 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 758 | 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)) | |
| 759 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 760 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 761 | 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)) | |
| 762 | wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor) | |
| 763 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 764 | 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)) | |
| 765 | - | local rwing7weld = CreateWeld(rwing7, handle, rwing7, -8.75, 3, 0, math.rad(35), math.rad(0), math.rad(-87.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 765 | + | |
| 766 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 767 | 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)) | |
| 768 | --start of edit right wing-- | |
| 769 | local rwing7 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 770 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 771 | local rwing7weld = CreateWeld(rwing7, handle, rwing7, -6.5, 6, 0, math.rad(35), math.rad(0), math.rad(-87.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 772 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 773 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 774 | CreateWeld(wed, rwing7, 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)) | |
| 775 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 776 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 777 | CreateWeld(wed, rwing7, 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)) | |
| 778 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 779 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 780 | - | local rwing8weld = CreateWeld(rwing8, handle, rwing8, -9.75, 4, 0, math.rad(40), math.rad(0), math.rad(-100), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 780 | + | |
| 781 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 782 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 783 | CreateWeld(wed, rwing7, 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)) | |
| 784 | local rwing8 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 785 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 786 | local rwing8weld = CreateWeld(rwing8, handle, rwing8, -7, 7, 0, math.rad(40), math.rad(0), math.rad(-100), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 787 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 788 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 789 | CreateWeld(wed, rwing8, 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)) | |
| 790 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 791 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 792 | CreateWeld(wed, rwing8, 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)) | |
| 793 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 794 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 795 | - | local rwing9weld = CreateWeld(rwing9, handle, rwing9, -10.75, 3, 0, math.rad(45), math.rad(0), math.rad(-112), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 795 | + | |
| 796 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 797 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 798 | CreateWeld(wed, rwing8, 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)) | |
| 799 | local rwing9 = CreateParta(m, 1, 1, "Neon", maincolor) | |
| 800 | CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 801 | local rwing9weld = CreateWeld(rwing9, handle, rwing9, -7.5, 8, 0, math.rad(45), math.rad(0), math.rad(-112.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 802 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 803 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 804 | CreateWeld(wed, rwing9, 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)) | |
| 805 | wed = CreateParta(extrawingmod4, 0, 0, "Neon", halocolor) | |
| 806 | CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 807 | CreateWeld(wed, rwing9, 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)) | |
| 808 | - | local rwing10 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 808 | + | |
| 809 | CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 810 | - | local rwing10weld = CreateWeld(rwing10, handle, rwing10, -11.75, 3, 0, math.rad(50), math.rad(0), math.rad(-124.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) |
| 810 | + | |
| 811 | - | wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) |
| 811 | + | |
| 812 | CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 813 | CreateWeld(wed, rwing9, 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)) | |
| 814 | - | wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) |
| 814 | + | --local rwing10 = CreateParta(m, 1, 1, "Neon", maincolor) |
| 815 | --CreateMesh(handle, "Brick", 0.5, 0.5, 0.5) | |
| 816 | --local rwing10weld = CreateWeld(rwing10, handle, rwing10, -8, 9, 0, math.rad(50), math.rad(0), math.rad(-125), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0)) | |
| 817 | --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) | |
| 818 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 819 | --CreateWeld(wed, rwing9, 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)) | |
| 820 | --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) | |
| 821 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5) | |
| 822 | --CreateWeld(wed, rwing9, 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)) | |
| 823 | --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) | |
| 824 | --CreateMesh(wed, "Wedge", 0.05, 0.5, 3) | |
| 825 | --CreateWeld(wed, rwing10, 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)) | |
| 826 | --wed = CreateParta(extrawingmod6, 0, 0, "Neon", halocolor) | |
| 827 | --CreateMesh(wed, "Wedge", 0.05, 3, 0.5) | |
| 828 | --CreateWeld(wed, rwing10, 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)) | |
| 829 | --end of edit right wing-- | |
| 830 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
| 831 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
| 832 | 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)) | |
| 833 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 834 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
| 835 | 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)) | |
| 836 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 837 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
| 838 | 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)) | |
| 839 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 840 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 841 | 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)) | |
| 842 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 843 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 844 | 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)) | |
| 845 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 846 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 847 | 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)) | |
| 848 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 849 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 850 | 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)) | |
| 851 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
| 852 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
| 853 | 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)) | |
| 854 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 855 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
| 856 | 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)) | |
| 857 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
| 858 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
| 859 | 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)) | |
| 860 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 861 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 862 | 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)) | |
| 863 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 864 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 865 | 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)) | |
| 866 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 867 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 868 | 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)) | |
| 869 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 870 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 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 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 873 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 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 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 876 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 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 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 879 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 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 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 882 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 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 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 885 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 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 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 888 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 889 | 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)) | |
| 890 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 891 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 892 | 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)) | |
| 893 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 894 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 895 | 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)) | |
| 896 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 897 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 898 | 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)) | |
| 899 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 900 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 901 | 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)) | |
| 902 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 903 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 904 | 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)) | |
| 905 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 906 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 907 | 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)) | |
| 908 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 909 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 910 | 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)) | |
| 911 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 912 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 913 | 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)) | |
| 914 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 915 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 916 | 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)) | |
| 917 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 918 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 919 | 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)) | |
| 920 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 921 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 922 | 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)) | |
| 923 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 924 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 925 | 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)) | |
| 926 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 927 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 928 | 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)) | |
| 929 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 930 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 931 | 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)) | |
| 932 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 933 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 934 | 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)) | |
| 935 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 936 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 937 | 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)) | |
| 938 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 939 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 940 | 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)) | |
| 941 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 942 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 943 | 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)) | |
| 944 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 945 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 946 | 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)) | |
| 947 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 948 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 949 | 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)) | |
| 950 | ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor) | |
| 951 | CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02) | |
| 952 | 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)) | |
| 953 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 954 | CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025) | |
| 955 | 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)) | |
| 956 | ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 957 | CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9) | |
| 958 | 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)) | |
| 959 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 960 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 961 | 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)) | |
| 962 | gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 963 | CreateMesh(gan, "Brick", 1.075, 0.1, 1.075) | |
| 964 | 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)) | |
| 965 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 966 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 967 | 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)) | |
| 968 | gan = CreateParta(m2, 0, 0, "Neon", halocolor2) | |
| 969 | CreateMesh(gan, "Brick", 1.095, 0.035, 1.095) | |
| 970 | 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)) | |
| 971 | gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2) | |
| 972 | CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625) | |
| 973 | 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)) | |
| 974 | star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 975 | CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5) | |
| 976 | 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)) | |
| 977 | starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor) | |
| 978 | CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95) | |
| 979 | 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)) | |
| 980 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 981 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 982 | 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)) | |
| 983 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 984 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 985 | 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)) | |
| 986 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 987 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 988 | 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)) | |
| 989 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 990 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 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 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 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 | 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 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 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 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1002 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 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 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 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 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1008 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1009 | 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)) | |
| 1010 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1011 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1012 | 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)) | |
| 1013 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1014 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1015 | 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)) | |
| 1016 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1017 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1018 | 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)) | |
| 1019 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1020 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1021 | 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)) | |
| 1022 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1023 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1024 | 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)) | |
| 1025 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1026 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1027 | 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)) | |
| 1028 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1029 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1030 | 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)) | |
| 1031 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1032 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1033 | 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)) | |
| 1034 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1035 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1036 | 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)) | |
| 1037 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1038 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1039 | 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)) | |
| 1040 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1041 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1042 | 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)) | |
| 1043 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1044 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1045 | 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)) | |
| 1046 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1047 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1048 | 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)) | |
| 1049 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1050 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1051 | 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)) | |
| 1052 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1053 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1054 | 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)) | |
| 1055 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1056 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1057 | 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)) | |
| 1058 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1059 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1060 | 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)) | |
| 1061 | dotsec = CreateParta(m3, 0, 0, "Neon", halocolor) | |
| 1062 | CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15) | |
| 1063 | 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)) | |
| 1064 | dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor) | |
| 1065 | CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1) | |
| 1066 | 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)) | |
| 1067 | dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor) | |
| 1068 | CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125) | |
| 1069 | 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)) | |
| 1070 | for i, v in pairs(m:GetChildren()) do | |
| 1071 | if v:IsA("Part") then
| |
| 1072 | v.BrickColor = BrickColor.new("Really black")
| |
| 1073 | v.Material = "Glass" | |
| 1074 | end | |
| 1075 | end | |
| 1076 | for i, v in pairs(m2:GetChildren()) do | |
| 1077 | if v:IsA("Part") then
| |
| 1078 | v.BrickColor = BrickColor.new("Crimson")
| |
| 1079 | v.Material = "Granite" | |
| 1080 | end | |
| 1081 | end | |
| 1082 | for i, v in pairs(m3:GetChildren()) do | |
| 1083 | if v:IsA("Part") then
| |
| 1084 | v.BrickColor = BrickColor.new("Really red")
| |
| 1085 | v.Material = "Neon" | |
| 1086 | end | |
| 1087 | end | |
| 1088 | for i, v in pairs(mw2:GetChildren()) do | |
| 1089 | if v:IsA("Part") then
| |
| 1090 | v.BrickColor = BrickColor.new("Really red")
| |
| 1091 | v.Material = "Neon" | |
| 1092 | end | |
| 1093 | end | |
| 1094 | for i, v in pairs(mw1:GetChildren()) do | |
| 1095 | if v:IsA("Part") then
| |
| 1096 | v.Transparency = 0 | |
| 1097 | v.BrickColor = BrickColor.new("Really red")
| |
| 1098 | v.Material = "Neon" | |
| 1099 | end | |
| 1100 | end | |
| 1101 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 1102 | if v:IsA("Part") then
| |
| 1103 | v.Transparency = 0 | |
| 1104 | v.BrickColor = BrickColor.new("Really red")
| |
| 1105 | v.Material = "Neon" | |
| 1106 | end | |
| 1107 | end | |
| 1108 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 1109 | if v:IsA("Part") then
| |
| 1110 | v.Transparency = 0 | |
| 1111 | v.BrickColor = BrickColor.new("Really red")
| |
| 1112 | v.Material = "Neon" | |
| 1113 | end | |
| 1114 | end | |
| 1115 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 1116 | if v:IsA("Part") then
| |
| 1117 | v.Transparency = 0 | |
| 1118 | v.BrickColor = BrickColor.new("Really red")
| |
| 1119 | v.Material = "Neon" | |
| 1120 | end | |
| 1121 | end | |
| 1122 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 1123 | if v:IsA("Part") then
| |
| 1124 | v.Transparency = 0 | |
| 1125 | v.BrickColor = BrickColor.new("Really red")
| |
| 1126 | v.Material = "Neon" | |
| 1127 | end | |
| 1128 | end | |
| 1129 | for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 1130 | if v:IsA("Part") then
| |
| 1131 | v.Transparency = 0 | |
| 1132 | v.BrickColor = BrickColor.new("Really red")
| |
| 1133 | v.Material = "Neon" | |
| 1134 | end | |
| 1135 | end | |
| 1136 | for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 1137 | if v:IsA("Part") then
| |
| 1138 | v.Transparency = 0 | |
| 1139 | v.BrickColor = BrickColor.new("Really red")
| |
| 1140 | v.Material = "Neon" | |
| 1141 | end | |
| 1142 | end | |
| 1143 | 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),})
| |
| 1144 | Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 1145 | 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),})
| |
| 1146 | FHead.CanCollide = false | |
| 1147 | ||
| 1148 | ||
| 1149 | ||
| 1150 | local MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 1151 | function RemoveOutlines(part) | |
| 1152 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1153 | end | |
| 1154 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 1155 | local Part = Create("Part")({
| |
| 1156 | Parent = Parent, | |
| 1157 | Reflectance = Reflectance, | |
| 1158 | Transparency = Transparency, | |
| 1159 | CanCollide = false, | |
| 1160 | Locked = true, | |
| 1161 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 1162 | Name = Name, | |
| 1163 | Size = Size, | |
| 1164 | Material = Material | |
| 1165 | }) | |
| 1166 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 1167 | RemoveOutlines(Part) | |
| 1168 | return Part | |
| 1169 | end | |
| 1170 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 1171 | local Msh = Create(Mesh)({
| |
| 1172 | Parent = Part, | |
| 1173 | Offset = OffSet, | |
| 1174 | Scale = Scale | |
| 1175 | }) | |
| 1176 | if Mesh == "SpecialMesh" then | |
| 1177 | Msh.MeshType = MeshType | |
| 1178 | Msh.MeshId = MeshId | |
| 1179 | end | |
| 1180 | return Msh | |
| 1181 | end | |
| 1182 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 1183 | local Weld = Create("Weld")({
| |
| 1184 | Parent = Parent, | |
| 1185 | Part0 = Part0, | |
| 1186 | Part1 = Part1, | |
| 1187 | C0 = C0, | |
| 1188 | C1 = C1 | |
| 1189 | }) | |
| 1190 | return Weld | |
| 1191 | end | |
| 1192 | Player = owner | |
| 1193 | Character = Player.Character | |
| 1194 | PlayerGui = Player.PlayerGui | |
| 1195 | Backpack = Player.Backpack | |
| 1196 | Torso = Character.Torso | |
| 1197 | Head = Character.Head | |
| 1198 | Humanoid = Character.Humanoid | |
| 1199 | m = Instance.new("Model", Character)
| |
| 1200 | LeftArm = Character["Left Arm"] | |
| 1201 | LeftLeg = Character["Left Leg"] | |
| 1202 | RightArm = Character["Right Arm"] | |
| 1203 | RightLeg = Character["Right Leg"] | |
| 1204 | LS = Torso["Left Shoulder"] | |
| 1205 | LH = Torso["Left Hip"] | |
| 1206 | RS = Torso["Right Shoulder"] | |
| 1207 | RH = Torso["Right Hip"] | |
| 1208 | Face = Head.face | |
| 1209 | Neck = Torso.Neck | |
| 1210 | it = Instance.new | |
| 1211 | attacktype = 1 | |
| 1212 | vt = Vector3.new | |
| 1213 | cf = CFrame.new | |
| 1214 | euler = CFrame.fromEulerAnglesXYZ | |
| 1215 | angles = CFrame.Angles | |
| 1216 | cloaked = false | |
| 1217 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1218 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 1219 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1220 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 1221 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1222 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1223 | RootPart = Character.HumanoidRootPart | |
| 1224 | RootJoint = RootPart.RootJoint | |
| 1225 | RootCF = euler(-1.57, 0, 3.14) | |
| 1226 | attack = false | |
| 1227 | attackdebounce = false | |
| 1228 | deb = false | |
| 1229 | equipped = true | |
| 1230 | hand = false | |
| 1231 | MMouse = nil | |
| 1232 | combo = 0 | |
| 1233 | mana = 0 | |
| 1234 | trispeed = 0.2 | |
| 1235 | attackmode = "none" | |
| 1236 | local idle = 0 | |
| 1237 | local Anim = "Idle" | |
| 1238 | local Effects = {}
| |
| 1239 | local gun = false | |
| 1240 | local shoot = false | |
| 1241 | local sine = 0 | |
| 1242 | local change = 1 | |
| 1243 | player = nil | |
| 1244 | local toggleTag = true | |
| 1245 | local txt = Instance.new("BillboardGui", Head)
| |
| 1246 | txt.Adornee = nil | |
| 1247 | txt.Name = "NameDetect" | |
| 1248 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
| 1249 | txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0) | |
| 1250 | local text = Instance.new("TextLabel", txt)
| |
| 1251 | text.Size = UDim2.new(5, 0, 3.5, 0) | |
| 1252 | text.FontSize = "Size8" | |
| 1253 | text.TextScaled = true | |
| 1254 | text.TextTransparency = 0 | |
| 1255 | text.BackgroundTransparency = 1 | |
| 1256 | text.TextTransparency = 0 | |
| 1257 | text.TextStrokeTransparency = 0 | |
| 1258 | text.Font = "Fantasy" | |
| 1259 | text.TextStrokeColor3 = Color3.new(1, 0, 0) | |
| 1260 | text.TextColor3 = Color3.new(0, 0, 0) | |
| 1261 | text.Text = "Blaze" | |
| 1262 | function RecolorTextAndRename(name, col1, col2) | |
| 1263 | text.TextStrokeColor3 = col2 | |
| 1264 | text.TextColor3 = col1 | |
| 1265 | text.Text = name | |
| 1266 | end | |
| 1267 | --mouse = Player:GetMouse() | |
| 1268 | RSH, LSH = nil, nil | |
| 1269 | RW, LW = Instance.new("Weld"), Instance.new("Weld")
| |
| 1270 | RW.Name = "Right Shoulder" | |
| 1271 | LW.Name = "Left Shoulder" | |
| 1272 | LH = Torso["Left Hip"] | |
| 1273 | RH = Torso["Right Hip"] | |
| 1274 | TorsoColor = Torso.BrickColor | |
| 1275 | function NoOutline(Part) | |
| 1276 | Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 1277 | end | |
| 1278 | player = Player | |
| 1279 | ch = Character | |
| 1280 | RSH = ch.Torso["Right Shoulder"] | |
| 1281 | LSH = ch.Torso["Left Shoulder"] | |
| 1282 | RSH.Parent = nil | |
| 1283 | LSH.Parent = nil | |
| 1284 | RW.Name = "Right Shoulder" | |
| 1285 | RW.Part0 = ch.Torso | |
| 1286 | RW.C0 = cf(1.5, 0.5, 0) | |
| 1287 | RW.C1 = cf(0, 0.5, 0) | |
| 1288 | RW.Part1 = ch["Right Arm"] | |
| 1289 | RW.Parent = ch.Torso | |
| 1290 | LW.Name = "Left Shoulder" | |
| 1291 | LW.Part0 = ch.Torso | |
| 1292 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 1293 | LW.C1 = cf(0, 0.5, 0) | |
| 1294 | LW.Part1 = ch["Left Arm"] | |
| 1295 | LW.Parent = ch.Torso | |
| 1296 | local Stats = Instance.new("BoolValue")
| |
| 1297 | Stats.Name = "Stats" | |
| 1298 | Stats.Parent = Character | |
| 1299 | local Atk = Instance.new("NumberValue")
| |
| 1300 | Atk.Name = "Damage" | |
| 1301 | Atk.Parent = Stats | |
| 1302 | Atk.Value = 1 | |
| 1303 | local Def = Instance.new("NumberValue")
| |
| 1304 | Def.Name = "Defense" | |
| 1305 | Def.Parent = Stats | |
| 1306 | Def.Value = 1 | |
| 1307 | local Speed = Instance.new("NumberValue")
| |
| 1308 | Speed.Name = "Speed" | |
| 1309 | Speed.Parent = Stats | |
| 1310 | Speed.Value = 1 | |
| 1311 | local Mvmt = Instance.new("NumberValue")
| |
| 1312 | Mvmt.Name = "Movement" | |
| 1313 | Mvmt.Parent = Stats | |
| 1314 | Mvmt.Value = 1 | |
| 1315 | local donum = 0 | |
| 1316 | function part(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
| 1317 | local fp = it("Part")
| |
| 1318 | fp.formFactor = formfactor | |
| 1319 | fp.Parent = parent | |
| 1320 | fp.Reflectance = reflectance | |
| 1321 | fp.Transparency = transparency | |
| 1322 | fp.CanCollide = false | |
| 1323 | fp.Locked = true | |
| 1324 | fp.BrickColor = brickcolor | |
| 1325 | fp.Name = name | |
| 1326 | fp.Size = size | |
| 1327 | fp.Position = Torso.Position | |
| 1328 | NoOutline(fp) | |
| 1329 | fp.Material = "SmoothPlastic" | |
| 1330 | fp:BreakJoints() | |
| 1331 | return fp | |
| 1332 | end | |
| 1333 | function mesh(Mesh, part, meshtype, meshid, offset, scale) | |
| 1334 | local mesh = it(Mesh) | |
| 1335 | mesh.Parent = part | |
| 1336 | if Mesh == "SpecialMesh" then | |
| 1337 | mesh.MeshType = meshtype | |
| 1338 | if meshid ~= "nil" then | |
| 1339 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
| 1340 | end | |
| 1341 | end | |
| 1342 | mesh.Offset = offset | |
| 1343 | mesh.Scale = scale | |
| 1344 | return mesh | |
| 1345 | end | |
| 1346 | function weld(parent, part0, part1, c0) | |
| 1347 | local weld = it("Weld")
| |
| 1348 | weld.Parent = parent | |
| 1349 | weld.Part0 = part0 | |
| 1350 | weld.Part1 = part1 | |
| 1351 | weld.C0 = c0 | |
| 1352 | return weld | |
| 1353 | end | |
| 1354 | local Color1 = Torso.BrickColor | |
| 1355 | local bodvel = Instance.new("BodyVelocity")
| |
| 1356 | local bg = Instance.new("BodyGyro")
| |
| 1357 | function swait(num) | |
| 1358 | if num == 0 or num == nil then | |
| 1359 | game:service("RunService").Stepped:wait(0)
| |
| 1360 | else | |
| 1361 | for i = 0, num do | |
| 1362 | game:service("RunService").Stepped:wait(0)
| |
| 1363 | end | |
| 1364 | end | |
| 1365 | end | |
| 1366 | local r = 255 | |
| 1367 | local g = 0 | |
| 1368 | local b = 0 | |
| 1369 | coroutine.resume(coroutine.create(function() | |
| 1370 | while wait() do | |
| 1371 | for i = 0, 50.8 do | |
| 1372 | swait() | |
| 1373 | g = g + 5 | |
| 1374 | end | |
| 1375 | for i = 0, 50.8 do | |
| 1376 | swait() | |
| 1377 | r = r - 5 | |
| 1378 | end | |
| 1379 | for i = 0, 50.8 do | |
| 1380 | swait() | |
| 1381 | b = b + 5 | |
| 1382 | end | |
| 1383 | for i = 0, 50.8 do | |
| 1384 | swait() | |
| 1385 | g = g - 5 | |
| 1386 | end | |
| 1387 | for i = 0, 50.8 do | |
| 1388 | swait() | |
| 1389 | r = r + 5 | |
| 1390 | end | |
| 1391 | for i = 0, 50.8 do | |
| 1392 | swait() | |
| 1393 | b = b - 5 | |
| 1394 | end | |
| 1395 | end | |
| 1396 | end)) | |
| 1397 | function so(id, par, vol, pit) | |
| 1398 | coroutine.resume(coroutine.create(function() | |
| 1399 | local sou = Instance.new("Sound", par or workspace)
| |
| 1400 | sou.Volume = vol | |
| 1401 | sou.Pitch = pit or 1 | |
| 1402 | sou.SoundId = id | |
| 1403 | swait() | |
| 1404 | sou:play() | |
| 1405 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1406 | end)) | |
| 1407 | end | |
| 1408 | function clerp(a, b, t) | |
| 1409 | local qa = {
| |
| 1410 | QuaternionFromCFrame(a) | |
| 1411 | } | |
| 1412 | local qb = {
| |
| 1413 | QuaternionFromCFrame(b) | |
| 1414 | } | |
| 1415 | local ax, ay, az = a.x, a.y, a.z | |
| 1416 | local bx, by, bz = b.x, b.y, b.z | |
| 1417 | local _t = 1 - t | |
| 1418 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 1419 | end | |
| 1420 | function QuaternionFromCFrame(cf) | |
| 1421 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1422 | local trace = m00 + m11 + m22 | |
| 1423 | if trace > 0 then | |
| 1424 | local s = math.sqrt(1 + trace) | |
| 1425 | local recip = 0.5 / s | |
| 1426 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 1427 | else | |
| 1428 | local i = 0 | |
| 1429 | if m00 < m11 then | |
| 1430 | i = 1 | |
| 1431 | end | |
| 1432 | if m22 > (i == 0 and m00 or m11) then | |
| 1433 | i = 2 | |
| 1434 | end | |
| 1435 | if i == 0 then | |
| 1436 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 1437 | local recip = 0.5 / s | |
| 1438 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 1439 | elseif i == 1 then | |
| 1440 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 1441 | local recip = 0.5 / s | |
| 1442 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 1443 | elseif i == 2 then | |
| 1444 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 1445 | local recip = 0.5 / s | |
| 1446 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 1447 | end | |
| 1448 | end | |
| 1449 | end | |
| 1450 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 1451 | local xs, ys, zs = x + x, y + y, z + z | |
| 1452 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 1453 | local xx = x * xs | |
| 1454 | local xy = x * ys | |
| 1455 | local xz = x * zs | |
| 1456 | local yy = y * ys | |
| 1457 | local yz = y * zs | |
| 1458 | local zz = z * zs | |
| 1459 | 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)) | |
| 1460 | end | |
| 1461 | function QuaternionSlerp(a, b, t) | |
| 1462 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 1463 | local startInterp, finishInterp | |
| 1464 | if cosTheta >= 1.0E-4 then | |
| 1465 | if 1 - cosTheta > 1.0E-4 then | |
| 1466 | local theta = math.acos(cosTheta) | |
| 1467 | local invSinTheta = 1 / math.sin(theta) | |
| 1468 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 1469 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 1470 | else | |
| 1471 | startInterp = 1 - t | |
| 1472 | finishInterp = t | |
| 1473 | end | |
| 1474 | elseif 1 + cosTheta > 1.0E-4 then | |
| 1475 | local theta = math.acos(-cosTheta) | |
| 1476 | local invSinTheta = 1 / math.sin(theta) | |
| 1477 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 1478 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 1479 | else | |
| 1480 | startInterp = t - 1 | |
| 1481 | finishInterp = t | |
| 1482 | end | |
| 1483 | 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 | |
| 1484 | end | |
| 1485 | local CFrameFromTopBack = function(at, top, back) | |
| 1486 | local right = top:Cross(back) | |
| 1487 | 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) | |
| 1488 | end | |
| 1489 | function Triangle(a, b, c) | |
| 1490 | local edg1 = (c - a):Dot((b - a).unit) | |
| 1491 | local edg2 = (a - b):Dot((c - b).unit) | |
| 1492 | local edg3 = (b - c):Dot((a - c).unit) | |
| 1493 | if edg1 <= (b - a).magnitude and edg1 >= 0 then | |
| 1494 | a, b = a, b | |
| 1495 | elseif edg2 <= (c - b).magnitude and edg2 >= 0 then | |
| 1496 | a, b, c = b, c, a | |
| 1497 | elseif edg3 <= (a - c).magnitude and edg3 >= 0 then | |
| 1498 | a, b, c = c, a, b | |
| 1499 | else | |
| 1500 | assert(false, "unreachable") | |
| 1501 | end | |
| 1502 | local len1 = (c - a):Dot((b - a).unit) | |
| 1503 | local len2 = (b - a).magnitude - len1 | |
| 1504 | local width = (a + (b - a).unit * len1 - c).magnitude | |
| 1505 | local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit) | |
| 1506 | local list = {}
| |
| 1507 | if len1 > 0.01 then | |
| 1508 | local w1 = Instance.new("WedgePart", m)
| |
| 1509 | game:GetService("Debris"):AddItem(w1, 5)
| |
| 1510 | w1.Material = "SmoothPlastic" | |
| 1511 | w1.FormFactor = "Custom" | |
| 1512 | w1.BrickColor = BrickColor.new("Really red")
| |
| 1513 | w1.Transparency = 0 | |
| 1514 | w1.Reflectance = 0 | |
| 1515 | w1.Material = "SmoothPlastic" | |
| 1516 | w1.CanCollide = false | |
| 1517 | local l1 = Instance.new("PointLight", w1)
| |
| 1518 | l1.Color = Color3.new(170, 0, 0) | |
| 1519 | NoOutline(w1) | |
| 1520 | local sz = Vector3.new(0.2, width, len1) | |
| 1521 | w1.Size = sz | |
| 1522 | local sp = Instance.new("SpecialMesh", w1)
| |
| 1523 | sp.MeshType = "Wedge" | |
| 1524 | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size | |
| 1525 | w1:BreakJoints() | |
| 1526 | w1.Anchored = true | |
| 1527 | w1.Parent = workspace | |
| 1528 | w1.Transparency = 0.7 | |
| 1529 | table.insert(Effects, {
| |
| 1530 | w1, | |
| 1531 | "Disappear", | |
| 1532 | 0.01 | |
| 1533 | }) | |
| 1534 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
| 1535 | table.insert(list, w1) | |
| 1536 | end | |
| 1537 | if len2 > 0.01 then | |
| 1538 | local w2 = Instance.new("WedgePart", m)
| |
| 1539 | game:GetService("Debris"):AddItem(w2, 5)
| |
| 1540 | w2.Material = "SmoothPlastic" | |
| 1541 | w2.FormFactor = "Custom" | |
| 1542 | w2.BrickColor = BrickColor.new("Really red")
| |
| 1543 | w2.Transparency = 0 | |
| 1544 | w2.Reflectance = 0 | |
| 1545 | w2.Material = "SmoothPlastic" | |
| 1546 | w2.CanCollide = false | |
| 1547 | local l2 = Instance.new("PointLight", w2)
| |
| 1548 | l2.Color = Color3.new(170, 0, 0) | |
| 1549 | NoOutline(w2) | |
| 1550 | local sz = Vector3.new(0.2, width, len2) | |
| 1551 | w2.Size = sz | |
| 1552 | local sp = Instance.new("SpecialMesh", w2)
| |
| 1553 | sp.MeshType = "Wedge" | |
| 1554 | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size | |
| 1555 | w2:BreakJoints() | |
| 1556 | w2.Anchored = true | |
| 1557 | w2.Parent = workspace | |
| 1558 | w2.Transparency = 0.7 | |
| 1559 | table.insert(Effects, {
| |
| 1560 | w2, | |
| 1561 | "Disappear", | |
| 1562 | 0.01 | |
| 1563 | }) | |
| 1564 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
| 1565 | table.insert(list, w2) | |
| 1566 | end | |
| 1567 | return unpack(list) | |
| 1568 | end | |
| 1569 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 1570 | if hit.Parent == nil then | |
| 1571 | return | |
| 1572 | end | |
| 1573 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1574 | for _, v in pairs(hit.Parent:children()) do | |
| 1575 | if v:IsA("Humanoid") then
| |
| 1576 | h = v | |
| 1577 | end | |
| 1578 | end | |
| 1579 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
| |
| 1580 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1581 | return | |
| 1582 | end | |
| 1583 | local c = Create("ObjectValue")({
| |
| 1584 | Name = "creator", | |
| 1585 | Value = owner, | |
| 1586 | Parent = h | |
| 1587 | }) | |
| 1588 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1589 | if HitSound ~= nil and HitPitch ~= nil then | |
| 1590 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 1591 | end | |
| 1592 | local Damage = math.random(minim, maxim) | |
| 1593 | local blocked = false | |
| 1594 | local block = hit.Parent:findFirstChild("Block")
| |
| 1595 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 1596 | blocked = true | |
| 1597 | block.Value = block.Value - 1 | |
| 1598 | print(block.Value) | |
| 1599 | end | |
| 1600 | if blocked == false then | |
| 1601 | HitHealth = h.Health | |
| 1602 | h.Health = h.Health - Damage | |
| 1603 | if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then | |
| 1604 | print("gained kill")
| |
| 1605 | end | |
| 1606 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1607 | else | |
| 1608 | h.Health = h.Health - Damage / 2 | |
| 1609 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
| 1610 | end | |
| 1611 | if Type == "Knockdown" then | |
| 1612 | local hum = hit.Parent.Humanoid | |
| 1613 | hum.PlatformStand = true | |
| 1614 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1615 | swait(1) | |
| 1616 | HHumanoid.PlatformStand = false | |
| 1617 | end), hum) | |
| 1618 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1619 | local bodvol = Create("BodyVelocity")({
| |
| 1620 | velocity = angle * knockback, | |
| 1621 | P = 5000, | |
| 1622 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1623 | Parent = hit | |
| 1624 | }) | |
| 1625 | local rl = Create("BodyAngularVelocity")({
| |
| 1626 | P = 3000, | |
| 1627 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 1628 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 1629 | Parent = hit | |
| 1630 | }) | |
| 1631 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1632 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1633 | elseif Type == "Normal" then | |
| 1634 | local vp = Create("BodyVelocity")({
| |
| 1635 | P = 500, | |
| 1636 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 1637 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1638 | }) | |
| 1639 | if knockback > 0 then | |
| 1640 | vp.Parent = hit.Parent.Head | |
| 1641 | end | |
| 1642 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1643 | elseif Type == "Up" then | |
| 1644 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1645 | velocity = Vector3.new(0, 20, 0), | |
| 1646 | P = 5000, | |
| 1647 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1648 | Parent = hit | |
| 1649 | }) | |
| 1650 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1651 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1652 | velocity = Vector3.new(0, 20, 0), | |
| 1653 | P = 5000, | |
| 1654 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1655 | Parent = hit | |
| 1656 | }) | |
| 1657 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1658 | elseif Type == "Leech" then | |
| 1659 | local hum = hit.Parent.Humanoid | |
| 1660 | if hum ~= nil then | |
| 1661 | for i = 0, 2 do | |
| 1662 | 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)
| |
| 1663 | end | |
| 1664 | Humanoid.Health = Humanoid.Health + 10 | |
| 1665 | end | |
| 1666 | elseif Type == "UpKnock" then | |
| 1667 | local hum = hit.Parent.Humanoid | |
| 1668 | hum.PlatformStand = true | |
| 1669 | if hum ~= nil then | |
| 1670 | hitr = true | |
| 1671 | end | |
| 1672 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 1673 | swait(5) | |
| 1674 | HHumanoid.PlatformStand = false | |
| 1675 | hitr = false | |
| 1676 | end), hum) | |
| 1677 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1678 | velocity = Vector3.new(0, 20, 0), | |
| 1679 | P = 5000, | |
| 1680 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1681 | Parent = hit | |
| 1682 | }) | |
| 1683 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 1684 | local bodyVelocity = Create("BodyVelocity")({
| |
| 1685 | velocity = Vector3.new(0, 20, 0), | |
| 1686 | P = 5000, | |
| 1687 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1688 | Parent = hit | |
| 1689 | }) | |
| 1690 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1691 | elseif Type == "Snare" then | |
| 1692 | local bp = Create("BodyPosition")({
| |
| 1693 | P = 2000, | |
| 1694 | D = 100, | |
| 1695 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1696 | position = hit.Parent.Torso.Position, | |
| 1697 | Parent = hit.Parent.Torso | |
| 1698 | }) | |
| 1699 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1700 | elseif Type == "Slashnare" then | |
| 1701 | Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
| |
| 1702 | for i = 1, math.random(4, 5) do | |
| 1703 | 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)
| |
| 1704 | end | |
| 1705 | local bp = Create("BodyPosition")({
| |
| 1706 | P = 2000, | |
| 1707 | D = 100, | |
| 1708 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1709 | position = hit.Parent.Torso.Position, | |
| 1710 | Parent = hit.Parent.Torso | |
| 1711 | }) | |
| 1712 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1713 | elseif Type == "Spike" then | |
| 1714 | CreateBigIceSword(hit.Parent.Torso.CFrame) | |
| 1715 | local bp = Create("BodyPosition")({
| |
| 1716 | P = 2000, | |
| 1717 | D = 100, | |
| 1718 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1719 | position = hit.Parent.Torso.Position, | |
| 1720 | Parent = hit.Parent.Torso | |
| 1721 | }) | |
| 1722 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1723 | elseif Type == "Freeze" then | |
| 1724 | local BodPos = Create("BodyPosition")({
| |
| 1725 | P = 50000, | |
| 1726 | D = 1000, | |
| 1727 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 1728 | position = hit.Parent.Torso.Position, | |
| 1729 | Parent = hit.Parent.Torso | |
| 1730 | }) | |
| 1731 | local BodGy = Create("BodyGyro")({
| |
| 1732 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 1733 | P = 20000, | |
| 1734 | Parent = hit.Parent.Torso, | |
| 1735 | cframe = hit.Parent.Torso.CFrame | |
| 1736 | }) | |
| 1737 | hit.Parent.Torso.Anchored = true | |
| 1738 | coroutine.resume(coroutine.create(function(Part) | |
| 1739 | swait(1.5) | |
| 1740 | Part.Anchored = false | |
| 1741 | end), hit.Parent.Torso) | |
| 1742 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 1743 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 1744 | end | |
| 1745 | local debounce = Create("BoolValue")({
| |
| 1746 | Name = "DebounceHit", | |
| 1747 | Parent = hit.Parent, | |
| 1748 | Value = true | |
| 1749 | }) | |
| 1750 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1751 | c = Instance.new("ObjectValue")
| |
| 1752 | c.Name = "creator" | |
| 1753 | c.Value = Player | |
| 1754 | c.Parent = h | |
| 1755 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1756 | end | |
| 1757 | end | |
| 1758 | function ShowDamage(Pos, Text, Time, Color) | |
| 1759 | local Rate = 0.03333333333333333 | |
| 1760 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 1761 | local Text = Text or "" | |
| 1762 | local Time = Time or 2 | |
| 1763 | local Color = Color or Color3.new(1, 0, 1) | |
| 1764 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 1765 | EffectPart.Anchored = true | |
| 1766 | local BillboardGui = Create("BillboardGui")({
| |
| 1767 | Size = UDim2.new(3, 0, 3, 0), | |
| 1768 | Adornee = EffectPart, | |
| 1769 | Parent = EffectPart | |
| 1770 | }) | |
| 1771 | local TextLabel = Create("TextLabel")({
| |
| 1772 | BackgroundTransparency = 1, | |
| 1773 | Size = UDim2.new(1, 0, 1, 0), | |
| 1774 | Text = Text, | |
| 1775 | TextColor3 = Color, | |
| 1776 | TextScaled = true, | |
| 1777 | Font = Enum.Font.ArialBold, | |
| 1778 | Parent = BillboardGui | |
| 1779 | }) | |
| 1780 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
| 1781 | EffectPart.Parent = game:GetService("Workspace")
| |
| 1782 | delay(0, function() | |
| 1783 | local Frames = Time / Rate | |
| 1784 | for Frame = 1, Frames do | |
| 1785 | wait(Rate) | |
| 1786 | local Percent = Frame / Frames | |
| 1787 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 1788 | TextLabel.TextTransparency = Percent | |
| 1789 | end | |
| 1790 | if EffectPart and EffectPart.Parent then | |
| 1791 | EffectPart:Destroy() | |
| 1792 | end | |
| 1793 | end) | |
| 1794 | end | |
| 1795 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 1796 | for _, c in pairs(workspace:children()) do | |
| 1797 | local hum = c:findFirstChildOfClass("Humanoid")
| |
| 1798 | if hum ~= nil then | |
| 1799 | local head = c:findFirstChild("Head")
| |
| 1800 | if head ~= nil then | |
| 1801 | local targ = head.Position - Part.Position | |
| 1802 | local mag = targ.magnitude | |
| 1803 | if magni >= mag and c.Name ~= Player.Name then | |
| 1804 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1805 | end | |
| 1806 | end | |
| 1807 | end | |
| 1808 | end | |
| 1809 | end | |
| 1810 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 1811 | if SinglePlayer then | |
| 1812 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 1813 | end | |
| 1814 | local List = {}
| |
| 1815 | for i, v in pairs(workspace:GetChildren()) do | |
| 1816 | if v:IsA("Model") then
| |
| 1817 | if v:findFirstChild("Torso") then
| |
| 1818 | if v ~= Character then | |
| 1819 | if (v.Torso.Position - Position).magnitude <= Distance then | |
| 1820 | table.insert(List, v) | |
| 1821 | end | |
| 1822 | end | |
| 1823 | end | |
| 1824 | end | |
| 1825 | end | |
| 1826 | return List | |
| 1827 | end | |
| 1828 | function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) | |
| 1829 | for _, c in pairs(workspace:children()) do | |
| 1830 | local hum = c:findFirstChild("Humanoid")
| |
| 1831 | if hum ~= nil then | |
| 1832 | local head = c:findFirstChild("Torso")
| |
| 1833 | if head ~= nil then | |
| 1834 | local targ = head.Position - Part.Position | |
| 1835 | local mag = targ.magnitude | |
| 1836 | if magni >= mag and c.Name ~= Player.Name then | |
| 1837 | MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
| |
| 1838 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) | |
| 1839 | end | |
| 1840 | end | |
| 1841 | end | |
| 1842 | end | |
| 1843 | end | |
| 1844 | function rayCast(Pos, Dir, Max, Ignore) | |
| 1845 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 1846 | end | |
| 1847 | function SkullEffect(brickcolor, cframe, x1, y1, z1, delay) | |
| 1848 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1849 | prt.Anchored = true | |
| 1850 | prt.CFrame = cframe | |
| 1851 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1852 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1853 | CF = prt.CFrame | |
| 1854 | coroutine.resume(coroutine.create(function(Part, Mesh, TehCF) | |
| 1855 | for i = 0, 1, 0.2 do | |
| 1856 | wait() | |
| 1857 | Part.CFrame = CF * cf(0, 0, -0.4) | |
| 1858 | end | |
| 1859 | for i = 0, 1, delay do | |
| 1860 | wait() | |
| 1861 | Mesh.Scale = Mesh.Scale | |
| 1862 | end | |
| 1863 | for i = 0, 1, 0.1 do | |
| 1864 | wait() | |
| 1865 | Part.Transparency = i | |
| 1866 | end | |
| 1867 | Part.Parent = nil | |
| 1868 | end), prt, msh, CF) | |
| 1869 | end | |
| 1870 | function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1871 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1872 | prt.Anchored = true | |
| 1873 | prt.Material = "Neon" | |
| 1874 | prt.CFrame = cframe | |
| 1875 | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1876 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1877 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1878 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1879 | for i = 0, 1, delay do | |
| 1880 | swait() | |
| 1881 | Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1882 | Part.Transparency = i | |
| 1883 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1884 | end | |
| 1885 | Part.Parent = nil | |
| 1886 | end), prt, msh) | |
| 1887 | end | |
| 1888 | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 1889 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1890 | prt.Anchored = true | |
| 1891 | prt.Material = "Neon" | |
| 1892 | prt.CFrame = cframe | |
| 1893 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1894 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1895 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1896 | local rtype = rottype | |
| 1897 | for i = 0, 1, delay do | |
| 1898 | swait() | |
| 1899 | if rtype == 1 then | |
| 1900 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 1901 | elseif rtype == 2 then | |
| 1902 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 1903 | end | |
| 1904 | Part.Transparency = i | |
| 1905 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1906 | end | |
| 1907 | Part.Parent = nil | |
| 1908 | end), prt, msh) | |
| 1909 | end | |
| 1910 | function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1911 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1912 | prt.Anchored = true | |
| 1913 | prt.CFrame = cframe | |
| 1914 | prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1915 | msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1916 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1917 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1918 | for i = 0, 1, delay do | |
| 1919 | wait() | |
| 1920 | Part.Transparency = i | |
| 1921 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1922 | end | |
| 1923 | Part.Parent = nil | |
| 1924 | end), prt, msh) | |
| 1925 | end | |
| 1926 | function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 1927 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1928 | prt.Anchored = true | |
| 1929 | prt.Material = "Neon" | |
| 1930 | prt.CFrame = cframe | |
| 1931 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1932 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1933 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1934 | local rtype = rottype | |
| 1935 | for i = 0, 1, delay do | |
| 1936 | swait() | |
| 1937 | if rtype == 1 then | |
| 1938 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 1939 | elseif rtype == 2 then | |
| 1940 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 1941 | end | |
| 1942 | Part.Transparency = i | |
| 1943 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1944 | end | |
| 1945 | Part.Parent = nil | |
| 1946 | end), prt, msh) | |
| 1947 | end | |
| 1948 | function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 1949 | local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1950 | prt.Anchored = true | |
| 1951 | prt.Material = "Neon" | |
| 1952 | prt.CFrame = cframe | |
| 1953 | local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) | |
| 1954 | local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt) | |
| 1955 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
| |
| 1956 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1957 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1958 | local rtype = rottype | |
| 1959 | for i = 0, 1, delay do | |
| 1960 | swait() | |
| 1961 | if rtype == 1 then | |
| 1962 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 1963 | elseif rtype == 2 then | |
| 1964 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 1965 | end | |
| 1966 | dec.Transparency = i | |
| 1967 | dec2.Transparency = i | |
| 1968 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 1969 | end | |
| 1970 | Part.Parent = nil | |
| 1971 | end), prt, msh) | |
| 1972 | end | |
| 1973 | function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype) | |
| 1974 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1975 | prt.Anchored = true | |
| 1976 | prt.Material = "Neon" | |
| 1977 | prt.CFrame = cframe | |
| 1978 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
| |
| 1979 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 1980 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1981 | local rtype = rottype | |
| 1982 | for i = 0, 1, delay do | |
| 1983 | swait() | |
| 1984 | if rtype == 1 then | |
| 1985 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 1986 | elseif rtype == 2 then | |
| 1987 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 1988 | end | |
| 1989 | prt.Transparency = i | |
| 1990 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 1991 | end | |
| 1992 | Part.Parent = nil | |
| 1993 | end), prt, msh) | |
| 1994 | end | |
| 1995 | function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype) | |
| 1996 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1997 | prt.Anchored = true | |
| 1998 | prt.Material = "Neon" | |
| 1999 | prt.CFrame = cframe | |
| 2000 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
| |
| 2001 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2002 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2003 | local rtype = rottype | |
| 2004 | for i = 0, 1, delay do | |
| 2005 | swait() | |
| 2006 | if rtype == 1 then | |
| 2007 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0) | |
| 2008 | elseif rtype == 2 then | |
| 2009 | prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0) | |
| 2010 | end | |
| 2011 | prt.Transparency = i | |
| 2012 | Mesh.Scale = Mesh.Scale + vt(x3, 0, z3) | |
| 2013 | end | |
| 2014 | Part.Parent = nil | |
| 2015 | end), prt, msh) | |
| 2016 | end | |
| 2017 | function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype) | |
| 2018 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2019 | prt.Anchored = true | |
| 2020 | prt.Material = "Neon" | |
| 2021 | prt.CFrame = cframe | |
| 2022 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2023 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2024 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2025 | local rtype = rottype | |
| 2026 | for i = 0, 1, delay do | |
| 2027 | swait() | |
| 2028 | if rtype == 1 then | |
| 2029 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2030 | elseif rtype == 2 then | |
| 2031 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2032 | end | |
| 2033 | prt.Transparency = i | |
| 2034 | Mesh.Scale = Mesh.Scale + vt(x3, y3, 0) | |
| 2035 | end | |
| 2036 | Part.Parent = nil | |
| 2037 | end), prt, msh) | |
| 2038 | end | |
| 2039 | function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype) | |
| 2040 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2041 | prt.Anchored = true | |
| 2042 | prt.Material = "Neon" | |
| 2043 | prt.CFrame = cframe | |
| 2044 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2045 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2046 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2047 | local rtype = rottype | |
| 2048 | for i = 0, 1, delay do | |
| 2049 | swait() | |
| 2050 | if rtype == 1 then | |
| 2051 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1) | |
| 2052 | elseif rtype == 2 then | |
| 2053 | prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1) | |
| 2054 | end | |
| 2055 | prt.Transparency = i | |
| 2056 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2057 | end | |
| 2058 | Part.Parent = nil | |
| 2059 | end), prt, msh) | |
| 2060 | end | |
| 2061 | function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) | |
| 2062 | local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2063 | prt.Anchored = false | |
| 2064 | prt.CFrame = cframe | |
| 2065 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2066 | local wld = weld(prt, prt, Parent, cframe) | |
| 2067 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2068 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
| 2069 | for i = 0, 1, delay do | |
| 2070 | wait() | |
| 2071 | Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe | |
| 2072 | Part.Transparency = i | |
| 2073 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2074 | end | |
| 2075 | Part.Parent = nil | |
| 2076 | end), prt, msh, wld) | |
| 2077 | end | |
| 2078 | function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay) | |
| 2079 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2080 | prt.Anchored = false | |
| 2081 | prt.CFrame = cframe | |
| 2082 | msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2083 | local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0)) | |
| 2084 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2085 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
| 2086 | for i = 0, 1, delay do | |
| 2087 | wait() | |
| 2088 | Weld.C0 = euler(i * 20, 0, 0) | |
| 2089 | Part.Transparency = i | |
| 2090 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2091 | end | |
| 2092 | Part.Parent = nil | |
| 2093 | end), prt, msh, wld) | |
| 2094 | end | |
| 2095 | function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2096 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2097 | prt.Anchored = true | |
| 2098 | prt.CFrame = cframe | |
| 2099 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2100 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2101 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2102 | for i = 0, 1, delay do | |
| 2103 | wait() | |
| 2104 | Part.CFrame = Part.CFrame | |
| 2105 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2106 | local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2107 | prt2.Anchored = true | |
| 2108 | prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2109 | local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
| |
| 2110 | game:GetService("Debris"):AddItem(prt2, 2)
| |
| 2111 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2112 | for i = 0, 1, 0.1 do | |
| 2113 | wait() | |
| 2114 | Part.CFrame = Part.CFrame * cf(0, 0.5, 0) | |
| 2115 | end | |
| 2116 | Part.Parent = nil | |
| 2117 | end), prt2, msh2) | |
| 2118 | end | |
| 2119 | for i = 0, 1, delay * 2 do | |
| 2120 | wait() | |
| 2121 | Part.CFrame = Part.CFrame | |
| 2122 | Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i) | |
| 2123 | end | |
| 2124 | Part.Parent = nil | |
| 2125 | end), prt, msh) | |
| 2126 | end | |
| 2127 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2128 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2129 | prt.Anchored = true | |
| 2130 | prt.CFrame = cframe | |
| 2131 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2132 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2133 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2134 | for i = 0, 1, delay do | |
| 2135 | wait() | |
| 2136 | Part.CFrame = Part.CFrame | |
| 2137 | Part.Transparency = i | |
| 2138 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2139 | end | |
| 2140 | Part.Parent = nil | |
| 2141 | end), prt, msh) | |
| 2142 | end | |
| 2143 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
| 2144 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2145 | prt.Anchored = true | |
| 2146 | prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2147 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2148 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2149 | coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb) | |
| 2150 | CF = Part.CFrame | |
| 2151 | Numbb = 0 | |
| 2152 | randnumb = math.random() / 10 | |
| 2153 | rand1 = math.random() / 10 | |
| 2154 | for i = 0, 1, rand1 do | |
| 2155 | wait() | |
| 2156 | CF = CF * cf(0, math.random() / 2, 0) | |
| 2157 | Part.CFrame = CF * euler(Numbb, 0, 0) | |
| 2158 | Part.Transparency = i | |
| 2159 | Numbb = Numbb + randnumb | |
| 2160 | end | |
| 2161 | Part.Parent = nil | |
| 2162 | end), prt, CF, Numbb, randnumb) | |
| 2163 | end | |
| 2164 | function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2165 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2166 | prt.Anchored = true | |
| 2167 | prt.CFrame = cframe | |
| 2168 | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2169 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2170 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2171 | for i = 0, 1, delay do | |
| 2172 | wait() | |
| 2173 | Part.CFrame = Part.CFrame * euler(0, 0.7, 0) | |
| 2174 | Part.Transparency = i | |
| 2175 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2176 | end | |
| 2177 | Part.Parent = nil | |
| 2178 | end), prt, msh) | |
| 2179 | end | |
| 2180 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 2181 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2182 | prt.Anchored = true | |
| 2183 | prt.CFrame = cframe | |
| 2184 | msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2185 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 2186 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 2187 | for i = 0, 1, delay do | |
| 2188 | wait() | |
| 2189 | Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0) | |
| 2190 | Part.Transparency = i | |
| 2191 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 2192 | end | |
| 2193 | Part.Parent = nil | |
| 2194 | end), prt, msh) | |
| 2195 | end | |
| 2196 | function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay) | |
| 2197 | local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 2198 | prt.Anchored = true | |
| 2199 | prt.CFrame = cframe * cf(x, y, z) | |
| 2200 | msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 2201 | game:GetService("Debris"):AddItem(prt, 5)
| |
| 2202 | coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee) | |
| 2203 | local num = math.random() | |
| 2204 | local num2 = math.random(-3, 2) + math.random() | |
| 2205 | local numm = 0 | |
| 2206 | for i = 0, 1, delay * 2 do | |
| 2207 | swait() | |
| 2208 | Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0) | |
| 2209 | Part.Transparency = i | |
| 2210 | numm = numm + 0.01 | |
| 2211 | end | |
| 2212 | Part.Parent = nil | |
| 2213 | Mesh.Parent = nil | |
| 2214 | end), prt, msh, x, y, z) | |
| 2215 | end | |
| 2216 | function dmgstart(dmg, what) | |
| 2217 | hitcon = what.Touched:connect(function(hit) | |
| 2218 | local hum = hit.Parent:FindFirstChild("Humanoid")
| |
| 2219 | if hum and not hum:IsDescendantOf(Character) then | |
| 2220 | hum:TakeDamage(dmg) | |
| 2221 | end | |
| 2222 | end) | |
| 2223 | end | |
| 2224 | function dmgstop() | |
| 2225 | hitcon:disconnect() | |
| 2226 | end | |
| 2227 | cloaked = false | |
| 2228 | wing_clocked = false | |
| 2229 | clock_mode = true | |
| 2230 | wing_clock = true | |
| 2231 | invisible_mode = false | |
| 2232 | wing_invisible_mode = false | |
| 2233 | function Cloak_wing() | |
| 2234 | wing_clocked = true | |
| 2235 | Humanoid.WalkSpeed = 200 | |
| 2236 | for i, v in pairs(m:GetChildren()) do | |
| 2237 | if v:IsA("Part") then
| |
| 2238 | v.Transparency = 1 | |
| 2239 | end | |
| 2240 | end | |
| 2241 | for i, v in pairs(m2:GetChildren()) do | |
| 2242 | if v:IsA("Part") then
| |
| 2243 | v.Transparency = 1 | |
| 2244 | end | |
| 2245 | end | |
| 2246 | for i, v in pairs(m3:GetChildren()) do | |
| 2247 | if v:IsA("Part") then
| |
| 2248 | v.Transparency = 1 | |
| 2249 | end | |
| 2250 | end | |
| 2251 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 2252 | if v:IsA("Part") then
| |
| 2253 | v.Transparency = 1 | |
| 2254 | end | |
| 2255 | end | |
| 2256 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 2257 | if v:IsA("Part") then
| |
| 2258 | v.Transparency = 1 | |
| 2259 | end | |
| 2260 | end | |
| 2261 | for i, v in pairs(mw1:GetChildren()) do | |
| 2262 | if v:IsA("Part") then
| |
| 2263 | v.Transparency = 1 | |
| 2264 | end | |
| 2265 | end | |
| 2266 | for i, v in pairs(mw2:GetChildren()) do | |
| 2267 | if v:IsA("Part") then
| |
| 2268 | v.Transparency = 1 | |
| 2269 | end | |
| 2270 | end | |
| 2271 | end | |
| 2272 | function Cloak() | |
| 2273 | face = char.Head.face | |
| 2274 | cloaked = true | |
| 2275 | for _, v in pairs(Torso.Parent:children()) do | |
| 2276 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 2277 | coroutine.resume(coroutine.create(function() | |
| 2278 | for i = 0, 1, 0.2 do | |
| 2279 | wait() | |
| 2280 | v.Transparency = i | |
| 2281 | face.Transparency = 1 | |
| 2282 | end | |
| 2283 | v.Transparency = 1 | |
| 2284 | end)) | |
| 2285 | end | |
| 2286 | if v.className == "Accessory" then | |
| 2287 | hatp = v.Handle | |
| 2288 | coroutine.resume(coroutine.create(function(derp) | |
| 2289 | for i = 0, 1, 0.2 do | |
| 2290 | wait() | |
| 2291 | derp.Transparency = i | |
| 2292 | end | |
| 2293 | derp.Transparency = 1 | |
| 2294 | end), hatp) | |
| 2295 | end | |
| 2296 | end | |
| 2297 | for _, v in pairs(m:children()) do | |
| 2298 | if v.className == "Part" then | |
| 2299 | coroutine.resume(coroutine.create(function() | |
| 2300 | for i = 0, 1, 0.2 do | |
| 2301 | wait() | |
| 2302 | v.Transparency = i | |
| 2303 | end | |
| 2304 | v.Transparency = 1 | |
| 2305 | ||
| 2306 | end)) | |
| 2307 | end | |
| 2308 | end | |
| 2309 | end | |
| 2310 | function UnCloak_wing() | |
| 2311 | wing_clocked = false | |
| 2312 | hum.WalkSpeed = 200 | |
| 2313 | for i, v in pairs(m:GetChildren()) do | |
| 2314 | if v:IsA("Part") then
| |
| 2315 | v.Transparency = 0 | |
| 2316 | end | |
| 2317 | end | |
| 2318 | for i, v in pairs(m2:GetChildren()) do | |
| 2319 | if v:IsA("Part") then
| |
| 2320 | v.Transparency = 0 | |
| 2321 | end | |
| 2322 | end | |
| 2323 | for i, v in pairs(m3:GetChildren()) do | |
| 2324 | if v:IsA("Part") then
| |
| 2325 | v.Transparency = 0 | |
| 2326 | end | |
| 2327 | end | |
| 2328 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 2329 | if v:IsA("Part") then
| |
| 2330 | v.Transparency = 0 | |
| 2331 | end | |
| 2332 | end | |
| 2333 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 2334 | if v:IsA("Part") then
| |
| 2335 | v.Transparency = 0 | |
| 2336 | end | |
| 2337 | end | |
| 2338 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 2339 | if v:IsA("Part") then
| |
| 2340 | v.Transparency = 0 | |
| 2341 | end | |
| 2342 | end | |
| 2343 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 2344 | if v:IsA("Part") then
| |
| 2345 | v.Transparency = 0 | |
| 2346 | end | |
| 2347 | end | |
| 2348 | for i, v in pairs(mw2:GetChildren()) do | |
| 2349 | if v:IsA("Part") then
| |
| 2350 | v.Transparency = 0 | |
| 2351 | end | |
| 2352 | end | |
| 2353 | for i, v in pairs(mw1:GetChildren()) do | |
| 2354 | if v:IsA("Part") then
| |
| 2355 | v.Transparency = 0 | |
| 2356 | end | |
| 2357 | end | |
| 2358 | end | |
| 2359 | function UnCloak() | |
| 2360 | face = char.Head.face | |
| 2361 | so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
| |
| 2362 | cloaked = false | |
| 2363 | invisible_mode = false | |
| 2364 | clock_mode = true | |
| 2365 | for _, v in pairs(Torso.Parent:children()) do | |
| 2366 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 2367 | coroutine.resume(coroutine.create(function() | |
| 2368 | for i = 0, 1, 0.1 do | |
| 2369 | wait() | |
| 2370 | face.Transparency = face.Transparency - 0.1 | |
| 2371 | v.Transparency = v.Transparency - 0.1 | |
| 2372 | end | |
| 2373 | v.Transparency = 0 | |
| 2374 | end)) | |
| 2375 | end | |
| 2376 | if v.className == "Accessory" then | |
| 2377 | hatp = v.Handle | |
| 2378 | coroutine.resume(coroutine.create(function(derp) | |
| 2379 | for i = 0, 1, 0.1 do | |
| 2380 | wait() | |
| 2381 | derp.Transparency = derp.Transparency - 0.1 | |
| 2382 | end | |
| 2383 | derp.Transparency = 0 | |
| 2384 | end), hatp) | |
| 2385 | end | |
| 2386 | end | |
| 2387 | for _, v in pairs(m:children()) do | |
| 2388 | if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then | |
| 2389 | coroutine.resume(coroutine.create(function() | |
| 2390 | for i = 0, 1, 0.1 do | |
| 2391 | wait() | |
| 2392 | v.Transparency = v.Transparency - 0.1 | |
| 2393 | end | |
| 2394 | v.Transparency = 0 | |
| 2395 | end)) | |
| 2396 | v.Transparency = 0 | |
| 2397 | ||
| 2398 | end | |
| 2399 | end | |
| 2400 | end | |
| 2401 | local origcolor = BrickColor.new("Pastel light blue")
| |
| 2402 | function Explode(rad, par, pitch, vol, mindam, maxdam) | |
| 2403 | local expart = Instance.new("Part", char)
| |
| 2404 | local expart2 = Instance.new("Part", char)
| |
| 2405 | local rin = Instance.new("Part", char)
| |
| 2406 | local rin2 = Instance.new("Part", char)
| |
| 2407 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 2408 | partMesh.MeshType = "Sphere" | |
| 2409 | local partMesh2 = Instance.new("SpecialMesh", expart2)
| |
| 2410 | partMesh2.MeshType = "Sphere" | |
| 2411 | local partMesh3 = Instance.new("SpecialMesh", rin)
| |
| 2412 | partMesh3.MeshType = "Brick" | |
| 2413 | local partMesh4 = Instance.new("SpecialMesh", rin2)
| |
| 2414 | partMesh4.MeshType = "Brick" | |
| 2415 | CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
| |
| 2416 | partMesh.Scale = vt(rad, rad, rad) | |
| 2417 | expart.Size = vt(1, 1, 1) | |
| 2418 | expart.Transparency = 0 | |
| 2419 | expart.Anchored = true | |
| 2420 | expart.Material = "Neon" | |
| 2421 | expart.BrickColor = bc("White")
| |
| 2422 | expart.CFrame = par.CFrame | |
| 2423 | partMesh2.Scale = vt(rad, rad, rad) | |
| 2424 | expart2.Size = vt(1.15, 1.15, 1.15) | |
| 2425 | expart2.Transparency = 0.5 | |
| 2426 | expart2.Anchored = true | |
| 2427 | expart2.Material = "Neon" | |
| 2428 | expart2.BrickColor = par.BrickColor | |
| 2429 | expart2.CFrame = par.CFrame | |
| 2430 | rin.Size = vt(1.15, 1.15, 1.15) | |
| 2431 | rin.Transparency = 1 | |
| 2432 | rin.Anchored = true | |
| 2433 | rin.Material = "Neon" | |
| 2434 | rin.BrickColor = par.BrickColor | |
| 2435 | rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) | |
| 2436 | rin2.Size = vt(1.15, 1.15, 1.15) | |
| 2437 | rin2.Transparency = 1 | |
| 2438 | rin2.Anchored = true | |
| 2439 | rin2.Material = "Neon" | |
| 2440 | rin2.BrickColor = par.BrickColor | |
| 2441 | rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))) | |
| 2442 | partMesh3.Scale = vt(0, 1, 0) | |
| 2443 | partMesh4.Scale = vt(0, 1, 0) | |
| 2444 | local dec2 = Instance.new("Decal", rin)
| |
| 2445 | dec2.Face = "Top" | |
| 2446 | dec2.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2447 | dec2.Parent = rin | |
| 2448 | local dec2b = dec2:Clone() | |
| 2449 | dec2b.Face = "Bottom" | |
| 2450 | dec2b.Parent = rin | |
| 2451 | local dec2a = Instance.new("Decal", rin2)
| |
| 2452 | dec2a.Face = "Top" | |
| 2453 | dec2a.Texture = "http://www.roblox.com/asset/?id=874580939" | |
| 2454 | dec2a.Parent = rin2 | |
| 2455 | local dec2ab = dec2a:Clone() | |
| 2456 | dec2ab.Face = "Bottom" | |
| 2457 | dec2ab.Parent = rin2 | |
| 2458 | expart.CanCollide = false | |
| 2459 | expart2.CanCollide = false | |
| 2460 | rin.CanCollide = false | |
| 2461 | rin2.CanCollide = false | |
| 2462 | MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal") | |
| 2463 | local value = 1 * rad / 6.5 | |
| 2464 | for i = 0, 199 do | |
| 2465 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 2466 | expart.CFrame = expart.CFrame | |
| 2467 | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) | |
| 2468 | expart2.CFrame = expart.CFrame | |
| 2469 | value = value - 0.035 * rad / 30 | |
| 2470 | if value < 7.5 then | |
| 2471 | partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5) | |
| 2472 | rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0) | |
| 2473 | partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5) | |
| 2474 | rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0) | |
| 2475 | end | |
| 2476 | if value < 0 then | |
| 2477 | dec2.Transparency = dec2.Transparency + 0.025 | |
| 2478 | dec2a.Transparency = dec2a.Transparency + 0.025 | |
| 2479 | dec2b.Transparency = dec2b.Transparency + 0.025 | |
| 2480 | dec2ab.Transparency = dec2ab.Transparency + 0.025 | |
| 2481 | expart.Transparency = expart.Transparency + 0.025 | |
| 2482 | expart2.Transparency = expart2.Transparency + 0.025 | |
| 2483 | rin.Transparency = rin.Transparency + 0.025 | |
| 2484 | rin2.Transparency = rin2.Transparency + 0.025 | |
| 2485 | end | |
| 2486 | swait() | |
| 2487 | end | |
| 2488 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2489 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2490 | game:GetService("Debris"):AddItem(rin, 1)
| |
| 2491 | game:GetService("Debris"):AddItem(rin2, 1)
| |
| 2492 | end | |
| 2493 | function ExplodeShort(rad, par, pitch, vol, mindam, maxdam) | |
| 2494 | local expart = Instance.new("Part", char)
| |
| 2495 | local expart2 = Instance.new("Part", char)
| |
| 2496 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 2497 | partMesh.MeshType = "Sphere" | |
| 2498 | local partMesh2 = Instance.new("SpecialMesh", expart2)
| |
| 2499 | partMesh2.MeshType = "Sphere" | |
| 2500 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
| |
| 2501 | partMesh.Scale = vt(rad, rad, rad) | |
| 2502 | expart.Size = vt(1, 1, 1) | |
| 2503 | expart.Transparency = 0 | |
| 2504 | expart.Anchored = true | |
| 2505 | expart.Material = "Neon" | |
| 2506 | expart.BrickColor = bc("White")
| |
| 2507 | expart.CFrame = par.CFrame | |
| 2508 | partMesh2.Scale = vt(rad, rad, rad) | |
| 2509 | expart2.Size = vt(1.15, 1.15, 1.15) | |
| 2510 | expart2.Transparency = 0.5 | |
| 2511 | expart2.Anchored = true | |
| 2512 | expart2.Material = "Neon" | |
| 2513 | expart2.BrickColor = par.BrickColor | |
| 2514 | expart2.CFrame = par.CFrame | |
| 2515 | expart.CanCollide = false | |
| 2516 | expart2.CanCollide = false | |
| 2517 | MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal") | |
| 2518 | local value = 1 * rad / 6.5 | |
| 2519 | for i = 0, 75 do | |
| 2520 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 2521 | expart.CFrame = expart.CFrame | |
| 2522 | partMesh2.Scale = partMesh2.Scale + vt(value, value, value) | |
| 2523 | expart2.CFrame = expart.CFrame | |
| 2524 | value = value - 0.035 * rad / 5 | |
| 2525 | if value < 0 then | |
| 2526 | value = 0 | |
| 2527 | expart.Transparency = expart.Transparency + 0.05 | |
| 2528 | expart2.Transparency = expart2.Transparency + 0.05 | |
| 2529 | end | |
| 2530 | swait() | |
| 2531 | end | |
| 2532 | game:GetService("Debris"):AddItem(expart, 1)
| |
| 2533 | game:GetService("Debris"):AddItem(expart2, 1)
| |
| 2534 | end | |
| 2535 | function AreaDanger(rad, par, mindam, maxdam) | |
| 2536 | local expart = Instance.new("Part", char)
| |
| 2537 | local partMesh = Instance.new("SpecialMesh", expart)
| |
| 2538 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
| |
| 2539 | partMesh.MeshType = "Sphere" | |
| 2540 | partMesh.Scale = vt(rad, rad, rad) | |
| 2541 | expart.Size = vt(1, 1, 1) | |
| 2542 | expart.Transparency = 0.5 | |
| 2543 | expart.Anchored = true | |
| 2544 | expart.Material = "Neon" | |
| 2545 | expart.CanCollide = false | |
| 2546 | expart.BrickColor = par.BrickColor | |
| 2547 | expart.CFrame = par.CFrame | |
| 2548 | local value = 1 * rad / 5 | |
| 2549 | MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1) | |
| 2550 | for i = 0, 14 do | |
| 2551 | wait() | |
| 2552 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 2553 | expart.CFrame = expart.CFrame | |
| 2554 | value = value - 0.035 * rad | |
| 2555 | if value < 0 then | |
| 2556 | value = 0 | |
| 2557 | end | |
| 2558 | end | |
| 2559 | wait(0.25) | |
| 2560 | CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
| |
| 2561 | wait(0.5) | |
| 2562 | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
| |
| 2563 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
| |
| 2564 | MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal") | |
| 2565 | MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025) | |
| 2566 | for i = 0, 14 do | |
| 2567 | wait() | |
| 2568 | partMesh.Scale = partMesh.Scale + vt(value, value, value) | |
| 2569 | expart.CFrame = expart.CFrame | |
| 2570 | value = value - 0.035 * rad / 2 | |
| 2571 | end | |
| 2572 | expart.Transparency = 1 | |
| 2573 | game:GetService("Debris"):AddItem(expart, 5)
| |
| 2574 | end | |
| 2575 | function Swarmsplosions(negrad, rad, par, mindam, maxdam) | |
| 2576 | CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
| |
| 2577 | CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
| |
| 2578 | CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
| |
| 2579 | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2580 | MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal") | |
| 2581 | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025) | |
| 2582 | for i = 0, 24 do | |
| 2583 | 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)) | |
| 2584 | end | |
| 2585 | for i = 0, 24 do | |
| 2586 | local expart = Instance.new("Part", char)
| |
| 2587 | expart.Transparency = 1 | |
| 2588 | expart.Anchored = true | |
| 2589 | expart.CanCollide = false | |
| 2590 | expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad)) | |
| 2591 | CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
| |
| 2592 | CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
| |
| 2593 | MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal") | |
| 2594 | MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025) | |
| 2595 | for i = 0, 9 do | |
| 2596 | 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)) | |
| 2597 | end | |
| 2598 | game:GetService("Debris"):AddItem(expart, 2)
| |
| 2599 | wait(0.1) | |
| 2600 | end | |
| 2601 | end | |
| 2602 | function EXterPlosion(par) | |
| 2603 | CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
| |
| 2604 | CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
| |
| 2605 | CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
| |
| 2606 | CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
| |
| 2607 | MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal") | |
| 2608 | MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005) | |
| 2609 | MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1) | |
| 2610 | for i = 0, 24 do | |
| 2611 | 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)) | |
| 2612 | end | |
| 2613 | for i = 0, 24 do | |
| 2614 | 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)) | |
| 2615 | end | |
| 2616 | end | |
| 2617 | function ring(type, pos, scale, value) | |
| 2618 | local type = type | |
| 2619 | local rng = Instance.new("Part", char)
| |
| 2620 | rng.Anchored = true | |
| 2621 | rng.BrickColor = origcolor | |
| 2622 | rng.CanCollide = false | |
| 2623 | rng.FormFactor = 3 | |
| 2624 | rng.Name = "Ring" | |
| 2625 | rng.Size = Vector3.new(1, 1, 1) | |
| 2626 | rng.Transparency = 0 | |
| 2627 | rng.TopSurface = 0 | |
| 2628 | rng.BottomSurface = 0 | |
| 2629 | rng.CFrame = pos | |
| 2630 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2631 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 2632 | rngm.Scale = scale | |
| 2633 | local scaler2 = 1 | |
| 2634 | if type == "Add" then | |
| 2635 | scaler2 = 1 * value | |
| 2636 | elseif type == "Divide" then | |
| 2637 | scaler2 = 1 / value | |
| 2638 | end | |
| 2639 | coroutine.resume(coroutine.create(function() | |
| 2640 | for i = 0, 10, 0.1 do | |
| 2641 | swait() | |
| 2642 | if type == "Add" then | |
| 2643 | scaler2 = scaler2 - 0.01 * value | |
| 2644 | elseif type == "Divide" then | |
| 2645 | scaler2 = scaler2 - 0.01 / value | |
| 2646 | end | |
| 2647 | rng.Transparency = rng.Transparency + 0.01 | |
| 2648 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
| 2649 | end | |
| 2650 | rng:Destroy() | |
| 2651 | end)) | |
| 2652 | end | |
| 2653 | function wave(type, pos, scale, value) | |
| 2654 | local type = type | |
| 2655 | local rng = Instance.new("Part", char)
| |
| 2656 | rng.Anchored = true | |
| 2657 | rng.BrickColor = origcolor | |
| 2658 | rng.CanCollide = false | |
| 2659 | rng.FormFactor = 3 | |
| 2660 | rng.Name = "Ring" | |
| 2661 | rng.Size = Vector3.new(1, 1, 1) | |
| 2662 | rng.Transparency = 0 | |
| 2663 | rng.TopSurface = 0 | |
| 2664 | rng.BottomSurface = 0 | |
| 2665 | rng.CFrame = pos | |
| 2666 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2667 | rngm.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 2668 | rngm.Scale = scale | |
| 2669 | local scaler2 = 1 | |
| 2670 | if type == "Add" then | |
| 2671 | scaler2 = 1 * value | |
| 2672 | elseif type == "Divide" then | |
| 2673 | scaler2 = 1 / value | |
| 2674 | end | |
| 2675 | coroutine.resume(coroutine.create(function() | |
| 2676 | for i = 0, 10, 0.1 do | |
| 2677 | swait() | |
| 2678 | if type == "Add" then | |
| 2679 | scaler2 = scaler2 - 0.01 * value | |
| 2680 | elseif type == "Divide" then | |
| 2681 | scaler2 = scaler2 - 0.01 / value | |
| 2682 | end | |
| 2683 | rng.Transparency = rng.Transparency + 0.01 | |
| 2684 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2685 | end | |
| 2686 | rng:Destroy() | |
| 2687 | end)) | |
| 2688 | end | |
| 2689 | function wind(type, pos, scale, value, speed) | |
| 2690 | local type = type | |
| 2691 | local rng = Instance.new("Part", char)
| |
| 2692 | rng.Anchored = true | |
| 2693 | rng.BrickColor = origcolor | |
| 2694 | rng.CanCollide = false | |
| 2695 | rng.FormFactor = 3 | |
| 2696 | rng.Name = "Ring" | |
| 2697 | rng.Size = Vector3.new(1, 1, 1) | |
| 2698 | rng.Transparency = 0 | |
| 2699 | rng.TopSurface = 0 | |
| 2700 | rng.BottomSurface = 0 | |
| 2701 | rng.CFrame = pos | |
| 2702 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2703 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2704 | rngm.Scale = scale | |
| 2705 | local scaler2 = 1 | |
| 2706 | if type == "Add" then | |
| 2707 | scaler2 = 1 * value | |
| 2708 | elseif type == "Divide" then | |
| 2709 | scaler2 = 1 / value | |
| 2710 | end | |
| 2711 | coroutine.resume(coroutine.create(function() | |
| 2712 | for i = 0, 10, 0.1 do | |
| 2713 | swait() | |
| 2714 | if type == "Add" then | |
| 2715 | scaler2 = scaler2 - 0.01 * value | |
| 2716 | elseif type == "Divide" then | |
| 2717 | scaler2 = scaler2 - 0.01 / value | |
| 2718 | end | |
| 2719 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
| 2720 | rng.Transparency = rng.Transparency + 0.01 | |
| 2721 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2) | |
| 2722 | end | |
| 2723 | rng:Destroy() | |
| 2724 | end)) | |
| 2725 | end | |
| 2726 | function groundwind(type, pos, scale, value, speed) | |
| 2727 | local type = type | |
| 2728 | local rng = Instance.new("Part", char)
| |
| 2729 | rng.Anchored = true | |
| 2730 | rng.BrickColor = origcolor | |
| 2731 | rng.CanCollide = false | |
| 2732 | rng.FormFactor = 3 | |
| 2733 | rng.Name = "Ring" | |
| 2734 | rng.Size = Vector3.new(1, 1, 1) | |
| 2735 | rng.Transparency = 0 | |
| 2736 | rng.TopSurface = 0 | |
| 2737 | rng.BottomSurface = 0 | |
| 2738 | rng.CFrame = pos | |
| 2739 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2740 | rngm.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
| 2741 | rngm.Scale = scale | |
| 2742 | local scaler2 = 1 | |
| 2743 | if type == "Add" then | |
| 2744 | scaler2 = 1 * value | |
| 2745 | elseif type == "Divide" then | |
| 2746 | scaler2 = 1 / value | |
| 2747 | end | |
| 2748 | coroutine.resume(coroutine.create(function() | |
| 2749 | for i = 0, 10, 0.1 do | |
| 2750 | swait() | |
| 2751 | if type == "Add" then | |
| 2752 | scaler2 = scaler2 - 0.01 * value | |
| 2753 | elseif type == "Divide" then | |
| 2754 | scaler2 = scaler2 - 0.01 / value | |
| 2755 | end | |
| 2756 | rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0) | |
| 2757 | rng.Transparency = rng.Transparency + 0.01 | |
| 2758 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2) | |
| 2759 | end | |
| 2760 | rng:Destroy() | |
| 2761 | end)) | |
| 2762 | end | |
| 2763 | function CameraManager() | |
| 2764 | if TwoD and not CamInterrupt then | |
| 2765 | if Humanoid.Health > 0 then | |
| 2766 | Camera.CameraSubject = Humanoid | |
| 2767 | Camera.CameraType = "Scriptable" | |
| 2768 | Humanoid.AutoRotate = false | |
| 2769 | if Booleans.GyroUse then | |
| 2770 | Directer.MaxTorque = Vec3(0, huge, 0) | |
| 2771 | else | |
| 2772 | Directer.MaxTorque = Vec3(0, 0, 0) | |
| 2773 | end | |
| 2774 | if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then | |
| 2775 | if Booleans.CamFollow then | |
| 2776 | CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z)) | |
| 2777 | Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position) | |
| 2778 | else | |
| 2779 | CPart.Position = RootPart.Position | |
| 2780 | end | |
| 2781 | else | |
| 2782 | local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p | |
| 2783 | CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z)) | |
| 2784 | end | |
| 2785 | Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2) | |
| 2786 | else | |
| 2787 | Camera.CameraSubject = Humanoid | |
| 2788 | Camera.CameraType = "Custom" | |
| 2789 | Controller.Disabled = false | |
| 2790 | end | |
| 2791 | end | |
| 2792 | end | |
| 2793 | function sphere(bonuspeed, type, pos, scale, value, color) | |
| 2794 | local type = type | |
| 2795 | local rng = Instance.new("Part", char)
| |
| 2796 | rng.Anchored = true | |
| 2797 | rng.BrickColor = color | |
| 2798 | rng.CanCollide = false | |
| 2799 | rng.FormFactor = 3 | |
| 2800 | rng.Name = "Ring" | |
| 2801 | rng.Material = "Neon" | |
| 2802 | rng.Size = Vector3.new(1, 1, 1) | |
| 2803 | rng.Transparency = 0 | |
| 2804 | rng.TopSurface = 0 | |
| 2805 | rng.BottomSurface = 0 | |
| 2806 | rng.CFrame = pos | |
| 2807 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2808 | rngm.MeshType = "Sphere" | |
| 2809 | rngm.Scale = scale | |
| 2810 | if rainbowmode == true then | |
| 2811 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2812 | end | |
| 2813 | local scaler2 = 1 | |
| 2814 | if type == "Add" then | |
| 2815 | scaler2 = 1 * value | |
| 2816 | elseif type == "Divide" then | |
| 2817 | scaler2 = 1 / value | |
| 2818 | end | |
| 2819 | coroutine.resume(coroutine.create(function() | |
| 2820 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 2821 | swait() | |
| 2822 | if rainbowmode == true then | |
| 2823 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2824 | end | |
| 2825 | if type == "Add" then | |
| 2826 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 2827 | elseif type == "Divide" then | |
| 2828 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 2829 | end | |
| 2830 | if chaosmode == true then | |
| 2831 | rng.BrickColor = BrickColor.random() | |
| 2832 | end | |
| 2833 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 2834 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 2835 | end | |
| 2836 | rng:Destroy() | |
| 2837 | end)) | |
| 2838 | end | |
| 2839 | function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 2840 | local type = type | |
| 2841 | local rng = Instance.new("Part", char)
| |
| 2842 | rng.Anchored = true | |
| 2843 | rng.BrickColor = color | |
| 2844 | rng.CanCollide = false | |
| 2845 | rng.FormFactor = 3 | |
| 2846 | rng.Name = "Ring" | |
| 2847 | rng.Material = "Neon" | |
| 2848 | rng.Size = Vector3.new(1, 1, 1) | |
| 2849 | rng.Transparency = 0 | |
| 2850 | rng.TopSurface = 0 | |
| 2851 | rng.BottomSurface = 0 | |
| 2852 | rng.CFrame = pos | |
| 2853 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 2854 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2855 | rngm.MeshType = "Sphere" | |
| 2856 | rngm.Scale = vt(x1, y1, z1) | |
| 2857 | if rainbowmode == true then | |
| 2858 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2859 | end | |
| 2860 | local scaler2 = 1 | |
| 2861 | local speeder = FastSpeed | |
| 2862 | if type == "Add" then | |
| 2863 | scaler2 = 1 * value | |
| 2864 | elseif type == "Divide" then | |
| 2865 | scaler2 = 1 / value | |
| 2866 | end | |
| 2867 | coroutine.resume(coroutine.create(function() | |
| 2868 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 2869 | swait() | |
| 2870 | if rainbowmode == true then | |
| 2871 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2872 | end | |
| 2873 | if type == "Add" then | |
| 2874 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 2875 | elseif type == "Divide" then | |
| 2876 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 2877 | end | |
| 2878 | if chaosmode == true then | |
| 2879 | rng.BrickColor = BrickColor.random() | |
| 2880 | end | |
| 2881 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 2882 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 2883 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 2884 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 2885 | end | |
| 2886 | rng:Destroy() | |
| 2887 | end)) | |
| 2888 | end | |
| 2889 | function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos) | |
| 2890 | local type = type | |
| 2891 | local rng = Instance.new("Part", char)
| |
| 2892 | rng.Anchored = true | |
| 2893 | rng.BrickColor = color | |
| 2894 | rng.CanCollide = false | |
| 2895 | rng.FormFactor = 3 | |
| 2896 | rng.Name = "Ring" | |
| 2897 | rng.Material = "Neon" | |
| 2898 | rng.Size = Vector3.new(1, 1, 1) | |
| 2899 | rng.Transparency = 1 | |
| 2900 | rng.TopSurface = 0 | |
| 2901 | rng.BottomSurface = 0 | |
| 2902 | rng.CFrame = pos | |
| 2903 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 2904 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 2905 | rngm.MeshType = "Sphere" | |
| 2906 | rngm.Scale = vt(x1, y1, z1) | |
| 2907 | if rainbowmode == true then | |
| 2908 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2909 | end | |
| 2910 | local scaler2 = 1 | |
| 2911 | local speeder = FastSpeed | |
| 2912 | if type == "Add" then | |
| 2913 | - | -- targetscript == target:FindFirstChildOfClass("Local Script")
|
| 2913 | + | |
| 2914 | elseif type == "Divide" then | |
| 2915 | scaler2 = 1 / value | |
| 2916 | end | |
| 2917 | coroutine.resume(coroutine.create(function() | |
| 2918 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 2919 | swait() | |
| 2920 | if rainbowmode == true then | |
| 2921 | rng.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 2922 | end | |
| 2923 | if type == "Add" then | |
| 2924 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 2925 | elseif type == "Divide" then | |
| 2926 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 2927 | end | |
| 2928 | if chaosmode == true then | |
| 2929 | rng.BrickColor = BrickColor.random() | |
| 2930 | end | |
| 2931 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 2932 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 2933 | rng.Transparency = rng.Transparency - 0.01 * bonuspeed | |
| 2934 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 2935 | end | |
| 2936 | rng:Destroy() | |
| 2937 | end)) | |
| 2938 | end | |
| 2939 | --function brokescript(dude) | |
| 2940 | -- if dude.Name ~= Character then | |
| 2941 | -- if targetname == dude.Parent.name | |
| 2942 | -- target == game:GetService("Players"):FindFirstChild(targetname)
| |
| 2943 | -- targetscript == target:FindFirstChildOfClass("Local Script")
| |
| 2944 | -- targetscript.Disabled | |
| 2945 | -- end | |
| 2946 | -- end | |
| 2947 | --end | |
| 2948 | function dmg(dude) | |
| 2949 | if dude.Name ~= Character then | |
| 2950 | local bgf = Instance.new("BodyGyro", dude.Head)
| |
| 2951 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0) | |
| 2952 | local val = Instance.new("BoolValue", dude)
| |
| 2953 | val.Name = "IsHit" | |
| 2954 | local ds = coroutine.wrap(function() | |
| 2955 | dude:WaitForChild("Head"):BreakJoints()
| |
| 2956 | dude:WaitForChild("Head").Parent.Parent = nil
| |
| 2957 | wait(0.5) | |
| 2958 | targetted = nil | |
| 2959 | CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
| |
| 2960 | coroutine.resume(coroutine.create(function() | |
| 2961 | for i, v in pairs(dude:GetChildren()) do | |
| 2962 | if v:IsA("Accessory") then
| |
| 2963 | v:Destroy() | |
| 2964 | end | |
| 2965 | if v:IsA("Humanoid") then
| |
| 2966 | v:Destroy() | |
| 2967 | end | |
| 2968 | if v:IsA("CharacterMesh") then
| |
| 2969 | v:Destroy() | |
| 2970 | end | |
| 2971 | if v:IsA("Model") then
| |
| 2972 | v:Destroy() | |
| 2973 | end | |
| 2974 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 2975 | for x, o in pairs(v:GetChildren()) do | |
| 2976 | if o:IsA("Decal") then
| |
| 2977 | o:Destroy() | |
| 2978 | end | |
| 2979 | end | |
| 2980 | coroutine.resume(coroutine.create(function() | |
| 2981 | v.Material = "Neon" | |
| 2982 | v.CanCollide = false | |
| 2983 | local bld = Instance.new("ParticleEmitter", v)
| |
| 2984 | bld.LightEmission = 1 | |
| 2985 | bld.Texture = "rbxassetid://284205403" | |
| 2986 | bld.Color = ColorSequence.new(Color3.new(1, 1, 1)) | |
| 2987 | bld.Rate = 50 | |
| 2988 | bld.Lifetime = NumberRange.new(1) | |
| 2989 | bld.Size = NumberSequence.new({
| |
| 2990 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 2991 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 2992 | }) | |
| 2993 | bld.Transparency = NumberSequence.new({
| |
| 2994 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 2995 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 2996 | }) | |
| 2997 | bld.Speed = NumberRange.new(0, 0) | |
| 2998 | bld.VelocitySpread = 50000 | |
| 2999 | bld.Rotation = NumberRange.new(-500, 500) | |
| 3000 | bld.RotSpeed = NumberRange.new(-500, 500) | |
| 3001 | local sbs = Instance.new("BodyPosition", v)
| |
| 3002 | sbs.P = 3000 | |
| 3003 | sbs.D = 1000 | |
| 3004 | sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 3005 | sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) | |
| 3006 | v.Color = Color3.new(1, 1, 1) | |
| 3007 | coroutine.resume(coroutine.create(function() | |
| 3008 | for i = 0, 49 do | |
| 3009 | swait(1) | |
| 3010 | v.Transparency = v.Transparency + 0.02 | |
| 3011 | end | |
| 3012 | CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
| |
| 3013 | bld.Speed = NumberRange.new(1, 5) | |
| 3014 | bld.Acceleration = vt(0, 10, 0) | |
| 3015 | wait(0.5) | |
| 3016 | bld.Enabled = false | |
| 3017 | wait(3) | |
| 3018 | v:Destroy() | |
| 3019 | dude:Destroy() | |
| 3020 | end)) | |
| 3021 | end)) | |
| 3022 | end | |
| 3023 | end | |
| 3024 | end)) | |
| 3025 | end) | |
| 3026 | ds() | |
| 3027 | end | |
| 3028 | end | |
| 3029 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 3030 | if SinglePlayer then | |
| 3031 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 3032 | end | |
| 3033 | local List = {}
| |
| 3034 | for i, v in pairs(workspace:GetChildren()) do | |
| 3035 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
| |
| 3036 | table.insert(List, v) | |
| 3037 | end | |
| 3038 | end | |
| 3039 | return List | |
| 3040 | end | |
| 3041 | function FaceMouse() | |
| 3042 | Cam = workspace.CurrentCamera | |
| 3043 | return {
| |
| 3044 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 3045 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 3046 | } | |
| 3047 | end | |
| 3048 | - | 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) |
| 3048 | + | |
| 3049 | - | 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) |
| 3049 | + | |
| 3050 | - | 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) |
| 3050 | + | |
| 3051 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) |
| 3051 | + | |
| 3052 | - | 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) |
| 3052 | + | |
| 3053 | - | 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) |
| 3053 | + | |
| 3054 | end | |
| 3055 | local ModeOfGlitch = 1 | |
| 3056 | local storehumanoidWS = 200 | |
| 3057 | function ExtinctiveHeartbreak() | |
| 3058 | local targetted | |
| 3059 | if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 3060 | targetted = mouse.Target.Parent | |
| 3061 | end | |
| 3062 | if targetted ~= nil then | |
| 3063 | attack = true | |
| 3064 | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
| |
| 3065 | for i = 0, 9 do | |
| 3066 | 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)
| |
| 3067 | end | |
| 3068 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3069 | local originalpos = root.CFrame | |
| 3070 | RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2) | |
| 3071 | for i = 0, 9 do | |
| 3072 | 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)
| |
| 3073 | end | |
| 3074 | hum.WalkSpeed = 200 | |
| 3075 | targetted.Head.Anchored = true | |
| 3076 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3077 | for i = 0, 2, 0.1 do | |
| 3078 | swait() | |
| 3079 | -- 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) | |
| 3080 | -- 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) | |
| 3081 | -- 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) | |
| 3082 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8) | |
| 3083 | -- 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) | |
| 3084 | -- 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) | |
| 3085 | end | |
| 3086 | coroutine.resume(coroutine.create(function() | |
| 3087 | bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
| |
| 3088 | bld.LightEmission = 0.1 | |
| 3089 | bld.Texture = "rbxassetid://284205403" | |
| 3090 | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) | |
| 3091 | bld.Rate = 500 | |
| 3092 | bld.Lifetime = NumberRange.new(1) | |
| 3093 | bld.Size = NumberSequence.new({
| |
| 3094 | NumberSequenceKeypoint.new(0, 2, 0), | |
| 3095 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3096 | }) | |
| 3097 | bld.Acceleration = vt(0, -25, 0) | |
| 3098 | bld.Transparency = NumberSequence.new({
| |
| 3099 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 3100 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3101 | }) | |
| 3102 | bld.Speed = NumberRange.new(10, 50) | |
| 3103 | bld.EmissionDirection = "Front" | |
| 3104 | bld.VelocitySpread = 25 | |
| 3105 | - | 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) |
| 3105 | + | |
| 3106 | - | 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) |
| 3106 | + | |
| 3107 | - | 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) |
| 3107 | + | |
| 3108 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8) |
| 3108 | + | |
| 3109 | - | 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) |
| 3109 | + | |
| 3110 | - | 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) |
| 3110 | + | |
| 3111 | bld.Texture = "rbxassetid://284205403" | |
| 3112 | bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0)) | |
| 3113 | bld.Rate = 500 | |
| 3114 | bld.Lifetime = NumberRange.new(1) | |
| 3115 | bld.Size = NumberSequence.new({
| |
| 3116 | NumberSequenceKeypoint.new(0, 2, 0), | |
| 3117 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3118 | }) | |
| 3119 | bld.Acceleration = vt(0, -25, 0) | |
| 3120 | bld.Transparency = NumberSequence.new({
| |
| 3121 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 3122 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 3123 | }) | |
| 3124 | bld.Speed = NumberRange.new(10, 50) | |
| 3125 | bld.EmissionDirection = "Front" | |
| 3126 | bld.VelocitySpread = 25 | |
| 3127 | bld.Rotation = NumberRange.new(-500, 500) | |
| 3128 | bld.RotSpeed = NumberRange.new(-500, 500) | |
| 3129 | end)) | |
| 3130 | CameraEnshaking(5, 5) | |
| 3131 | game:GetService("Debris"):AddItem(bld, 3)
| |
| 3132 | dmg(targetted) | |
| 3133 | CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
| |
| 3134 | for i = 0, 1, 0.1 do | |
| 3135 | swait() | |
| 3136 | -- 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) | |
| 3137 | -- 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) | |
| 3138 | -- 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) | |
| 3139 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8) | |
| 3140 | -- 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) | |
| 3141 | -- 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) | |
| 3142 | end | |
| 3143 | CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
| |
| 3144 | for i = 0, 9 do | |
| 3145 | 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)
| |
| 3146 | end | |
| 3147 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3148 | root.CFrame = originalpos | |
| 3149 | for i = 0, 9 do | |
| 3150 | 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)
| |
| 3151 | end | |
| 3152 | sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
| |
| 3153 | bld.Enabled = false | |
| 3154 | - | 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) |
| 3154 | + | |
| 3155 | - | 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) |
| 3155 | + | |
| 3156 | - | 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) |
| 3156 | + | |
| 3157 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 3157 | + | |
| 3158 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1) |
| 3158 | + | |
| 3159 | - | 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) |
| 3159 | + | |
| 3160 | local orb = Instance.new("Part", char)
| |
| 3161 | orb.Anchored = true | |
| 3162 | orb.BrickColor = BrickColor.new("Toothpaste")
| |
| 3163 | orb.CanCollide = false | |
| 3164 | - | 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) |
| 3164 | + | |
| 3165 | - | 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) |
| 3165 | + | |
| 3166 | - | 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) |
| 3166 | + | |
| 3167 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) |
| 3167 | + | |
| 3168 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4) |
| 3168 | + | |
| 3169 | - | 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) |
| 3169 | + | |
| 3170 | orb.BottomSurface = 0 | |
| 3171 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3172 | orbm.MeshType = "Sphere" | |
| 3173 | orbm.Name = "SizeMesh" | |
| 3174 | orbm.Scale = vt(0, 0, 0) | |
| 3175 | local scaled = 0.1 | |
| 3176 | local posid = 0 | |
| 3177 | CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
| |
| 3178 | for i = 0, 5, 0.1 do | |
| 3179 | swait() | |
| 3180 | scaled = scaled - 0.001 | |
| 3181 | posid = posid - scaled | |
| 3182 | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) | |
| 3183 | orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled) | |
| 3184 | 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)
| |
| 3185 | -- 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) | |
| 3186 | -- 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) | |
| 3187 | -- 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) | |
| 3188 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 3189 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1) | |
| 3190 | -- 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) | |
| 3191 | end | |
| 3192 | for i = 0, 2, 0.1 do | |
| 3193 | swait() | |
| 3194 | orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0) | |
| 3195 | -- 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) | |
| 3196 | -- 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) | |
| 3197 | -- 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) | |
| 3198 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4) | |
| 3199 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4) | |
| 3200 | -- 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) | |
| 3201 | end | |
| 3202 | coroutine.resume(coroutine.create(function() | |
| 3203 | orb.Anchored = false | |
| 3204 | CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
| |
| 3205 | local a = Instance.new("Part", workspace)
| |
| 3206 | a.Name = "Direction" | |
| 3207 | a.Anchored = true | |
| 3208 | a.BrickColor = bc("Bright red")
| |
| 3209 | a.Material = "Neon" | |
| 3210 | a.Transparency = 1 | |
| 3211 | a.CanCollide = false | |
| 3212 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 250) | |
| 3213 | local ignore = orb | |
| 3214 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3215 | a.BottomSurface = 10 | |
| 3216 | a.TopSurface = 10 | |
| 3217 | local distance = (orb.CFrame.p - position).magnitude | |
| 3218 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
| 3219 | - | 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) |
| 3219 | + | |
| 3220 | - | 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) |
| 3220 | + | |
| 3221 | - | 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) |
| 3221 | + | |
| 3222 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4) |
| 3222 | + | |
| 3223 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4) |
| 3223 | + | |
| 3224 | - | 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) |
| 3224 | + | |
| 3225 | bv.Parent = orb | |
| 3226 | local hitted = false | |
| 3227 | game:GetService("Debris"):AddItem(orb, 15)
| |
| 3228 | wait() | |
| 3229 | local hit = orb.Touched:connect(function(hit) | |
| 3230 | if hitted == false then | |
| 3231 | hitted = true | |
| 3232 | - | 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) |
| 3232 | + | |
| 3233 | - | 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) |
| 3233 | + | |
| 3234 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3234 | + | |
| 3235 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3235 | + | |
| 3236 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3236 | + | |
| 3237 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3237 | + | |
| 3238 | 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)
| |
| 3239 | 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)
| |
| 3240 | end | |
| 3241 | orb.Anchored = true | |
| 3242 | orb.Transparency = 1 | |
| 3243 | wait(0.00008) | |
| 3244 | orb:Destroy() | |
| 3245 | end | |
| 3246 | end) | |
| 3247 | end)) | |
| 3248 | for i = 0, 1, 0.1 do | |
| 3249 | swait() | |
| 3250 | -- 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) | |
| 3251 | -- 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) | |
| 3252 | -- 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) | |
| 3253 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4) | |
| 3254 | - | 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) |
| 3254 | + | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4) |
| 3255 | - | 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) |
| 3255 | + | -- 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) |
| 3256 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3256 | + | |
| 3257 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3257 | + | |
| 3258 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3258 | + | |
| 3259 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3259 | + | |
| 3260 | attack = true | |
| 3261 | for i = 0, 2, 0.1 do | |
| 3262 | swait() | |
| 3263 | -- 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) | |
| 3264 | -- 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) | |
| 3265 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3266 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3267 | - | 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) |
| 3267 | + | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3268 | - | 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) |
| 3268 | + | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3269 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3269 | + | |
| 3270 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3270 | + | |
| 3271 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3271 | + | |
| 3272 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3272 | + | |
| 3273 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do | |
| 3274 | if v:FindFirstChild("Head") then
| |
| 3275 | dmg(v) | |
| 3276 | end | |
| 3277 | end | |
| 3278 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random()) | |
| 3279 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random()) | |
| 3280 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random()) | |
| 3281 | for i = 0, 2, 0.1 do | |
| 3282 | swait() | |
| 3283 | 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) | |
| 3284 | 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) | |
| 3285 | -- 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) | |
| 3286 | -- 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) | |
| 3287 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3288 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3289 | - | 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) |
| 3289 | + | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3290 | - | 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) |
| 3290 | + | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3291 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3291 | + | |
| 3292 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3292 | + | |
| 3293 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3293 | + | |
| 3294 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3294 | + | |
| 3295 | attack = true | |
| 3296 | for i = 0, 2, 0.1 do | |
| 3297 | swait() | |
| 3298 | -- 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) | |
| 3299 | -- 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) | |
| 3300 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3301 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3302 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3303 | - | 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) |
| 3303 | + | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3304 | - | 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) |
| 3304 | + | |
| 3305 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3305 | + | |
| 3306 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3306 | + | |
| 3307 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3307 | + | |
| 3308 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3308 | + | |
| 3309 | if v:FindFirstChild("Head") then
| |
| 3310 | dmg(v) | |
| 3311 | end | |
| 3312 | end | |
| 3313 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.new("Dark green"))
| |
| 3314 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.new("Pastel green"))
| |
| 3315 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.new("Lime green"))
| |
| 3316 | for i = 0, 2, 0.1 do | |
| 3317 | swait() | |
| 3318 | 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("Lime green"), 0)
| |
| 3319 | 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("Lime green"), 0)
| |
| 3320 | -- 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) | |
| 3321 | -- 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) | |
| 3322 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3323 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3324 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3325 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3326 | end | |
| 3327 | attack = false | |
| 3328 | - | 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) |
| 3328 | + | |
| 3329 | - | 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) |
| 3329 | + | |
| 3330 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3330 | + | |
| 3331 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3331 | + | |
| 3332 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3332 | + | |
| 3333 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3333 | + | |
| 3334 | -- 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) | |
| 3335 | -- 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) | |
| 3336 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3337 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3338 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3339 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
| 3340 | end | |
| 3341 | chatfunc("DIE!!", BrickColor.random().Color)
| |
| 3342 | - | 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) |
| 3342 | + | |
| 3343 | - | 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) |
| 3343 | + | |
| 3344 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3344 | + | |
| 3345 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3345 | + | |
| 3346 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) |
| 3346 | + | |
| 3347 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) |
| 3347 | + | |
| 3348 | end | |
| 3349 | end | |
| 3350 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
| 3351 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random()) | |
| 3352 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random()) | |
| 3353 | for i = 0, 3, 0.1 do | |
| 3354 | swait() | |
| 3355 | 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) | |
| 3356 | 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) | |
| 3357 | 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) | |
| 3358 | 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) | |
| 3359 | -- 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) | |
| 3360 | -- 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) | |
| 3361 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3362 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3363 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3364 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3365 | end | |
| 3366 | attack = false | |
| 3367 | - | 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) |
| 3367 | + | |
| 3368 | - | 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) |
| 3368 | + | |
| 3369 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3369 | + | |
| 3370 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) |
| 3370 | + | |
| 3371 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) |
| 3371 | + | |
| 3372 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) |
| 3372 | + | |
| 3373 | -- 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) | |
| 3374 | -- 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) | |
| 3375 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3376 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3377 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2) | |
| 3378 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2) | |
| 3379 | end | |
| 3380 | chatfunc("bye bye data", BrickColor.new("Dark green").Color)
| |
| 3381 | CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
| |
| 3382 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
| |
| 3383 | CameraEnshaking(5, 25) | |
| 3384 | for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do | |
| 3385 | if v:FindFirstChild("Head") then
| |
| 3386 | dmg(v) | |
| 3387 | end | |
| 3388 | end | |
| 3389 | sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random()) | |
| 3390 | sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, Color3.fromRGB(r/ 255,g/ 255,b /255)) | |
| 3391 | sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.new("Pastel green"))
| |
| 3392 | for i = 0, 3, 0.1 do | |
| 3393 | swait() | |
| 3394 | 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0) | |
| 3395 | 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.new("Pastel green"), 0)
| |
| 3396 | 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, Color3.fromRGB(r/ 255,g/ 255,b /255), 0) | |
| 3397 | 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.new("Pastel green"), 0)
| |
| 3398 | -- 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) | |
| 3399 | -- 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) | |
| 3400 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3401 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 3402 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4) | |
| 3403 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4) | |
| 3404 | end | |
| 3405 | attack = false | |
| 3406 | end | |
| 3407 | function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon) | |
| 3408 | local orb = Instance.new("Part", char)
| |
| 3409 | orb.Anchored = true | |
| 3410 | orb.BrickColor = color | |
| 3411 | orb.CanCollide = false | |
| 3412 | orb.FormFactor = 3 | |
| 3413 | orb.Name = "Ring" | |
| 3414 | orb.Material = "Neon" | |
| 3415 | orb.Size = Vector3.new(1, 1, 1) | |
| 3416 | orb.Transparency = 0 | |
| 3417 | orb.TopSurface = 0 | |
| 3418 | orb.BottomSurface = 0 | |
| 3419 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3420 | orbm.MeshType = "Sphere" | |
| 3421 | orb.CFrame = positted | |
| 3422 | orbm.Name = "SizeMesh" | |
| 3423 | orbm.Scale = vt(1, 1, 1) | |
| 3424 | CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
| |
| 3425 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor) | |
| 3426 | coroutine.resume(coroutine.create(function() | |
| 3427 | wait() | |
| 3428 | CameraEnshaking(3, ShakePower) | |
| 3429 | orb.Transparency = 1 | |
| 3430 | MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal") | |
| 3431 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor) | |
| 3432 | CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
| |
| 3433 | wait() | |
| 3434 | orb:Destroy() | |
| 3435 | end)) | |
| 3436 | end | |
| 3437 | function orb_spawn(positted, timer) | |
| 3438 | local randomcol = math.random(1, 2) | |
| 3439 | local orb = Instance.new("Part", char)
| |
| 3440 | orb.Anchored = true | |
| 3441 | if randomcol == 1 then | |
| 3442 | orb.BrickColor = BrickColor.new("White")
| |
| 3443 | elseif randomcol == 2 then | |
| 3444 | orb.BrickColor = BrickColor.new("Really black")
| |
| 3445 | end | |
| 3446 | orb.CanCollide = false | |
| 3447 | orb.FormFactor = 3 | |
| 3448 | orb.Name = "Ring" | |
| 3449 | orb.Material = "Neon" | |
| 3450 | orb.Size = Vector3.new(1, 1, 1) | |
| 3451 | orb.Transparency = 0 | |
| 3452 | orb.TopSurface = 0 | |
| 3453 | orb.BottomSurface = 0 | |
| 3454 | local orbm = Instance.new("SpecialMesh", orb)
| |
| 3455 | orbm.MeshType = "Sphere" | |
| 3456 | orb.CFrame = positted | |
| 3457 | orbm.Name = "SizeMesh" | |
| 3458 | orbm.Scale = vt(1, 1, 1) | |
| 3459 | CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
| |
| 3460 | sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor) | |
| 3461 | for i = 0, 2 do | |
| 3462 | 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) | |
| 3463 | end | |
| 3464 | coroutine.resume(coroutine.create(function() | |
| 3465 | wait(timer) | |
| 3466 | CameraEnshaking(3, 2) | |
| 3467 | orb.Transparency = 1 | |
| 3468 | MagniDamage(orb, 17.5, 10, 50, 0, "Normal") | |
| 3469 | sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor) | |
| 3470 | for i = 0, 4 do | |
| 3471 | 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) | |
| 3472 | end | |
| 3473 | CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
| |
| 3474 | wait(3) | |
| 3475 | orb:Destroy() | |
| 3476 | end)) | |
| 3477 | end | |
| 3478 | function scattercorrupt() | |
| 3479 | attack = true | |
| 3480 | local rot = 0 | |
| 3481 | local randomrotations = math.random(1, 2) | |
| 3482 | local lookv = 2.5 | |
| 3483 | local power = 5 | |
| 3484 | sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
| |
| 3485 | sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
| |
| 3486 | for i = 0, 9 do | |
| 3487 | 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)
| |
| 3488 | end | |
| 3489 | CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
| |
| 3490 | CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
| |
| 3491 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
| |
| 3492 | CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
| |
| 3493 | CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
| |
| 3494 | local hite = Instance.new("Part", char)
| |
| 3495 | hite.Anchored = true | |
| 3496 | hite.CanCollide = false | |
| 3497 | hite.FormFactor = 3 | |
| 3498 | hite.Name = "Ring" | |
| 3499 | hite.Material = "Neon" | |
| 3500 | hite.Size = Vector3.new(1, 1, 1) | |
| 3501 | hite.Transparency = 1 | |
| 3502 | hite.TopSurface = 0 | |
| 3503 | hite.BottomSurface = 0 | |
| 3504 | hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0) | |
| 3505 | local rem = Instance.new("Part", char)
| |
| 3506 | rem.Anchored = true | |
| 3507 | rem.CanCollide = false | |
| 3508 | rem.FormFactor = 3 | |
| 3509 | rem.Name = "Ring" | |
| 3510 | rem.Material = "Neon" | |
| 3511 | rem.Size = Vector3.new(1, 1, 1) | |
| 3512 | rem.Transparency = 1 | |
| 3513 | rem.TopSurface = 0 | |
| 3514 | rem.BottomSurface = 0 | |
| 3515 | rem.CFrame = hite.CFrame | |
| 3516 | local rem2 = rem:Clone() | |
| 3517 | rem2.Parent = char | |
| 3518 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3519 | local rem3 = rem:Clone() | |
| 3520 | rem3.Parent = char | |
| 3521 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 3522 | local rem4 = rem:Clone() | |
| 3523 | - | 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)),.1) |
| 3523 | + | |
| 3524 | - | 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)),.1) |
| 3524 | + | |
| 3525 | - | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.1) |
| 3525 | + | |
| 3526 | - | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1) |
| 3526 | + | |
| 3527 | - | RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1) |
| 3527 | + | |
| 3528 | - | LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1) |
| 3528 | + | |
| 3529 | if randomrotations == 1 then | |
| 3530 | rot = rot + 1 | |
| 3531 | elseif randomrotations == 2 then | |
| 3532 | rot = rot - 1 | |
| 3533 | end | |
| 3534 | power = power + 0.5 | |
| 3535 | lookv = lookv + 7.5 | |
| 3536 | rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0) | |
| 3537 | rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3538 | rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0) | |
| 3539 | rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0) | |
| 3540 | orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3541 | orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3542 | orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3543 | orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
| |
| 3544 | end | |
| 3545 | end)) | |
| 3546 | attack = false | |
| 3547 | end | |
| 3548 | function deadworld() | |
| 3549 | hum.WalkSpeed = 200 | |
| 3550 | attack = true | |
| 3551 | chatfunc("You... you will regret this!",Color3.new(0.5,0,0))
| |
| 3552 | for i = 0,10,0.1 do | |
| 3553 | swait() | |
| 3554 | --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)),.1) | |
| 3555 | --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)),.1) | |
| 3556 | --RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.1) | |
| 3557 | --Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 15 * math.cos(sine / 1))),.1) | |
| 3558 | --RW.C0=clerp(RW.C0,cf(1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.1) | |
| 3559 | --LW.C0=clerp(LW.C0,cf(-1.05,0.4 + 0.1 * math.cos(sine / 28),-0.5)*angles(math.rad(140),math.rad(0 + 5 * math.cos(sine / 1)),math.rad(50 - 5 * math.cos(sine / 1))),.1) | |
| 3560 | end | |
| 3561 | coroutine.resume(coroutine.create(function() | |
| 3562 | CFuncs["Sound"].Create("rbxassetid://1213175909", char, 1,1)
| |
| 3563 | sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3564 | sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3565 | sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3566 | coroutine.resume(coroutine.create(function() | |
| 3567 | for i = 0, 9 do | |
| 3568 | swait(3) | |
| 3569 | sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
| |
| 3570 | end | |
| 3571 | end)) | |
| 3572 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 5,1)
| |
| 3573 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 1,1)
| |
| 3574 | local blastpitch = 1 | |
| 3575 | for i = 0,2 do | |
| 3576 | wait(1.5) | |
| 3577 | sphere(3,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3578 | sphere(6,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3579 | sphere(9,"Add",root.CFrame,vt(0,0,0),4,BrickColor.new("White"))
| |
| 3580 | coroutine.resume(coroutine.create(function() | |
| 3581 | for i = 0, 9 do | |
| 3582 | swait(3) | |
| 3583 | sphere(1,"Add",root.CFrame*CFrame.new(math.random(-75,75),math.random(-75,75),math.random(-75,75)),vt(0,0,0),2,BrickColor.new("Really red"))
| |
| 3584 | end | |
| 3585 | end)) | |
| 3586 | - | 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) |
| 3586 | + | |
| 3587 | - | 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) |
| 3587 | + | |
| 3588 | - | 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) |
| 3588 | + | |
| 3589 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 3589 | + | |
| 3590 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) |
| 3590 | + | |
| 3591 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) |
| 3591 | + | |
| 3592 | owner.Character.Humanoid.Health = math.huge | |
| 3593 | if v:FindFirstChild("Head") then
| |
| 3594 | dmg(v) | |
| 3595 | end | |
| 3596 | end | |
| 3597 | CFuncs["Sound"].Create("rbxassetid://239000203", char, 2,0.75)
| |
| 3598 | CFuncs["Sound"].Create("rbxassetid://579687077", char, 2,0.5)
| |
| 3599 | sphere(1,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
| |
| 3600 | sphere(2,"Add",root.CFrame,vt(0,0,0),9,BrickColor.new("Crimson"))
| |
| 3601 | - | 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) |
| 3601 | + | |
| 3602 | - | 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) |
| 3602 | + | |
| 3603 | - | 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) |
| 3603 | + | |
| 3604 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3604 | + | |
| 3605 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3605 | + | |
| 3606 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3606 | + | |
| 3607 | end | |
| 3608 | end)) | |
| 3609 | end)) | |
| 3610 | attack = false | |
| 3611 | hum.WalkSpeed = 200 | |
| 3612 | - | 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) |
| 3612 | + | |
| 3613 | - | 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) |
| 3613 | + | |
| 3614 | - | 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) |
| 3614 | + | |
| 3615 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3615 | + | |
| 3616 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3616 | + | |
| 3617 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3617 | + | -- 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) |
| 3618 | -- 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) | |
| 3619 | -- 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) | |
| 3620 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 3621 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
| 3622 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2) | |
| 3623 | - | 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) |
| 3623 | + | |
| 3624 | - | 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) |
| 3624 | + | |
| 3625 | - | 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) |
| 3625 | + | |
| 3626 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3626 | + | |
| 3627 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3627 | + | |
| 3628 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3628 | + | |
| 3629 | for i = 0, 1, 0.5 do | |
| 3630 | swait() | |
| 3631 | bv.velocity = root.CFrame.lookVector * 200 | |
| 3632 | -- 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) | |
| 3633 | -- 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) | |
| 3634 | - | 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) |
| 3634 | + | -- 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) |
| 3635 | - | 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) |
| 3635 | + | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3636 | - | 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) |
| 3636 | + | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3637 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) |
| 3637 | + | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3638 | - | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) |
| 3638 | + | |
| 3639 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) |
| 3639 | + | |
| 3640 | for i = 0, 1, 0.5 do | |
| 3641 | swait() | |
| 3642 | bv.velocity = root.CFrame.lookVector * 175 | |
| 3643 | -- 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) | |
| 3644 | -- 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) | |
| 3645 | -- 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) | |
| 3646 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 3647 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 3648 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 3649 | -- end | |
| 3650 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 3651 | for i = 0, 1, 0.5 do | |
| 3652 | swait() | |
| 3653 | bv.velocity = root.CFrame.lookVector * 200 | |
| 3654 | -- 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) | |
| 3655 | -- 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) | |
| 3656 | -- 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) | |
| 3657 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 3658 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 3659 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 3660 | end | |
| 3661 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 3662 | for i = 0, 1, 0.5 do | |
| 3663 | swait() | |
| 3664 | bv.velocity = root.CFrame.lookVector * 200 | |
| 3665 | -- 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) | |
| 3666 | -- 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) | |
| 3667 | -- 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) | |
| 3668 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5) | |
| 3669 | -- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5) | |
| 3670 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
| 3671 | end | |
| 3672 | orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5) | |
| 3673 | end | |
| 3674 | bv:Destroy() | |
| 3675 | attack = false | |
| 3676 | end | |
| 3677 | end | |
| 3678 | function Wip() | |
| 3679 | attack = true | |
| 3680 | local rngb = Instance.new("Part", char)
| |
| 3681 | rngb.Anchored = true | |
| 3682 | rngb.BrickColor = origcolor | |
| 3683 | rngb.CanCollide = false | |
| 3684 | rngb.FormFactor = 3 | |
| 3685 | rngb.Name = "Ring" | |
| 3686 | rngb.Material = "Neon" | |
| 3687 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 3688 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 3688 | + | |
| 3689 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 3689 | + | |
| 3690 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
| 3690 | + | |
| 3691 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 3691 | + | |
| 3692 | - | 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) |
| 3692 | + | |
| 3693 | - | 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) |
| 3693 | + | |
| 3694 | rngmb.Scale = vt(0, 1, 0) | |
| 3695 | local orb = rngb:Clone() | |
| 3696 | orb.Parent = char | |
| 3697 | orb.Transparency = 0 | |
| 3698 | orb.BrickColor = BrickColor.new("White")
| |
| 3699 | orb.Size = vt(1, 1, 1) | |
| 3700 | local orbmish = orb.SizeMesh | |
| 3701 | orbmish.Scale = vt(0, 0, 0) | |
| 3702 | orbmish.MeshType = "Sphere" | |
| 3703 | local orbe = rngb:Clone() | |
| 3704 | orbe.Parent = char | |
| 3705 | orbe.Transparency = 0.5 | |
| 3706 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 3707 | orbe.Size = vt(1, 1, 1) | |
| 3708 | local orbmish2 = orbe.SizeMesh | |
| 3709 | orbmish2.Scale = vt(0, 0, 0) | |
| 3710 | orbmish2.MeshType = "Sphere" | |
| 3711 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3712 | rngb:Destroy() | |
| 3713 | for i = 0, 5, 0.1 do | |
| 3714 | swait() | |
| 3715 | if rainbowmode == true then | |
| 3716 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3717 | end | |
| 3718 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 3719 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 3720 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 3721 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 3722 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 3723 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 3724 | -- 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) | |
| 3725 | -- 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) | |
| 3726 | RootPart.CFrame = FaceMouse()[1] | |
| 3727 | end | |
| 3728 | orbe.Transparency = 1 | |
| 3729 | orb.Transparency = 1 | |
| 3730 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
| 3731 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
| |
| 3732 | local a = Instance.new("Part", Character)
| |
| 3733 | a.Name = "Direction" | |
| 3734 | a.Anchored = true | |
| 3735 | a.BrickColor = bc("White")
| |
| 3736 | a.Material = "Neon" | |
| 3737 | a.Transparency = 0 | |
| 3738 | a.Shape = "Cylinder" | |
| 3739 | a.CanCollide = false | |
| 3740 | local a2 = Instance.new("Part", Character)
| |
| 3741 | a2.Name = "Direction" | |
| 3742 | a2.Anchored = true | |
| 3743 | a2.BrickColor = bc("New Yeller")
| |
| 3744 | a2.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3745 | a2.Material = "Neon" | |
| 3746 | a2.Transparency = 0.5 | |
| 3747 | a2.Shape = "Cylinder" | |
| 3748 | a2.CanCollide = false | |
| 3749 | local ba = Instance.new("Part", Character)
| |
| 3750 | ba.Name = "HitDirect" | |
| 3751 | ba.Anchored = true | |
| 3752 | ba.BrickColor = bc("White")
| |
| 3753 | ba.Material = "Neon" | |
| 3754 | ba.Transparency = 1 | |
| 3755 | ba.CanCollide = false | |
| 3756 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3757 | local ignore = Character | |
| 3758 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3759 | a.BottomSurface = 10 | |
| 3760 | a.TopSurface = 10 | |
| 3761 | a2.BottomSurface = 10 | |
| 3762 | a2.TopSurface = 10 | |
| 3763 | local distance = (orb.CFrame.p - position).magnitude | |
| 3764 | a.Size = Vector3.new(distance, 1, 1) | |
| 3765 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3766 | a2.Size = Vector3.new(distance, 1, 1) | |
| 3767 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3768 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3769 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3770 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3771 | game:GetService("Debris"):AddItem(a, 20)
| |
| 3772 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 3773 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 3774 | local msh = Instance.new("SpecialMesh", a)
| |
| 3775 | msh.MeshType = "Cylinder" | |
| 3776 | msh.Scale = vt(1, 25, 25) | |
| 3777 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 3778 | msh2.MeshType = "Cylinder" | |
| 3779 | msh2.Scale = vt(1, 30, 30) | |
| 3780 | for i = 0, 10, 0.1 do | |
| 3781 | swait() | |
| 3782 | CameraEnshaking(1, 5) | |
| 3783 | a2.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3784 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3785 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3786 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3787 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3788 | distance = (orb.CFrame.p - position).magnitude | |
| 3789 | if typrot == 1 then | |
| 3790 | rotation = rotation + 2.5 | |
| 3791 | elseif typrot == 2 then | |
| 3792 | rotation = rotation - 2.5 | |
| 3793 | end | |
| 3794 | RootPart.CFrame = FaceMouse()[1] | |
| 3795 | a.Size = Vector3.new(distance, 1, 1) | |
| 3796 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3797 | a2.Size = Vector3.new(distance, 1, 1) | |
| 3798 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3799 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3800 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3801 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3802 | msh.Scale = msh.Scale - vt(0, 0.25, 0.25) | |
| 3803 | msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3) | |
| 3804 | 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) | |
| 3805 | 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) | |
| 3806 | MagniDamage(ba, 30, 500, 60000, 0, "Normal") | |
| 3807 | end | |
| 3808 | a:Destroy() | |
| 3809 | a2:Destroy() | |
| 3810 | ba:Destroy() | |
| 3811 | orb:Destroy() | |
| 3812 | orbe:Destroy() | |
| 3813 | attack = false | |
| 3814 | end | |
| 3815 | function UniversalSpark() | |
| 3816 | attack = true | |
| 3817 | local rngb = Instance.new("Part", char)
| |
| 3818 | rngb.Anchored = true | |
| 3819 | rngb.BrickColor = origcolor | |
| 3820 | rngb.CanCollide = false | |
| 3821 | rngb.FormFactor = 3 | |
| 3822 | rngb.Name = "Ring" | |
| 3823 | rngb.Material = "Neon" | |
| 3824 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 3825 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 3825 | + | |
| 3826 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 3826 | + | |
| 3827 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
| 3827 | + | |
| 3828 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 3828 | + | |
| 3829 | - | 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) |
| 3829 | + | |
| 3830 | - | 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) |
| 3830 | + | |
| 3831 | rngmb.Scale = vt(0, 1, 0) | |
| 3832 | local orb = rngb:Clone() | |
| 3833 | orb.Parent = char | |
| 3834 | orb.Transparency = 0 | |
| 3835 | orb.BrickColor = BrickColor.new("White")
| |
| 3836 | orb.Size = vt(1, 1, 1) | |
| 3837 | local orbmish = orb.SizeMesh | |
| 3838 | orbmish.Scale = vt(0, 0, 0) | |
| 3839 | orbmish.MeshType = "Sphere" | |
| 3840 | local orbe = rngb:Clone() | |
| 3841 | orbe.Parent = char | |
| 3842 | orbe.Transparency = 0.5 | |
| 3843 | orbe.BrickColor = BrickColor.new("New Yeller")
| |
| 3844 | orbe.Size = vt(1, 1, 1) | |
| 3845 | local orbmish2 = orbe.SizeMesh | |
| 3846 | orbmish2.Scale = vt(0, 0, 0) | |
| 3847 | orbmish2.MeshType = "Sphere" | |
| 3848 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3849 | rngb:Destroy() | |
| 3850 | for i = 0, 5, 0.1 do | |
| 3851 | swait() | |
| 3852 | if rainbowmode == true then | |
| 3853 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 3854 | end | |
| 3855 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 3856 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 3857 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 3858 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 3859 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 3860 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 3861 | -- 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) | |
| 3862 | -- 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) | |
| 3863 | RootPart.CFrame = FaceMouse()[1] | |
| 3864 | end | |
| 3865 | orbe.Transparency = 1 | |
| 3866 | orb.Transparency = 1 | |
| 3867 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
| 3868 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
| |
| 3869 | CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
| |
| 3870 | CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
| |
| 3871 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
| |
| 3872 | CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 3873 | CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 3874 | CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
| |
| 3875 | local xd = Instance.new("Sound", char)
| |
| 3876 | xd.SoundId = "rbxassetid://445796828" | |
| 3877 | xd.Pitch = 0.75 | |
| 3878 | xd.Looped = true | |
| 3879 | xd.Volume = 1.25 | |
| 3880 | xd:Play() | |
| 3881 | local a = Instance.new("Part", Character)
| |
| 3882 | a.Name = "Direction" | |
| 3883 | a.Anchored = true | |
| 3884 | a.BrickColor = bc("Alder")
| |
| 3885 | a.Color = MAINRUINCOLOR.Color | |
| 3886 | a.Material = "Neon" | |
| 3887 | a.Transparency = 0.5 | |
| 3888 | a.Shape = "Cylinder" | |
| 3889 | a.CanCollide = false | |
| 3890 | local a2 = Instance.new("Part", Character)
| |
| 3891 | a2.Name = "Direction" | |
| 3892 | a2.Anchored = true | |
| 3893 | a2.BrickColor = bc("New Yeller")
| |
| 3894 | a2.Color = MAINRUINCOLOR.Color | |
| 3895 | a2.Material = "Neon" | |
| 3896 | a2.Transparency = 0.5 | |
| 3897 | a2.Shape = "Cylinder" | |
| 3898 | a2.CanCollide = false | |
| 3899 | local ba = Instance.new("Part", Character)
| |
| 3900 | ba.Name = "HitDirect" | |
| 3901 | ba.Anchored = true | |
| 3902 | ba.BrickColor = bc("Really black")
| |
| 3903 | ba.Material = "Neon" | |
| 3904 | ba.Transparency = 1 | |
| 3905 | ba.CanCollide = false | |
| 3906 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3907 | local ignore = Character | |
| 3908 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3909 | a.BottomSurface = 10 | |
| 3910 | a.TopSurface = 10 | |
| 3911 | a2.BottomSurface = 10 | |
| 3912 | a2.TopSurface = 10 | |
| 3913 | local distance = (orb.CFrame.p - position).magnitude | |
| 3914 | a.Size = Vector3.new(distance, 1, 1) | |
| 3915 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3916 | a2.Size = Vector3.new(distance, 1, 1) | |
| 3917 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3918 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3919 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3920 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3921 | game:GetService("Debris"):AddItem(a, 60)
| |
| 3922 | game:GetService("Debris"):AddItem(a2, 60)
| |
| 3923 | game:GetService("Debris"):AddItem(ba, 60)
| |
| 3924 | local outerscale = 0 | |
| 3925 | local msh = Instance.new("SpecialMesh", a)
| |
| 3926 | msh.MeshType = "Cylinder" | |
| 3927 | msh.Scale = vt(1, 0, 0) | |
| 3928 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 3929 | msh2.MeshType = "Cylinder" | |
| 3930 | msh2.Scale = vt(1, 0, 0) | |
| 3931 | for i = 0, 2, 0.1 do | |
| 3932 | swait() | |
| 3933 | CameraEnshaking(1, 1) | |
| 3934 | msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20) | |
| 3935 | msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15) | |
| 3936 | outerscale = outerscale - 0.015 | |
| 3937 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3938 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3939 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3940 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3941 | distance = (orb.CFrame.p - position).magnitude | |
| 3942 | if typrot == 1 then | |
| 3943 | rotation = rotation + 2.5 | |
| 3944 | elseif typrot == 2 then | |
| 3945 | rotation = rotation - 2.5 | |
| 3946 | end | |
| 3947 | RootPart.CFrame = FaceMouse()[1] | |
| 3948 | a.Size = Vector3.new(distance, 1, 1) | |
| 3949 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3950 | a2.Size = Vector3.new(distance, 1, 1) | |
| 3951 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3952 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3953 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3954 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3955 | 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) | |
| 3956 | 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) | |
| 3957 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 3958 | end | |
| 3959 | for z = 0, 2 do | |
| 3960 | for i = 0, 4, 0.1 do | |
| 3961 | swait() | |
| 3962 | CameraEnshaking(1, 1) | |
| 3963 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 3964 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 3965 | outerscale = outerscale + 0.015 | |
| 3966 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3967 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3968 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3969 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3970 | distance = (orb.CFrame.p - position).magnitude | |
| 3971 | if typrot == 1 then | |
| 3972 | rotation = rotation + 2.5 | |
| 3973 | elseif typrot == 2 then | |
| 3974 | rotation = rotation - 2.5 | |
| 3975 | end | |
| 3976 | RootPart.CFrame = FaceMouse()[1] | |
| 3977 | a.Size = Vector3.new(distance, 1, 1) | |
| 3978 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3979 | a2.Size = Vector3.new(distance, 1, 1) | |
| 3980 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 3981 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 3982 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3983 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 3984 | 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) | |
| 3985 | 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) | |
| 3986 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 3987 | end | |
| 3988 | for i = 0, 4, 0.1 do | |
| 3989 | swait() | |
| 3990 | CameraEnshaking(1, 1) | |
| 3991 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 3992 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 3993 | outerscale = outerscale - 0.015 | |
| 3994 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3995 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 3996 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 3997 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 3998 | distance = (orb.CFrame.p - position).magnitude | |
| 3999 | if typrot == 1 then | |
| 4000 | rotation = rotation + 2.5 | |
| 4001 | elseif typrot == 2 then | |
| 4002 | rotation = rotation - 2.5 | |
| 4003 | end | |
| 4004 | RootPart.CFrame = FaceMouse()[1] | |
| 4005 | a.Size = Vector3.new(distance, 1, 1) | |
| 4006 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4007 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4008 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4009 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4010 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4011 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4012 | 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) | |
| 4013 | 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) | |
| 4014 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4015 | end | |
| 4016 | end | |
| 4017 | for i = 0, 4, 0.1 do | |
| 4018 | swait() | |
| 4019 | CameraEnshaking(1, 1) | |
| 4020 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4021 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4022 | xd.Volume = xd.Volume - 0.025 | |
| 4023 | a.Transparency = a.Transparency + 0.025 | |
| 4024 | a2.Transparency = a2.Transparency + 0.025 | |
| 4025 | outerscale = outerscale - 0.015 | |
| 4026 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4027 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4028 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4029 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4030 | distance = (orb.CFrame.p - position).magnitude | |
| 4031 | if typrot == 1 then | |
| 4032 | rotation = rotation + 2.5 | |
| 4033 | elseif typrot == 2 then | |
| 4034 | rotation = rotation - 2.5 | |
| 4035 | end | |
| 4036 | RootPart.CFrame = FaceMouse()[1] | |
| 4037 | a.Size = Vector3.new(distance, 1, 1) | |
| 4038 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4039 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4040 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4041 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4042 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4043 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4044 | 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) | |
| 4045 | 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) | |
| 4046 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4047 | end | |
| 4048 | xd:Destroy() | |
| 4049 | a:Destroy() | |
| 4050 | a2:Destroy() | |
| 4051 | ba:Destroy() | |
| 4052 | orb:Destroy() | |
| 4053 | orbe:Destroy() | |
| 4054 | attack = false | |
| 4055 | end | |
| 4056 | function lovebeam() | |
| 4057 | attack = true | |
| 4058 | local rngb = Instance.new("Part", char)
| |
| 4059 | rngb.Anchored = true | |
| 4060 | rngb.BrickColor = origcolor | |
| 4061 | rngb.CanCollide = false | |
| 4062 | rngb.FormFactor = 3 | |
| 4063 | rngb.Name = "Ring" | |
| 4064 | rngb.Material = "Neon" | |
| 4065 | rngb.Size = Vector3.new(1, 0.05, 1) | |
| 4066 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) |
| 4066 | + | |
| 4067 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) |
| 4067 | + | |
| 4068 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) |
| 4068 | + | |
| 4069 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 4069 | + | |
| 4070 | - | 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) |
| 4070 | + | |
| 4071 | - | 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) |
| 4071 | + | |
| 4072 | rngmb.Scale = vt(0, 1, 0) | |
| 4073 | local orb = rngb:Clone() | |
| 4074 | orb.Parent = char | |
| 4075 | orb.Transparency = 0 | |
| 4076 | orb.BrickColor = BrickColor.new("Carnation pink")
| |
| 4077 | orb.Size = vt(1, 1, 1) | |
| 4078 | local orbmish = orb.SizeMesh | |
| 4079 | orbmish.Scale = vt(0, 0, 0) | |
| 4080 | orbmish.MeshType = "Sphere" | |
| 4081 | local orbe = rngb:Clone() | |
| 4082 | orbe.Parent = char | |
| 4083 | orbe.Transparency = 0.5 | |
| 4084 | orbe.BrickColor = BrickColor.new("Pink")
| |
| 4085 | orbe.Size = vt(1, 1, 1) | |
| 4086 | local orbmish2 = orbe.SizeMesh | |
| 4087 | orbmish2.Scale = vt(0, 0, 0) | |
| 4088 | orbmish2.MeshType = "Sphere" | |
| 4089 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4090 | rngb:Destroy() | |
| 4091 | for i = 0, 5, 0.1 do | |
| 4092 | swait() | |
| 4093 | if rainbowmode == true then | |
| 4094 | orbe.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 4095 | end | |
| 4096 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4097 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5 | |
| 4098 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 4099 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 4100 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
| 4101 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
| 4102 | -- 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) | |
| 4103 | -- 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) | |
| 4104 | RootPart.CFrame = FaceMouse()[1] | |
| 4105 | end | |
| 4106 | orbe.Transparency = 1 | |
| 4107 | orb.Transparency = 1 | |
| 4108 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5 | |
| 4109 | CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
| |
| 4110 | CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
| |
| 4111 | CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
| |
| 4112 | CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
| |
| 4113 | CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
| |
| 4114 | CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
| |
| 4115 | CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
| |
| 4116 | local xd = Instance.new("Sound", char)
| |
| 4117 | xd.SoundId = "rbxassetid://445796828" | |
| 4118 | xd.Pitch = 0.75 | |
| 4119 | xd.Looped = true | |
| 4120 | xd.Volume = 1.25 | |
| 4121 | xd:Play() | |
| 4122 | local a = Instance.new("Part", Character)
| |
| 4123 | a.Name = "Direction" | |
| 4124 | a.Anchored = true | |
| 4125 | a.BrickColor = bc("Alder")
| |
| 4126 | a.Color = Color3.new(255, 152, 220) | |
| 4127 | a.Material = "Neon" | |
| 4128 | a.Transparency = 0.5 | |
| 4129 | a.Shape = "Cylinder" | |
| 4130 | a.CanCollide = false | |
| 4131 | local a2 = Instance.new("Part", Character)
| |
| 4132 | a2.Name = "Direction" | |
| 4133 | a2.Anchored = true | |
| 4134 | a2.BrickColor = BrickColor.new("Pink")
| |
| 4135 | a2.Color = MAINRUINCOLOR.Color | |
| 4136 | a2.Material = "Neon" | |
| 4137 | a2.Transparency = 0.5 | |
| 4138 | a2.Shape = "Cylinder" | |
| 4139 | a2.CanCollide = false | |
| 4140 | local ba = Instance.new("Part", Character)
| |
| 4141 | ba.Name = "HitDirect" | |
| 4142 | ba.Anchored = true | |
| 4143 | ba.BrickColor = BrickColor.new("Hot pink")
| |
| 4144 | ba.Material = "Neon" | |
| 4145 | ba.Transparency = 1 | |
| 4146 | ba.CanCollide = false | |
| 4147 | local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4148 | local ignore = Character | |
| 4149 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4150 | a.BottomSurface = 10 | |
| 4151 | a.TopSurface = 10 | |
| 4152 | a2.BottomSurface = 10 | |
| 4153 | a2.TopSurface = 10 | |
| 4154 | local distance = (orb.CFrame.p - position).magnitude | |
| 4155 | a.Size = Vector3.new(distance, 1, 1) | |
| 4156 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4157 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4158 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4159 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4160 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4161 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4162 | game:GetService("Debris"):AddItem(a, 60)
| |
| 4163 | game:GetService("Debris"):AddItem(a2, 60)
| |
| 4164 | game:GetService("Debris"):AddItem(ba, 60)
| |
| 4165 | local outerscale = 0 | |
| 4166 | local msh = Instance.new("SpecialMesh", a)
| |
| 4167 | msh.MeshType = "Cylinder" | |
| 4168 | msh.Scale = vt(1, 0, 0) | |
| 4169 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 4170 | msh2.MeshType = "Cylinder" | |
| 4171 | msh2.Scale = vt(1, 0, 0) | |
| 4172 | for i = 0, 2, 0.1 do | |
| 4173 | swait() | |
| 4174 | CameraEnshaking(1, 1) | |
| 4175 | msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20) | |
| 4176 | msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15) | |
| 4177 | outerscale = outerscale - 0.015 | |
| 4178 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4179 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4180 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4181 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4182 | distance = (orb.CFrame.p - position).magnitude | |
| 4183 | if typrot == 1 then | |
| 4184 | rotation = rotation + 2.5 | |
| 4185 | elseif typrot == 2 then | |
| 4186 | rotation = rotation - 2.5 | |
| 4187 | end | |
| 4188 | RootPart.CFrame = FaceMouse()[1] | |
| 4189 | a.Size = Vector3.new(distance, 1, 1) | |
| 4190 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4191 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4192 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4193 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4194 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4195 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4196 | 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) | |
| 4197 | 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) | |
| 4198 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4199 | end | |
| 4200 | for z = 0, 2 do | |
| 4201 | for i = 0, 4, 0.1 do | |
| 4202 | swait() | |
| 4203 | CameraEnshaking(1, 1) | |
| 4204 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4205 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4206 | outerscale = outerscale + 0.015 | |
| 4207 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4208 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4209 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4210 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4211 | distance = (orb.CFrame.p - position).magnitude | |
| 4212 | if typrot == 1 then | |
| 4213 | rotation = rotation + 2.5 | |
| 4214 | elseif typrot == 2 then | |
| 4215 | rotation = rotation - 2.5 | |
| 4216 | end | |
| 4217 | RootPart.CFrame = FaceMouse()[1] | |
| 4218 | a.Size = Vector3.new(distance, 1, 1) | |
| 4219 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4220 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4221 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4222 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4223 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4224 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4225 | 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) | |
| 4226 | 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) | |
| 4227 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4228 | end | |
| 4229 | for i = 0, 4, 0.1 do | |
| 4230 | swait() | |
| 4231 | CameraEnshaking(1, 1) | |
| 4232 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4233 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4234 | outerscale = outerscale - 0.015 | |
| 4235 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4236 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4237 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4238 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4239 | distance = (orb.CFrame.p - position).magnitude | |
| 4240 | if typrot == 1 then | |
| 4241 | rotation = rotation + 2.5 | |
| 4242 | elseif typrot == 2 then | |
| 4243 | rotation = rotation - 2.5 | |
| 4244 | end | |
| 4245 | RootPart.CFrame = FaceMouse()[1] | |
| 4246 | a.Size = Vector3.new(distance, 1, 1) | |
| 4247 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4248 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4249 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4250 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4251 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4252 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4253 | 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) | |
| 4254 | 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) | |
| 4255 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4256 | end | |
| 4257 | end | |
| 4258 | for i = 0, 4, 0.1 do | |
| 4259 | swait() | |
| 4260 | CameraEnshaking(1, 1) | |
| 4261 | msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale) | |
| 4262 | msh.Scale = msh.Scale - vt(0, outerscale, outerscale) | |
| 4263 | xd.Volume = xd.Volume - 0.025 | |
| 4264 | a.Transparency = a.Transparency + 0.025 | |
| 4265 | a2.Transparency = a2.Transparency + 0.025 | |
| 4266 | outerscale = outerscale - 0.015 | |
| 4267 | orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4268 | orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4 | |
| 4269 | ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000) | |
| 4270 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 4271 | distance = (orb.CFrame.p - position).magnitude | |
| 4272 | if typrot == 1 then | |
| 4273 | rotation = rotation + 2.5 | |
| 4274 | elseif typrot == 2 then | |
| 4275 | rotation = rotation - 2.5 | |
| 4276 | end | |
| 4277 | RootPart.CFrame = FaceMouse()[1] | |
| 4278 | a.Size = Vector3.new(distance, 1, 1) | |
| 4279 | a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4280 | a2.Size = Vector3.new(distance, 1, 1) | |
| 4281 | a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2) | |
| 4282 | ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance) | |
| 4283 | a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4284 | a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0) | |
| 4285 | 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) | |
| 4286 | 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) | |
| 4287 | MagniDamage(ba, 100, 500, 60000, 0, "Normal") | |
| 4288 | end | |
| 4289 | xd:Destroy() | |
| 4290 | a:Destroy() | |
| 4291 | a2:Destroy() | |
| 4292 | ba:Destroy() | |
| 4293 | orb:Destroy() | |
| 4294 | orbe:Destroy() | |
| 4295 | attack = false | |
| 4296 | end | |
| 4297 | ||
| 4298 | function resetmode() | |
| 4299 | Editer_mode = false | |
| 4300 | rainbowmode = false | |
| 4301 | chaosmode = false | |
| 4302 | RecolorTextAndRename("Sweet Dreams", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
| |
| 4303 | ModeOfGlitch = 1 | |
| 4304 | storehumanoidWS = 200 | |
| 4305 | for i, v in pairs(mw2:GetChildren()) do | |
| 4306 | if v:IsA("Part") then
| |
| 4307 | v.Transparency = 0 | |
| 4308 | v.BrickColor = BrickColor.new("Really red")
| |
| 4309 | v.Material = "Neon" | |
| 4310 | end | |
| 4311 | end | |
| 4312 | for i, v in pairs(mw1:GetChildren()) do | |
| 4313 | if v:IsA("Part") then
| |
| 4314 | v.Transparency = 0 | |
| 4315 | v.BrickColor = BrickColor.new("Really red")
| |
| 4316 | v.Material = "Neon" | |
| 4317 | end | |
| 4318 | end | |
| 4319 | MAINRUINCOLOR = BrickColor.new("Really red")
| |
| 4320 | hum.WalkSpeed = 200 | |
| 4321 | newTheme("rbxassetid://415898123", 0, 1, 10)
| |
| 4322 | for i, v in pairs(m:GetChildren()) do | |
| 4323 | if v:IsA("Part") then
| |
| 4324 | v.Transparency = 0 | |
| 4325 | v.BrickColor = BrickColor.new("Really black")
| |
| 4326 | v.Material = "Glass" | |
| 4327 | end | |
| 4328 | end | |
| 4329 | for i, v in pairs(m2:GetChildren()) do | |
| 4330 | if v:IsA("Part") then
| |
| 4331 | v.Transparency = 0 | |
| 4332 | v.BrickColor = BrickColor.new("Crimson")
| |
| 4333 | v.Material = "Granite" | |
| 4334 | end | |
| 4335 | end | |
| 4336 | for i, v in pairs(m3:GetChildren()) do | |
| 4337 | if v:IsA("Part") then
| |
| 4338 | v.Transparency = 0 | |
| 4339 | v.BrickColor = BrickColor.new("Really red")
| |
| 4340 | v.Material = "Neon" | |
| 4341 | end | |
| 4342 | end | |
| 4343 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4344 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) |
| 4344 | + | |
| 4345 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) |
| 4345 | + | |
| 4346 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) |
| 4346 | + | |
| 4347 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) |
| 4347 | + | |
| 4348 | - | 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) |
| 4348 | + | |
| 4349 | - | 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) |
| 4349 | + | |
| 4350 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4351 | if v:IsA("Part") then
| |
| 4352 | v.Transparency = 0 | |
| 4353 | v.BrickColor = BrickColor.new("Crimson")
| |
| 4354 | v.Material = "Neon" | |
| 4355 | end | |
| 4356 | end | |
| 4357 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4358 | if v:IsA("Part") then
| |
| 4359 | v.Transparency = 0 | |
| 4360 | v.BrickColor = BrickColor.new("Really red")
| |
| 4361 | v.Material = "Neon" | |
| 4362 | end | |
| 4363 | end | |
| 4364 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4365 | if v:IsA("Part") then
| |
| 4366 | v.Transparency = 0 | |
| 4367 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) |
| 4367 | + | |
| 4368 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) |
| 4368 | + | |
| 4369 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) |
| 4369 | + | |
| 4370 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) |
| 4370 | + | |
| 4371 | - | 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) |
| 4371 | + | -- for i, v in pairs(extrawingmod5:GetChildren()) do |
| 4372 | - | 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) |
| 4372 | + | -- if v:IsA("Part") then
|
| 4373 | -- v.Transparency = 0 | |
| 4374 | -- v.BrickColor = BrickColor.new("Crimson")
| |
| 4375 | -- v.Material = "Neon" | |
| 4376 | -- end | |
| 4377 | -- end | |
| 4378 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4379 | -- if v:IsA("Part") then
| |
| 4380 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) |
| 4380 | + | -- v.Transparency = 0 |
| 4381 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) |
| 4381 | + | -- v.BrickColor = BrickColor.new("Crimson")
|
| 4382 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
| 4382 | + | -- v.Material = "Neon" |
| 4383 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) |
| 4383 | + | |
| 4384 | - | 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) |
| 4384 | + | |
| 4385 | - | 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) |
| 4385 | + | |
| 4386 | function attackone() | |
| 4387 | attack = true | |
| 4388 | for i = 0, 1, 0.1 do | |
| 4389 | swait() | |
| 4390 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2) | |
| 4391 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2) | |
| 4392 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4393 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2) | |
| 4394 | -- 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) | |
| 4395 | -- 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) | |
| 4396 | end | |
| 4397 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
| |
| 4398 | local hitb = Instance.new("Part", char)
| |
| 4399 | hitb.Anchored = true | |
| 4400 | hitb.CanCollide = false | |
| 4401 | hitb.FormFactor = 3 | |
| 4402 | hitb.Name = "Ring" | |
| 4403 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) |
| 4403 | + | |
| 4404 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) |
| 4404 | + | |
| 4405 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) |
| 4405 | + | |
| 4406 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) |
| 4406 | + | |
| 4407 | - | 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) |
| 4407 | + | |
| 4408 | - | 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) |
| 4408 | + | |
| 4409 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
| 4410 | hitb:Destroy() | |
| 4411 | for i = 0, 1, 0.1 do | |
| 4412 | swait() | |
| 4413 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4) | |
| 4414 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4) | |
| 4415 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4) | |
| 4416 | - | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) |
| 4416 | + | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4) |
| 4417 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) |
| 4417 | + | -- 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) |
| 4418 | - | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) |
| 4418 | + | -- 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) |
| 4419 | - | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 4419 | + | |
| 4420 | - | 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) |
| 4420 | + | |
| 4421 | - | 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) |
| 4421 | + | |
| 4422 | function attacktwo() | |
| 4423 | attack = true | |
| 4424 | for i = 0, 1, 0.1 do | |
| 4425 | swait() | |
| 4426 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2) | |
| 4427 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2) | |
| 4428 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4429 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2) | |
| 4430 | -- 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) | |
| 4431 | -- 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) | |
| 4432 | end | |
| 4433 | CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
| |
| 4434 | local hitb = Instance.new("Part", char)
| |
| 4435 | hitb.Anchored = true | |
| 4436 | hitb.CanCollide = false | |
| 4437 | hitb.FormFactor = 3 | |
| 4438 | hitb.Name = "Ring" | |
| 4439 | hitb.Material = "Neon" | |
| 4440 | hitb.Size = Vector3.new(1, 1, 1) | |
| 4441 | hitb.Transparency = 1 | |
| 4442 | hitb.TopSurface = 0 | |
| 4443 | hitb.BottomSurface = 0 | |
| 4444 | hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2 | |
| 4445 | MagniDamage(hitb, 3, 10, 30, 0, "Normal") | |
| 4446 | hitb:Destroy() | |
| 4447 | for i = 0, 1, 0.1 do | |
| 4448 | swait() | |
| 4449 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4) | |
| 4450 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4) | |
| 4451 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4) | |
| 4452 | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4) | |
| 4453 | -- 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) | |
| 4454 | -- 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) | |
| 4455 | end | |
| 4456 | attack = false | |
| 4457 | end | |
| 4458 | function attackthree() | |
| 4459 | attack = true | |
| 4460 | for i = 0, 1, 0.1 do | |
| 4461 | swait() | |
| 4462 | -- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
| 4463 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
| 4464 | -- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3) | |
| 4465 | - | attacktype = 1 |
| 4465 | + | -- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) |
| 4466 | -- 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) | |
| 4467 | -- 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) | |
| 4468 | end | |
| 4469 | local distlook = 5 | |
| 4470 | for i = 0, 4 do | |
| 4471 | swait(2) | |
| 4472 | CameraEnshaking(2, 3) | |
| 4473 | local hite = Instance.new("Part", char)
| |
| 4474 | hite.Anchored = true | |
| 4475 | hite.CanCollide = false | |
| 4476 | hite.FormFactor = 3 | |
| 4477 | hite.Name = "Ring" | |
| 4478 | hite.Material = "Neon" | |
| 4479 | hite.Size = Vector3.new(1, 1, 1) | |
| 4480 | hite.Transparency = 1 | |
| 4481 | hite.TopSurface = 0 | |
| 4482 | hite.BottomSurface = 0 | |
| 4483 | hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook | |
| 4484 | sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR) | |
| 4485 | sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR) | |
| 4486 | MagniDamage(hite, 10, 15, 35, 0, "Normal") | |
| 4487 | for i = 0, 2 do | |
| 4488 | 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) | |
| 4489 | 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) | |
| 4490 | 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) | |
| 4491 | end | |
| 4492 | CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
| |
| 4493 | CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
| |
| 4494 | game:GetService("Debris"):AddItem(hite, 5)
| |
| 4495 | distlook = distlook + 10 | |
| 4496 | end | |
| 4497 | attack = false | |
| 4498 | end | |
| 4499 | local attacktype = 1 | |
| 4500 | mouse.Button1Down:connect(function() | |
| 4501 | if attack == false and attacktype == 1 then | |
| 4502 | attacktype = 2 | |
| 4503 | attackone() | |
| 4504 | elseif attack == false and attacktype == 2 then | |
| 4505 | attacktype = 3 | |
| 4506 | attacktwo() | |
| 4507 | elseif attack == false and attacktype == 3 then | |
| 4508 | attacktype = 4 | |
| 4509 | attackthree() | |
| 4510 | elseif attack == false and attacktype == 4 then | |
| 4511 | attacktype = 4 | |
| 4512 | attackthree() | |
| 4513 | wait() | |
| 4514 | attackthree() | |
| 4515 | wait() | |
| 4516 | attackthree() | |
| 4517 | end | |
| 4518 | end) | |
| 4519 | clock_mode = false | |
| 4520 | wing_clock = false | |
| 4521 | mouse.KeyDown:connect(function(k) | |
| 4522 | if k == "q" and attack == false and ModeOfGlitch ~= 2 then | |
| 4523 | ModeOfGlitch = 2 | |
| 4524 | storehumanoidWS = 200 | |
| 4525 | hum.WalkSpeed = 200 | |
| 4526 | rainbowmode = false | |
| 4527 | Editer_mode = false | |
| 4528 | chaosmode = false | |
| 4529 | RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
| |
| 4530 | newTheme("rbxassetid://1119453744", 20.25, 1, 1)
| |
| 4531 | MAINRUINCOLOR = BrickColor.new("Toothpaste")
| |
| 4532 | for i, v in pairs(mw2:GetChildren()) do | |
| 4533 | if v:IsA("Part") then
| |
| 4534 | v.Transparency = 0 | |
| 4535 | v.BrickColor = MAINRUINCOLOR | |
| 4536 | v.Material = "Neon" | |
| 4537 | end | |
| 4538 | end | |
| 4539 | for i, v in pairs(mw1:GetChildren()) do | |
| 4540 | if v:IsA("Part") then
| |
| 4541 | v.Transparency = 0 | |
| 4542 | v.BrickColor = MAINRUINCOLOR | |
| 4543 | v.Material = "Neon" | |
| 4544 | end | |
| 4545 | end | |
| 4546 | for i, v in pairs(m:GetChildren()) do | |
| 4547 | if v:IsA("Part") then
| |
| 4548 | v.Transparency = 0 | |
| 4549 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4550 | v.Material = "Ice" | |
| 4551 | end | |
| 4552 | end | |
| 4553 | for i, v in pairs(m2:GetChildren()) do | |
| 4554 | if v:IsA("Part") then
| |
| 4555 | v.Transparency = 0 | |
| 4556 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4557 | v.Material = "Neon" | |
| 4558 | end | |
| 4559 | end | |
| 4560 | for i, v in pairs(m3:GetChildren()) do | |
| 4561 | if v:IsA("Part") then
| |
| 4562 | v.Transparency = 0 | |
| 4563 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4564 | v.Material = "Neon" | |
| 4565 | end | |
| 4566 | end | |
| 4567 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4568 | if v:IsA("Part") then
| |
| 4569 | v.Transparency = 0 | |
| 4570 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4571 | v.Material = "Neon" | |
| 4572 | end | |
| 4573 | end | |
| 4574 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4575 | if v:IsA("Part") then
| |
| 4576 | v.Transparency = 0 | |
| 4577 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4578 | v.Material = "Neon" | |
| 4579 | end | |
| 4580 | end | |
| 4581 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4582 | if v:IsA("Part") then
| |
| 4583 | v.Transparency = 0 | |
| 4584 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4585 | v.Material = "Neon" | |
| 4586 | end | |
| 4587 | end | |
| 4588 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4589 | if v:IsA("Part") then
| |
| 4590 | v.Transparency = 0 | |
| 4591 | v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4592 | v.Material = "Neon" | |
| 4593 | end | |
| 4594 | end | |
| 4595 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 4596 | -- if v:IsA("Part") then
| |
| 4597 | -- v.Transparency = 0 | |
| 4598 | -- v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4599 | -- v.Material = "Neon" | |
| 4600 | -- end | |
| 4601 | -- end | |
| 4602 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4603 | -- if v:IsA("Part") then
| |
| 4604 | -- v.Transparency = 0 | |
| 4605 | -- v.BrickColor = BrickColor.new("Toothpaste")
| |
| 4606 | -- v.Material = "Neon" | |
| 4607 | -- end | |
| 4608 | -- end | |
| 4609 | elseif k == "q" and attack == false and ModeOfGlitch == 2 then | |
| 4610 | resetmode() | |
| 4611 | end | |
| 4612 | if k == "e" and attack == false and ModeOfGlitch ~= 3 then | |
| 4613 | ModeOfGlitch = 3 | |
| 4614 | storehumanoidWS = 200 | |
| 4615 | hum.WalkSpeed = 200 | |
| 4616 | rainbowmode = false | |
| 4617 | Editer_mode = false | |
| 4618 | chaosmode = false | |
| 4619 | RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
| |
| 4620 | newTheme("rbxassetid://1509634377", 58.15, 1,2)
| |
| 4621 | MAINRUINCOLOR = BrickColor.new("Royal purple")
| |
| 4622 | for i, v in pairs(mw2:GetChildren()) do | |
| 4623 | if v:IsA("Part") then
| |
| 4624 | v.Transparency = 0 | |
| 4625 | v.BrickColor = MAINRUINCOLOR | |
| 4626 | v.Material = "Neon" | |
| 4627 | end | |
| 4628 | end | |
| 4629 | for i, v in pairs(mw1:GetChildren()) do | |
| 4630 | if v:IsA("Part") then
| |
| 4631 | v.Transparency = 0 | |
| 4632 | v.BrickColor = MAINRUINCOLOR | |
| 4633 | v.Material = "Neon" | |
| 4634 | end | |
| 4635 | end | |
| 4636 | for i, v in pairs(m:GetChildren()) do | |
| 4637 | if v:IsA("Part") then
| |
| 4638 | v.Transparency = 0 | |
| 4639 | v.BrickColor = BrickColor.new("Black")
| |
| 4640 | v.Material = "Ice" | |
| 4641 | end | |
| 4642 | end | |
| 4643 | for i, v in pairs(m2:GetChildren()) do | |
| 4644 | if v:IsA("Part") then
| |
| 4645 | v.Transparency = 0 | |
| 4646 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4647 | v.Material = "Glass" | |
| 4648 | end | |
| 4649 | end | |
| 4650 | for i, v in pairs(m3:GetChildren()) do | |
| 4651 | if v:IsA("Part") then
| |
| 4652 | v.Transparency = 0 | |
| 4653 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4654 | v.Material = "Neon" | |
| 4655 | end | |
| 4656 | end | |
| 4657 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4658 | if v:IsA("Part") then
| |
| 4659 | v.Transparency = 0 | |
| 4660 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4661 | v.Material = "Neon" | |
| 4662 | end | |
| 4663 | end | |
| 4664 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4665 | if v:IsA("Part") then
| |
| 4666 | v.Transparency = 0 | |
| 4667 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4668 | v.Material = "Neon" | |
| 4669 | end | |
| 4670 | end | |
| 4671 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4672 | if v:IsA("Part") then
| |
| 4673 | v.Transparency = 0 | |
| 4674 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4675 | v.Material = "Neon" | |
| 4676 | end | |
| 4677 | end | |
| 4678 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4679 | if v:IsA("Part") then
| |
| 4680 | v.Transparency = 0 | |
| 4681 | v.BrickColor = BrickColor.new("Royal purple")
| |
| 4682 | v.Material = "Neon" | |
| 4683 | end | |
| 4684 | end | |
| 4685 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 4686 | -- if v:IsA("Part") then
| |
| 4687 | -- v.Transparency = 0 | |
| 4688 | -- v.BrickColor = BrickColor.new("Royal purple")
| |
| 4689 | -- v.Material = "Neon" | |
| 4690 | -- end | |
| 4691 | -- end | |
| 4692 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4693 | -- if v:IsA("Part") then
| |
| 4694 | -- v.Transparency = 0 | |
| 4695 | -- v.BrickColor = BrickColor.new("Royal purple")
| |
| 4696 | -- v.Material = "Neon" | |
| 4697 | -- end | |
| 4698 | -- end | |
| 4699 | elseif k == "e" and attack == false and ModeOfGlitch == 3 then | |
| 4700 | resetmode() | |
| 4701 | end | |
| 4702 | if k == "r" and attack == false and ModeOfGlitch ~= 4 then | |
| 4703 | ModeOfGlitch = 4 | |
| 4704 | storehumanoidWS = 200 | |
| 4705 | hum.WalkSpeed = 200 | |
| 4706 | rainbowmode = false | |
| 4707 | Editer_mode = false | |
| 4708 | chaosmode = true | |
| 4709 | RecolorTextAndRename("Hatred", Color3.new(0, 0, 0), BrickColor.random().Color)
| |
| 4710 | newTheme("rbxassetid://415898123", 0, 1, 10)
| |
| 4711 | MAINRUINCOLOR = BrickColor.new("Black")
| |
| 4712 | for i, v in pairs(mw2:GetChildren()) do | |
| 4713 | if v:IsA("Part") then
| |
| 4714 | v.Transparency = 0.75 | |
| 4715 | v.BrickColor = MAINRUINCOLOR | |
| 4716 | v.Material = "Neon" | |
| 4717 | end | |
| 4718 | end | |
| 4719 | for i, v in pairs(mw1:GetChildren()) do | |
| 4720 | if v:IsA("Part") then
| |
| 4721 | v.Transparency = 0.75 | |
| 4722 | v.BrickColor = BrickColor.random() | |
| 4723 | v.Material = "Neon" | |
| 4724 | end | |
| 4725 | end | |
| 4726 | for i, v in pairs(m:GetChildren()) do | |
| 4727 | if v:IsA("Part") then
| |
| 4728 | v.Transparency = 0.75 | |
| 4729 | v.BrickColor = BrickColor.random() | |
| 4730 | v.Material = "Neon" | |
| 4731 | end | |
| 4732 | end | |
| 4733 | for i, v in pairs(m2:GetChildren()) do | |
| 4734 | if v:IsA("Part") then
| |
| 4735 | v.Transparency = 0.75 | |
| 4736 | v.BrickColor = BrickColor.random() | |
| 4737 | v.Material = "Neon" | |
| 4738 | end | |
| 4739 | end | |
| 4740 | for i, v in pairs(m3:GetChildren()) do | |
| 4741 | if v:IsA("Part") then
| |
| 4742 | v.Transparency = 0.75 | |
| 4743 | v.BrickColor = BrickColor.random() | |
| 4744 | v.Material = "Neon" | |
| 4745 | end | |
| 4746 | end | |
| 4747 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4748 | if v:IsA("Part") then
| |
| 4749 | v.Transparency = 0.75 | |
| 4750 | v.BrickColor = BrickColor.Random() | |
| 4751 | v.Material = "Neon" | |
| 4752 | end | |
| 4753 | end | |
| 4754 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4755 | if v:IsA("Part") then
| |
| 4756 | v.Transparency = 0.75 | |
| 4757 | v.BrickColor = BrickColor.Random() | |
| 4758 | v.Material = "Neon" | |
| 4759 | end | |
| 4760 | end | |
| 4761 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4762 | if v:IsA("Part") then
| |
| 4763 | v.Transparency = 0.75 | |
| 4764 | v.BrickColor = BrickColor.Random() | |
| 4765 | v.Material = "Neon" | |
| 4766 | end | |
| 4767 | end | |
| 4768 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4769 | if v:IsA("Part") then
| |
| 4770 | v.Transparency = 0.75 | |
| 4771 | v.BrickColor = BrickColor.Random() | |
| 4772 | v.Material = "Neon" | |
| 4773 | end | |
| 4774 | end | |
| 4775 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 4776 | -- if v:IsA("Part") then
| |
| 4777 | -- v.Transparency = 0.75 | |
| 4778 | -- v.BrickColor = BrickColor.Random() | |
| 4779 | -- v.Material = "Neon" | |
| 4780 | -- end | |
| 4781 | -- end | |
| 4782 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4783 | -- if v:IsA("Part") then
| |
| 4784 | -- v.Transparency = 0.75 | |
| 4785 | -- v.BrickColor = BrickColor.Random() | |
| 4786 | -- v.Material = "Neon" | |
| 4787 | -- end | |
| 4788 | -- end | |
| 4789 | elseif k == "r" and attack == false and ModeOfGlitch == 4 then | |
| 4790 | resetmode() | |
| 4791 | end | |
| 4792 | if k == "j" and attack == false and ModeOfGlitch ~= 2547 then | |
| 4793 | ModeOfGlitch = 2547 | |
| 4794 | storehumanoidWS = 200 | |
| 4795 | hum.WalkSpeed = 200 | |
| 4796 | rainbowmode = false | |
| 4797 | Editer_mode = false | |
| 4798 | chaosmode = false | |
| 4799 | love_mode = true | |
| 4800 | RecolorTextAndRename("Love", Color3.new(255, 152, 220), Color3.new(255,0,191))
| |
| 4801 | newTheme("rbxassetid://1119453744", 20.25, 1, 1)
| |
| 4802 | MAINRUINCOLOR = BrickColor.new("Carnation pink")
| |
| 4803 | for i, v in pairs(mw2:GetChildren()) do | |
| 4804 | if v:IsA("Part") then
| |
| 4805 | v.Transparency = 0.75 | |
| 4806 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4807 | v.Material = "Neon" | |
| 4808 | end | |
| 4809 | end | |
| 4810 | for i, v in pairs(mw1:GetChildren()) do | |
| 4811 | if v:IsA("Part") then
| |
| 4812 | v.Transparency = 0.75 | |
| 4813 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4814 | v.Material = "Neon" | |
| 4815 | end | |
| 4816 | end | |
| 4817 | for i, v in pairs(m:GetChildren()) do | |
| 4818 | if v:IsA("Part") then
| |
| 4819 | v.Transparency = 0.75 | |
| 4820 | v.BrickColor = BrickColor.new("Pink")
| |
| 4821 | v.Material = "Neon" | |
| 4822 | end | |
| 4823 | end | |
| 4824 | for i, v in pairs(m2:GetChildren()) do | |
| 4825 | if v:IsA("Part") then
| |
| 4826 | v.Transparency = 0.75 | |
| 4827 | v.BrickColor = BrickColor.new("Pink")
| |
| 4828 | v.Material = "Neon" | |
| 4829 | end | |
| 4830 | end | |
| 4831 | for i, v in pairs(m3:GetChildren()) do | |
| 4832 | if v:IsA("Part") then
| |
| 4833 | v.Transparency = 0.75 | |
| 4834 | v.BrickColor = BrickColor.new("Pink")
| |
| 4835 | v.Material = "Neon" | |
| 4836 | end | |
| 4837 | end | |
| 4838 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4839 | if v:IsA("Part") then
| |
| 4840 | v.Transparency = 0.75 | |
| 4841 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4842 | v.Material = "Neon" | |
| 4843 | end | |
| 4844 | end | |
| 4845 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4846 | if v:IsA("Part") then
| |
| 4847 | v.Transparency = 0.75 | |
| 4848 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4849 | v.Material = "Neon" | |
| 4850 | end | |
| 4851 | end | |
| 4852 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4853 | if v:IsA("Part") then
| |
| 4854 | v.Transparency = 0.75 | |
| 4855 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4856 | v.Material = "Neon" | |
| 4857 | end | |
| 4858 | end | |
| 4859 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4860 | if v:IsA("Part") then
| |
| 4861 | v.Transparency = 0.75 | |
| 4862 | v.BrickColor = BrickColor.new("Hot pink")
| |
| 4863 | v.Material = "Neon" | |
| 4864 | end | |
| 4865 | end | |
| 4866 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 4867 | -- if v:IsA("Part") then
| |
| 4868 | -- v.Transparency = 0.75 | |
| 4869 | -- v.BrickColor = BrickColor.new("Hot pink")
| |
| 4870 | -- v.Material = "Neon" | |
| 4871 | -- end | |
| 4872 | -- end | |
| 4873 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4874 | -- if v:IsA("Part") then
| |
| 4875 | -- v.Transparency = 0.75 | |
| 4876 | -- v.BrickColor = BrickColor.new("Hot pink")
| |
| 4877 | -- v.Material = "Neon" | |
| 4878 | -- end | |
| 4879 | -- end | |
| 4880 | elseif k == "j" and attack == false and ModeOfGlitch == 2547 then | |
| 4881 | resetmode() | |
| 4882 | end | |
| 4883 | if k == "t" and attack == false and ModeOfGlitch ~= 5 then | |
| 4884 | ModeOfGlitch = 5 | |
| 4885 | storehumanoidWS = 200 | |
| 4886 | hum.WalkSpeed = 200 | |
| 4887 | rainbowmode = false | |
| 4888 | Editer_mode = false | |
| 4889 | chaosmode = false | |
| 4890 | love_mode = false | |
| 4891 | RecolorTextAndRename("Soltiude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
| |
| 4892 | newTheme("rbxassetid://723652641", 10, 1, 3.2)
| |
| 4893 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 4894 | for i, v in pairs(mw2:GetChildren()) do | |
| 4895 | if v:IsA("Part") then
| |
| 4896 | v.Transparency = 0 | |
| 4897 | v.BrickColor = MAINRUINCOLOR | |
| 4898 | v.Material = "Neon" | |
| 4899 | end | |
| 4900 | end | |
| 4901 | for i, v in pairs(mw1:GetChildren()) do | |
| 4902 | if v:IsA("Part") then
| |
| 4903 | v.Transparency = 0 | |
| 4904 | v.BrickColor = MAINRUINCOLOR | |
| 4905 | v.Material = "Neon" | |
| 4906 | end | |
| 4907 | end | |
| 4908 | for i, v in pairs(m:GetChildren()) do | |
| 4909 | if v:IsA("Part") then
| |
| 4910 | v.Transparency = 0 | |
| 4911 | v.BrickColor = BrickColor.new("Really black")
| |
| 4912 | v.Material = "Ice" | |
| 4913 | end | |
| 4914 | end | |
| 4915 | for i, v in pairs(m2:GetChildren()) do | |
| 4916 | if v:IsA("Part") then
| |
| 4917 | v.Transparency = 0 | |
| 4918 | v.BrickColor = BrickColor.new("Really black")
| |
| 4919 | v.Material = "Ice" | |
| 4920 | end | |
| 4921 | end | |
| 4922 | for i, v in pairs(m3:GetChildren()) do | |
| 4923 | if v:IsA("Part") then
| |
| 4924 | v.Transparency = 0 | |
| 4925 | v.BrickColor = BrickColor.new("Really black")
| |
| 4926 | v.Material = "Neon" | |
| 4927 | end | |
| 4928 | end | |
| 4929 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 4930 | if v:IsA("Part") then
| |
| 4931 | v.Transparency = 0 | |
| 4932 | v.BrickColor = BrickColor.new("Really black")
| |
| 4933 | v.Material = "Neon" | |
| 4934 | end | |
| 4935 | end | |
| 4936 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 4937 | if v:IsA("Part") then
| |
| 4938 | v.Transparency = 0 | |
| 4939 | v.BrickColor = BrickColor.new("Really black")
| |
| 4940 | v.Material = "Neon" | |
| 4941 | end | |
| 4942 | end | |
| 4943 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 4944 | if v:IsA("Part") then
| |
| 4945 | v.Transparency = 0 | |
| 4946 | v.BrickColor = BrickColor.new("Really black")
| |
| 4947 | v.Material = "Neon" | |
| 4948 | end | |
| 4949 | end | |
| 4950 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 4951 | if v:IsA("Part") then
| |
| 4952 | v.Transparency = 0 | |
| 4953 | v.BrickColor = BrickColor.new("Really black")
| |
| 4954 | v.Material = "Neon" | |
| 4955 | end | |
| 4956 | end | |
| 4957 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 4958 | -- if v:IsA("Part") then
| |
| 4959 | -- v.Transparency = 0 | |
| 4960 | -- v.BrickColor = BrickColor.new("Really black")
| |
| 4961 | -- v.Material = "Neon" | |
| 4962 | -- end | |
| 4963 | -- end | |
| 4964 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 4965 | -- if v:IsA("Part") then
| |
| 4966 | -- v.Transparency = 0 | |
| 4967 | -- v.BrickColor = BrickColor.new("Really black")
| |
| 4968 | -- v.Material = "Neon" | |
| 4969 | -- end | |
| 4970 | -- end | |
| 4971 | elseif k == "t" and attack == false and ModeOfGlitch == 5 then | |
| 4972 | resetmode() | |
| 4973 | end | |
| 4974 | if k == "y" and attack == false and ModeOfGlitch ~= 6 then | |
| 4975 | ModeOfGlitch = 6 | |
| 4976 | storehumanoidWS = 200 | |
| 4977 | hum.WalkSpeed = 200 | |
| 4978 | rainbowmode = false | |
| 4979 | chaosmode = false | |
| 4980 | Editer_mode = false | |
| 4981 | love_mode = false | |
| 4982 | RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
| |
| 4983 | newTheme("rbxassetid://519067542", 0, 1, 1)
| |
| 4984 | MAINRUINCOLOR = BrickColor.new("Really black")
| |
| 4985 | for i, v in pairs(mw2:GetChildren()) do | |
| 4986 | if v:IsA("Part") then
| |
| 4987 | v.Transparency = 0 | |
| 4988 | v.BrickColor = BrickColor.new("White")
| |
| 4989 | v.Material = "Neon" | |
| 4990 | end | |
| 4991 | end | |
| 4992 | for i, v in pairs(mw1:GetChildren()) do | |
| 4993 | if v:IsA("Part") then
| |
| 4994 | v.Transparency = 0 | |
| 4995 | v.BrickColor = BrickColor.new("Really black")
| |
| 4996 | v.Material = "Neon" | |
| 4997 | end | |
| 4998 | end | |
| 4999 | for i, v in pairs(m:GetChildren()) do | |
| 5000 | if v:IsA("Part") then
| |
| 5001 | v.Transparency = 0 | |
| 5002 | v.BrickColor = BrickColor.new("White")
| |
| 5003 | v.Material = "Ice" | |
| 5004 | end | |
| 5005 | end | |
| 5006 | for i, v in pairs(m2:GetChildren()) do | |
| 5007 | if v:IsA("Part") then
| |
| 5008 | v.Transparency = 0 | |
| 5009 | v.BrickColor = BrickColor.new("Really black")
| |
| 5010 | v.Material = "Ice" | |
| 5011 | end | |
| 5012 | end | |
| 5013 | for i, v in pairs(m3:GetChildren()) do | |
| 5014 | if v:IsA("Part") then
| |
| 5015 | v.Transparency = 0 | |
| 5016 | v.BrickColor = BrickColor.new("White")
| |
| 5017 | v.Material = "Neon" | |
| 5018 | end | |
| 5019 | end | |
| 5020 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5021 | if v:IsA("Part") then
| |
| 5022 | v.Transparency = 0 | |
| 5023 | v.BrickColor = BrickColor.new("Really black")
| |
| 5024 | v.Material = "Neon" | |
| 5025 | end | |
| 5026 | end | |
| 5027 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5028 | if v:IsA("Part") then
| |
| 5029 | v.Transparency = 0 | |
| 5030 | v.BrickColor = BrickColor.new("White")
| |
| 5031 | v.Material = "Neon" | |
| 5032 | end | |
| 5033 | end | |
| 5034 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5035 | if v:IsA("Part") then
| |
| 5036 | v.Transparency = 0 | |
| 5037 | v.BrickColor = BrickColor.new("Really black")
| |
| 5038 | v.Material = "Neon" | |
| 5039 | end | |
| 5040 | end | |
| 5041 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5042 | if v:IsA("Part") then
| |
| 5043 | v.Transparency = 0 | |
| 5044 | v.BrickColor = BrickColor.new("White")
| |
| 5045 | v.Material = "Neon" | |
| 5046 | end | |
| 5047 | end | |
| 5048 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5049 | -- if v:IsA("Part") then
| |
| 5050 | -- v.Transparency = 0 | |
| 5051 | -- v.BrickColor = BrickColor.new("Really black")
| |
| 5052 | -- v.Material = "Neon" | |
| 5053 | -- end | |
| 5054 | -- end | |
| 5055 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5056 | -- if v:IsA("Part") then
| |
| 5057 | -- v.Transparency = 0 | |
| 5058 | -- v.BrickColor = BrickColor.new("White")
| |
| 5059 | -- v.Material = "Neon" | |
| 5060 | -- end | |
| 5061 | -- end | |
| 5062 | ||
| 5063 | elseif k == "y" and attack == false and ModeOfGlitch == 6 then | |
| 5064 | resetmode() | |
| 5065 | end | |
| 5066 | if k == "g" and attack == false and ModeOfGlitch ~= 18022547 then | |
| 5067 | ModeOfGlitch = 18022547 | |
| 5068 | storehumanoidWS = 200 | |
| 5069 | hum.WalkSpeed = 200 | |
| 5070 | Editer_mode = true | |
| 5071 | chaosmode = false | |
| 5072 | rainbowmode = false | |
| 5073 | love_mode = false | |
| 5074 | RecolorTextAndRename("Editer", Color3.new(1,1,1), Color3.new(1, 1, 1))
| |
| 5075 | --newTheme("rbxassetid://152539141", 0, 1, 1)
| |
| 5076 | MAINRUINCOLOR = BrickColor.new("Pastel green")
| |
| 5077 | for i, v in pairs(mw2:GetChildren()) do | |
| 5078 | if v:IsA("Part") then
| |
| 5079 | v.Transparency = 0 | |
| 5080 | v.BrickColor = BrickColor.new("Really blue")
| |
| 5081 | v.Material = "Neon" | |
| 5082 | end | |
| 5083 | end | |
| 5084 | for i, v in pairs(mw1:GetChildren()) do | |
| 5085 | if v:IsA("Part") then
| |
| 5086 | v.Transparency = 0 | |
| 5087 | v.BrickColor = BrickColor.new("Really red")
| |
| 5088 | v.Material = "Neon" | |
| 5089 | end | |
| 5090 | end | |
| 5091 | for i, v in pairs(m:GetChildren()) do | |
| 5092 | if v:IsA("Part") then
| |
| 5093 | v.Transparency = 0 | |
| 5094 | v.BrickColor = BrickColor.new("Bright green")
| |
| 5095 | v.Material = "Neon" | |
| 5096 | end | |
| 5097 | end | |
| 5098 | for i, v in pairs(m2:GetChildren()) do | |
| 5099 | if v:IsA("Part") then
| |
| 5100 | v.Transparency = 0 | |
| 5101 | v.BrickColor = BrickColor.new("Bright green")
| |
| 5102 | v.Material = "Neon" | |
| 5103 | end | |
| 5104 | end | |
| 5105 | for i, v in pairs(m3:GetChildren()) do | |
| 5106 | if v:IsA("Part") then
| |
| 5107 | v.Transparency = 0 | |
| 5108 | v.BrickColor = BrickColor.new("Bright green")
| |
| 5109 | v.Material = "Neon" | |
| 5110 | end | |
| 5111 | end | |
| 5112 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5113 | if v:IsA("Part") then
| |
| 5114 | v.Transparency = 0 | |
| 5115 | v.BrickColor = BrickColor.new("Really red")
| |
| 5116 | v.Material = "Neon" | |
| 5117 | end | |
| 5118 | end | |
| 5119 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5120 | if v:IsA("Part") then
| |
| 5121 | v.Transparency = 0 | |
| 5122 | v.BrickColor = BrickColor.new("Really blue")
| |
| 5123 | v.Material = "Neon" | |
| 5124 | end | |
| 5125 | end | |
| 5126 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5127 | if v:IsA("Part") then
| |
| 5128 | v.Transparency = 0 | |
| 5129 | v.BrickColor = BrickColor.new("Really red")
| |
| 5130 | v.Material = "Neon" | |
| 5131 | end | |
| 5132 | end | |
| 5133 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5134 | if v:IsA("Part") then
| |
| 5135 | v.Transparency = 0 | |
| 5136 | v.BrickColor = BrickColor.new("Really blue")
| |
| 5137 | v.Material = "Neon" | |
| 5138 | end | |
| 5139 | end | |
| 5140 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5141 | -- if v:IsA("Part") then
| |
| 5142 | -- v.Transparency = 0 | |
| 5143 | -- v.BrickColor = BrickColor.new("Really red")
| |
| 5144 | -- v.Material = "Neon" | |
| 5145 | -- end | |
| 5146 | -- end | |
| 5147 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5148 | -- if v:IsA("Part") then
| |
| 5149 | -- v.Transparency = 0 | |
| 5150 | -- v.BrickColor = BrickColor.new("Really blue")
| |
| 5151 | -- v.Material = "Neon" | |
| 5152 | -- end | |
| 5153 | -- end | |
| 5154 | elseif k == "g" and attack == false and ModeOfGlitch == 18022547 then | |
| 5155 | resetmode() | |
| 5156 | end | |
| 5157 | if k == "h" and attack == false and ModeOfGlitch ~= 18 then | |
| 5158 | ModeOfGlitch = 18 | |
| 5159 | storehumanoidWS = 200 | |
| 5160 | hum.WalkSpeed = 200 | |
| 5161 | Editer_mode = true | |
| 5162 | chaosmode = false | |
| 5163 | rainbowmode = false | |
| 5164 | love_mode = false | |
| 5165 | RecolorTextAndRename("Anoxin", Color3.new(1,1,1), Color3.new(33, 84, 185))
| |
| 5166 | --newTheme("rbxassetid://152539141", 0, 1, 1)
| |
| 5167 | MAINRUINCOLOR = BrickColor.new("Deep blue")
| |
| 5168 | for i, v in pairs(mw2:GetChildren()) do | |
| 5169 | if v:IsA("Part") then
| |
| 5170 | v.Transparency = 0 | |
| 5171 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5172 | v.Material = "Neon" | |
| 5173 | end | |
| 5174 | end | |
| 5175 | for i, v in pairs(mw1:GetChildren()) do | |
| 5176 | if v:IsA("Part") then
| |
| 5177 | v.Transparency = 0 | |
| 5178 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5179 | v.Material = "Neon" | |
| 5180 | end | |
| 5181 | end | |
| 5182 | for i, v in pairs(m:GetChildren()) do | |
| 5183 | if v:IsA("Part") then
| |
| 5184 | v.Transparency = 0 | |
| 5185 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5186 | v.Material = "Neon" | |
| 5187 | end | |
| 5188 | end | |
| 5189 | for i, v in pairs(m2:GetChildren()) do | |
| 5190 | if v:IsA("Part") then
| |
| 5191 | v.Transparency = 0 | |
| 5192 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5193 | v.Material = "Neon" | |
| 5194 | end | |
| 5195 | end | |
| 5196 | for i, v in pairs(m3:GetChildren()) do | |
| 5197 | if v:IsA("Part") then
| |
| 5198 | v.Transparency = 0 | |
| 5199 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5200 | v.Material = "Neon" | |
| 5201 | end | |
| 5202 | end | |
| 5203 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5204 | if v:IsA("Part") then
| |
| 5205 | v.Transparency = 0 | |
| 5206 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5207 | v.Material = "Neon" | |
| 5208 | end | |
| 5209 | end | |
| 5210 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5211 | if v:IsA("Part") then
| |
| 5212 | v.Transparency = 0 | |
| 5213 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5214 | v.Material = "Neon" | |
| 5215 | end | |
| 5216 | end | |
| 5217 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5218 | if v:IsA("Part") then
| |
| 5219 | v.Transparency = 0 | |
| 5220 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5221 | v.Material = "Neon" | |
| 5222 | end | |
| 5223 | end | |
| 5224 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5225 | if v:IsA("Part") then
| |
| 5226 | v.Transparency = 0 | |
| 5227 | v.BrickColor = BrickColor.new("Deep blue")
| |
| 5228 | v.Material = "Neon" | |
| 5229 | end | |
| 5230 | end | |
| 5231 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5232 | -- if v:IsA("Part") then
| |
| 5233 | -- v.Transparency = 0 | |
| 5234 | -- v.BrickColor = MAINRUINCOLOR | |
| 5235 | -- v.Material = "Neon" | |
| 5236 | -- end | |
| 5237 | -- end | |
| 5238 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5239 | -- if v:IsA("Part") then
| |
| 5240 | -- v.Transparency = 0 | |
| 5241 | -- v.BrickColor = MAINRUINCOLOR | |
| 5242 | -- v.Material = "Neon" | |
| 5243 | -- end | |
| 5244 | -- end | |
| 5245 | elseif k == "h" and attack == false and ModeOfGlitch == 18 then | |
| 5246 | resetmode() | |
| 5247 | end | |
| 5248 | if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then | |
| 5249 | ModeOfGlitch = 6127843 | |
| 5250 | storehumanoidWS = 200 | |
| 5251 | hum.WalkSpeed = 200 | |
| 5252 | rainbowmode = true | |
| 5253 | chaosmode = false | |
| 5254 | Editer_mode = false | |
| 5255 | love_mode = false | |
| 5256 | RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
| |
| 5257 | newTheme("rbxassetid://152539141", 0, 1, 1)
| |
| 5258 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5259 | for i, v in pairs(mw2:GetChildren()) do | |
| 5260 | if v:IsA("Part") then
| |
| 5261 | v.Transparency = 0 | |
| 5262 | v.BrickColor = MAINRUINCOLOR | |
| 5263 | v.Material = "Neon" | |
| 5264 | end | |
| 5265 | end | |
| 5266 | for i, v in pairs(mw1:GetChildren()) do | |
| 5267 | if v:IsA("Part") then
| |
| 5268 | v.Transparency = 0 | |
| 5269 | v.BrickColor = MAINRUINCOLOR | |
| 5270 | v.Material = "Neon" | |
| 5271 | end | |
| 5272 | end | |
| 5273 | for i, v in pairs(m:GetChildren()) do | |
| 5274 | if v:IsA("Part") then
| |
| 5275 | v.Transparency = 0 | |
| 5276 | v.BrickColor = BrickColor.new("White")
| |
| 5277 | v.Material = "Neon" | |
| 5278 | end | |
| 5279 | end | |
| 5280 | for i, v in pairs(m2:GetChildren()) do | |
| 5281 | if v:IsA("Part") then
| |
| 5282 | v.Transparency = 0 | |
| 5283 | v.BrickColor = BrickColor.new("White")
| |
| 5284 | v.Material = "Neon" | |
| 5285 | end | |
| 5286 | end | |
| 5287 | for i, v in pairs(m3:GetChildren()) do | |
| 5288 | if v:IsA("Part") then
| |
| 5289 | v.Transparency = 0 | |
| 5290 | v.BrickColor = BrickColor.new("White")
| |
| 5291 | v.Material = "Neon" | |
| 5292 | end | |
| 5293 | end | |
| 5294 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5295 | if v:IsA("Part") then
| |
| 5296 | v.Transparency = 0 | |
| 5297 | v.BrickColor = BrickColor.new("White")
| |
| 5298 | v.Material = "Neon" | |
| 5299 | end | |
| 5300 | end | |
| 5301 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5302 | if v:IsA("Part") then
| |
| 5303 | v.Transparency = 0 | |
| 5304 | v.BrickColor = BrickColor.new("White")
| |
| 5305 | v.Material = "Neon" | |
| 5306 | end | |
| 5307 | end | |
| 5308 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5309 | if v:IsA("Part") then
| |
| 5310 | v.Transparency = 0 | |
| 5311 | v.BrickColor = BrickColor.new("White")
| |
| 5312 | v.Material = "Neon" | |
| 5313 | end | |
| 5314 | end | |
| 5315 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5316 | if v:IsA("Part") then
| |
| 5317 | v.Transparency = 0 | |
| 5318 | v.BrickColor = BrickColor.new("White")
| |
| 5319 | v.Material = "Neon" | |
| 5320 | end | |
| 5321 | end | |
| 5322 | - | if rainbowmode == true or ModeOfGlitch == 6 and wing_clock == false and clock_mode == false then |
| 5322 | + | -- for i, v in pairs(extrawingmod5:GetChildren()) do |
| 5323 | - | 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) |
| 5323 | + | -- if v:IsA("Part") then
|
| 5324 | -- v.Transparency = 0 | |
| 5325 | -- v.BrickColor = MAINRUINCOLOR | |
| 5326 | -- v.Material = "Neon" | |
| 5327 | -- end | |
| 5328 | -- end | |
| 5329 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5330 | - | swait(0.5) |
| 5330 | + | -- if v:IsA("Part") then
|
| 5331 | - | if ModeOfGlitch == 1000000 and wing_clock == false and clock_mode == false then |
| 5331 | + | -- v.Transparency = 0 |
| 5332 | - | 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) |
| 5332 | + | -- v.BrickColor = MAINRUINCOLOR |
| 5333 | -- v.Material = "Neon" | |
| 5334 | -- end | |
| 5335 | -- end | |
| 5336 | elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then | |
| 5337 | resetmode() | |
| 5338 | end | |
| 5339 | - | swait(0.5) |
| 5339 | + | |
| 5340 | - | if ModeOfGlitch == 18022547 and wing_clock == false and clock_mode == false then |
| 5340 | + | |
| 5341 | - | 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, BrickColor.new("White"), 0)
|
| 5341 | + | |
| 5342 | hum.WalkSpeed = 200 | |
| 5343 | rainbowmode = false | |
| 5344 | chaosmode = false | |
| 5345 | Editer_mode = false | |
| 5346 | love_mode = false | |
| 5347 | RecolorTextAndRename("Antimatter", Color3.new(248, 248, 248), Color3.new(248, 248, 248))
| |
| 5348 | newTheme("rbxassetid://614032233", 0, 1, 1)
| |
| 5349 | MAINRUINCOLOR = BrickColor.new("Instiutional white")
| |
| 5350 | for i, v in pairs(mw2:GetChildren()) do | |
| 5351 | if v:IsA("Part") then
| |
| 5352 | v.Transparency = 0 | |
| 5353 | v.BrickColor = MAINRUINCOLOR | |
| 5354 | v.Material = "Neon" | |
| 5355 | end | |
| 5356 | end | |
| 5357 | for i, v in pairs(mw1:GetChildren()) do | |
| 5358 | if v:IsA("Part") then
| |
| 5359 | v.Transparency = 0 | |
| 5360 | v.BrickColor = MAINRUINCOLOR | |
| 5361 | v.Material = "Neon" | |
| 5362 | end | |
| 5363 | end | |
| 5364 | for i, v in pairs(m:GetChildren()) do | |
| 5365 | if v:IsA("Part") then
| |
| 5366 | v.Transparency = 0 | |
| 5367 | v.BrickColor = MAINRUINCOLOR | |
| 5368 | v.Material = "Neon" | |
| 5369 | end | |
| 5370 | end | |
| 5371 | for i, v in pairs(m2:GetChildren()) do | |
| 5372 | if v:IsA("Part") then
| |
| 5373 | v.Transparency = 0 | |
| 5374 | v.BrickColor = MAINRUINCOLOR | |
| 5375 | v.Material = "Neon" | |
| 5376 | end | |
| 5377 | end | |
| 5378 | for i, v in pairs(m3:GetChildren()) do | |
| 5379 | if v:IsA("Part") then
| |
| 5380 | v.Transparency = 0 | |
| 5381 | v.BrickColor = MAINRUINCOLOR | |
| 5382 | v.Material = "Neon" | |
| 5383 | end | |
| 5384 | end | |
| 5385 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5386 | if v:IsA("Part") then
| |
| 5387 | v.Transparency = 0 | |
| 5388 | v.BrickColor = MAINRUINCOLOR | |
| 5389 | v.Material = "Neon" | |
| 5390 | end | |
| 5391 | end | |
| 5392 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5393 | if v:IsA("Part") then
| |
| 5394 | v.Transparency = 0 | |
| 5395 | v.BrickColor = MAINRUINCOLOR | |
| 5396 | v.Material = "Neon" | |
| 5397 | end | |
| 5398 | end | |
| 5399 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5400 | if v:IsA("Part") then
| |
| 5401 | v.Transparency = 0 | |
| 5402 | v.BrickColor = MAINRUINCOLOR | |
| 5403 | v.Material = "Neon" | |
| 5404 | end | |
| 5405 | end | |
| 5406 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5407 | if v:IsA("Part") then
| |
| 5408 | v.Transparency = 0 | |
| 5409 | v.BrickColor = MAINRUINCOLOR | |
| 5410 | v.Material = "Neon" | |
| 5411 | end | |
| 5412 | end | |
| 5413 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5414 | -- if v:IsA("Part") then
| |
| 5415 | -- v.Transparency = 0 | |
| 5416 | -- v.BrickColor = MAINRUINCOLOR | |
| 5417 | -- v.Material = "Neon" | |
| 5418 | -- end | |
| 5419 | -- end | |
| 5420 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5421 | -- if v:IsA("Part") then
| |
| 5422 | -- v.Transparency = 0 | |
| 5423 | -- v.BrickColor = MAINRUINCOLOR | |
| 5424 | -- v.Material = "Neon" | |
| 5425 | -- end | |
| 5426 | -- end | |
| 5427 | elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then | |
| 5428 | resetmode() | |
| 5429 | end | |
| 5430 | if k == "k" and toggleTag == false then | |
| 5431 | toggleTag = true | |
| 5432 | text.TextTransparency = 0 | |
| 5433 | text.TextStrokeTransparency = 0 | |
| 5434 | elseif k == "k" and toggleTag == true then | |
| 5435 | toggleTag = false | |
| 5436 | text.TextTransparency = 1 | |
| 5437 | text.TextStrokeTransparency = 1 | |
| 5438 | end | |
| 5439 | if k == "z" and attack == false and ModeOfGlitch == 1 then | |
| 5440 | ExtinctiveHeartbreak() | |
| 5441 | elseif k == "l" and attack == false and ModeOfGlitch == 1 then | |
| 5442 | deadworld() | |
| 5443 | elseif k == "z" and attack == false and ModeOfGlitch == 2 then | |
| 5444 | PureBomb() | |
| 5445 | elseif k == "z" and attack == false and ModeOfGlitch == 3 then | |
| 5446 | scattercorrupt() | |
| 5447 | elseif k == "z" and attack == false and ModeOfGlitch == 4 then | |
| 5448 | ChaosGroundStrike() | |
| 5449 | elseif k == "z" and attack == false and ModeOfGlitch == 5 then | |
| 5450 | ExtinctiveHeartbreak() | |
| 5451 | elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then | |
| 5452 | UniversalSpark() | |
| 5453 | elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then | |
| 5454 | scattercorrupt() | |
| 5455 | wait(1) | |
| 5456 | yinyangi() | |
| 5457 | elseif k == "l" and attack == false and ModeOfGlitch == 5 then | |
| 5458 | scattercorrupt() | |
| 5459 | elseif k == "z" and attack == false and ModeOfGlitch == 6 then | |
| 5460 | yinyangi() | |
| 5461 | elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then | |
| 5462 | Wip() | |
| 5463 | end | |
| 5464 | if k == "l" and attack == false and ModeOfGlitch == 4 then | |
| 5465 | ChaosBegone() | |
| 5466 | end | |
| 5467 | if k == "l" and attack == false and ModeOfGlitch == 18022547 then | |
| 5468 | print("this ablity is broke[editer try to fix this]")
| |
| 5469 | --deletdata() | |
| 5470 | elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then | |
| 5471 | dataDestroyer() | |
| 5472 | end | |
| 5473 | if k == "l" and attack == false and ModeOfGlitch == 18 then | |
| 5474 | print("Editer not have any idea to make new ablity")
| |
| 5475 | --deletdata() | |
| 5476 | elseif k == "z" and attack == false and ModeOfGlitch == 18022547 then | |
| 5477 | dataDestroyer() | |
| 5478 | end | |
| 5479 | if k == "z" and attack == false and ModeOfGlitch == 2547 then | |
| 5480 | lovebeam() | |
| 5481 | elseif k == "l" and attack == false and ModeOfGlitch == 2547 then | |
| 5482 | print("Editer not have any idea to make new ablity")
| |
| 5483 | end | |
| 5484 | if k == "f" and clock_mode == false then | |
| 5485 | Cloak_wing() | |
| 5486 | Cloak() | |
| 5487 | wing_clock = true | |
| 5488 | clock_mode = true | |
| 5489 | elseif k == "f" and clock_mode == true then | |
| 5490 | UnCloak_wing() | |
| 5491 | UnCloak() | |
| 5492 | wing_clock = false | |
| 5493 | clock_mode = false | |
| 5494 | elseif k == "x" and wing_clock == false then | |
| 5495 | repeat | |
| 5496 | Cloak_wing() | |
| 5497 | until wing_clock == false | |
| 5498 | wing_clock = true | |
| 5499 | elseif k == "x" and wing_clock == true then | |
| 5500 | repeat | |
| 5501 | UnCloak_wing() | |
| 5502 | until wing_clock == true | |
| 5503 | wing_clock = false | |
| 5504 | end | |
| 5505 | end) | |
| 5506 | --coroutine.resume(coroutine.create(function() | |
| 5507 | -- while true do | |
| 5508 | -- swait(2) | |
| 5509 | -- if rainbowmode == true or ModeOfGlitch == 6 and wing_clock == false and clock_mode == false then | |
| 5510 | -- 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) | |
| 5511 | -- end | |
| 5512 | -- end | |
| 5513 | --end)) | |
| 5514 | -- | |
| 5515 | --coroutine.resume(coroutine.create(function() | |
| 5516 | -- while true do | |
| 5517 | -- swait(0.5) | |
| 5518 | -- if ModeOfGlitch == 1000000 and wing_clock == false and clock_mode == false then | |
| 5519 | -- 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) | |
| 5520 | -- end | |
| 5521 | -- end | |
| 5522 | --end)) | |
| 5523 | -- | |
| 5524 | --coroutine.resume(coroutine.create(function() | |
| 5525 | -- while true do | |
| 5526 | -- swait(0.5) | |
| 5527 | -- if ModeOfGlitch == 18022547 and wing_clock == false and clock_mode == false then | |
| 5528 | -- 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, BrickColor.new("White"), 0)
| |
| 5529 | -- end | |
| 5530 | -- end | |
| 5531 | --end)) | |
| 5532 | ||
| 5533 | coroutine.resume(coroutine.create(function() | |
| 5534 | while true do | |
| 5535 | swait(2) | |
| 5536 | if chaosmode == true then | |
| 5537 | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
| |
| 5538 | end | |
| 5539 | if chaosmode == true and wing_clock == false and ModeOfGlitch == 4 then | |
| 5540 | RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
| |
| 5541 | for i, v in pairs(mw1:GetChildren()) do | |
| 5542 | if v:IsA("Part") then
| |
| 5543 | v.Transparency = 0.75 | |
| 5544 | v.BrickColor = BrickColor.random() | |
| 5545 | v.Material = "Neon" | |
| 5546 | end | |
| 5547 | end | |
| 5548 | for i, v in pairs(mw2:GetChildren()) do | |
| 5549 | if v:IsA("Part") then
| |
| 5550 | v.Transparency = 0.75 | |
| 5551 | v.BrickColor = BrickColor.random() | |
| 5552 | v.Material = "Neon" | |
| 5553 | end | |
| 5554 | end | |
| 5555 | for i, v in pairs(m2:GetChildren()) do | |
| 5556 | if v:IsA("Part") then
| |
| 5557 | v.Transparency = 0.75 | |
| 5558 | v.BrickColor = BrickColor.random() | |
| 5559 | v.Material = "Neon" | |
| 5560 | end | |
| 5561 | end | |
| 5562 | for i, v in pairs(m:GetChildren()) do | |
| 5563 | if v:IsA("Part") then
| |
| 5564 | v.Transparency = 0.75 | |
| 5565 | v.BrickColor = BrickColor.random() | |
| 5566 | v.Material = "Neon" | |
| 5567 | end | |
| 5568 | end | |
| 5569 | for i, v in pairs(m3:GetChildren()) do | |
| 5570 | if v:IsA("Part") then
| |
| 5571 | v.Transparency = 0.75 | |
| 5572 | v.BrickColor = BrickColor.random() | |
| 5573 | v.Material = "Neon" | |
| 5574 | end | |
| 5575 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5576 | if v:IsA("Part") then
| |
| 5577 | v.Transparency = 0.75 | |
| 5578 | v.BrickColor = BrickColor.random() | |
| 5579 | v.Material = "Neon" | |
| 5580 | end | |
| 5581 | end | |
| 5582 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5583 | if v:IsA("Part") then
| |
| 5584 | v.Transparency = 0.75 | |
| 5585 | v.BrickColor = BrickColor.random() | |
| 5586 | v.Material = "Neon" | |
| 5587 | end | |
| 5588 | end | |
| 5589 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5590 | if v:IsA("Part") then
| |
| 5591 | v.Transparency = 0.75 | |
| 5592 | v.BrickColor = BrickColor.random() | |
| 5593 | v.Material = "Neon" | |
| 5594 | end | |
| 5595 | end | |
| 5596 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5597 | if v:IsA("Part") then
| |
| 5598 | v.Transparency = 0.75 | |
| 5599 | v.BrickColor = BrickColor.random() | |
| 5600 | v.Material = "Neon" | |
| 5601 | end | |
| 5602 | end | |
| 5603 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5604 | -- if v:IsA("Part") then
| |
| 5605 | -- v.Transparency = 0.75 | |
| 5606 | -- v.BrickColor = BrickColor.random() | |
| 5607 | -- v.Material = "Neon" | |
| 5608 | -- end | |
| 5609 | -- end | |
| 5610 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5611 | -- if v:IsA("Part") then
| |
| 5612 | -- v.Transparency = 0.75 | |
| 5613 | -- v.BrickColor = BrickColor.random() | |
| 5614 | -- v.Material = "Neon" | |
| 5615 | -- end | |
| 5616 | -- end | |
| 5617 | end | |
| 5618 | end | |
| 5619 | end | |
| 5620 | end)) | |
| 5621 | coroutine.resume(coroutine.create(function() | |
| 5622 | while true do | |
| 5623 | swait() | |
| 5624 | if wing_clock == true then | |
| 5625 | for i, v in pairs(mw1:GetChildren()) do | |
| 5626 | if v:IsA("Part") then
| |
| 5627 | v.Transparency = 1 | |
| 5628 | v.BrickColor = v.BrickColor | |
| 5629 | v.Material = "Neon" | |
| 5630 | end | |
| 5631 | end | |
| 5632 | for i, v in pairs(mw2:GetChildren()) do | |
| 5633 | if v:IsA("Part") then
| |
| 5634 | v.Transparency = 1 | |
| 5635 | v.BrickColor = v.BrickColor | |
| 5636 | v.Material = "Neon" | |
| 5637 | end | |
| 5638 | end | |
| 5639 | for i, v in pairs(m2:GetChildren()) do | |
| 5640 | if v:IsA("Part") then
| |
| 5641 | v.Transparency = 1 | |
| 5642 | v.BrickColor = v.BrickColor | |
| 5643 | v.Material = "Neon" | |
| 5644 | end | |
| 5645 | end | |
| 5646 | for i, v in pairs(m:GetChildren()) do | |
| 5647 | if v:IsA("Part") then
| |
| 5648 | v.Transparency = 1 | |
| 5649 | v.BrickColor = v.BrickColor | |
| 5650 | v.Material = "Neon" | |
| 5651 | end | |
| 5652 | end | |
| 5653 | for i, v in pairs(m3:GetChildren()) do | |
| 5654 | if v:IsA("Part") then
| |
| 5655 | v.Transparency = 1 | |
| 5656 | v.BrickColor = v.BrickColor | |
| 5657 | v.Material = "Neon" | |
| 5658 | end | |
| 5659 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5660 | if v:IsA("Part") then
| |
| 5661 | v.Transparency = 1 | |
| 5662 | v.BrickColor = v.BrickColor | |
| 5663 | v.Material = "Neon" | |
| 5664 | end | |
| 5665 | end | |
| 5666 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5667 | if v:IsA("Part") then
| |
| 5668 | v.Transparency = 1 | |
| 5669 | v.BrickColor = v.BrickColor | |
| 5670 | v.Material = "Neon" | |
| 5671 | end | |
| 5672 | end | |
| 5673 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5674 | if v:IsA("Part") then
| |
| 5675 | v.Transparency = 1 | |
| 5676 | v.BrickColor = v.BrickColor | |
| 5677 | v.Material = "Neon" | |
| 5678 | end | |
| 5679 | end | |
| 5680 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5681 | if v:IsA("Part") then
| |
| 5682 | v.Transparency = 1 | |
| 5683 | v.BrickColor = v.BrickColor | |
| 5684 | v.Material = "Neon" | |
| 5685 | end | |
| 5686 | end | |
| 5687 | -- for i, v in pairs(extrawingmod5:GetChildren()) do | |
| 5688 | -- if v:IsA("Part") then
| |
| 5689 | -- v.Transparency = 1 | |
| 5690 | -- v.BrickColor = v.BrickColor | |
| 5691 | -- v.Material = "Neon" | |
| 5692 | -- end | |
| 5693 | -- end | |
| 5694 | -- for i, v in pairs(extrawingmod6:GetChildren()) do | |
| 5695 | -- if v:IsA("Part") then
| |
| 5696 | -- v.Transparency = 1 | |
| 5697 | -- v.BrickColor = v.BrickColor | |
| 5698 | -- v.Material = "Neon" | |
| 5699 | -- end | |
| 5700 | - | lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(6.25 + 5 * math.cos(sine / 32))), 0.3) |
| 5700 | + | -- end |
| 5701 | - | lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 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 + 3.5 * math.cos(sine / 32))), 0.3) |
| 5701 | + | |
| 5702 | - | lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.5, 2, 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(18.75 + 5 * math.cos(sine / 32))), 0.3) |
| 5702 | + | |
| 5703 | - | lwing4weld.C1 = clerp(lwing4weld.C1, cf(4, 3, 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(25 + 6.25 * math.cos(sine / 32))), 0.3) |
| 5703 | + | |
| 5704 | - | lwing5weld.C1 = clerp(lwing5weld.C1, cf(4.5, 4, 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(31.25 + 7.5 * math.cos(sine / 32))), 0.3) |
| 5704 | + | |
| 5705 | - | lwing6weld.C1 = clerp(lwing6weld.C1, cf(5, 5, 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(37.5 + 8.75 * math.cos(sine / 32))), 0.3) |
| 5705 | + | |
| 5706 | - | --edit left wing here-- |
| 5706 | + | |
| 5707 | - | lwing7weld.C1 = clerp(lwing7weld.C1, cf(5.5, 6, 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(43.75 + 10 * math.cos(sine / 32))), 0.3) |
| 5707 | + | |
| 5708 | - | lwing8weld.C1 = clerp(lwing8weld.C1, cf(6, 7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 11.25 * math.cos(sine / 32))), 0.3) |
| 5708 | + | |
| 5709 | - | lwing9weld.C1 = clerp(lwing9weld.C1, cf(6.5, 8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(56.25 + 12.5 * math.cos(sine / 32))), 0.3) |
| 5709 | + | |
| 5710 | for i, v in pairs(mw1:GetChildren()) do | |
| 5711 | - | --end of edit -- |
| 5711 | + | |
| 5712 | - | rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(-6.25 - 5 * math.cos(sine / 32))), 0.3) |
| 5712 | + | |
| 5713 | - | rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 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 - 3.5 * math.cos(sine / 32))), 0.3) |
| 5713 | + | |
| 5714 | - | rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.5, 2, 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(-18.75 - 5 * math.cos(sine / 32))), 0.3) |
| 5714 | + | |
| 5715 | - | rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4, 3, 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(-25 - 6.25 * math.cos(sine / 32))), 0.3) |
| 5715 | + | |
| 5716 | - | rwing5weld.C1 = clerp(rwing5weld.C1, cf(-4.5, 4, 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(-31.25 - 7.5 * math.cos(sine / 32))), 0.3) |
| 5716 | + | |
| 5717 | - | rwing6weld.C1 = clerp(rwing6weld.C1, cf(-5, 5, 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(-37.5 - 8.75 * math.cos(sine / 32))), 0.3) |
| 5717 | + | |
| 5718 | - | --edit right wing-- |
| 5718 | + | |
| 5719 | - | rwing7weld.C1 = clerp(rwing7weld.C1, cf(-5.5, -6, 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(-43.75 - 10 * math.cos(sine / 32))), 0.3) |
| 5719 | + | |
| 5720 | - | rwing8weld.C1 = clerp(rwing8weld.C1, cf(-6, -7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 11.25 * math.cos(sine / 32))), 0.3) |
| 5720 | + | |
| 5721 | - | rwing9weld.C1 = clerp(rwing9weld.C1, cf(-6.6, -8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(-56.25 - 12.5 * math.cos(sine / 32))), 0.3) |
| 5721 | + | |
| 5722 | end | |
| 5723 | - | --end of edit-- |
| 5723 | + | |
| 5724 | for i, v in pairs(m2:GetChildren()) do | |
| 5725 | if v:IsA("Part") then
| |
| 5726 | v.Transparency = 0.75 | |
| 5727 | v.BrickColor = v.BrickColor | |
| 5728 | v.Material = "Neon" | |
| 5729 | end | |
| 5730 | end | |
| 5731 | for i, v in pairs(m:GetChildren()) do | |
| 5732 | if v:IsA("Part") then
| |
| 5733 | v.Transparency = 0.75 | |
| 5734 | v.BrickColor = v.BrickColor | |
| 5735 | v.Material = "Neon" | |
| 5736 | end | |
| 5737 | end | |
| 5738 | for i, v in pairs(m3:GetChildren()) do | |
| 5739 | - | 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) |
| 5739 | + | |
| 5740 | - | 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) |
| 5740 | + | |
| 5741 | - | 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) |
| 5741 | + | |
| 5742 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1) |
| 5742 | + | |
| 5743 | - | 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) |
| 5743 | + | |
| 5744 | - | 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) |
| 5744 | + | |
| 5745 | if v:IsA("Part") then
| |
| 5746 | v.Transparency = 0.75 | |
| 5747 | v.BrickColor = v.BrickColor | |
| 5748 | v.Material = "Neon" | |
| 5749 | - | 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) |
| 5749 | + | |
| 5750 | - | 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) |
| 5750 | + | |
| 5751 | - | 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) |
| 5751 | + | |
| 5752 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) |
| 5752 | + | |
| 5753 | - | 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) |
| 5753 | + | |
| 5754 | - | 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) |
| 5754 | + | |
| 5755 | v.Material = "Neon" | |
| 5756 | end | |
| 5757 | end | |
| 5758 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5759 | if v:IsA("Part") then
| |
| 5760 | - | 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) |
| 5760 | + | |
| 5761 | - | 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) |
| 5761 | + | |
| 5762 | - | 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) |
| 5762 | + | |
| 5763 | - | 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) |
| 5763 | + | |
| 5764 | - | 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) |
| 5764 | + | |
| 5765 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) |
| 5765 | + | |
| 5766 | if v:IsA("Part") then
| |
| 5767 | - | 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) |
| 5767 | + | |
| 5768 | - | 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) |
| 5768 | + | |
| 5769 | - | 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) |
| 5769 | + | |
| 5770 | - | 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) |
| 5770 | + | |
| 5771 | - | 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) |
| 5771 | + | |
| 5772 | - | 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) |
| 5772 | + | -- for i, v in pairs(extrawingmod5:GetChildren()) do |
| 5773 | -- if v:IsA("Part") then
| |
| 5774 | - | 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) |
| 5774 | + | -- v.Transparency = 0.75 |
| 5775 | - | 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) |
| 5775 | + | -- v.BrickColor = v.BrickColor |
| 5776 | - | 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) |
| 5776 | + | -- v.Material = "Neon" |
| 5777 | - | 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) |
| 5777 | + | -- end |
| 5778 | - | 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) |
| 5778 | + | -- end |
| 5779 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1) |
| 5779 | + | -- for i, v in pairs(extrawingmod6:GetChildren()) do |
| 5780 | -- if v:IsA("Part") then
| |
| 5781 | - | 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) |
| 5781 | + | -- v.Transparency = 0.75 |
| 5782 | - | 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) |
| 5782 | + | -- v.BrickColor = v.BrickColor |
| 5783 | - | 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) |
| 5783 | + | -- v.Material = "Neon" |
| 5784 | - | 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) |
| 5784 | + | -- end |
| 5785 | - | 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) |
| 5785 | + | -- end |
| 5786 | - | 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) |
| 5786 | + | |
| 5787 | end | |
| 5788 | - | 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) |
| 5788 | + | |
| 5789 | - | 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) |
| 5789 | + | |
| 5790 | - | 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) |
| 5790 | + | |
| 5791 | - | 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) |
| 5791 | + | if kan == nil then |
| 5792 | - | 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) |
| 5792 | + | |
| 5793 | - | 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) |
| 5793 | + | kan.Volume = 10 |
| 5794 | kan.TimePosition = 0 | |
| 5795 | - | 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) |
| 5795 | + | |
| 5796 | - | 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) |
| 5796 | + | |
| 5797 | - | 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) |
| 5797 | + | |
| 5798 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1) |
| 5798 | + | |
| 5799 | - | 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) |
| 5799 | + | |
| 5800 | - | 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) |
| 5800 | + | |
| 5801 | end | |
| 5802 | hum.Name = "STARGLITCHER" | |
| 5803 | ||
| 5804 | Humanoid.MaxHealth = math.huge | |
| 5805 | ||
| 5806 | Humanoid.Health = math.huge | |
| 5807 | - | 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) |
| 5807 | + | |
| 5808 | - | 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) |
| 5808 | + | |
| 5809 | - | 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) |
| 5809 | + | |
| 5810 | - | 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) |
| 5810 | + | |
| 5811 | - | 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) |
| 5811 | + | |
| 5812 | - | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) |
| 5812 | + | |
| 5813 | ---- RecolorTextAndRename("Editer", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
| |
| 5814 | - | 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) |
| 5814 | + | |
| 5815 | - | 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) |
| 5815 | + | |
| 5816 | - | 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) |
| 5816 | + | |
| 5817 | - | 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) |
| 5817 | + | |
| 5818 | - | 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) |
| 5818 | + | |
| 5819 | - | 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) |
| 5819 | + | |
| 5820 | ---- v.Color = BrickColor.new("Toothpaste")
| |
| 5821 | - | 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) |
| 5821 | + | |
| 5822 | - | 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) |
| 5822 | + | |
| 5823 | - | 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) |
| 5823 | + | |
| 5824 | - | 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) |
| 5824 | + | |
| 5825 | - | 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) |
| 5825 | + | |
| 5826 | - | 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) |
| 5826 | + | |
| 5827 | ---- end | |
| 5828 | ---- for i, v in pairs(m3:GetChildren()) do | |
| 5829 | ---- if v:IsA("Part") then
| |
| 5830 | ---- v.Color = BrickColor.new("Toothpaste")
| |
| 5831 | ---- end | |
| 5832 | ---- end | |
| 5833 | - | 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) |
| 5833 | + | |
| 5834 | - | 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) |
| 5834 | + | |
| 5835 | - | 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) |
| 5835 | + | |
| 5836 | - | 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) |
| 5836 | + | |
| 5837 | - | 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) |
| 5837 | + | |
| 5838 | - | 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) |
| 5838 | + | |
| 5839 | ---- for i, v in pairs(mw2:GetChildren()) do | |
| 5840 | - | 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) |
| 5840 | + | |
| 5841 | - | 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) |
| 5841 | + | |
| 5842 | - | 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) |
| 5842 | + | |
| 5843 | - | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) |
| 5843 | + | |
| 5844 | - | 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) |
| 5844 | + | |
| 5845 | - | 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) |
| 5845 | + | |
| 5846 | ---- if v:IsA("Part") then
| |
| 5847 | ---- v.Transparency = 0 | |
| 5848 | ---- v.Color = BrickColor.Random() | |
| 5849 | ---- v.Material = "Neon" | |
| 5850 | ---- end | |
| 5851 | ---- end | |
| 5852 | - | print("12 may 2018")
|
| 5852 | + | |
| 5853 | ---- if v:IsA("Part") then
| |
| 5854 | - | print("close extarwing 3 and 4") |
| 5854 | + | |
| 5855 | ---- v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5856 | ---- v.Material = "Neon" | |
| 5857 | ---- end | |
| 5858 | ---- end | |
| 5859 | ---- for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5860 | ---- if v:IsA("Part") then
| |
| 5861 | ---- v.Transparency = 0 | |
| 5862 | ---- v.BrickColor = BrickColor.Random() | |
| 5863 | ---- v.Material = "Neon" | |
| 5864 | ---- end | |
| 5865 | ---- end | |
| 5866 | ---- for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5867 | ---- if v:IsA("Part") then
| |
| 5868 | ---- v.Transparency = 0 | |
| 5869 | ---- v.BrickColor = Color3.new(r / 255, g / 255, b / 255) | |
| 5870 | ---- v.Material = "Neon" | |
| 5871 | ---- end | |
| 5872 | ---- end | |
| 5873 | ---- end | |
| 5874 | ----end | |
| 5875 | while true do | |
| 5876 | if rainbowmode == true then | |
| 5877 | RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
| |
| 5878 | end | |
| 5879 | if rainbowmode == true and wing_clock == false and clock_mode == false and ModeOfGlitch == 6127843 then | |
| 5880 | RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
| |
| 5881 | MAINRUINCOLOR = BrickColor.new("White")
| |
| 5882 | for i, v in pairs(m:GetChildren()) do | |
| 5883 | if v:IsA("Part") then
| |
| 5884 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5885 | end | |
| 5886 | end | |
| 5887 | for i, v in pairs(m2:GetChildren()) do | |
| 5888 | if v:IsA("Part") then
| |
| 5889 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5890 | end | |
| 5891 | end | |
| 5892 | for i, v in pairs(m3:GetChildren()) do | |
| 5893 | if v:IsA("Part") then
| |
| 5894 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5895 | end | |
| 5896 | end | |
| 5897 | for i, v in pairs(mw1:GetChildren()) do | |
| 5898 | if v:IsA("Part") then
| |
| 5899 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5900 | v.Material = "Neon" | |
| 5901 | end | |
| 5902 | end | |
| 5903 | for i, v in pairs(mw2:GetChildren()) do | |
| 5904 | if v:IsA("Part") then
| |
| 5905 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5906 | v.Material = "Neon" | |
| 5907 | end | |
| 5908 | end | |
| 5909 | for i, v in pairs(extrawingmod1:GetChildren()) do | |
| 5910 | if v:IsA("Part") then
| |
| 5911 | v.Transparency = 0 | |
| 5912 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5913 | v.Material = "Neon" | |
| 5914 | end | |
| 5915 | end | |
| 5916 | for i, v in pairs(extrawingmod2:GetChildren()) do | |
| 5917 | if v:IsA("Part") then
| |
| 5918 | v.Transparency = 0 | |
| 5919 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5920 | v.Material = "Neon" | |
| 5921 | end | |
| 5922 | end | |
| 5923 | for i, v in pairs(extrawingmod3:GetChildren()) do | |
| 5924 | if v:IsA("Part") then
| |
| 5925 | v.Transparency = 0 | |
| 5926 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5927 | v.Material = "Neon" | |
| 5928 | end | |
| 5929 | end | |
| 5930 | for i, v in pairs(extrawingmod4:GetChildren()) do | |
| 5931 | if v:IsA("Part") then
| |
| 5932 | v.Transparency = 0 | |
| 5933 | v.Color = Color3.new(r / 255, g / 255, b / 255) | |
| 5934 | v.Material = "Neon" | |
| 5935 | end | |
| 5936 | end | |
| 5937 | end | |
| 5938 | CameraManager() | |
| 5939 | swait() | |
| 5940 | -- lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(6.25 + 5 * math.cos(sine / 32))), 0.3) | |
| 5941 | -- lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 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 + 3.5 * math.cos(sine / 32))), 0.3) | |
| 5942 | -- lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.5, 2, 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(18.75 + 5 * math.cos(sine / 32))), 0.3) | |
| 5943 | -- lwing4weld.C1 = clerp(lwing4weld.C1, cf(4, 3, 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(25 + 6.25 * math.cos(sine / 32))), 0.3) | |
| 5944 | -- lwing5weld.C1 = clerp(lwing5weld.C1, cf(4.5, 4, 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(31.25 + 7.5 * math.cos(sine / 32))), 0.3) | |
| 5945 | -- lwing6weld.C1 = clerp(lwing6weld.C1, cf(5, 5, 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(37.5 + 8.75 * math.cos(sine / 32))), 0.3) | |
| 5946 | -- edit left wing here-- | |
| 5947 | -- lwing7weld.C1 = clerp(lwing7weld.C1, cf(5.5, 6, 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(43.75 + 10 * math.cos(sine / 32))), 0.3) | |
| 5948 | -- lwing8weld.C1 = clerp(lwing8weld.C1, cf(6, 7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 11.25 * math.cos(sine / 32))), 0.3) | |
| 5949 | -- lwing9weld.C1 = clerp(lwing9weld.C1, cf(6.5, 8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(56.25 + 12.5 * math.cos(sine / 32))), 0.3) | |
| 5950 | -- lwing10weld.C1 = clerp(lwing10weld.C1, cf(7, 9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 13.75 * math.cos(sine / 32))), 0.3) | |
| 5951 | -- end of edit -- | |
| 5952 | -- rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(2.5 + 5 * math.cos(sine / 32)), math.rad(0), math.rad(-6.25 - 5 * math.cos(sine / 32))), 0.3) | |
| 5953 | -- rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 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 - 3.5 * math.cos(sine / 32))), 0.3) | |
| 5954 | -- rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.5, 2, 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(-18.75 - 5 * math.cos(sine / 32))), 0.3) | |
| 5955 | -- rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4, 3, 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(-25 - 6.25 * math.cos(sine / 32))), 0.3) | |
| 5956 | -- rwing5weld.C1 = clerp(rwing5weld.C1, cf(-4.5, 4, 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(-31.25 - 7.5 * math.cos(sine / 32))), 0.3) | |
| 5957 | -- rwing6weld.C1 = clerp(rwing6weld.C1, cf(-5, 5, 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(-37.5 - 8.75 * math.cos(sine / 32))), 0.3) | |
| 5958 | -- edit right wing-- | |
| 5959 | -- rwing7weld.C1 = clerp(rwing7weld.C1, cf(-5.5, -6, 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(-43.75 - 10 * math.cos(sine / 32))), 0.3) | |
| 5960 | -- rwing8weld.C1 = clerp(rwing8weld.C1, cf(-6, -7, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(35 + 40 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 11.25 * math.cos(sine / 32))), 0.3) | |
| 5961 | -- rwing9weld.C1 = clerp(rwing9weld.C1, cf(-6.5, -8, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(40 + 45 * math.cos(sine / 32)), math.rad(0), math.rad(-56.25 - 12.5 * math.cos(sine / 32))), 0.3) | |
| 5962 | -- rwing10weld.C1 = clerp(rwing10weld.C1, cf(-7, -9, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(45 + 50 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 13.75 * math.cos(sine / 32))), 0.3) | |
| 5963 | -- end of edit-- | |
| 5964 | sine = sine + change | |
| 5965 | local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 5966 | local velderp = RootPart.Velocity.y | |
| 5967 | hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 5968 | if equipped == true or equipped == false then | |
| 5969 | if attack == false then | |
| 5970 | idle = idle + 1 | |
| 5971 | else | |
| 5972 | idle = 0 | |
| 5973 | end | |
| 5974 | if not (idle >= 500) or attack == false then | |
| 5975 | end | |
| 5976 | if RootPart.Velocity.y > 1 and hitfloor == nil then | |
| 5977 | Anim = "Jump" | |
| 5978 | if attack == false then | |
| 5979 | -- 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) | |
| 5980 | -- 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) | |
| 5981 | -- 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) | |
| 5982 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1) | |
| 5983 | -- 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) | |
| 5984 | -- 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) | |
| 5985 | end | |
| 5986 | elseif RootPart.Velocity.y < -1 and hitfloor == nil then | |
| 5987 | Anim = "Fall" | |
| 5988 | if attack == false then | |
| 5989 | -- 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) | |
| 5990 | -- 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) | |
| 5991 | -- 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) | |
| 5992 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
| 5993 | -- 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) | |
| 5994 | -- 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) | |
| 5995 | end | |
| 5996 | elseif torvel < 1 and hitfloor ~= nil then | |
| 5997 | Anim = "Idle" | |
| 5998 | if attack == false then | |
| 5999 | if ModeOfGlitch == 1 then | |
| 6000 | -- 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) | |
| 6001 | -- 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) | |
| 6002 | -- 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) | |
| 6003 | -- 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) | |
| 6004 | -- 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) | |
| 6005 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) | |
| 6006 | elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then | |
| 6007 | -- 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) | |
| 6008 | -- 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) | |
| 6009 | -- 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) | |
| 6010 | -- 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) | |
| 6011 | -- 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) | |
| 6012 | -- 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) | |
| 6013 | elseif ModeOfGlitch == 3 then | |
| 6014 | -- 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) | |
| 6015 | -- 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) | |
| 6016 | -- 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) | |
| 6017 | -- 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) | |
| 6018 | -- 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) | |
| 6019 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1) | |
| 6020 | elseif ModeOfGlitch == 4 then | |
| 6021 | -- 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) | |
| 6022 | -- 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) | |
| 6023 | -- 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) | |
| 6024 | -- 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) | |
| 6025 | -- 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) | |
| 6026 | -- 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) | |
| 6027 | elseif ModeOfGlitch == 5 or ModeOfGlitch == 2547 then | |
| 6028 | -- 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) | |
| 6029 | -- 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) | |
| 6030 | -- 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) | |
| 6031 | -- 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) | |
| 6032 | -- 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) | |
| 6033 | -- 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) | |
| 6034 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 then | |
| 6035 | -- 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) | |
| 6036 | -- 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) | |
| 6037 | -- 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) | |
| 6038 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1) | |
| 6039 | -- 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) | |
| 6040 | -- 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) | |
| 6041 | end | |
| 6042 | end | |
| 6043 | elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then | |
| 6044 | Anim = "Walk" | |
| 6045 | if attack == false then | |
| 6046 | if ModeOfGlitch == 1 then | |
| 6047 | -- 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) | |
| 6048 | -- 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) | |
| 6049 | -- 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) | |
| 6050 | -- 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) | |
| 6051 | -- 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) | |
| 6052 | -- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1) | |
| 6053 | elseif ModeOfGlitch == 4 then | |
| 6054 | -- 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) | |
| 6055 | -- 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) | |
| 6056 | -- 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) | |
| 6057 | -- 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) | |
| 6058 | -- 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) | |
| 6059 | -- 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) | |
| 6060 | elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then | |
| 6061 | -- 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) | |
| 6062 | -- 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) | |
| 6063 | -- 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) | |
| 6064 | -- 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) | |
| 6065 | -- 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) | |
| 6066 | -- 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) | |
| 6067 | end | |
| 6068 | end | |
| 6069 | elseif torvel >= 22 and hitfloor ~= nil then | |
| 6070 | Anim = "Run" | |
| 6071 | if attack == false then | |
| 6072 | if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 or ModeOfGlitch ~=18022547 or ModeOfGlitch ~=2547 then | |
| 6073 | -- 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) | |
| 6074 | -- 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) | |
| 6075 | -- 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) | |
| 6076 | -- 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) | |
| 6077 | -- 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) | |
| 6078 | -- 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) | |
| 6079 | elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 18022547 or ModeOfGlitch == 2547 then | |
| 6080 | -- 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) | |
| 6081 | -- 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) | |
| 6082 | -- 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) | |
| 6083 | -- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 6084 | -- 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) | |
| 6085 | -- 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) | |
| 6086 | end | |
| 6087 | end | |
| 6088 | end | |
| 6089 | end | |
| 6090 | end |