Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local zzz = "100"
- local UserName = game:GetService('Players').LocalPlayer.Name
- local Autoride = true
- local CE = {}
- local Variables = {
- workspace = game:GetService("Workspace"),
- players = game:GetService("Players")
- }
- local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
- function BreakAnimation()
- for _, x in next, MainUserP.Character.Humanoid:GetPlayingAnimationTracks() do
- if not string.find(x.Animation.AnimationId, "180426354") then
- x:stop()
- end
- end
- wait()
- local DualAnimation = Instance.new("Animation")
- DualAnimation.AnimationId = "rbxassetid://1145142527"
- local DualAnimation_ = MainUserP.Character.Humanoid:LoadAnimation(DualAnimation)
- DualAnimation_:Play()
- DualAnimation_:AdjustSpeed(1)
- end
- function HideCloud()
- MainUserW.PompousTheCloud.ServerControl:InvokeServer("SetProperty",{["Value"]="rbxassetid://0",["Property"]="MeshId",["Object"]=MainUserW.PompousTheCloud.Handle.Mesh})
- end
- local VerifyCloud = function()
- if not MainUserP.Character:FindFirstChild("PompousTheCloud") and not MainUserP.Backpack:FindFirstChild("PompousTheCloud") then
- wait(0.5)
- MainUserP.Backpack:FindFirstChild("PompousTheCloud").Parent = MainUserP.Character
- HideCloud()
- wait()
- BreakAnimation()
- wait(0.5)
- if Autoride == true then
- Variables.workspace[UserName].PompousTheCloud.ServerControl:InvokeServer("Fly", {["Flying"] = true})
- MainUserW.PompousTheCloud.ServerControl:InvokeServer("SetProperty",{["Value"]="rbxassetid://0",["Property"]="MeshId",["Object"]=MainUserW.PompousTheCloud.EffectCloud.Mesh})
- end
- elseif not MainUserP.Character:FindFirstChild("PompousTheCloud") and MainUserP.Backpack:FindFirstChild("PompousTheCloud") then
- MainUserP.Backpack:FindFirstChild("PompousTheCloud").Parent = MainUserP.Character
- HideCloud()
- wait()
- BreakAnimation()
- wait(0.5)
- if Autoride == true then
- Variables.workspace[UserName].PompousTheCloud.ServerControl:InvokeServer("Fly", {["Flying"] = true})
- end
- elseif MainUserP.Character:FindFirstChild("PompousTheCloud") then
- HideCloud()
- wait()
- BreakAnimation()
- if Autoride == true then
- Variables.workspace[UserName].PompousTheCloud.ServerControl:InvokeServer("Fly", {["Flying"] = false})
- end
- end
- end
- function CE:FireEvent(ItemName, Object, Property, Value)
- MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
- end
- VerifyCloud()
- CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
- CE:FireEvent("PompousTheCloud",MainUserW["SuperFlyGoldBoombox"]["Handle"],"Transparency","1")
- game.ReplicatedStorage.AvatarEditor.HatHandle:FireServer("323418594")wait(1)
- CE:FireEvent("PompousTheCloud",MainUserW["323418594"]["Handle"],"Position",Vector3.new(0,-0,-0))
- CE:FireEvent("PompousTheCloud",MainUserW["323418594"]["Handle"]["Mesh"],"MeshType","Sphere")
- CE:FireEvent("PompousTheCloud",MainUserW["323418594"]["Handle"],"Shape","Ball")
- CE:FireEvent("PompousTheCloud",MainUserW["323418594"]["Handle"],"Material","ForceField")
- spawn(function()
- game:service'RunService'.RenderStepped:connect(function()
- local asd = math.floor(MainUserW["SuperFlyGoldBoombox"]["Handle"]["BoomboxSound"].PlaybackLoudness)/zzz
- CE:FireEvent("PompousTheCloud",MainUserW["323418594"]["Handle"]["Mesh"],"Scale",Vector3.new(asd,asd,asd))
- end)
- end)
- while true do
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really red"))
- wait()
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really black"))
- wait()
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really red"))
- wait()
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really black"))
- wait()
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really red"))
- wait()
- CE:FireEvent("PompousTheCloud", MainUserW["323418594"]["Handle"], "BrickColor", BrickColor.new("Really black"))
- wait()
- CE:FireEvent("PompousTheCloud",MainUserW["Head"]["face"],"Texture","http://www.roblox.com/asset/?id=1206059606")
- end
Advertisement
Add Comment
Please, Sign In to add comment