SHOW:
|
|
- or go back to the newest paste.
| 1 | -- [[[ | |
| 2 | --000000[[====================================================================================\\ | |
| 3 | --000000[[ DEIVIS97 EDIT | |
| 4 | --000000[[====================================================================================// | |
| 5 | -- [[[ | |
| 6 | - | -- This script has been converted to FE by iPxter |
| 6 | + | |
| 7 | local Player = game:GetService("Players").LocalPlayer
| |
| 8 | repeat | |
| 9 | - | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 9 | + | |
| 10 | - | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 10 | + | |
| 11 | - | do |
| 11 | + | |
| 12 | - | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
|
| 12 | + | |
| 13 | - | script.Parent = Player.Character |
| 13 | + | |
| 14 | Texture = "http://www.roblox.com/asset/?id=1097260739", | |
| 15 | - | --RemoteEvent for communicating |
| 15 | + | |
| 16 | - | local Event = Instance.new("RemoteEvent")
|
| 16 | + | |
| 17 | - | Event.Name = "UserInput_Event" |
| 17 | + | |
| 18 | UpperBodyOnly = false, | |
| 19 | - | --Fake event to make stuff like Mouse.KeyDown work |
| 19 | + | |
| 20 | - | local function fakeEvent() |
| 20 | + | |
| 21 | - | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
|
| 21 | + | |
| 22 | - | t.connect = t.Connect |
| 22 | + | |
| 23 | - | return t |
| 23 | + | |
| 24 | } | |
| 25 | local Trail | |
| 26 | - | --Creating fake input objects with fake variables |
| 26 | + | |
| 27 | - | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
|
| 27 | + | |
| 28 | - | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
|
| 28 | + | |
| 29 | - | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
|
| 29 | + | |
| 30 | - | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
|
| 30 | + | |
| 31 | - | end} |
| 31 | + | |
| 32 | - | --Merged 2 functions into one by checking amount of arguments |
| 32 | + | |
| 33 | - | CAS.UnbindAction = CAS.BindAction |
| 33 | + | |
| 34 | Trail.Attachment1 = A1 | |
| 35 | - | --This function will trigger the events that have been :Connect()'ed |
| 35 | + | |
| 36 | - | local function te(self,ev,...) |
| 36 | + | |
| 37 | - | local t = m[ev] |
| 37 | + | |
| 38 | - | if t and t._fakeEvent and t.Function then |
| 38 | + | |
| 39 | - | t.Function(...) |
| 39 | + | |
| 40 | Trail2.Attachment1 = A2 | |
| 41 | local Trail3 = Trail:Clone() | |
| 42 | - | m.TrigEvent = te |
| 42 | + | |
| 43 | - | UIS.TrigEvent = te |
| 43 | + | |
| 44 | local Trail6 = Trail:Clone() | |
| 45 | - | Event.OnServerEvent:Connect(function(plr,io) |
| 45 | + | |
| 46 | - | if plr~=Player then return end |
| 46 | + | |
| 47 | - | if io.isMouse then |
| 47 | + | |
| 48 | - | m.Target = io.Target |
| 48 | + | |
| 49 | - | m.Hit = io.Hit |
| 49 | + | |
| 50 | Trail7.Attachment0 = A1 | |
| 51 | - | local b = io.UserInputState == Enum.UserInputState.Begin |
| 51 | + | |
| 52 | - | if io.UserInputType == Enum.UserInputType.MouseButton1 then |
| 52 | + | |
| 53 | - | return m:TrigEvent(b and "Button1Down" or "Button1Up") |
| 53 | + | |
| 54 | A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
| |
| 55 | - | for _,t in pairs(CAS.Actions) do |
| 55 | + | |
| 56 | - | for _,k in pairs(t.Keys) do |
| 56 | + | |
| 57 | - | if k==io.KeyCode then |
| 57 | + | |
| 58 | - | t.Function(t.Name,io.UserInputState,io) |
| 58 | + | |
| 59 | A3R = Instance.new("Attachment", Character.LeftLowerArm)
| |
| 60 | Trail = Instance.new("Trail", Character)
| |
| 61 | Trail.Attachment0 = A0 | |
| 62 | - | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) |
| 62 | + | |
| 63 | - | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) |
| 63 | + | |
| 64 | Trail.Color = TrailSettings.Color1 | |
| 65 | Trail.Lifetime = TrailSettings.Lifetime | |
| 66 | - | Event.Parent = NLS([==[ |
| 66 | + | |
| 67 | - | local Player = game:GetService("Players").LocalPlayer
|
| 67 | + | |
| 68 | - | local Event = script:WaitForChild("UserInput_Event")
|
| 68 | + | |
| 69 | local Trail3 = Trail:Clone() | |
| 70 | - | local UIS = game:GetService("UserInputService")
|
| 70 | + | |
| 71 | - | local input = function(io,a) |
| 71 | + | |
| 72 | - | if a then return end |
| 72 | + | |
| 73 | - | --Since InputObject is a client-side instance, we create and pass table instead |
| 73 | + | |
| 74 | - | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
|
| 74 | + | |
| 75 | Trail6.Attachment1 = A2 | |
| 76 | - | UIS.InputBegan:Connect(input) |
| 76 | + | |
| 77 | - | UIS.InputEnded:Connect(input) |
| 77 | + | |
| 78 | Trail7.Attachment0 = A1 | |
| 79 | - | local Mouse = Player:GetMouse() |
| 79 | + | |
| 80 | - | local h,t |
| 80 | + | |
| 81 | - | --Give the server mouse data 30 times every second, but only if the values changed |
| 81 | + | |
| 82 | - | --If player is not moving their mouse, client won't fire events |
| 82 | + | |
| 83 | - | while wait(1/30) do |
| 83 | + | |
| 84 | - | if h~=Mouse.Hit or t~=Mouse.Target then |
| 84 | + | |
| 85 | - | h,t=Mouse.Hit,Mouse.Target |
| 85 | + | |
| 86 | - | Event:FireServer({isMouse=true,Target=t,Hit=h})
|
| 86 | + | |
| 87 | Trail6.Parent = Character | |
| 88 | - | end]==],Player.Character) |
| 88 | + | |
| 89 | - | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS |
| 89 | + | |
| 90 | local Trail7R = Trail:Clone() | |
| 91 | - | local Player = owner |
| 91 | + | |
| 92 | Trail7.Attachment0 = A1 | |
| 93 | Trail7.Attachment1 = A3R | |
| 94 | end | |
| 95 | end | |
| 96 | function LowerBody() | |
| 97 | if TrailSettings.R15 == false then | |
| 98 | A4 = Instance.new("Attachment", Character["Right Leg"])
| |
| 99 | A5 = Instance.new("Attachment", Character["Left Leg"])
| |
| 100 | local Trail4 = Trail:Clone() | |
| 101 | Trail4.Parent = Character | |
| 102 | Trail4.Attachment1 = A4 | |
| 103 | local Trail5 = Trail:Clone() | |
| 104 | Trail5.Parent = Character | |
| 105 | Trail5.Attachment1 = A5 | |
| 106 | local Trail8 = Trail:Clone() | |
| 107 | Trail8.Parent = Character | |
| 108 | Trail8.Attachment0 = A2 | |
| 109 | Trail8.Attachment1 = A4 | |
| 110 | Trail8.Color = TrailSettings.Color2 | |
| 111 | local Trail9 = Trail:Clone() | |
| 112 | Trail9.Parent = Character | |
| 113 | Trail9.Attachment0 = A3 | |
| 114 | Trail9.Attachment1 = A5 | |
| 115 | Trail9.Color = TrailSettings.Color2 | |
| 116 | local FT = Trail:Clone() | |
| 117 | FT.Parent = Character | |
| 118 | FT.Attachment0 = A4 | |
| 119 | FT.Attachment1 = A5 | |
| 120 | FT.Color = TrailSettings.Color2 | |
| 121 | else | |
| 122 | A4 = Instance.new("Attachment", Character.RightLowerLeg)
| |
| 123 | A4R = Instance.new("Attachment", Character.RightUpperLeg)
| |
| 124 | A5 = Instance.new("Attachment", Character.LeftLowerLeg)
| |
| 125 | A5R = Instance.new("Attachment", Character.LeftUpperLeg)
| |
| 126 | local Trail4 = Trail:Clone() | |
| 127 | Trail4.Parent = Character | |
| 128 | Trail4.Attachment1 = A4 | |
| 129 | local Trail5 = Trail:Clone() | |
| 130 | Trail5.Parent = Character | |
| 131 | Trail5.Attachment1 = A5 | |
| 132 | local Trail8 = Trail:Clone() | |
| 133 | Trail8.Parent = Character | |
| 134 | Trail8.Attachment0 = A2 | |
| 135 | Trail8.Attachment1 = A4 | |
| 136 | Trail8.Color = TrailSettings.Color2 | |
| 137 | local Trail9 = Trail:Clone() | |
| 138 | Trail9.Parent = Character | |
| 139 | Trail9.Attachment0 = A3 | |
| 140 | Trail9.Attachment1 = A5 | |
| 141 | Trail9.Color = TrailSettings.Color2 | |
| 142 | local FT = Trail:Clone() | |
| 143 | FT.Parent = Character | |
| 144 | FT.Attachment0 = A4 | |
| 145 | FT.Attachment1 = A5 | |
| 146 | FT.Color = TrailSettings.Color2 | |
| 147 | local Trail3R = Trail:Clone() | |
| 148 | Trail3R.Parent = Character | |
| 149 | Trail3R.Attachment1 = A4R | |
| 150 | local Trail4R = Trail:Clone() | |
| 151 | Trail4R.Parent = Character | |
| 152 | Trail4R.Attachment1 = A5R | |
| 153 | local Trail8 = Trail:Clone() | |
| 154 | Trail8.Parent = Character | |
| 155 | Trail8.Attachment0 = A2R | |
| 156 | Trail8.Attachment1 = A4R | |
| 157 | Trail8.Color = TrailSettings.Color2 | |
| 158 | local Trail9 = Trail:Clone() | |
| 159 | Trail9.Parent = Character | |
| 160 | Trail9.Attachment0 = A3R | |
| 161 | Trail9.Attachment1 = A5R | |
| 162 | Trail9.Color = TrailSettings.Color2 | |
| 163 | local FT2R = Trail:Clone() | |
| 164 | FT2R.Parent = Character | |
| 165 | FT2R.Attachment0 = A4R | |
| 166 | FT2R.Attachment1 = A5R | |
| 167 | FT2R.Color = TrailSettings.Color2 | |
| 168 | end | |
| 169 | end | |
| 170 | function AllBody() | |
| 171 | UpperBody() | |
| 172 | LowerBody() | |
| 173 | end | |
| 174 | if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
| 175 | TrailSettings.UpperBodyOnly = false | |
| 176 | TrailSettings.LowerBodyOnly = false | |
| 177 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then | |
| 178 | TrailSettings.UpperBodyOnly = false | |
| 179 | TrailSettings.LowerBodyOnly = false | |
| 180 | elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then | |
| 181 | TrailSettings.UpperBodyOnly = false | |
| 182 | TrailSettings.LowerBodyOnly = false | |
| 183 | elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then | |
| 184 | TrailSettings.AllBody = true | |
| 185 | TrailSettings.UpperBodyOnly = false | |
| 186 | TrailSettings.LowerBodyOnly = false | |
| 187 | end | |
| 188 | if TrailSettings.UpperBodyOnly == true then | |
| 189 | UpperBody() | |
| 190 | print("Called Upper Body Trail")
| |
| 191 | elseif TrailSettings.LowerBodyOnly == true then | |
| 192 | LowerBody() | |
| 193 | print("Called Lower Body Trail")
| |
| 194 | elseif TrailSettings.AllBody == true then | |
| 195 | AllBody() | |
| 196 | print("Called Full Body Trail")
| |
| 197 | end | |
| 198 | if TrailSettings.Accessories == true then | |
| 199 | for Index, Item in pairs(Character:GetChildren()) do | |
| 200 | if Item:IsA("Accessory") then
| |
| 201 | local AA = Instance.new("Attachment", Item.Handle)
| |
| 202 | local ATrail = Trail:Clone() | |
| 203 | ATrail.Parent = Character | |
| 204 | ATrail.Attachment1 = AA | |
| 205 | end | |
| 206 | end | |
| 207 | end | |
| 208 | if TrailSettings.Extras == true then | |
| 209 | spawn(function() | |
| 210 | repeat | |
| 211 | wait() | |
| 212 | until Trail | |
| 213 | local AB = Instance.new("Attachment", a)
| |
| 214 | local ABT = Trail:Clone() | |
| 215 | ABT.Parent = Character | |
| 216 | ABT.Attachment0 = A4 | |
| 217 | ABT.Attachment1 = AB | |
| 218 | ABT.Color = TrailSettings.Color2 | |
| 219 | local ABT2 = Trail:Clone() | |
| 220 | ABT2.Parent = Character | |
| 221 | ABT2.Attachment0 = A5 | |
| 222 | ABT2.Attachment1 = AB | |
| 223 | ABT2.Color = TrailSettings.Color2 | |
| 224 | end) | |
| 225 | end | |
| 226 | wait(0.1) | |
| 227 | --//====================================================\\-- | |
| 228 | --|| CREATED BY SHACKLUSTER | |
| 229 | --\\====================================================//-- | |
| 230 | ||
| 231 | local Player = game.Players.localPlayer | |
| 232 | local Character = Player.Character | |
| 233 | local Humanoid = Character.Humanoid | |
| 234 | local Mouse = Player:GetMouse() | |
| 235 | local LeftArm = Character["Left Arm"] | |
| 236 | local RightArm = Character["Right Arm"] | |
| 237 | local LeftLeg = Character["Left Leg"] | |
| 238 | local RightLeg = Character["Right Leg"] | |
| 239 | local Head = Character.Head | |
| 240 | local Torso = Character.Torso | |
| 241 | local Camera = game.Workspace.CurrentCamera | |
| 242 | local RootPart = Character.HumanoidRootPart | |
| 243 | local RootJoint = RootPart.RootJoint | |
| 244 | local attack = false | |
| 245 | local Anim = 'Idle' | |
| 246 | local Lighty = game:GetService"Lighting" | |
| 247 | local attacktype = 1 | |
| 248 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 249 | local velocity = RootPart.Velocity.y | |
| 250 | local sine = 0 | |
| 251 | local change = 1 | |
| 252 | local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
| |
| 253 | local Create = LoadLibrary("RbxUtility").Create
| |
| 254 | function swait(num) | |
| 255 | if num == 0 or num == nil then | |
| 256 | ArtificialHB.Event:wait() | |
| 257 | else | |
| 258 | for i = 0, num do | |
| 259 | ArtificialHB.Event:wait() | |
| 260 | end | |
| 261 | end | |
| 262 | end | |
| 263 | ||
| 264 | local chara = Character | |
| 265 | local m = Create("Model"){
| |
| 266 | Parent = Character, | |
| 267 | Name = "WeaponModel", | |
| 268 | } | |
| 269 | function chatfunc(text) | |
| 270 | local chat = coroutine.wrap(function() | |
| 271 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 272 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 273 | end | |
| 274 | local Bill = Instance.new("BillboardGui",Character)
| |
| 275 | Bill.Size = UDim2.new(0,100,0,40) | |
| 276 | Bill.StudsOffset = Vector3.new(0,3,0) | |
| 277 | Bill.Adornee = Character.Head | |
| 278 | Bill.Name = "TalkingBillBoard" | |
| 279 | local Hehe = Instance.new("TextLabel",Bill)
| |
| 280 | Hehe.BackgroundTransparency = 1 | |
| 281 | Hehe.BorderSizePixel = 0 | |
| 282 | Hehe.Text = "" | |
| 283 | Hehe.Font = "Garamond" | |
| 284 | Hehe.TextSize = 40 | |
| 285 | Hehe.TextStrokeTransparency = 0 | |
| 286 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
| 287 | coroutine.resume(coroutine.create(function() | |
| 288 | while Hehe ~= nil do | |
| 289 | swait() | |
| 290 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 291 | Hehe.Rotation = math.random(-5,5) | |
| 292 | Hehe.TextColor3 = Color3.new(255,255,0) | |
| 293 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
| 294 | end | |
| 295 | end)) | |
| 296 | for i = 1,string.len(text),1 do | |
| 297 | swait() | |
| 298 | Hehe.Text = string.sub(text,1,i) | |
| 299 | end | |
| 300 | swait(90)--Re[math.random(1, 93)] | |
| 301 | for i = 0, 1, .025 do | |
| 302 | swait() | |
| 303 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
| 304 | Hehe.TextStrokeTransparency = i | |
| 305 | Hehe.TextTransparency = i | |
| 306 | end | |
| 307 | Bill:Destroy() | |
| 308 | end) | |
| 309 | chat() | |
| 310 | end | |
| 311 | ||
| 312 | function onChatted(msg) | |
| 313 | chatfunc(msg) | |
| 314 | end | |
| 315 | - | local Player = owner |
| 315 | + | |
| 316 | Player.Chatted:connect(onChatted) | |
| 317 | wait(0.2) | |
| 318 | ||
| 319 | Player = game:GetService("Players").LocalPlayer
| |
| 320 | PlayerGui = Player.PlayerGui | |
| 321 | Cam = workspace.CurrentCamera | |
| 322 | Backpack = Player.Backpack | |
| 323 | Character = Player.Character | |
| 324 | Humanoid = Character.Humanoid | |
| 325 | Mouse = Player:GetMouse() | |
| 326 | RootPart = Character["HumanoidRootPart"] | |
| 327 | Torso = Character["Torso"] | |
| 328 | Head = Character["Head"] | |
| 329 | RightArm = Character["Right Arm"] | |
| 330 | LeftArm = Character["Left Arm"] | |
| 331 | RightLeg = Character["Right Leg"] | |
| 332 | LeftLeg = Character["Left Leg"] | |
| 333 | RootJoint = RootPart["RootJoint"] | |
| 334 | Neck = Torso["Neck"] | |
| 335 | RightShoulder = Torso["Right Shoulder"] | |
| 336 | LeftShoulder = Torso["Left Shoulder"] | |
| 337 | RightHip = Torso["Right Hip"] | |
| 338 | LeftHip = Torso["Left Hip"] | |
| 339 | Character.Archivable = true | |
| 340 | Player:ClearCharacterAppearance() | |
| 341 | ||
| 342 | IT = Instance.new | |
| 343 | CF = CFrame.new | |
| 344 | VT = Vector3.new | |
| 345 | RAD = math.rad | |
| 346 | C3 = Color3.new | |
| 347 | UD2 = UDim2.new | |
| 348 | BRICKC = BrickColor.new | |
| 349 | ANGLES = CFrame.Angles | |
| 350 | EULER = CFrame.fromEulerAnglesXYZ | |
| 351 | COS = math.cos | |
| 352 | ACOS = math.acos | |
| 353 | SIN = math.sin | |
| 354 | ASIN = math.asin | |
| 355 | ABS = math.abs | |
| 356 | MRANDOM = math.random | |
| 357 | FLOOR = math.floor | |
| 358 | local CHOICE = MRANDOM(1,5) | |
| 359 | --//=================================\\ | |
| 360 | --|| USEFUL VALUES | |
| 361 | --\\=================================// | |
| 362 | ||
| 363 | Animation_Speed = 3 | |
| 364 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 365 | local Speed = 20 | |
| 366 | local SIZE = 1.4 | |
| 367 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 368 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 369 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 370 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 371 | local DAMAGEMULTIPLIER = "inf" | |
| 372 | local ANIM = "Idle" | |
| 373 | local ATTACK = false | |
| 374 | local EQUIPPED = false | |
| 375 | local HOLD = false | |
| 376 | local COMBO = 1 | |
| 377 | local Rooted = false | |
| 378 | local SINE = 0 | |
| 379 | local KEYHOLD = false | |
| 380 | local CHANGE = 2 / Animation_Speed | |
| 381 | local WALKINGANIM = false | |
| 382 | local VALUE1 = false | |
| 383 | local VALUE2 = false | |
| 384 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 385 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 386 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 387 | local ATANIM = IT("Animation")
| |
| 388 | ATANIM.Name = "Attack Animation" | |
| 389 | ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" | |
| 390 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 391 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 392 | WEAPONGUI.Name = "Weapon GUI" | |
| 393 | local Weapon = IT("Model")
| |
| 394 | Weapon.Name = "Adds" | |
| 395 | local Effects = IT("Folder", Weapon)
| |
| 396 | Effects.Name = "Effects" | |
| 397 | local ANIMATOR = Humanoid.Animator | |
| 398 | local ANIMATE = Character.Animate | |
| 399 | local UNANCHOR = true | |
| 400 | local CLOCKLOOP = 0 | |
| 401 | local SONG = 492070484 | |
| 402 | - | Player = owner |
| 402 | + | |
| 403 | local CLOCKSPEED = 4 | |
| 404 | script.Parent = WEAPONGUI | |
| 405 | local CLONE = Character:Clone() | |
| 406 | CLONE.Parent = nil | |
| 407 | Character.Archivable = false | |
| 408 | local sick = Instance.new("Sound",Torso)
| |
| 409 | sick.Volume = 50999 | |
| 410 | ||
| 411 | --//=================================\\ | |
| 412 | --\\=================================// | |
| 413 | ||
| 414 | ||
| 415 | --//=================================\\ | |
| 416 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 417 | --\\=================================// | |
| 418 | ||
| 419 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 420 | ArtificialHB.Name = "ArtificialHB" | |
| 421 | ||
| 422 | script:WaitForChild("ArtificialHB")
| |
| 423 | ||
| 424 | frame = Frame_Speed | |
| 425 | tf = 0 | |
| 426 | allowframeloss = false | |
| 427 | tossremainder = false | |
| 428 | lastframe = tick() | |
| 429 | script.ArtificialHB:Fire() | |
| 430 | ||
| 431 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 432 | tf = tf + s | |
| 433 | if tf >= frame then | |
| 434 | if allowframeloss then | |
| 435 | script.ArtificialHB:Fire() | |
| 436 | lastframe = tick() | |
| 437 | else | |
| 438 | for i = 1, math.floor(tf / frame) do | |
| 439 | script.ArtificialHB:Fire() | |
| 440 | end | |
| 441 | lastframe = tick() | |
| 442 | end | |
| 443 | if tossremainder then | |
| 444 | tf = 0 | |
| 445 | else | |
| 446 | tf = tf - frame * math.floor(tf / frame) | |
| 447 | end | |
| 448 | end | |
| 449 | end) | |
| 450 | ||
| 451 | --//=================================\\ | |
| 452 | --\\=================================// | |
| 453 | ||
| 454 | --//=================================\\ | |
| 455 | --|| SOME FUNCTIONS | |
| 456 | --\\=================================// | |
| 457 | ||
| 458 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 459 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 460 | end | |
| 461 | ||
| 462 | function PositiveAngle(NUMBER) | |
| 463 | if NUMBER >= 0 then | |
| 464 | NUMBER = 0 | |
| 465 | end | |
| 466 | return NUMBER | |
| 467 | end | |
| 468 | ||
| 469 | function NegativeAngle(NUMBER) | |
| 470 | if NUMBER <= 0 then | |
| 471 | NUMBER = 0 | |
| 472 | end | |
| 473 | return NUMBER | |
| 474 | end | |
| 475 | ||
| 476 | function Swait(NUMBER) | |
| 477 | if NUMBER == 0 or NUMBER == nil then | |
| 478 | ArtificialHB.Event:wait() | |
| 479 | else | |
| 480 | for i = 1, NUMBER do | |
| 481 | ArtificialHB.Event:wait() | |
| 482 | end | |
| 483 | end | |
| 484 | end | |
| 485 | ||
| 486 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 487 | local NEWMESH = IT(MESH) | |
| 488 | if MESH == "SpecialMesh" then | |
| 489 | NEWMESH.MeshType = MESHTYPE | |
| 490 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 491 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 492 | end | |
| 493 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 494 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 495 | end | |
| 496 | end | |
| 497 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 498 | NEWMESH.Scale = SCALE | |
| 499 | NEWMESH.Parent = PARENT | |
| 500 | return NEWMESH | |
| 501 | end | |
| 502 | ||
| 503 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 504 | local NEWPART = IT("Part")
| |
| 505 | NEWPART.formFactor = FORMFACTOR | |
| 506 | NEWPART.Reflectance = REFLECTANCE | |
| 507 | NEWPART.Transparency = TRANSPARENCY | |
| 508 | NEWPART.CanCollide = false | |
| 509 | NEWPART.Locked = true | |
| 510 | NEWPART.Anchored = true | |
| 511 | if ANCHOR == false then | |
| 512 | NEWPART.Anchored = false | |
| 513 | end | |
| 514 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 515 | NEWPART.Name = NAME | |
| 516 | NEWPART.Size = SIZE | |
| 517 | NEWPART.Position = Torso.Position | |
| 518 | NEWPART.Material = MATERIAL | |
| 519 | NEWPART:BreakJoints() | |
| 520 | NEWPART.Parent = PARENT | |
| 521 | return NEWPART | |
| 522 | end | |
| 523 | ||
| 524 | local function weldBetween(a, b) | |
| 525 | local weldd = Instance.new("ManualWeld")
| |
| 526 | weldd.Part0 = a | |
| 527 | weldd.Part1 = b | |
| 528 | weldd.C0 = CFrame.new() | |
| 529 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 530 | weldd.Parent = a | |
| 531 | return weldd | |
| 532 | end | |
| 533 | ||
| 534 | ||
| 535 | function QuaternionFromCFrame(cf) | |
| 536 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 537 | local trace = m00 + m11 + m22 | |
| 538 | if trace > 0 then | |
| 539 | local s = math.sqrt(1 + trace) | |
| 540 | local recip = 0.5 / s | |
| 541 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 542 | else | |
| 543 | local i = 0 | |
| 544 | if m11 > m00 then | |
| 545 | i = 1 | |
| 546 | end | |
| 547 | if m22 > (i == 0 and m00 or m11) then | |
| 548 | i = 2 | |
| 549 | end | |
| 550 | if i == 0 then | |
| 551 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 552 | local recip = 0.5 / s | |
| 553 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 554 | elseif i == 1 then | |
| 555 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 556 | local recip = 0.5 / s | |
| 557 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 558 | elseif i == 2 then | |
| 559 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 560 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 561 | end | |
| 562 | end | |
| 563 | end | |
| 564 | ||
| 565 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 566 | local xs, ys, zs = x + x, y + y, z + z | |
| 567 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 568 | local xx = x * xs | |
| 569 | local xy = x * ys | |
| 570 | local xz = x * zs | |
| 571 | local yy = y * ys | |
| 572 | local yz = y * zs | |
| 573 | local zz = z * zs | |
| 574 | 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)) | |
| 575 | end | |
| 576 | ||
| 577 | function QuaternionSlerp(a, b, t) | |
| 578 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 579 | local startInterp, finishInterp; | |
| 580 | if cosTheta >= 0.0001 then | |
| 581 | if (1 - cosTheta) > 0.0001 then | |
| 582 | local theta = ACOS(cosTheta) | |
| 583 | local invSinTheta = 1 / SIN(theta) | |
| 584 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 585 | finishInterp = SIN(t * theta) * invSinTheta | |
| 586 | else | |
| 587 | startInterp = 1 - t | |
| 588 | finishInterp = t | |
| 589 | end | |
| 590 | else | |
| 591 | if (1 + cosTheta) > 0.0001 then | |
| 592 | local theta = ACOS(-cosTheta) | |
| 593 | local invSinTheta = 1 / SIN(theta) | |
| 594 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 595 | finishInterp = SIN(t * theta) * invSinTheta | |
| 596 | else | |
| 597 | startInterp = t - 1 | |
| 598 | finishInterp = t | |
| 599 | end | |
| 600 | end | |
| 601 | 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 | |
| 602 | end | |
| 603 | ||
| 604 | function Clerp(a, b, t) | |
| 605 | local qa = {QuaternionFromCFrame(a)}
| |
| 606 | local qb = {QuaternionFromCFrame(b)}
| |
| 607 | local ax, ay, az = a.x, a.y, a.z | |
| 608 | local bx, by, bz = b.x, b.y, b.z | |
| 609 | local _t = 1 - t | |
| 610 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 611 | end | |
| 612 | ||
| 613 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 614 | local frame = IT("Frame")
| |
| 615 | frame.BackgroundTransparency = TRANSPARENCY | |
| 616 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 617 | frame.Position = POSITION | |
| 618 | frame.Size = SIZE | |
| 619 | frame.BackgroundColor3 = COLOR | |
| 620 | frame.BorderColor3 = BORDERCOLOR | |
| 621 | frame.Name = NAME | |
| 622 | frame.Parent = PARENT | |
| 623 | return frame | |
| 624 | end | |
| 625 | ||
| 626 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 627 | local label = IT("TextLabel")
| |
| 628 | label.BackgroundTransparency = 1 | |
| 629 | label.Size = UD2(1, 0, 1, 0) | |
| 630 | label.Position = UD2(0, 0, 0, 0) | |
| 631 | label.TextColor3 = TEXTCOLOR | |
| 632 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 633 | label.TextTransparency = TRANSPARENCY | |
| 634 | label.FontSize = TEXTFONTSIZE | |
| 635 | label.Font = TEXTFONT | |
| 636 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 637 | label.TextStrokeColor3 = C3(1,1,1) | |
| 638 | label.TextScaled = false | |
| 639 | label.Text = TEXT | |
| 640 | label.Name = NAME | |
| 641 | label.Parent = PARENT | |
| 642 | return label | |
| 643 | end | |
| 644 | ||
| 645 | function NoOutlines(PART) | |
| 646 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 647 | end | |
| 648 | ||
| 649 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 650 | local NEWWELD = IT(TYPE) | |
| 651 | NEWWELD.Part0 = PART0 | |
| 652 | NEWWELD.Part1 = PART1 | |
| 653 | NEWWELD.C0 = C0 | |
| 654 | NEWWELD.C1 = C1 | |
| 655 | NEWWELD.Parent = PARENT | |
| 656 | return NEWWELD | |
| 657 | end | |
| 658 | ||
| 659 | local S = IT("Sound")
| |
| 660 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 661 | local NEWSOUND = nil | |
| 662 | coroutine.resume(coroutine.create(function() | |
| 663 | NEWSOUND = S:Clone() | |
| 664 | NEWSOUND.Parent = PARENT | |
| 665 | NEWSOUND.Volume = VOLUME | |
| 666 | NEWSOUND.Pitch = PITCH | |
| 667 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 668 | NEWSOUND:play() | |
| 669 | if DOESLOOP == true then | |
| 670 | NEWSOUND.Looped = true | |
| 671 | else | |
| 672 | repeat wait(1) until NEWSOUND.Playing == false | |
| 673 | NEWSOUND:remove() | |
| 674 | end | |
| 675 | end)) | |
| 676 | return NEWSOUND | |
| 677 | end | |
| 678 | ||
| 679 | function CFrameFromTopBack(at, top, back) | |
| 680 | local right = top:Cross(back) | |
| 681 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 682 | end | |
| 683 | ||
| 684 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 685 | function WACKYEFFECT(Table) | |
| 686 | local TYPE = (Table.EffectType or "Sphere") | |
| 687 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 688 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 689 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 690 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 691 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 692 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 693 | local ROTATION1 = (Table.RotationX or 0) | |
| 694 | local ROTATION2 = (Table.RotationY or 0) | |
| 695 | local ROTATION3 = (Table.RotationZ or 0) | |
| 696 | local MATERIAL = (Table.Material or "Neon") | |
| 697 | local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551)) | |
| 698 | local TIME = (Table.Time or 45) | |
| 699 | local SOUNDID = (Table.SoundID or nil) | |
| 700 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 701 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 702 | coroutine.resume(coroutine.create(function() | |
| 703 | local PLAYSSOUND = false | |
| 704 | local SOUND = nil | |
| 705 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
| |
| 706 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 707 | PLAYSSOUND = true | |
| 708 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 709 | end | |
| 710 | EFFECT.Color = COLOR | |
| 711 | local MSH = nil | |
| 712 | if TYPE == "Sphere" then | |
| 713 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 714 | elseif TYPE == "Block" then | |
| 715 | MSH = IT("BlockMesh",EFFECT)
| |
| 716 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 717 | elseif TYPE == "Wave" then | |
| 718 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 719 | elseif TYPE == "Ring" then | |
| 720 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 721 | elseif TYPE == "Slash" then | |
| 722 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 723 | elseif TYPE == "Round Slash" then | |
| 724 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 725 | elseif TYPE == "Swirl" then | |
| 726 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 727 | elseif TYPE == "Skull" then | |
| 728 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 729 | elseif TYPE == "Crystal" then | |
| 730 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 731 | end | |
| 732 | if MSH ~= nil then | |
| 733 | local MOVESPEED = nil | |
| 734 | if MOVEDIRECTION ~= nil then | |
| 735 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 736 | end | |
| 737 | local GROWTH = SIZE - ENDSIZE | |
| 738 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 739 | if TYPE == "Block" then | |
| 740 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 741 | else | |
| 742 | EFFECT.CFrame = CFRAME | |
| 743 | end | |
| 744 | for LOOP = 1, TIME+1 do | |
| 745 | Swait() | |
| 746 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 747 | if TYPE == "Wave" then | |
| 748 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 749 | end | |
| 750 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 751 | if TYPE == "Block" then | |
| 752 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 753 | else | |
| 754 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 755 | end | |
| 756 | if MOVEDIRECTION ~= nil then | |
| 757 | local ORI = EFFECT.Orientation | |
| 758 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 759 | EFFECT.Orientation = ORI | |
| 760 | end | |
| 761 | end | |
| 762 | if PLAYSSOUND == false then | |
| 763 | EFFECT:remove() | |
| 764 | else | |
| 765 | repeat Swait() until SOUND.Playing == false | |
| 766 | EFFECT:remove() | |
| 767 | end | |
| 768 | else | |
| 769 | if PLAYSSOUND == false then | |
| 770 | EFFECT:remove() | |
| 771 | else | |
| 772 | repeat Swait() until SOUND.Playing == false | |
| 773 | EFFECT:remove() | |
| 774 | end | |
| 775 | end | |
| 776 | end)) | |
| 777 | end | |
| 778 | ||
| 779 | function MakeForm(PART,TYPE) | |
| 780 | if TYPE == "Cyl" then | |
| 781 | local MSH = IT("CylinderMesh",PART)
| |
| 782 | elseif TYPE == "Ball" then | |
| 783 | local MSH = IT("SpecialMesh",PART)
| |
| 784 | MSH.MeshType = "Sphere" | |
| 785 | elseif TYPE == "Wedge" then | |
| 786 | local MSH = IT("SpecialMesh",PART)
| |
| 787 | MSH.MeshType = "Wedge" | |
| 788 | end | |
| 789 | end | |
| 790 | ||
| 791 | Debris = game:GetService("Debris")
| |
| 792 | ||
| 793 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 794 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 795 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 796 | end | |
| 797 | ||
| 798 | function turnto(position) | |
| 799 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 800 | end | |
| 801 | ||
| 802 | --//=================================\\ | |
| 803 | --|| WEAPON CREATION | |
| 804 | --\\=================================// | |
| 805 | ||
| 806 | Humanoid.Parent = nil | |
| 807 | RootPart.Size = RootPart.Size*SIZE | |
| 808 | Torso.Size = Torso.Size*SIZE | |
| 809 | RightArm.Size = RightArm.Size*SIZE | |
| 810 | RightLeg.Size = RightLeg.Size*SIZE | |
| 811 | LeftArm.Size = LeftArm.Size*SIZE | |
| 812 | LeftLeg.Size = LeftLeg.Size*SIZE | |
| 813 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 814 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 815 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 816 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 817 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 818 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 819 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 820 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 821 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 822 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 823 | Head.Size = Head.Size*SIZE | |
| 824 | RootJoint.Parent = RootPart | |
| 825 | Neck.Parent = Torso | |
| 826 | RightShoulder.Parent = Torso | |
| 827 | LeftShoulder.Parent = Torso | |
| 828 | RightHip.Parent = Torso | |
| 829 | LeftHip.Parent = Torso | |
| 830 | ||
| 831 | Humanoid.DisplayDistanceType = "None" | |
| 832 | local naeeym2 = IT("BillboardGui",Character)
| |
| 833 | naeeym2.AlwaysOnTop = true | |
| 834 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 835 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 836 | naeeym2.MaxDistance = 75 | |
| 837 | naeeym2.Adornee = Character.Head | |
| 838 | naeeym2.Name = "Name" | |
| 839 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 840 | tecks2.BackgroundTransparency = 1 | |
| 841 | tecks2.TextScaled = true | |
| 842 | tecks2.BorderSizePixel = 0 | |
| 843 | tecks2.Text = "i dont care ur mom fat m8" | |
| 844 | tecks2.Font = "Fantasy" | |
| 845 | tecks2.TextSize = 30 | |
| 846 | tecks2.TextStrokeTransparency = 0 | |
| 847 | tecks2.TextColor3 = C3(0,0,0) | |
| 848 | tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255) | |
| 849 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 850 | tecks2.Parent = naeeym2 | |
| 851 | local top = Instance.new("Shirt")
| |
| 852 | top.ShirtTemplate = "rbxassetid://29630698" | |
| 853 | top.Parent = Character | |
| 854 | top.Name = "Cloth" | |
| 855 | local bottom = Instance.new("Pants")
| |
| 856 | bottom.PantsTemplate = "rbxassetid://5970324" | |
| 857 | bottom.Parent = Character | |
| 858 | bottom.Name = "Cloth" | |
| 859 | local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false) | |
| 860 | PRT.Color = C3(0,0,0) | |
| 861 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 862 | CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
| |
| 863 | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false) | |
| 864 | PRT.Color = C3(0,0,0) | |
| 865 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
| |
| 866 | CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
| |
| 867 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false) | |
| 868 | PRT.Color = C3(255/255, 0/255, 0/255) | |
| 869 | MakeForm(PRT,"Ball") | |
| 870 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
| |
| 871 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false) | |
| 872 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 873 | MakeForm(PRT,"Ball") | |
| 874 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
| |
| 875 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) | |
| 876 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 877 | MakeForm(PRT,"Ball") | |
| 878 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
| |
| 879 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) | |
| 880 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 881 | MakeForm(PRT,"Ball") | |
| 882 | local Aura = Instance.new('ParticleEmitter')
| |
| 883 | Aura.Name = "Aura" | |
| 884 | Aura.Texture = "rbxassetid://131765579" | |
| 885 | Aura.Parent = PRT | |
| 886 | Aura.LightEmission = 0.3 | |
| 887 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 888 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255)) | |
| 889 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 890 | Aura.LockedToPart = false | |
| 891 | Aura.Lifetime = NumberRange.new(2) | |
| 892 | Aura.Rate = 30 | |
| 893 | Aura.Speed = NumberRange.new(1) | |
| 894 | Aura.EmissionDirection = "Top" | |
| 895 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
| |
| 896 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) | |
| 897 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 898 | MakeForm(PRT,"Ball") | |
| 899 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
| |
| 900 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) | |
| 901 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 902 | MakeForm(PRT,"Ball") | |
| 903 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
| |
| 904 | ||
| 905 | local LASTPART = Head | |
| 906 | for i = 1, 24 do | |
| 907 | local MATH = (1-(i/30)) | |
| 908 | if LASTPART == Head then | |
| 909 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 910 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
| |
| 911 | LASTPART = Horn | |
| 912 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 913 | local Aura = Instance.new('ParticleEmitter')
| |
| 914 | Aura.Name = "Aura" | |
| 915 | Aura.Texture = "rbxassetid://242997264" | |
| 916 | Aura.Parent = Horn | |
| 917 | Aura.LightEmission = 0.8 | |
| 918 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 919 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 920 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 921 | Aura.LockedToPart = true | |
| 922 | Aura.Lifetime = NumberRange.new(2) | |
| 923 | Aura.Rate = 25 | |
| 924 | Aura.Speed = NumberRange.new(0.1) | |
| 925 | - | tecks2.Text = "Master of Time" |
| 925 | + | |
| 926 | else | |
| 927 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 928 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 929 | LASTPART = Horn | |
| 930 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 931 | local Aura = Instance.new('ParticleEmitter')
| |
| 932 | Aura.Name = "Aura" | |
| 933 | Aura.Texture = "rbxassetid://242997264" | |
| 934 | - | top.ShirtTemplate = "rbxassetid://45695443" |
| 934 | + | |
| 935 | Aura.LightEmission = 0.8 | |
| 936 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 937 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 938 | - | bottom.PantsTemplate = "rbxassetid://45696190" |
| 938 | + | |
| 939 | Aura.LockedToPart = true | |
| 940 | Aura.Lifetime = NumberRange.new(2) | |
| 941 | Aura.Rate = 25 | |
| 942 | Aura.Speed = NumberRange.new(0.1) | |
| 943 | Aura.EmissionDirection = "Top" | |
| 944 | end | |
| 945 | end | |
| 946 | local LASTPART = Head | |
| 947 | for i = 1, 24 do | |
| 948 | local MATH = (1-(i/30)) | |
| 949 | if LASTPART == Head then | |
| 950 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 951 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
| |
| 952 | LASTPART = Horn | |
| 953 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 954 | local Aura = Instance.new('ParticleEmitter')
| |
| 955 | Aura.Name = "Aura" | |
| 956 | Aura.Texture = "rbxassetid://242997264" | |
| 957 | Aura.Parent = Horn | |
| 958 | Aura.LightEmission = 0.8 | |
| 959 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 960 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 961 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 962 | Aura.LockedToPart = true | |
| 963 | Aura.Lifetime = NumberRange.new(2) | |
| 964 | Aura.Rate = 25 | |
| 965 | Aura.Speed = NumberRange.new(0.1) | |
| 966 | Aura.EmissionDirection = "Top" | |
| 967 | else | |
| 968 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 969 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 970 | LASTPART = Horn | |
| 971 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 972 | local Aura = Instance.new('ParticleEmitter')
| |
| 973 | Aura.Name = "Aura" | |
| 974 | Aura.Texture = "rbxassetid://242997264" | |
| 975 | Aura.Parent = Horn | |
| 976 | Aura.LightEmission = 0.8 | |
| 977 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 978 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 979 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 980 | Aura.LockedToPart = true | |
| 981 | Aura.Lifetime = NumberRange.new(2) | |
| 982 | Aura.Rate = 25 | |
| 983 | Aura.Speed = NumberRange.new(0.1) | |
| 984 | Aura.EmissionDirection = "Top" | |
| 985 | end | |
| 986 | end | |
| 987 | local LASTPART = Head | |
| 988 | for i = 1, 8 do | |
| 989 | local MATH = (1-(i/14)) | |
| 990 | if LASTPART == Head then | |
| 991 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 992 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
| |
| 993 | LASTPART = Horn | |
| 994 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 995 | local Aura = Instance.new('ParticleEmitter')
| |
| 996 | Aura.Name = "Aura" | |
| 997 | Aura.Texture = "rbxassetid://242997264" | |
| 998 | Aura.Parent = Horn | |
| 999 | Aura.LightEmission = 0.8 | |
| 1000 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1001 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1002 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1003 | Aura.LockedToPart = true | |
| 1004 | Aura.Lifetime = NumberRange.new(2) | |
| 1005 | Aura.Rate = 25 | |
| 1006 | Aura.Speed = NumberRange.new(0.1) | |
| 1007 | Aura.EmissionDirection = "Top" | |
| 1008 | else | |
| 1009 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1010 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1011 | LASTPART = Horn | |
| 1012 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 1013 | local Aura = Instance.new('ParticleEmitter')
| |
| 1014 | Aura.Name = "Aura" | |
| 1015 | Aura.Texture = "rbxassetid://242997264" | |
| 1016 | Aura.Parent = Horn | |
| 1017 | Aura.LightEmission = 0.8 | |
| 1018 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1019 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1020 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1021 | Aura.LockedToPart = true | |
| 1022 | Aura.Lifetime = NumberRange.new(2) | |
| 1023 | Aura.Rate = 25 | |
| 1024 | Aura.Speed = NumberRange.new(0.1) | |
| 1025 | Aura.EmissionDirection = "Top" | |
| 1026 | end | |
| 1027 | end | |
| 1028 | local LASTPART = Head | |
| 1029 | for i = 1, 8 do | |
| 1030 | local MATH = (1-(i/14)) | |
| 1031 | if LASTPART == Head then | |
| 1032 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1033 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
| |
| 1034 | LASTPART = Horn | |
| 1035 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 1036 | local Aura = Instance.new('ParticleEmitter')
| |
| 1037 | Aura.Name = "Aura" | |
| 1038 | Aura.Texture = "rbxassetid://242997264" | |
| 1039 | Aura.Parent = Horn | |
| 1040 | Aura.LightEmission = 0.8 | |
| 1041 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1042 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1043 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1044 | Aura.LockedToPart = true | |
| 1045 | Aura.Lifetime = NumberRange.new(2) | |
| 1046 | Aura.Rate = 25 | |
| 1047 | Aura.Speed = NumberRange.new(0.1) | |
| 1048 | Aura.EmissionDirection = "Top" | |
| 1049 | else | |
| 1050 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1051 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1052 | LASTPART = Horn | |
| 1053 | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255) | |
| 1054 | local Aura = Instance.new('ParticleEmitter')
| |
| 1055 | Aura.Name = "Aura" | |
| 1056 | Aura.Texture = "rbxassetid://242997264" | |
| 1057 | Aura.Parent = Horn | |
| 1058 | Aura.LightEmission = 0.8 | |
| 1059 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1060 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1061 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1062 | Aura.LockedToPart = true | |
| 1063 | Aura.Lifetime = NumberRange.new(2) | |
| 1064 | Aura.Rate = 25 | |
| 1065 | Aura.Speed = NumberRange.new(0.1) | |
| 1066 | Aura.EmissionDirection = "Top" | |
| 1067 | end | |
| 1068 | end | |
| 1069 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false) | |
| 1070 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1071 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false) | |
| 1072 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1073 | MakeForm(PRT,"Cyl") | |
| 1074 | local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false) | |
| 1075 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1076 | MakeForm(PRT,"Cyl") | |
| 1077 | PRT.Color = C3(255/255, 255/255, 0/255) | |
| 1078 | local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false) | |
| 1079 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1080 | MakeForm(RING,"Cyl") | |
| 1081 | RING.Color = C3(0,0,0) | |
| 1082 | for i = 1, 12 do | |
| 1083 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false) | |
| 1084 | PRT.Color = C3(0,0,0) | |
| 1085 | local MSH = IT("BlockMesh",PRT)
| |
| 1086 | MSH.Scale = VT(0.6,1,1) | |
| 1087 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
| |
| 1088 | end | |
| 1089 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false) | |
| 1090 | PRT.Color = C3(0,0,0) | |
| 1091 | local MSH = IT("BlockMesh",PRT)
| |
| 1092 | MSH.Scale = VT(0.4,1,1) | |
| 1093 | local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
| |
| 1094 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false) | |
| 1095 | PRT.Color = C3(0,0,0) | |
| 1096 | local MSH = IT("BlockMesh",PRT)
| |
| 1097 | MSH.Scale = VT(0.4,1,1) | |
| 1098 | local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
| |
| 1099 | coroutine.resume(coroutine.create(function() | |
| 1100 | while true do | |
| 1101 | Swait() | |
| 1102 | CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED | |
| 1103 | WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed) | |
| 1104 | WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed) | |
| 1105 | if CLOCKLOOP <= -150 then | |
| 1106 | if VALUE1 == false then | |
| 1107 | CLOCKLOOP = 0 | |
| 1108 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
| |
| 1109 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1110 | ApplyAoE(HITPOS,10,15,45,75,true) | |
| 1111 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
| |
| 1112 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
| |
| 1113 | if CLOCKTARGET ~= nil then | |
| 1114 | CLOCKTARGET.Health = CLOCKTARGET.Health - 20 | |
| 1115 | if CLOCKTARGET.Torso ~= nil then | |
| 1116 | CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) | |
| 1117 | end | |
| 1118 | if CLOCKTARGET.Health == 0 then | |
| 1119 | CLOCKTARGET = nil | |
| 1120 | end | |
| 1121 | end | |
| 1122 | end | |
| 1123 | end | |
| 1124 | end | |
| 1125 | end)) | |
| 1126 | ||
| 1127 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1128 | if c.ClassName == "Part" then | |
| 1129 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1130 | end | |
| 1131 | end | |
| 1132 | ||
| 1133 | Neck.Name = "Weld" | |
| 1134 | RootJoint.Name = "Weld" | |
| 1135 | RightShoulder.Name = "Weld" | |
| 1136 | LeftShoulder.Name = "Weld" | |
| 1137 | RightHip.Name = "Weld" | |
| 1138 | LeftHip.Name = "Weld" | |
| 1139 | ||
| 1140 | local BODY = {}
| |
| 1141 | for _, c in pairs(Character:GetDescendants()) do | |
| 1142 | if c:IsA("BasePart") and c.Name ~= "Handle" then
| |
| 1143 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
| 1144 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1145 | end | |
| 1146 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
| |
| 1147 | elseif c:IsA("JointInstance") then
| |
| 1148 | table.insert(BODY,{c,c.Parent,nil,nil,nil})
| |
| 1149 | end | |
| 1150 | end | |
| 1151 | for e = 1, #BODY do | |
| 1152 | if BODY[e] ~= nil then | |
| 1153 | local STUFF = BODY[e] | |
| 1154 | local PART = STUFF[1] | |
| 1155 | local PARENT = STUFF[2] | |
| 1156 | local MATERIAL = STUFF[3] | |
| 1157 | local COLOR = STUFF[4] | |
| 1158 | local TRANSPARENCY = STUFF[5] | |
| 1159 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 1160 | PART.Material = MATERIAL | |
| 1161 | PART.Color = COLOR | |
| 1162 | PART.Transparency = TRANSPARENCY | |
| 1163 | end | |
| 1164 | PART.AncestryChanged:Connect(function() | |
| 1165 | PART.Parent = PARENT | |
| 1166 | end) | |
| 1167 | end | |
| 1168 | end | |
| 1169 | ||
| 1170 | function refit() | |
| 1171 | Character.Parent = workspace | |
| 1172 | for e = 1, #BODY do | |
| 1173 | if BODY[e] ~= nil then | |
| 1174 | local STUFF = BODY[e] | |
| 1175 | local PART = STUFF[1] | |
| 1176 | local PARENT = STUFF[2] | |
| 1177 | local MATERIAL = STUFF[3] | |
| 1178 | local COLOR = STUFF[4] | |
| 1179 | local TRANSPARENCY = STUFF[5] | |
| 1180 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 1181 | PART.Material = MATERIAL | |
| 1182 | PART.Color = COLOR | |
| 1183 | PART.Transparency = TRANSPARENCY | |
| 1184 | end | |
| 1185 | if PART.Parent ~= PARENT then | |
| 1186 | Humanoid:remove() | |
| 1187 | PART.Parent = PARENT | |
| 1188 | Humanoid = IT("Humanoid",Character)
| |
| 1189 | chatfunc ("I dont have time to die...")
| |
| 1190 | end | |
| 1191 | end | |
| 1192 | end | |
| 1193 | end | |
| 1194 | local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255) | |
| 1195 | local SKILLFONT = "Fantasy" | |
| 1196 | local SKILLTEXTSIZE = 7 | |
| 1197 | ||
| 1198 | Weapon.Parent = Character | |
| 1199 | Humanoid.Parent = Character | |
| 1200 | ||
| 1201 | Humanoid.Died:connect(function() | |
| 1202 | refit() | |
| 1203 | end) | |
| 1204 | chatfunc("Gentlemen, you just annoyed me")
| |
| 1205 | warn("deivis97 edit")
| |
| 1206 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 1207 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 1208 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 1209 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 1210 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 1211 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
| 1212 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
| 1213 | ||
| 1214 | ||
| 1215 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
| 1216 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
| 1217 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
| 1218 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
| 1219 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
| 1220 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
| 1221 | local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
| |
| 1222 | ||
| 1223 | --//=================================\\ | |
| 1224 | --|| DAMAGING | |
| 1225 | --\\=================================// | |
| 1226 | ||
| 1227 | function ApplyDamage(Humanoid,Damage,TorsoPart) | |
| 1228 | local defence = Instance.new("BoolValue",Humanoid.Parent)
| |
| 1229 | defence.Name = ("HitBy"..Player.Name)
| |
| 1230 | game:GetService("Debris"):AddItem(defence, 0.001)
| |
| 1231 | Damage = Damage * DAMAGEMULTIPLIER | |
| 1232 | if Humanoid.Health ~= 0 then | |
| 1233 | local CritChance = MRANDOM(1,100) | |
| 1234 | if Damage > Humanoid.Health then | |
| 1235 | Damage = math.ceil(Humanoid.Health) | |
| 1236 | if Damage == 0 then | |
| 1237 | Damage = 0.1 | |
| 1238 | end | |
| 1239 | end | |
| 1240 | Humanoid.Health = Humanoid.Health - Damage | |
| 1241 | end | |
| 1242 | end | |
| 1243 | ||
| 1244 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
| 1245 | local CHILDREN = workspace:GetDescendants() | |
| 1246 | for index, CHILD in pairs(CHILDREN) do | |
| 1247 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1248 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1249 | if HUM then | |
| 1250 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1251 | if TORSO then | |
| 1252 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1253 | if INSTAKILL == false then | |
| 1254 | CHILD:BreakJoints() | |
| 1255 | else | |
| 1256 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 1257 | ApplyDamage(HUM,DMG,TORSO) | |
| 1258 | end | |
| 1259 | if FLING > 0 then | |
| 1260 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1261 | if c:IsA("BasePart") then
| |
| 1262 | local bv = Instance.new("BodyVelocity")
| |
| 1263 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1264 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 1265 | bv.Parent = c | |
| 1266 | Debris:AddItem(bv,0.05) | |
| 1267 | end | |
| 1268 | end | |
| 1269 | end | |
| 1270 | end | |
| 1271 | end | |
| 1272 | end | |
| 1273 | end | |
| 1274 | end | |
| 1275 | end | |
| 1276 | ||
| 1277 | --//=================================\\ | |
| 1278 | --|| ATTACK FUNCTIONS AND STUFF | |
| 1279 | --\\=================================// | |
| 1280 | ||
| 1281 | Circle = nil | |
| 1282 | CircleParts = {}
| |
| 1283 | Equipped = false | |
| 1284 | ||
| 1285 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 1286 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 1287 | end | |
| 1288 | Equipped = true | |
| 1289 | Circle = Instance.new("Model")
| |
| 1290 | Circle.Name = "Circle" | |
| 1291 | Angle = 0 | |
| 1292 | for i = 1, 1 do | |
| 1293 | local CirclePart = Instance.new("Part")
| |
| 1294 | CirclePart.Name = "CirclePart" | |
| 1295 | CirclePart.Transparency = 1 | |
| 1296 | CirclePart.BrickColor = BrickColor.new("Really black")
| |
| 1297 | CirclePart.Material = Enum.Material.Plastic | |
| 1298 | CirclePart.Shape = Enum.PartType.Block | |
| 1299 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
| 1300 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
| 1301 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
| 1302 | CirclePart.Anchored = true | |
| 1303 | CirclePart.CanCollide = false | |
| 1304 | CirclePart.Locked = true | |
| 1305 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
| 1306 | local Aura = Instance.new('ParticleEmitter')
| |
| 1307 | Aura.Name = "Aura" | |
| 1308 | Aura.Texture = "rbxassetid://641078192" | |
| 1309 | Aura.Parent = CirclePart | |
| 1310 | Aura.LightEmission = 0 | |
| 1311 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
| 1312 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200)) | |
| 1313 | Aura.Size = NumberSequence.new(0.9,0.5,0.3) | |
| 1314 | Aura.LockedToPart = false | |
| 1315 | Aura.Lifetime = NumberRange.new(1) | |
| 1316 | Aura.Rate = 50 | |
| 1317 | Aura.Speed = NumberRange.new(2.5) | |
| 1318 | Aura.SpreadAngle = Vector2.new(80,80) | |
| 1319 | local BlockMesh = Instance.new("BlockMesh")
| |
| 1320 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
| 1321 | BlockMesh.Parent = CirclePart | |
| 1322 | CirclePart.Parent = Circle | |
| 1323 | local Star = Instance.new("Decal", CirclePart)
| |
| 1324 | Star.Texture = "http://www.roblox.com/asset/?id=253215684" | |
| 1325 | Star.Face = "Top" | |
| 1326 | local Light = Instance.new("PointLight", CirclePart)
| |
| 1327 | Light.Color = Color3.new(.20,0,0) | |
| 1328 | Light.Brightness = 100 | |
| 1329 | Light.Range = 15 | |
| 1330 | table.insert(CircleParts, CirclePart) | |
| 1331 | end | |
| 1332 | Spawn(function() | |
| 1333 | while Equipped and Humanoid.Parent and Torso.Parent do | |
| 1334 | if Angle == 360 then | |
| 1335 | Angle = 0 | |
| 1336 | end | |
| 1337 | Angle = Angle + 0.05 | |
| 1338 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
| |
| 1339 | if Hit then | |
| 1340 | if not Circle.Parent then | |
| 1341 | Circle.Parent = Character | |
| 1342 | end | |
| 1343 | for i, v in pairs(CircleParts) do | |
| 1344 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
| 1345 | end | |
| 1346 | else | |
| 1347 | Circle.Parent = nil | |
| 1348 | end | |
| 1349 | wait() | |
| 1350 | end | |
| 1351 | end) | |
| 1352 | ||
| 1353 | ||
| 1354 | ||
| 1355 | function MagicMissiles() | |
| 1356 | ATTACK = true | |
| 1357 | Rooted = false | |
| 1358 | local SELECTING = true | |
| 1359 | local SPOTS = {}
| |
| 1360 | coroutine.resume(coroutine.create(function() | |
| 1361 | local LOOP = 0 | |
| 1362 | repeat | |
| 1363 | LOOP = LOOP + 1 | |
| 1364 | Swait() | |
| 1365 | if LOOP >= 15 then | |
| 1366 | LOOP = 0 | |
| 1367 | for i = 1, #SPOTS do | |
| 1368 | if SPOTS[i] ~= nil then | |
| 1369 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1370 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1371 | end | |
| 1372 | end | |
| 1373 | end | |
| 1374 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1375 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1376 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1377 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1378 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1379 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1380 | until SELECTING == false | |
| 1381 | Rooted = false | |
| 1382 | repeat | |
| 1383 | LOOP = LOOP + 1 | |
| 1384 | Swait() | |
| 1385 | if LOOP >= 15 then | |
| 1386 | LOOP = 0 | |
| 1387 | for i = 1, #SPOTS do | |
| 1388 | if SPOTS[i] ~= nil then | |
| 1389 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1390 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1391 | end | |
| 1392 | end | |
| 1393 | end | |
| 1394 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1395 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
| 1396 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1397 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1398 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1399 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1400 | until ATTACK == false | |
| 1401 | end)) | |
| 1402 | repeat | |
| 1403 | repeat Swait() until HOLD == true | |
| 1404 | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude | |
| 1405 | if DIST > 9999 then | |
| 1406 | DIST = 9999 | |
| 1407 | end | |
| 1408 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) | |
| 1409 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1410 | if HITFLOOR ~= nil then | |
| 1411 | table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))) | |
| 1412 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
| |
| 1413 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1414 | end | |
| 1415 | repeat Swait() until HOLD == false | |
| 1416 | until #SPOTS == 5 | |
| 1417 | SELECTING = false | |
| 1418 | for i = 1, #SPOTS do | |
| 1419 | if SPOTS[i] ~= nil then | |
| 1420 | local POS = SPOTS[i] | |
| 1421 | coroutine.resume(coroutine.create(function() | |
| 1422 | local MISSILE = IT("Model",Effects)
| |
| 1423 | MISSILE.Name = "Missile" | |
| 1424 | local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2)) | |
| 1425 | MakeForm(BASEPART,"Cyl") | |
| 1426 | MISSILE.PrimaryPart = BASEPART | |
| 1427 | BASEPART.CFrame = POS*CF(0,-30*3,0) | |
| 1428 | local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2)) | |
| 1429 | MakeForm(HEAD,"Ball") | |
| 1430 | HEAD.CFrame = BASEPART.CFrame*CF(0,1,0) | |
| 1431 | local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5)) | |
| 1432 | MakeForm(TAIL,"Cyl") | |
| 1433 | TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0) | |
| 1434 | chatfunc("you like nukes?")
| |
| 1435 | for i = 1, 15 do | |
| 1436 | Swait() | |
| 1437 | for _, c in pairs(MISSILE:GetChildren()) do | |
| 1438 | if c.ClassName == "Part" then | |
| 1439 | c.Transparency = c.Transparency - 1/10 | |
| 1440 | end | |
| 1441 | end | |
| 1442 | end | |
| 1443 | for i = 1, 15*1.5 do | |
| 1444 | Swait() | |
| 1445 | MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0)) | |
| 1446 | end | |
| 1447 | ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true) | |
| 1448 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
| |
| 1449 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
| |
| 1450 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1451 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1452 | MISSILE:remove() | |
| 1453 | end)) | |
| 1454 | end | |
| 1455 | end | |
| 1456 | wait(0.6) | |
| 1457 | ATTACK = false | |
| 1458 | Rooted = false | |
| 1459 | end | |
| 1460 | ||
| 1461 | function TimesUp() | |
| 1462 | CLOCKTARGET = nil | |
| 1463 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1464 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1465 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 1466 | if TORSO then | |
| 1467 | ATTACK = true | |
| 1468 | Rooted = false | |
| 1469 | coroutine.resume(coroutine.create(function() | |
| 1470 | repeat | |
| 1471 | Swait() | |
| 1472 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1473 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1474 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1475 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1476 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1477 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1478 | until ATTACK == false | |
| 1479 | end)) | |
| 1480 | if Effects:FindFirstChild("NeonDoll") then
| |
| 1481 | repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
| |
| 1482 | end | |
| 1483 | wait(0.5) | |
| 1484 | local FAKECHARACTER = IT("Model",Effects)
| |
| 1485 | FAKECHARACTER.Name = "NeonDoll" | |
| 1486 | local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false) | |
| 1487 | CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
| |
| 1488 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false) | |
| 1489 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
| |
| 1490 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false) | |
| 1491 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
| |
| 1492 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false) | |
| 1493 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
| |
| 1494 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false) | |
| 1495 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
| |
| 1496 | local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false) | |
| 1497 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
| |
| 1498 | CreateSound(201858045, TORS, 5, 0.4, false) | |
| 1499 | for i = 1, 50 do | |
| 1500 | Swait() | |
| 1501 | CLOCKSPEED = 2.5 | |
| 1502 | for _, c in pairs(FAKECHARACTER:GetChildren()) do | |
| 1503 | if c.ClassName == "Part" then | |
| 1504 | c.Transparency = c.Transparency - 0.5/150 | |
| 1505 | end | |
| 1506 | end | |
| 1507 | end | |
| 1508 | CLOCKTARGET = HUM | |
| 1509 | coroutine.resume(coroutine.create(function() | |
| 1510 | repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil | |
| 1511 | for i = 1, 25 do | |
| 1512 | Swait() | |
| 1513 | for _, c in pairs(FAKECHARACTER:GetChildren()) do | |
| 1514 | if c.ClassName == "Part" then | |
| 1515 | c.Transparency = c.Transparency + 0.5/25 | |
| 1516 | end | |
| 1517 | end | |
| 1518 | end | |
| 1519 | CLOCKSPEED = 4 | |
| 1520 | FAKECHARACTER:remove() | |
| 1521 | end)) | |
| 1522 | wait(0.5) | |
| 1523 | ATTACK = false | |
| 1524 | Rooted = false | |
| 1525 | end | |
| 1526 | end | |
| 1527 | end | |
| 1528 | ||
| 1529 | function ChainPunch() | |
| 1530 | ATTACK = true | |
| 1531 | Rooted = false | |
| 1532 | local GYRO = IT("BodyGyro",RootPart)
| |
| 1533 | GYRO.D = 25 | |
| 1534 | GYRO.P = 2000 | |
| 1535 | GYRO.MaxTorque = VT(0,40000,0) | |
| 1536 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 1537 | repeat | |
| 1538 | Swait() | |
| 1539 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 1540 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1541 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
| 1542 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1543 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1544 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1545 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1546 | until HOLD == true | |
| 1547 | local POS = Mouse.Hit.p | |
| 1548 | local CHAINS = false | |
| 1549 | local CHAINLINKS = {}
| |
| 1550 | local A = IT("Attachment",RightArm)
| |
| 1551 | A.Position = VT(1,-1,0)*SIZE | |
| 1552 | A.Orientation = VT(-90, -89.982, 0) | |
| 1553 | local B = IT("Attachment",RightArm)
| |
| 1554 | B.Position = VT(-1,-1,0)*SIZE | |
| 1555 | B.Orientation = VT(-90, 89.988, 0) | |
| 1556 | local C = IT("Attachment",RightArm)
| |
| 1557 | C.Position = VT(0.5,-1.3,0)*SIZE | |
| 1558 | C.Orientation = VT(-90, -89.982, 0) | |
| 1559 | local D = IT("Attachment",RightArm)
| |
| 1560 | D.Position = VT(-0.5,-1.3,0)*SIZE | |
| 1561 | D.Orientation = VT(-90, 89.988, 0) | |
| 1562 | local LIGHT = IT("Attachment",RightArm)
| |
| 1563 | LIGHT.Position = VT(0,-1,0)*SIZE | |
| 1564 | local LIGHT2 = IT("PointLight",LIGHT)
| |
| 1565 | LIGHT2.Range = 7 | |
| 1566 | LIGHT2.Brightness = 5 | |
| 1567 | LIGHT2.Color = SKILLTEXTCOLOR | |
| 1568 | chatfunc("Falcon...")
| |
| 1569 | for i = 1, 2 do | |
| 1570 | local TWIST = -2 | |
| 1571 | local START = A | |
| 1572 | local END = B | |
| 1573 | if i == 1 then | |
| 1574 | START = B | |
| 1575 | END = A | |
| 1576 | end | |
| 1577 | local ChainLink = IT("Beam",Torso)
| |
| 1578 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1579 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 1580 | ChainLink.TextureSpeed = 1 | |
| 1581 | ChainLink.Width0 = 1 | |
| 1582 | ChainLink.Width1 = 1 | |
| 1583 | ChainLink.TextureLength = 2.5 | |
| 1584 | ChainLink.Attachment0 = START | |
| 1585 | ChainLink.Attachment1 = END | |
| 1586 | ChainLink.CurveSize0 = TWIST | |
| 1587 | ChainLink.CurveSize1 = TWIST | |
| 1588 | --ChainLink.FaceCamera = true | |
| 1589 | ChainLink.Segments = 45 | |
| 1590 | ChainLink.Transparency = NumberSequence.new(1) | |
| 1591 | table.insert(CHAINLINKS,ChainLink) | |
| 1592 | end | |
| 1593 | for i = 1, 2 do | |
| 1594 | local TWIST = -1 | |
| 1595 | local START = C | |
| 1596 | local END = D | |
| 1597 | if i == 1 then | |
| 1598 | START = D | |
| 1599 | END = C | |
| 1600 | end | |
| 1601 | local ChainLink = IT("Beam",Torso)
| |
| 1602 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1603 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 1604 | ChainLink.TextureSpeed = 1 | |
| 1605 | ChainLink.Width0 = 1 | |
| 1606 | ChainLink.Width1 = 1 | |
| 1607 | ChainLink.TextureLength = 5 | |
| 1608 | ChainLink.Attachment0 = START | |
| 1609 | ChainLink.Attachment1 = END | |
| 1610 | ChainLink.CurveSize0 = TWIST | |
| 1611 | ChainLink.CurveSize1 = TWIST | |
| 1612 | --ChainLink.FaceCamera = true | |
| 1613 | ChainLink.Segments = 25 | |
| 1614 | ChainLink.LightEmission = 0.5 | |
| 1615 | ChainLink.Transparency = NumberSequence.new(1) | |
| 1616 | table.insert(CHAINLINKS,ChainLink) | |
| 1617 | end | |
| 1618 | coroutine.resume(coroutine.create(function() | |
| 1619 | repeat | |
| 1620 | Swait() | |
| 1621 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
| 1622 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
| 1623 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1624 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1625 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1626 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1627 | until CHAINS == true | |
| 1628 | repeat | |
| 1629 | Swait() | |
| 1630 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 1631 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
| 1632 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1633 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1634 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1635 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1636 | until ATTACK == false | |
| 1637 | for e = 1, 15 do | |
| 1638 | Swait() | |
| 1639 | chatfunc("PUNCH!!!")
| |
| 1640 | for i = 1, #CHAINLINKS do | |
| 1641 | CHAINLINKS[i].Transparency = NumberSequence.new((e/15)) | |
| 1642 | end | |
| 1643 | end | |
| 1644 | A:remove() | |
| 1645 | B:remove() | |
| 1646 | C:remove() | |
| 1647 | D:remove() | |
| 1648 | end)) | |
| 1649 | CreateSound(233856115, RightArm, 5, 1.2, false) | |
| 1650 | for e = 1, 15 do | |
| 1651 | Swait() | |
| 1652 | for i = 1, #CHAINLINKS do | |
| 1653 | CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15)) | |
| 1654 | end | |
| 1655 | end | |
| 1656 | CHAINS = true | |
| 1657 | Rooted = true | |
| 1658 | wait(0.25) | |
| 1659 | local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2)) | |
| 1660 | FIST.Color = C3(1, 215/255, 1) | |
| 1661 | FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 1662 | local LIGHT3 = IT("PointLight",FIST)
| |
| 1663 | LIGHT3.Range = 7 | |
| 1664 | LIGHT3.Brightness = 5 | |
| 1665 | LIGHT3.Color = SKILLTEXTCOLOR | |
| 1666 | CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
| |
| 1667 | local FISTA = IT("Attachment",FIST)
| |
| 1668 | FISTA.Position = VT(0.062, 0.977, 0) | |
| 1669 | local ChainLink = IT("Beam",Torso)
| |
| 1670 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1671 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 1672 | ChainLink.TextureSpeed = 2 | |
| 1673 | ChainLink.Width0 = 3 | |
| 1674 | ChainLink.Width1 = 3 | |
| 1675 | ChainLink.TextureLength = 12 | |
| 1676 | ChainLink.Attachment0 = LIGHT | |
| 1677 | ChainLink.Attachment1 = FISTA | |
| 1678 | ChainLink.FaceCamera = true | |
| 1679 | ChainLink.Segments = 45 | |
| 1680 | ChainLink.LightEmission = 0.5 | |
| 1681 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 1682 | local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false) | |
| 1683 | for i = 1, 85 do | |
| 1684 | Swait() | |
| 1685 | FIST.CFrame = FIST.CFrame*CF(0,-2,0) | |
| 1686 | ChainLink.TextureLength = 12+(i*2) | |
| 1687 | ApplyAoE(FIST.Position,10,15,25,100,true) | |
| 1688 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1689 | local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character) | |
| 1690 | if HITFLOOR ~= nil then | |
| 1691 | HITFLOOR:BreakJoints() | |
| 1692 | coroutine.resume(coroutine.create(function() | |
| 1693 | for i = 1, 15 do | |
| 1694 | Swait() | |
| 1695 | FISTSOUND.Volume = FISTSOUND.Volume - 0.15 | |
| 1696 | ApplyAoE(FIST.Position,10+(i*2),5,15,5,true) | |
| 1697 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1698 | end | |
| 1699 | end)) | |
| 1700 | break | |
| 1701 | end | |
| 1702 | end | |
| 1703 | coroutine.resume(coroutine.create(function() | |
| 1704 | for i = 1, 50 do | |
| 1705 | Swait() | |
| 1706 | FIST.Transparency = FIST.Transparency + 0.5/50 | |
| 1707 | LIGHT3.Range = LIGHT3.Range - 7/50 | |
| 1708 | end | |
| 1709 | FIST:remove() | |
| 1710 | end)) | |
| 1711 | LIGHT:remove() | |
| 1712 | GYRO:remove() | |
| 1713 | ATTACK = false | |
| 1714 | Rooted = false | |
| 1715 | end | |
| 1716 | ||
| 1717 | function WarpMeteor() | |
| 1718 | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude | |
| 1719 | if DIST > 9999 then | |
| 1720 | DIST = 9999 | |
| 1721 | end | |
| 1722 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) | |
| 1723 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character) | |
| 1724 | if HITFLOOR then | |
| 1725 | local POS = HITPOS | |
| 1726 | ATTACK = true | |
| 1727 | Rooted = false | |
| 1728 | local WARPED = false | |
| 1729 | local SMASHED = false | |
| 1730 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1731 | coroutine.resume(coroutine.create(function() | |
| 1732 | repeat | |
| 1733 | Swait() | |
| 1734 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1735 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1736 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1737 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1738 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1739 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1740 | until WARPED == true | |
| 1741 | repeat | |
| 1742 | Swait() | |
| 1743 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1744 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1745 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1746 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1747 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1748 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1749 | until SMASHED == true | |
| 1750 | repeat | |
| 1751 | Swait() | |
| 1752 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1753 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1754 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1755 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1756 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 1757 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1758 | until ATTACK == false | |
| 1759 | end)) | |
| 1760 | VALUE1 = true | |
| 1761 | CreateSound(233856115, Torso, 5, 1.6, false) | |
| 1762 | chatfunc("This hurt more than you think")
| |
| 1763 | for i = 1, 25 do | |
| 1764 | Swait() | |
| 1765 | for _, c in pairs(Character:GetChildren()) do | |
| 1766 | if c.ClassName == "Part" then | |
| 1767 | c.Transparency = c.Transparency + 1/25 | |
| 1768 | end | |
| 1769 | end | |
| 1770 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1771 | if c.ClassName == "Part" then | |
| 1772 | c.Transparency = c.Transparency + 1/25 | |
| 1773 | end | |
| 1774 | end | |
| 1775 | end | |
| 1776 | UNANCHOR = false | |
| 1777 | RootPart.Anchored = true | |
| 1778 | RootPart.Velocity = VT(0,0,0) | |
| 1779 | local ROOTPOS = RootPart.Position | |
| 1780 | RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z)) | |
| 1781 | WARPED = true | |
| 1782 | for i = 1, 25 do | |
| 1783 | Swait() | |
| 1784 | for _, c in pairs(Character:GetChildren()) do | |
| 1785 | if c.ClassName == "Part" then | |
| 1786 | c.Transparency = c.Transparency - 1/25 | |
| 1787 | end | |
| 1788 | end | |
| 1789 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1790 | if c.ClassName == "Part" then | |
| 1791 | c.Transparency = c.Transparency - 1/25 | |
| 1792 | end | |
| 1793 | end | |
| 1794 | end | |
| 1795 | local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0)) | |
| 1796 | SHELL.CFrame = RootPart.CFrame | |
| 1797 | MakeForm(SHELL,"Ball") | |
| 1798 | CreateSound(402981977, SHELL, 5, 1.6, false) | |
| 1799 | for i = 1, 10 do | |
| 1800 | Swait() | |
| 1801 | SHELL.Transparency = SHELL.Transparency - 1/10 | |
| 1802 | SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8 | |
| 1803 | end | |
| 1804 | for i = 1, math.ceil(75/2) do | |
| 1805 | Swait() | |
| 1806 | RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0) | |
| 1807 | SHELL.CFrame = CF(RootPart.Position) | |
| 1808 | WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1809 | end | |
| 1810 | RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z)) | |
| 1811 | SHELL.CFrame = CF(RootPart.Position) | |
| 1812 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1813 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1814 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1815 | for i = 1, 5 do | |
| 1816 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1817 | end | |
| 1818 | SHELL:remove() | |
| 1819 | ApplyAoE(RootPart.Position,75,35,75,175,true) | |
| 1820 | SMASHED = true | |
| 1821 | wait(1) | |
| 1822 | VALUE1 = false | |
| 1823 | UNANCHOR = true | |
| 1824 | ATTACK = false | |
| 1825 | Rooted = false | |
| 1826 | end | |
| 1827 | end | |
| 1828 | ||
| 1829 | function PandorasBox() | |
| 1830 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1831 | if HITFLOOR ~= nil then | |
| 1832 | ATTACK = false | |
| 1833 | Rooted = false | |
| 1834 | local RINGSPIN = true | |
| 1835 | local CONSTRUCTING = true | |
| 1836 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0)) | |
| 1837 | RING.Color = C3(0,0,0) | |
| 1838 | MakeForm(RING,"Cyl") | |
| 1839 | RING.CFrame = CF(HITPOS) | |
| 1840 | CreateSound(402981977, RING, 5, 1.2, false) | |
| 1841 | coroutine.resume(coroutine.create(function() | |
| 1842 | repeat | |
| 1843 | Swait() | |
| 1844 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1845 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1846 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1847 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1848 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1849 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1850 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1851 | until CONSTRUCTING == false | |
| 1852 | repeat | |
| 1853 | Swait() | |
| 1854 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1855 | until RINGSPIN == false | |
| 1856 | for i = 1, 25 do | |
| 1857 | Swait() | |
| 1858 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1859 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 1860 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 1861 | RING.Transparency = RING.Transparency + 1/25 | |
| 1862 | end | |
| 1863 | RING:remove() | |
| 1864 | end)) | |
| 1865 | for i = 1, 15 do | |
| 1866 | Swait() | |
| 1867 | RING.Size = RING.Size + VT(0.75,0,0.75) | |
| 1868 | RING.Transparency = RING.Transparency - 1/15 | |
| 1869 | end | |
| 1870 | chatfunc("let's see your prize...")
| |
| 1871 | local BOXSPIN = true | |
| 1872 | local PANDORASBOX = IT("Model",Effects)
| |
| 1873 | PANDORASBOX.Name = "Pandora's Box" | |
| 1874 | local BOX = IT("Model",PANDORASBOX)
| |
| 1875 | BOX.Name = "Body" | |
| 1876 | local LID = IT("Model",PANDORASBOX)
| |
| 1877 | LID.Name = "Lid" | |
| 1878 | --BUILDING THE BOX-- | |
| 1879 | local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2)) | |
| 1880 | BASE.Color = C3(0,0,0) | |
| 1881 | PANDORASBOX.PrimaryPart = BASE | |
| 1882 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
| 1883 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1884 | WOOD.CFrame = BASE.CFrame*CF(1,0,1) | |
| 1885 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1886 | WOOD.CFrame = BASE.CFrame*CF(1,0,-1) | |
| 1887 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1888 | WOOD.CFrame = BASE.CFrame*CF(-1,0,1) | |
| 1889 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1890 | WOOD.CFrame = BASE.CFrame*CF(-1,0,-1) | |
| 1891 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1892 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,1) | |
| 1893 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1894 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1) | |
| 1895 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1896 | WOOD.CFrame = BASE.CFrame*CF(1,0.9,0) | |
| 1897 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1898 | WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0) | |
| 1899 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1900 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1) | |
| 1901 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1902 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1) | |
| 1903 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1904 | WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0) | |
| 1905 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1906 | WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0) | |
| 1907 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1)) | |
| 1908 | WOOD.CFrame = BASE.CFrame*CF(0,0,1) | |
| 1909 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1)) | |
| 1910 | WOOD.CFrame = BASE.CFrame*CF(0,0,-1) | |
| 1911 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1)) | |
| 1912 | WOOD.CFrame = BASE.CFrame*CF(1,0,0) | |
| 1913 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1)) | |
| 1914 | WOOD.CFrame = BASE.CFrame*CF(-1,0,0) | |
| 1915 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1)) | |
| 1916 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0) | |
| 1917 | ------------- | |
| 1918 | local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1)) | |
| 1919 | LIDPART.CFrame = BASE.CFrame*CF(0,1,0) | |
| 1920 | LID.PrimaryPart = LIDPART | |
| 1921 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1922 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1) | |
| 1923 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1924 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,1) | |
| 1925 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1926 | WOOD.CFrame = LIDPART.CFrame*CF(1,0,0) | |
| 1927 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1928 | WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0) | |
| 1929 | local DECAL = IT("Decal",LIDPART)
| |
| 1930 | DECAL.Face = "Top" | |
| 1931 | DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061" | |
| 1932 | DECAL.Color3 = C3(0,0,0) | |
| 1933 | --BUILDING THE BOX-- | |
| 1934 | coroutine.resume(coroutine.create(function() | |
| 1935 | repeat | |
| 1936 | Swait() | |
| 1937 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0))) | |
| 1938 | until BOXSPIN == false | |
| 1939 | end)) | |
| 1940 | for i = 1, 25 do | |
| 1941 | Swait() | |
| 1942 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0)) | |
| 1943 | end | |
| 1944 | wait(0.5) | |
| 1945 | BOXSPIN = false | |
| 1946 | CONSTRUCTING = false | |
| 1947 | coroutine.resume(coroutine.create(function() | |
| 1948 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
| |
| 1949 | --[[for i = 1, 45 do | |
| 1950 | Swait() | |
| 1951 | LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0))) | |
| 1952 | end- | |
| 1953 | LID:remove()]]-- | |
| 1954 | for _, c in pairs(LID:GetChildren()) do | |
| 1955 | if c.ClassName == "Part" then | |
| 1956 | c.Anchored = false | |
| 1957 | c.CanCollide = true | |
| 1958 | if c ~= LIDPART then | |
| 1959 | weldBetween(LIDPART,c) | |
| 1960 | end | |
| 1961 | end | |
| 1962 | end | |
| 1963 | LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65 | |
| 1964 | Debris:AddItem(LID,15) | |
| 1965 | wait(0.5) | |
| 1966 | local RANDOMEFFECT = MRANDOM(1,4) | |
| 1967 | if RANDOMEFFECT == 1 then | |
| 1968 | for i = 1, 45 do | |
| 1969 | wait((2-(i/15))/15) | |
| 1970 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
| |
| 1971 | end | |
| 1972 | wait(1) | |
| 1973 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1974 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1975 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1976 | for i = 1, 5 do | |
| 1977 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1978 | end | |
| 1979 | ApplyAoE(BASE.Position,50,1,200,375,true) | |
| 1980 | ApplyAoE(BASE.Position,250,35,75,175,true) | |
| 1981 | elseif RANDOMEFFECT == 2 then | |
| 1982 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 1983 | FIELD.CFrame = BASE.CFrame | |
| 1984 | MakeForm(FIELD,"Ball") | |
| 1985 | for i = 1, 50 do | |
| 1986 | Swait() | |
| 1987 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 1988 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 1989 | end | |
| 1990 | wait(0.2) | |
| 1991 | local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true) | |
| 1992 | coroutine.resume(coroutine.create(function() | |
| 1993 | for i = 1, 75 do | |
| 1994 | Swait() | |
| 1995 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 1996 | LOOP.Parent = FIELD | |
| 1997 | local CHILDREN = workspace:GetDescendants() | |
| 1998 | for index, CHILD in pairs(CHILDREN) do | |
| 1999 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2000 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2001 | if HUM then | |
| 2002 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2003 | if TORSO then | |
| 2004 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2005 | HUM.Health = HUM.Health - 1.5 | |
| 2006 | TORSO.Velocity = VT(0,5,0) | |
| 2007 | HUM.PlatformStand = true | |
| 2008 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2009 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2010 | end | |
| 2011 | end | |
| 2012 | end | |
| 2013 | end | |
| 2014 | end | |
| 2015 | end | |
| 2016 | FIELD.Size = FIELD.Size + VT(9,9,9) | |
| 2017 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
| 2018 | end | |
| 2019 | for i = 1, 500 do | |
| 2020 | Swait() | |
| 2021 | LOOP.Parent = FIELD | |
| 2022 | local CHILDREN = workspace:GetDescendants() | |
| 2023 | for index, CHILD in pairs(CHILDREN) do | |
| 2024 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2025 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2026 | if HUM then | |
| 2027 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2028 | if TORSO then | |
| 2029 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2030 | TORSO.Velocity = VT(0,5,0) | |
| 2031 | HUM.Health = HUM.Health - 1.5 | |
| 2032 | HUM.PlatformStand = true | |
| 2033 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2034 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2035 | end | |
| 2036 | end | |
| 2037 | end | |
| 2038 | end | |
| 2039 | end | |
| 2040 | end | |
| 2041 | end | |
| 2042 | for i = 1, 25 do | |
| 2043 | Swait() | |
| 2044 | LOOP.Volume = LOOP.Volume + 10/25 | |
| 2045 | LOOP.Parent = FIELD | |
| 2046 | local CHILDREN = workspace:GetDescendants() | |
| 2047 | for index, CHILD in pairs(CHILDREN) do | |
| 2048 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2049 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2050 | if HUM then | |
| 2051 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2052 | if TORSO then | |
| 2053 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
| 2054 | TORSO.Velocity = VT(0,5,0) | |
| 2055 | HUM.Health = HUM.Health - 1.5 | |
| 2056 | HUM.PlatformStand = false | |
| 2057 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2058 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2059 | end | |
| 2060 | end | |
| 2061 | end | |
| 2062 | end | |
| 2063 | end | |
| 2064 | end | |
| 2065 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
| 2066 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
| 2067 | end | |
| 2068 | FIELD:remove() | |
| 2069 | end)) | |
| 2070 | elseif RANDOMEFFECT == 3 then | |
| 2071 | for i = 1, 10 do | |
| 2072 | wait(0.15) | |
| 2073 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
| |
| 2074 | coroutine.resume(coroutine.create(function() | |
| 2075 | local MINION = CLONE:Clone() | |
| 2076 | MINION.Parent = Effects | |
| 2077 | MINION.Name = "Shadow" | |
| 2078 | MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) | |
| 2079 | MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100) | |
| 2080 | for _, c in pairs(MINION:GetChildren()) do | |
| 2081 | if c.ClassName == "Part" then | |
| 2082 | c.Material = "Neon" | |
| 2083 | c.Color = C3(0,0,0) | |
| 2084 | c.Transparency = 0.25 | |
| 2085 | if c.Name == "Head" then | |
| 2086 | c:ClearAllChildren() | |
| 2087 | local MSH = IT("BlockMesh",c)
| |
| 2088 | MSH.Scale = VT(0.5,1,1) | |
| 2089 | end | |
| 2090 | end | |
| 2091 | end | |
| 2092 | local TORSO = MINION.Torso | |
| 2093 | local HUMAN = MINION.Humanoid | |
| 2094 | HUMAN.WalkSpeed = 20 | |
| 2095 | HUMAN.MaxHealth = math.huge | |
| 2096 | HUMAN.Health = math.huge | |
| 2097 | HUMAN.DisplayDistanceType = "None" | |
| 2098 | HUMAN.Died:connect(function() | |
| 2099 | MINION:remove() | |
| 2100 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) | |
| 2101 | end) | |
| 2102 | wait(1) | |
| 2103 | local findNearestTorso = function(POS) | |
| 2104 | local list = game.Workspace:GetDescendants() | |
| 2105 | local torso = nil | |
| 2106 | local dist = 500 | |
| 2107 | local temp = nil | |
| 2108 | local human = nil | |
| 2109 | local temp2 = nil | |
| 2110 | for x = 1, #list do | |
| 2111 | temp2 = list[x] | |
| 2112 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then | |
| 2113 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
| |
| 2114 | human = temp2:findFirstChildOfClass("Humanoid")
| |
| 2115 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 2116 | if (temp.Position - POS).magnitude < dist then | |
| 2117 | torso = temp | |
| 2118 | dist = (temp.Position - POS).magnitude | |
| 2119 | end | |
| 2120 | end | |
| 2121 | end | |
| 2122 | end | |
| 2123 | return torso, dist | |
| 2124 | end | |
| 2125 | for i = 1, 40 do | |
| 2126 | if HUMAN.Health == 0 then | |
| 2127 | break | |
| 2128 | end | |
| 2129 | wait(0.3) | |
| 2130 | local target,dist= findNearestTorso(TORSO.Position) | |
| 2131 | if target then | |
| 2132 | HUMAN:MoveTo(target.Position) | |
| 2133 | if dist < 25 then | |
| 2134 | CreateSound(348663022, TORSO, 10, 1, true) | |
| 2135 | wait(2) | |
| 2136 | --local ANIM = HUMAN:LoadAnimation(ATANIM) | |
| 2137 | --ANIM:Play() | |
| 2138 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) | |
| 2139 | ApplyAoE(TORSO.Position,10,0,0,85,true) | |
| 2140 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
| |
| 2141 | for i = 1, 5 do | |
| 2142 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2143 | end | |
| 2144 | break | |
| 2145 | end | |
| 2146 | end | |
| 2147 | end | |
| 2148 | MINION:remove() | |
| 2149 | end)) | |
| 2150 | end | |
| 2151 | elseif RANDOMEFFECT == 4 then | |
| 2152 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 2153 | FIELD.Color = C3(0,0,0) | |
| 2154 | FIELD.CFrame = BASE.CFrame | |
| 2155 | MakeForm(FIELD,"Ball") | |
| 2156 | FIELD.CanCollide = true | |
| 2157 | for i = 1, 50 do | |
| 2158 | Swait() | |
| 2159 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 2160 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 2161 | end | |
| 2162 | wait(0.2) | |
| 2163 | local LOOP = CreateSound(487214658, FIELD, 0, 1, true) | |
| 2164 | coroutine.resume(coroutine.create(function() | |
| 2165 | local E = 0 | |
| 2166 | for i = 1, 75 do | |
| 2167 | E = E + 1 | |
| 2168 | Swait() | |
| 2169 | if E >= 35 then | |
| 2170 | E = 0 | |
| 2171 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
| |
| 2172 | end | |
| 2173 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 2174 | LOOP.Parent = FIELD | |
| 2175 | local CHILDREN = workspace:GetDescendants() | |
| 2176 | for index, CHILD in pairs(CHILDREN) do | |
| 2177 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2178 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2179 | if HUM then | |
| 2180 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2181 | if TORSO then | |
| 2182 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 2183 | for _, c in pairs(CHILD:GetChildren()) do | |
| 2184 | if c:IsA("BasePart") then
| |
| 2185 | local bv = Instance.new("BodyVelocity")
| |
| 2186 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2187 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 2188 | bv.Parent = c | |
| 2189 | Debris:AddItem(bv,0.05) | |
| 2190 | end | |
| 2191 | end | |
| 2192 | HUM.Health = HUM.Health - 0.3 | |
| 2193 | end | |
| 2194 | end | |
| 2195 | end | |
| 2196 | end | |
| 2197 | end | |
| 2198 | FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5 | |
| 2199 | end | |
| 2200 | for i = 1, 180 do | |
| 2201 | E = E + 1 | |
| 2202 | Swait() | |
| 2203 | if E >= 35 then | |
| 2204 | E = 0 | |
| 2205 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
| |
| 2206 | end | |
| 2207 | LOOP.Parent = FIELD | |
| 2208 | local CHILDREN = workspace:GetDescendants() | |
| 2209 | for index, CHILD in pairs(CHILDREN) do | |
| 2210 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2211 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2212 | if HUM then | |
| 2213 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2214 | if TORSO then | |
| 2215 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 2216 | for _, c in pairs(CHILD:GetChildren()) do | |
| 2217 | if c:IsA("BasePart") then
| |
| 2218 | local bv = Instance.new("BodyVelocity")
| |
| 2219 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 2220 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 2221 | bv.Parent = c | |
| 2222 | Debris:AddItem(bv,0.05) | |
| 2223 | end | |
| 2224 | end | |
| 2225 | HUM.Health = HUM.Health - 0.3 | |
| 2226 | end | |
| 2227 | end | |
| 2228 | end | |
| 2229 | end | |
| 2230 | end | |
| 2231 | end | |
| 2232 | ApplyAoE(FIELD.Position,40,15,20,375,true) | |
| 2233 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
| |
| 2234 | for i = 1, 5 do | |
| 2235 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2236 | end | |
| 2237 | FIELD:remove() | |
| 2238 | end)) | |
| 2239 | elseif RANDOMEFFECT == 5 then | |
| 2240 | end | |
| 2241 | wait(0.5) | |
| 2242 | for i = 1, 25 do | |
| 2243 | Swait() | |
| 2244 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0)) | |
| 2245 | end | |
| 2246 | PANDORASBOX:remove() | |
| 2247 | RINGSPIN = false | |
| 2248 | end)) | |
| 2249 | ATTACK = false | |
| 2250 | Rooted = false | |
| 2251 | end | |
| 2252 | end | |
| 2253 | ||
| 2254 | function TimeStop () | |
| 2255 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 2256 | CHOICE = 6 | |
| 2257 | CreateSound(1193182658, Character, 5, 1, false) | |
| 2258 | chatfunc ("Za warudo...")
| |
| 2259 | back = CreateSound(1841228386, Character, 9999, 1, false) | |
| 2260 | local killsky = Instance.new('Sky', game:GetService'Lighting')
| |
| 2261 | killsky.SkyboxBk = "rbxassetid://1013852" | |
| 2262 | killsky.SkyboxDn = "rbxassetid://1013853" | |
| 2263 | killsky.SkyboxFt = "rbxassetid://1013850" | |
| 2264 | killsky.SkyboxLf = "rbxassetid://1013851" | |
| 2265 | killsky.SkyboxRt = "rbxassetid://1013849" | |
| 2266 | killsky.SkyboxUp = "rbxassetid://1013854" | |
| 2267 | killsky.StarCount = 0 | |
| 2268 | killsky.SunAngularSize = 0 | |
| 2269 | killsky.MoonAngularSize = 0 | |
| 2270 | killsky.MoonTextureId = "" | |
| 2271 | killsky.CelestialBodiesShown = false | |
| 2272 | game.Lighting.FogColor = Color3.new(1,1,0) | |
| 2273 | game.Lighting.FogEnd = 1400 | |
| 2274 | if HITFLOOR ~= nil then | |
| 2275 | ATTACK = false | |
| 2276 | Rooted = false | |
| 2277 | local RINGSPIN = true | |
| 2278 | local CONSTRUCTING = true | |
| 2279 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0)) | |
| 2280 | RING.Color = C3(0,0,0) | |
| 2281 | MakeForm(RING,"Cyl") | |
| 2282 | RING.CFrame = CF(HITPOS) | |
| 2283 | coroutine.resume(coroutine.create(function() | |
| 2284 | repeat | |
| 2285 | Swait() | |
| 2286 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2287 | until CONSTRUCTING == false | |
| 2288 | repeat | |
| 2289 | Swait() | |
| 2290 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2291 | until RINGSPIN == false | |
| 2292 | for i = 1, 25 do | |
| 2293 | Swait() | |
| 2294 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2295 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 2296 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 2297 | RING.Transparency = RING.Transparency + 1/25 | |
| 2298 | end | |
| 2299 | RING:remove() | |
| 2300 | end)) | |
| 2301 | for i = 1, 15 do | |
| 2302 | Swait() | |
| 2303 | RING.Size = RING.Size + VT(0,0,0) | |
| 2304 | RING.Transparency = RING.Transparency - 1/15 | |
| 2305 | end | |
| 2306 | end | |
| 2307 | local RANDOMEFFECT = MRANDOM(1) | |
| 2308 | local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2)) | |
| 2309 | BASE.Color = C3(0,0,0) | |
| 2310 | BASE.Transparency = 1 | |
| 2311 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
| 2312 | if RANDOMEFFECT == 1 then | |
| 2313 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 2314 | FIELD.CFrame = BASE.CFrame | |
| 2315 | MakeForm(FIELD,"Ball") | |
| 2316 | for i = 1, 50 do | |
| 2317 | Swait() | |
| 2318 | FIELD.Size = VT(0,0,0) | |
| 2319 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 2320 | end | |
| 2321 | end | |
| 2322 | wait(0.2) | |
| 2323 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 2324 | FIELD.CFrame = BASE.CFrame | |
| 2325 | local LOOP = CreateSound(1393698948, Character, 0, 1, true) | |
| 2326 | coroutine.resume(coroutine.create(function() | |
| 2327 | for i = 1, 75 do | |
| 2328 | Swait() | |
| 2329 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 2330 | LOOP.Parent = FIELD | |
| 2331 | local CHILDREN = workspace:GetDescendants() | |
| 2332 | for index, CHILD in pairs(CHILDREN) do | |
| 2333 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2334 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2335 | if HUM then | |
| 2336 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2337 | if TORSO then | |
| 2338 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2339 | HUM.Health = HUM.Health - 0 | |
| 2340 | TORSO.Velocity = VT(0,5,0) | |
| 2341 | HUM.PlatformStand = true | |
| 2342 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2343 | TORSO.Anchored = true | |
| 2344 | end | |
| 2345 | end | |
| 2346 | end | |
| 2347 | end | |
| 2348 | end | |
| 2349 | end | |
| 2350 | FIELD.Size = FIELD.Size + VT(90,90,90) | |
| 2351 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
| 2352 | end | |
| 2353 | for i = 1, 500 do | |
| 2354 | Swait() | |
| 2355 | LOOP.Parent = FIELD | |
| 2356 | local CHILDREN = workspace:GetDescendants() | |
| 2357 | for index, CHILD in pairs(CHILDREN) do | |
| 2358 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2359 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2360 | if HUM then | |
| 2361 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2362 | if TORSO then | |
| 2363 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2364 | TORSO.Velocity = VT(0,5,0) | |
| 2365 | HUM.Health = HUM.Health - 0 | |
| 2366 | HUM.PlatformStand = true | |
| 2367 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2368 | TORSO.Anchored = true | |
| 2369 | end | |
| 2370 | end | |
| 2371 | end | |
| 2372 | end | |
| 2373 | end | |
| 2374 | end | |
| 2375 | end | |
| 2376 | wait (20) | |
| 2377 | back:Remove() | |
| 2378 | CreateSound(1538466750, Character, 99999, 1, false) | |
| 2379 | chatfunc ("the time rusume")
| |
| 2380 | killsky:Remove() | |
| 2381 | game.Lighting.FogEnd = 90000000 | |
| 2382 | wait (5) | |
| 2383 | CHOICE = MRANDOM (1,5) | |
| 2384 | for i = 1, 25 do | |
| 2385 | Swait() | |
| 2386 | LOOP.Volume = LOOP.Volume + 10/25 | |
| 2387 | LOOP.Parent = FIELD | |
| 2388 | local CHILDREN = workspace:GetDescendants() | |
| 2389 | for index, CHILD in pairs(CHILDREN) do | |
| 2390 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2391 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2392 | if HUM then | |
| 2393 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2394 | if TORSO then | |
| 2395 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
| 2396 | TORSO.Velocity = VT(0,5,0) | |
| 2397 | HUM.Health = HUM.Health - 0 | |
| 2398 | HUM.PlatformStand = false | |
| 2399 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2400 | TORSO.Anchored = false | |
| 2401 | end | |
| 2402 | end | |
| 2403 | end | |
| 2404 | end | |
| 2405 | end | |
| 2406 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
| 2407 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
| 2408 | end | |
| 2409 | end | |
| 2410 | end)) | |
| 2411 | FIELD:Remove() | |
| 2412 | ATTACK = false | |
| 2413 | Rooted = false | |
| 2414 | end | |
| 2415 | ||
| 2416 | ||
| 2417 | function Taunt() | |
| 2418 | ATTACK = true | |
| 2419 | local LAUGH = nil | |
| 2420 | coroutine.resume(coroutine.create(function() | |
| 2421 | repeat | |
| 2422 | Swait() | |
| 2423 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2424 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2425 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2426 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2427 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2428 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2429 | until LAUGH ~= nil | |
| 2430 | repeat | |
| 2431 | Swait() | |
| 2432 | LAUGH.Parent = Head | |
| 2433 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
| 2434 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2435 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2436 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2437 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2438 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2439 | until LAUGH.Playing == false | |
| 2440 | ATTACK = false | |
| 2441 | end)) | |
| 2442 | wait(0.1) | |
| 2443 | CHOICE = 6 | |
| 2444 | chatfunc("I HATE YOU...")
| |
| 2445 | LAUGH = CreateSound(212000587, Character, 8099999, 1, false) | |
| 2446 | wait(1.5) | |
| 2447 | CHOICE = MRANDOM (1,5) | |
| 2448 | end | |
| 2449 | ||
| 2450 | --//=================================\\ | |
| 2451 | --|| ASSIGN THINGS TO KEYS | |
| 2452 | --\\=================================// | |
| 2453 | ||
| 2454 | function MouseDown(Mouse) | |
| 2455 | HOLD = true | |
| 2456 | if ATTACK == false then | |
| 2457 | end | |
| 2458 | end | |
| 2459 | ||
| 2460 | function MouseUp(Mouse) | |
| 2461 | HOLD = false | |
| 2462 | end | |
| 2463 | ||
| 2464 | function KeyDown(Key) | |
| 2465 | KEYHOLD = true | |
| 2466 | if Key == "z" and ATTACK == false then | |
| 2467 | MagicMissiles() | |
| 2468 | end | |
| 2469 | ||
| 2470 | if Key == "b" and ATTACK == false then | |
| 2471 | TimesUp() | |
| 2472 | end | |
| 2473 | ||
| 2474 | if Key == "c" and ATTACK == false then | |
| 2475 | ChainPunch() | |
| 2476 | end | |
| 2477 | ||
| 2478 | if Key == "v" and ATTACK == false then | |
| 2479 | WarpMeteor() | |
| 2480 | end | |
| 2481 | ||
| 2482 | if Key == "x" and ATTACK == false then | |
| 2483 | PandorasBox() | |
| 2484 | end | |
| 2485 | ||
| 2486 | if Key == "g" and ATTACK == false then | |
| 2487 | TimeStop() | |
| 2488 | end | |
| 2489 | ||
| 2490 | if Key == "t" and ATTACK == false then | |
| 2491 | Taunt() | |
| 2492 | elseif Key == "1" and ATTACK == false then | |
| 2493 | if CHOICE ~= 1 then | |
| 2494 | CHOICE = 1 | |
| 2495 | sick:Play() | |
| 2496 | chatfunc("original song")
| |
| 2497 | end | |
| 2498 | elseif Key == "2" and ATTACK == false then | |
| 2499 | if CHOICE ~= 2 then | |
| 2500 | CHOICE = 2 | |
| 2501 | sick:Play() | |
| 2502 | chatfunc("no comments...")
| |
| 2503 | end | |
| 2504 | elseif Key == "3" and ATTACK == false then | |
| 2505 | if CHOICE ~= 3 then | |
| 2506 | CHOICE = 3 | |
| 2507 | sick:Play() | |
| 2508 | chatfunc("Now the fight really begins...")
| |
| 2509 | tecks2.Color = Color3.new (255,0,0) | |
| 2510 | end | |
| 2511 | elseif Key == "4" and ATTACK == false then | |
| 2512 | if CHOICE ~= 4 then | |
| 2513 | CHOICE = 4 | |
| 2514 | sick:Play() | |
| 2515 | chatfunc("Just let me relax a little")
| |
| 2516 | end | |
| 2517 | elseif Key == "5" and ATTACK == false then | |
| 2518 | if CHOICE ~= 5 then | |
| 2519 | CHOICE = 5 | |
| 2520 | sick:Play() | |
| 2521 | chatfunc("Why not this sound, i like it")
| |
| 2522 | end | |
| 2523 | elseif Key == "6" and ATTACK == false then | |
| 2524 | if CHOICE ~= 6 then | |
| 2525 | CHOICE = 6 | |
| 2526 | sick:Play() | |
| 2527 | chatfunc("music off")
| |
| 2528 | end | |
| 2529 | end | |
| 2530 | end | |
| 2531 | ||
| 2532 | function KeyUp(Key) | |
| 2533 | KEYHOLD = false | |
| 2534 | end | |
| 2535 | ||
| 2536 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 2537 | MouseDown(NEWKEY) | |
| 2538 | end) | |
| 2539 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 2540 | MouseUp(NEWKEY) | |
| 2541 | end) | |
| 2542 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 2543 | KeyDown(NEWKEY) | |
| 2544 | end) | |
| 2545 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 2546 | KeyUp(NEWKEY) | |
| 2547 | end) | |
| 2548 | ||
| 2549 | --//=================================\\ | |
| 2550 | --\\=================================// | |
| 2551 | ||
| 2552 | ||
| 2553 | function unanchor() | |
| 2554 | if UNANCHOR == true then | |
| 2555 | RootPart.Anchored = false | |
| 2556 | end | |
| 2557 | g = Character:GetChildren() | |
| 2558 | for i = 1, #g do | |
| 2559 | if g[i].ClassName == "Part" and g[i] ~= RootPart then | |
| 2560 | g[i].Anchored = false | |
| 2561 | end | |
| 2562 | end | |
| 2563 | g = Weapon:GetChildren() | |
| 2564 | for i = 1, #g do | |
| 2565 | if g[i].ClassName == "Part" then | |
| 2566 | g[i].Anchored = false | |
| 2567 | end | |
| 2568 | end | |
| 2569 | end | |
| 2570 | ||
| 2571 | ||
| 2572 | --//=================================\\ | |
| 2573 | --|| WRAP THE WHOLE SCRIPT UP | |
| 2574 | --\\=================================// | |
| 2575 | ||
| 2576 | Humanoid.Changed:connect(function(Jump) | |
| 2577 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 2578 | Humanoid.Jump = false | |
| 2579 | end | |
| 2580 | end) | |
| 2581 | ||
| 2582 | while true do | |
| 2583 | Swait() | |
| 2584 | refit() | |
| 2585 | script.Parent = WEAPONGUI | |
| 2586 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 2587 | v:Stop(); | |
| 2588 | end | |
| 2589 | ANIMATE.Parent = nil | |
| 2590 | SINE = SINE + CHANGE*1.5 | |
| 2591 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 2592 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 2593 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 2594 | local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16) | |
| 2595 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 2596 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2597 | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2598 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 2599 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2600 | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2601 | end | |
| 2602 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 2603 | ANIM = "Jump" | |
| 2604 | if ATTACK == false then | |
| 2605 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2606 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2607 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2608 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2609 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 2610 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 2611 | end | |
| 2612 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 2613 | ANIM = "Fall" | |
| 2614 | if ATTACK == false then | |
| 2615 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2616 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2617 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2618 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2619 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 2620 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
| 2621 | end | |
| 2622 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 2623 | ANIM = "Idle" | |
| 2624 | if ATTACK == false then | |
| 2625 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2626 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2627 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) | |
| 2628 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) | |
| 2629 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2630 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2631 | end | |
| 2632 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 2633 | ANIM = "Walk" | |
| 2634 | if ATTACK == false then | |
| 2635 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2636 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2637 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2638 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2639 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2640 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2641 | end | |
| 2642 | end | |
| 2643 | unanchor() | |
| 2644 | Humanoid.MaxHealth = "inf" | |
| 2645 | Humanoid.Health = "inf" | |
| 2646 | if Rooted == false then | |
| 2647 | Disable_Jump = false | |
| 2648 | Humanoid.WalkSpeed = Speed | |
| 2649 | elseif Rooted == true then | |
| 2650 | Disable_Jump = true | |
| 2651 | Humanoid.WalkSpeed = 0 | |
| 2652 | end | |
| 2653 | for _, c in pairs(Character:GetChildren()) do | |
| 2654 | if c.ClassName == "Part" and c.Name ~= "Detail" then | |
| 2655 | c.Material = "Fabric" | |
| 2656 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 2657 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 2658 | end | |
| 2659 | if c ~= Head then | |
| 2660 | c.Color = C3(0,0,0) | |
| 2661 | else | |
| 2662 | c.Color = C3(0,0,0) | |
| 2663 | end | |
| 2664 | if c == Head then | |
| 2665 | if c:FindFirstChild("face") then
| |
| 2666 | c.face:remove() | |
| 2667 | end | |
| 2668 | end | |
| 2669 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 2670 | c:remove() | |
| 2671 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 2672 | c:remove() | |
| 2673 | end | |
| 2674 | end | |
| 2675 | sick.SoundId = "rbxassetid://"..bored[CHOICE] | |
| 2676 | sick.Looped = true | |
| 2677 | sick.Pitch = 1 | |
| 2678 | sick.Volume = 999999 | |
| 2679 | sick.Parent = Character | |
| 2680 | sick:Resume() | |
| 2681 | --sick.Playing = false | |
| 2682 | Humanoid.Name = "Master of Time = "..Player.Name | |
| 2683 | end | |
| 2684 | ||
| 2685 | --//=================================\\ | |
| 2686 | --\\=================================// | |
| 2687 | ||
| 2688 | ||
| 2689 | ||
| 2690 | ||
| 2691 | ||
| 2692 | --//====================================================\\-- | |
| 2693 | --|| END OF SCRIPT | |
| 2694 | --\\====================================================//-- |