SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --[[ by iliketrainsornot ]]-- |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
|
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | - | warn("w h y")
|
| 3 | + | InternalData = {}
|
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Target = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | return RealPlayer[Index] | |
| 88 | end | |
| 89 | end; | |
| 90 | __tostring = function(self) | |
| 91 | return RealPlayer.Name | |
| 92 | end | |
| 93 | }) | |
| 94 | end | |
| 95 | end | |
| 96 | if RealGame[Index] then | |
| 97 | local Type = type(RealGame[Index]) | |
| 98 | if Type == "function" then | |
| 99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 100 | return function (self,Service) | |
| 101 | if Service:lower() == "players" then | |
| 102 | return setmetatable({},{
| |
| 103 | __index = function (self2,Index2) | |
| 104 | local RealService = RealGame:GetService(Service) | |
| 105 | local Type2 = type(Index2) | |
| 106 | if Type2 == "function" then | |
| 107 | return function (self,...) | |
| 108 | return RealService[Index2](RealService,...) | |
| 109 | end | |
| 110 | else | |
| 111 | if Index2:lower() == "localplayer" then | |
| 112 | return Sandbox(owner) | |
| 113 | end | |
| 114 | return RealService[Index2] | |
| 115 | end | |
| 116 | end; | |
| 117 | __tostring = function(self) | |
| 118 | return RealGame:GetService(Service).Name | |
| 119 | end | |
| 120 | }) | |
| 121 | elseif Service:lower() == "contextactionservice" then | |
| 122 | return InternalData["ContextActionService"] | |
| 123 | elseif Service:lower() == "contextactionservice" then | |
| 124 | return InternalData["UserInputService"] | |
| 125 | elseif Service:lower() == "runservice" then | |
| 126 | return setmetatable({},{
| |
| 127 | __index = function(self2,Index2) | |
| 128 | local RealService = RealGame:GetService(Service) | |
| 129 | local Type2 = type(Index2) | |
| 130 | if Type2 == "function" then | |
| 131 | return function (self,...) | |
| 132 | return RealService[Index2](RealService,...) | |
| 133 | end | |
| 134 | else | |
| 135 | if Index2:lower() == "bindtorenderstep" then | |
| 136 | return function (self,Name,Priority,Function) | |
| 137 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 138 | end | |
| 139 | end | |
| 140 | if Index2:lower() == "renderstepped" then | |
| 141 | return RealService["Stepped"] | |
| 142 | end | |
| 143 | return RealService[Index2] | |
| 144 | end | |
| 145 | end | |
| 146 | }) | |
| 147 | else | |
| 148 | return RealGame:GetService(Service) | |
| 149 | end | |
| 150 | end | |
| 151 | end | |
| 152 | return function (self,...) | |
| 153 | return RealGame[Index](RealGame,...) | |
| 154 | end | |
| 155 | else | |
| 156 | if game:GetService(Index) then | |
| 157 | return game:GetService(Index) | |
| 158 | end | |
| 159 | return RealGame[Index] | |
| 160 | end | |
| 161 | else | |
| 162 | return nil | |
| 163 | end | |
| 164 | end | |
| 165 | });Game = game;owner = game:GetService("Players").LocalPlayer
| |
| 166 | print("Complete! Running... Showcased by VengefulProgram ")
| |
| 167 | print(" Created by iliketrainsornot ")
| |
| 168 | ||
| 169 | ||
| 170 | ||
| 171 | warn("Made in Robloxian highschool")
| |
| 172 | print("this cancer is made by iliketrainsornot")
| |
| 173 | plr = game:GetService("Players").LocalPlayer
| |
| 174 | char = plr.Character | |
| 175 | Instance.new("ForceField",char).Visible = false
| |
| 176 | hed = char.Head | |
| 177 | torso = char.Torso | |
| 178 | mouse = plr:GetMouse() | |
| 179 | rarm = char["Right Arm"] | |
| 180 | larm = char["Left Arm"] | |
| 181 | rleg = char["Right Leg"] | |
| 182 | lleg = char["Left Leg"] | |
| 183 | rarm.Transparency = 1 | |
| 184 | larm.Transparency = 1 | |
| 185 | lleg.Transparency = 1 | |
| 186 | rleg.Transparency = 1 | |
| 187 | torso.Transparency = 1 | |
| 188 | activ = false | |
| 189 | sound = false | |
| 190 | Create = LoadLibrary("RbxUtility").Create
| |
| 191 | char.Animate:Destroy() | |
| 192 | hum = char:FindFirstChildOfClass("Humanoid")
| |
| 193 | hum.Animator:Destroy() | |
| 194 | hum.MaxHealth = math.huge | |
| 195 | hum.Health = math.huge | |
| 196 | hum.Name = "despacito" | |
| 197 | hum.JumpPower = 125 | |
| 198 | hum.WalkSpeed = 65 | |
| 199 | for _,c in pairs(char:GetChildren()) do | |
| 200 | if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then | |
| 201 | c:Remove() | |
| 202 | end | |
| 203 | end | |
| 204 | hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=1047997"
| |
| 205 | hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=1047998"
| |
| 206 | hed.face:Destroy() | |
| 207 | hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
| |
| 208 | hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
| |
| 209 | redhead = Instance.new("Part",torso)
| |
| 210 | redhead.Size = torso.Size | |
| 211 | redhead.Transparency = 0 | |
| 212 | weld = Instance.new("Weld",redhead)
| |
| 213 | weld.Part0 = redhead | |
| 214 | weld.Part1 = torso | |
| 215 | weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0)) | |
| 216 | redhead1 = Instance.new("SpecialMesh",redhead)
| |
| 217 | redhead1.MeshId = hed:FindFirstChildOfClass("SpecialMesh").MeshId
| |
| 218 | redhead1.Scale = Vector3.new(2.85,2.85,2.85) | |
| 219 | redhead1.TextureId = "http://www.roblox.com/asset/?id=1047998" | |
| 220 | redhead.CanCollide = false | |
| 221 | redhead1.Offset = Vector3.new(0,0.3,0) | |
| 222 | redhead1.VertexColor = Vector3.new(255,0,0) | |
| 223 | redhead = Instance.new("Part",rleg)
| |
| 224 | redhead.Size = rleg.Size | |
| 225 | weld = Instance.new("Weld",redhead)
| |
| 226 | weld.Part0 = redhead | |
| 227 | weld.Part1 = torso | |
| 228 | weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 229 | redhead1 = Instance.new("SpecialMesh",redhead)
| |
| 230 | redhead1.MeshId = "rbxassetid://696339842" | |
| 231 | redhead1.Scale = Vector3.new(1.3, 1.6, 0.8) | |
| 232 | redhead.CanCollide = false | |
| 233 | redhead1.Offset = Vector3.new(0, 0, -2.1) | |
| 234 | redhead1.VertexColor = Vector3.new(0,0,0) | |
| 235 | redhead2 = Instance.new("Decal", redhead)
| |
| 236 | redhead2.Color3 = Color3.fromRGB(0,0,0) | |
| 237 | redhead2.Texture = "rbxassetid://696339520" | |
| 238 | despacitotext = Instance.new("Part",hed)
| |
| 239 | despacitotext.Name = "despacito" | |
| 240 | despacitotext.Size = Vector3.new(6.5,3,5.5) | |
| 241 | despacitotext.Transparency = 1 | |
| 242 | despacitotext.CanCollide = false | |
| 243 | weld = Instance.new("Weld",redhead)
| |
| 244 | weld.Part0 = despacitotext | |
| 245 | weld.Part1 = hed | |
| 246 | surfacegui = Instance.new("SurfaceGui",despacitotext)
| |
| 247 | text = Instance.new("TextLabel",surfacegui)
| |
| 248 | text.Size = UDim2.new(1,0,1,0) | |
| 249 | text.TextSize = 150 | |
| 250 | text.Font = Enum.Font.Legacy | |
| 251 | text.BackgroundTransparency = 1 | |
| 252 | surfacegui.AlwaysOnTop = true | |
| 253 | text.TextStrokeColor3 = Color3.fromRGB(255,0,0) | |
| 254 | text.TextStrokeTransparency = 0 | |
| 255 | text.TextColor3 = Color3.fromRGB(0,0,0) | |
| 256 | text.Text = "despacito" | |
| 257 | despacito = Instance.new("Sound",char)
| |
| 258 | despacito.SoundId = "rbxassetid://1345639272" | |
| 259 | despacito.Volume = 10 | |
| 260 | despacito.EmitterSize = 100 | |
| 261 | despacito:Play() | |
| 262 | despacito.Name = "despacito" | |
| 263 | local seffect = Instance.new("ReverbSoundEffect",despacito)
| |
| 264 | char.ChildRemoved:connect(function(h) | |
| 265 | if h == despacito then | |
| 266 | despacito = Instance.new("Sound",char)
| |
| 267 | despacito.SoundId = "rbxassetid://1345639272" | |
| 268 | despacito.Volume = 10 | |
| 269 | despacito.EmitterSize = 100 | |
| 270 | despacito:Play() | |
| 271 | despacito.Name = "despacito" | |
| 272 | despacito.TimePosition = despacito.TimePosition | |
| 273 | local seffect = Instance.new("ReverbSoundEffect",despacito)
| |
| 274 | end | |
| 275 | end) | |
| 276 | function RemoveOutlines(part) | |
| 277 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 278 | end | |
| 279 | CFuncs = {
| |
| 280 | Part = {
| |
| 281 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 282 | local Part = Create("Part")({
| |
| 283 | Parent = Parent, | |
| 284 | Reflectance = Reflectance, | |
| 285 | Transparency = Transparency, | |
| 286 | CanCollide = false, | |
| 287 | Locked = true, | |
| 288 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 289 | Name = Name, | |
| 290 | Size = Size, | |
| 291 | Material = Material | |
| 292 | }) | |
| 293 | RemoveOutlines(Part) | |
| 294 | if Size == Vector3.new() then | |
| 295 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 296 | else | |
| 297 | Part.Size = Size | |
| 298 | end | |
| 299 | return Part | |
| 300 | end | |
| 301 | }, | |
| 302 | Mesh = {
| |
| 303 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 304 | local Msh = Create(Mesh)({
| |
| 305 | Parent = Part, | |
| 306 | Offset = OffSet, | |
| 307 | Scale = Scale | |
| 308 | }) | |
| 309 | if Mesh == "SpecialMesh" then | |
| 310 | Msh.MeshType = MeshType | |
| 311 | Msh.MeshId = MeshId | |
| 312 | end | |
| 313 | return Msh | |
| 314 | end | |
| 315 | }, | |
| 316 | Weld = {
| |
| 317 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 318 | local Weld = Create("Weld")({
| |
| 319 | Parent = Parent, | |
| 320 | Part0 = Part0, | |
| 321 | Part1 = Part1, | |
| 322 | C0 = C0, | |
| 323 | C1 = C1 | |
| 324 | }) | |
| 325 | return Weld | |
| 326 | end | |
| 327 | }, | |
| 328 | Sound = {
| |
| 329 | Create = function(id, par, vol, pit) | |
| 330 | local Sound = Create("Sound")({
| |
| 331 | Volume = vol, | |
| 332 | Pitch = pit or 1, | |
| 333 | SoundId = "rbxassetid://" .. id, | |
| 334 | Parent = par or workspace | |
| 335 | }) | |
| 336 | Sound:play() | |
| 337 | return Sound | |
| 338 | end | |
| 339 | }, | |
| 340 | Decal = {
| |
| 341 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 342 | local Decal = Create("Decal")({
| |
| 343 | Color3 = Color, | |
| 344 | Texture = "rbxassetid://" .. Texture, | |
| 345 | Transparency = Transparency, | |
| 346 | Name = Name, | |
| 347 | Parent = Parent | |
| 348 | }) | |
| 349 | return Decal | |
| 350 | end | |
| 351 | }, | |
| 352 | BillboardGui = {
| |
| 353 | Create = function(Parent, Image, Position, Size) | |
| 354 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 355 | BillPar.CFrame = CFrame.new(Position) | |
| 356 | local Bill = Create("BillboardGui")({
| |
| 357 | Parent = BillPar, | |
| 358 | Adornee = BillPar, | |
| 359 | Size = UDim2.new(1, 0, 1, 0), | |
| 360 | SizeOffset = Vector2.new(Size, Size) | |
| 361 | }) | |
| 362 | local d = Create("ImageLabel", Bill)({
| |
| 363 | Parent = Bill, | |
| 364 | BackgroundTransparency = 1, | |
| 365 | Size = UDim2.new(1, 0, 1, 0), | |
| 366 | Image = "rbxassetid://" .. Image | |
| 367 | }) | |
| 368 | return BillPar | |
| 369 | end | |
| 370 | }, | |
| 371 | ParticleEmitter = {
| |
| 372 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 373 | local Particle = Create("ParticleEmitter")({
| |
| 374 | Parent = Parent, | |
| 375 | Color = ColorSequence.new(Color1, Color2), | |
| 376 | LightEmission = LightEmission, | |
| 377 | Size = Size, | |
| 378 | Texture = Texture, | |
| 379 | Transparency = Transparency, | |
| 380 | ZOffset = ZOffset, | |
| 381 | Acceleration = Accel, | |
| 382 | Drag = Drag, | |
| 383 | LockedToPart = LockedToPart, | |
| 384 | VelocityInheritance = VelocityInheritance, | |
| 385 | EmissionDirection = EmissionDirection, | |
| 386 | Enabled = Enabled, | |
| 387 | Lifetime = LifeTime, | |
| 388 | Rate = Rate, | |
| 389 | Rotation = Rotation, | |
| 390 | RotSpeed = RotSpeed, | |
| 391 | Speed = Speed, | |
| 392 | VelocitySpread = VelocitySpread | |
| 393 | }) | |
| 394 | return Particle | |
| 395 | end | |
| 396 | }, | |
| 397 | CreateTemplate = {}
| |
| 398 | } | |
| 399 | function text(Pos, Text, Time, Color) | |
| 400 | local Rate = 0.03333333333333333 | |
| 401 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 402 | local Text = Text or "" | |
| 403 | local Time = Time or 2 | |
| 404 | local Color = Color or Color3.new(1, 0, 1) | |
| 405 | local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 406 | EffectPart.Anchored = true | |
| 407 | local BillboardGui = Create("BillboardGui")({
| |
| 408 | Size = UDim2.new(3, 0, 3, 0), | |
| 409 | Adornee = EffectPart, | |
| 410 | Parent = EffectPart | |
| 411 | }) | |
| 412 | local TextLabel = Create("TextLabel")({
| |
| 413 | BackgroundTransparency = 1, | |
| 414 | Size = UDim2.new(1, 0, 1, 0), | |
| 415 | TextSize = 55, | |
| 416 | Text = Text, | |
| 417 | Font = Enum.Font.Cartoon, | |
| 418 | TextColor3 = Color3.fromRGB(255,255,255), | |
| 419 | TextScaled = false, | |
| 420 | Parent = BillboardGui | |
| 421 | }) | |
| 422 | game.Debris:AddItem(EffectPart, Time) | |
| 423 | EffectPart.Parent = game:GetService("Workspace")
| |
| 424 | delay(0, function() | |
| 425 | local Frames = Time / Rate | |
| 426 | for Frame = 1, Frames do | |
| 427 | wait(Rate) | |
| 428 | local Percent = Frame / Frames | |
| 429 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 430 | TextLabel.TextTransparency = Percent | |
| 431 | end | |
| 432 | if EffectPart and EffectPart.Parent then | |
| 433 | EffectPart:Destroy() | |
| 434 | end | |
| 435 | end) | |
| 436 | end | |
| 437 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 438 | ArtificialHB.Name = "ArtificialHB" | |
| 439 | ||
| 440 | script:WaitForChild("ArtificialHB")
| |
| 441 | Frame_Speed = 1 / 60 | |
| 442 | frame = Frame_Speed | |
| 443 | tf = 0 | |
| 444 | allowframeloss = false | |
| 445 | tossremainder = false | |
| 446 | lastframe = tick() | |
| 447 | script.ArtificialHB:Fire() | |
| 448 | ||
| 449 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 450 | tf = tf + s | |
| 451 | if tf >= frame then | |
| 452 | if allowframeloss then | |
| 453 | script.ArtificialHB:Fire() | |
| 454 | lastframe = tick() | |
| 455 | else | |
| 456 | for i = 1, math.floor(tf / frame) do | |
| 457 | script.ArtificialHB:Fire() | |
| 458 | end | |
| 459 | lastframe = tick() | |
| 460 | end | |
| 461 | if tossremainder then | |
| 462 | tf = 0 | |
| 463 | else | |
| 464 | tf = tf - frame * math.floor(tf / frame) | |
| 465 | end | |
| 466 | end | |
| 467 | end) | |
| 468 | ||
| 469 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 470 | --coroutine.resume(coroutine.create(function() | |
| 471 | local NEWSOUND = Instance.new("Sound", PARENT)
| |
| 472 | NEWSOUND.Volume = VOLUME | |
| 473 | NEWSOUND.Pitch = PITCH | |
| 474 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 475 | NEWSOUND:play() | |
| 476 | game:GetService("Debris"):AddItem(NEWSOUND, 100)
| |
| 477 | return NEWSOUND | |
| 478 | --end)) | |
| 479 | end | |
| 480 | function Swait(NUMBER) | |
| 481 | if NUMBER == 0 or NUMBER == nil then | |
| 482 | ArtificialHB.Event:wait() | |
| 483 | else | |
| 484 | for i = 1, NUMBER do | |
| 485 | ArtificialHB.Event:wait() | |
| 486 | end | |
| 487 | end | |
| 488 | end | |
| 489 | function itstimetostop() | |
| 490 | sound = true | |
| 491 | local snd = Instance.new("Sound",char)
| |
| 492 | snd.SoundId = "rbxassetid://358468903" | |
| 493 | snd.Volume = 10 | |
| 494 | snd.TimePosition = 0.25 | |
| 495 | snd.EmitterSize = 350 | |
| 496 | snd:Play() | |
| 497 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP", 2, Color3.fromRGB(255,255,255)) | |
| 498 | wait(2) | |
| 499 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP OKAY", 2, Color3.fromRGB(255,255,255)) | |
| 500 | wait(2.6) | |
| 501 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "NO MORE", 2, Color3.fromRGB(255,255,255)) | |
| 502 | sound = false | |
| 503 | end | |
| 504 | function youbetterstop() | |
| 505 | sound = true | |
| 506 | local snd = Instance.new("Sound",char)
| |
| 507 | snd.SoundId = "rbxassetid://1246891273" | |
| 508 | snd.Volume = 10 | |
| 509 | snd.TimePosition = 1.2 | |
| 510 | snd:Play() | |
| 511 | snd.EmitterSize = 100 | |
| 512 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "youbetterstop.mp3", 5.2, Color3.fromRGB(255,255,255)) | |
| 513 | wait(5.2) | |
| 514 | sound = false | |
| 515 | end | |
| 516 | function ecksdee() | |
| 517 | sound = true | |
| 518 | local snd = Instance.new("Sound",char)
| |
| 519 | snd.SoundId = "rbxassetid://1486343908" | |
| 520 | snd.Volume = 10 | |
| 521 | snd:Play() | |
| 522 | snd.EmitterSize = 150 | |
| 523 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255)) | |
| 524 | wait(0.95) | |
| 525 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255)) | |
| 526 | sound = false | |
| 527 | end | |
| 528 | function lukatthisdude() | |
| 529 | sound = true | |
| 530 | local snd = Instance.new("Sound",char)
| |
| 531 | snd.SoundId = "rbxassetid://525498255" | |
| 532 | snd.Volume = 10 | |
| 533 | snd:Play() | |
| 534 | snd.EmitterSize = 300 | |
| 535 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "lookatthisdude.mp3", 27, Color3.fromRGB(255,255,255)) | |
| 536 | wait(27) | |
| 537 | sound = false | |
| 538 | end | |
| 539 | function stopdespacito() | |
| 540 | if despacito.Playing == true then | |
| 541 | despacito:Pause() | |
| 542 | elseif despacito.Playing == false then | |
| 543 | despacito:Play() | |
| 544 | end | |
| 545 | end | |
| 546 | function bruh() | |
| 547 | sound = true | |
| 548 | local snd = Instance.new("Sound",char)
| |
| 549 | snd.SoundId = "rbxassetid://170040190" | |
| 550 | snd.Volume = 10 | |
| 551 | snd:Play() | |
| 552 | snd.EmitterSize = 150 | |
| 553 | text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "bRUH", 1.7, Color3.fromRGB(255,255,255)) | |
| 554 | wait(1.7) | |
| 555 | sound = false | |
| 556 | end | |
| 557 | SHIELD = false | |
| 558 | function shield() | |
| 559 | IT = Instance.new | |
| 560 | VT = Vector3.new | |
| 561 | RootPart = char.HumanoidRootPart | |
| 562 | CF = CFrame.new | |
| 563 | if SHIELD == false then | |
| 564 | SHIELD = true | |
| 565 | warn("YO TENGO")
| |
| 566 | coroutine.resume(coroutine.create(function() | |
| 567 | local yotengo = IT("Part",char)
| |
| 568 | yotengo.Size = VT(20,30,0) | |
| 569 | yotengo.CFrame = RootPart.CFrame * CF(0,3,-7) | |
| 570 | yotengo.Anchored = true | |
| 571 | local mesh = IT("SpecialMesh",yotengo)
| |
| 572 | mesh.MeshType = "FileMesh" | |
| 573 | mesh.MeshId = "http://www.roblox.com/asset/?id=15158180" | |
| 574 | mesh.TextureId = "http://www.roblox.com/asset/?id=15158167" | |
| 575 | mesh.Scale = VT(3,3,3) | |
| 576 | CreateSound("1236609502", yotengo, 50, 1)
| |
| 577 | local woosh = yotengo.Touched:Connect(function(hit) | |
| 578 | if hit.Parent.ClassName == "Model" then | |
| 579 | hit.Parent:BreakJoints() | |
| 580 | CreateSound("978878312", hit, 2, 1)
| |
| 581 | elseif hit.ClassName == "Part" and hit.Anchored == false then | |
| 582 | hit:remove() | |
| 583 | end | |
| 584 | end) | |
| 585 | woosh:disconnect() | |
| 586 | CreateSound("1236609502", yotengo, 50, 1)
| |
| 587 | yotengo.Anchored = false | |
| 588 | local bv = Instance.new("BodyVelocity")
| |
| 589 | bv.maxForce = Vector3.new(4e9, 4e9, 4e9) | |
| 590 | bv.velocity = RootPart.CFrame.lookVector*300 | |
| 591 | bv.Parent = yotengo | |
| 592 | bv.Name = "speedy" | |
| 593 | local paw = yotengo.Touched:Connect(function(hit) | |
| 594 | if hit.Parent.ClassName == "Model" then | |
| 595 | yotengo:remove() | |
| 596 | hit.Parent:BreakJoints() | |
| 597 | wait(0.1) | |
| 598 | hit.Parent:ClearAllChildren() | |
| 599 | end | |
| 600 | end) | |
| 601 | end)) | |
| 602 | elseif SHIELD == true then | |
| 603 | SHIELD = false | |
| 604 | end | |
| 605 | end | |
| 606 | mouse.KeyDown:connect(function(k) | |
| 607 | if k == "z" and sound == false then | |
| 608 | itstimetostop() | |
| 609 | elseif k == "x" and sound == false then | |
| 610 | youbetterstop() | |
| 611 | elseif k == "c" and sound == false then | |
| 612 | ecksdee() | |
| 613 | elseif k == "v" and sound == false then | |
| 614 | lukatthisdude() | |
| 615 | elseif k == "b" then | |
| 616 | stopdespacito() | |
| 617 | elseif k == "n" and sound == false then | |
| 618 | bruh() | |
| 619 | elseif k == "q" and sound == true then | |
| 620 | print("sounds delay resetted!")
| |
| 621 | sound = false | |
| 622 | elseif k == "f" then | |
| 623 | shield() | |
| 624 | end | |
| 625 | end) |