Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p=game:service'Players'.LocalPlayer
- if not shared.AdvFunc then warn'Waiting for Advanced Function...'end
- local sw,rnd=shared.AdvFunc.swait,math.random
- function DO_IT()
- local chr,not_doing=p.Character,1
- local root=chr.HumanoidRootPart
- for i=1,100 do
- spawn(function()
- local p,scl=Instance.new("Part",workspace),rnd(100,200)/100
- p.Material,p.Color,p.Size="Neon",Color3.fromRGB(rnd(256),rnd(256),rnd(256)),Vector3.new(scl,scl,scl)p.Anchored=1 p.CanCollide=nil
- p.CFrame=root.CFrame*CFrame.Angles(math.rad(rnd(360)),math.rad(rnd(360)),math.rad(rnd(360)))*CFrame.new(20,0,0)
- local ang=CFrame.Angles(math.rad(rnd(-360,360)/100),math.rad(rnd(-360,360)/100),math.rad(rnd(-360,360)/100))
- for i=1,300 do
- p.CFrame=p.CFrame*ang
- sw()
- end
- for i=1,100 do
- p.CFrame=p.CFrame*CFrame.new(0,0,.4)
- sw()
- end
- local cu=p.CFrame local ta=root.CFrame
- local ca=CFrame.Angles(0,0,math.rad(rnd(-360,360)))
- local tra=Instance.new('Trail',p)
- local a0=Instance.new("Attachment",p)a0.Position=Vector3.new(0,scl,0)local a1=a0:Clone()a1.Parent=p a1.Position=-a0.Position
- tra.Attachment1=a1 tra.Attachment0=a0
- tra.Transparency=NumberSequence.new(0,1)tra.Lifetime=.5 tra.Color=ColorSequence.new(p.Color)
- tra.FaceCamera=1 tra.Texture="rbxassetid://1251856844"
- for i=1,30 do
- p.CFrame=(cu*ca*CFrame.new(0,math.sin(i/30*math.pi+math.pi)*30,0)):lerp((ta*ca*CFrame.new(0,math.sin(i/30*math.pi+math.pi)*30,0)),i/30)
- sw()
- end
- local e=Instance.new("Explosion",workspace)e.Position=p.CFrame.p e.BlastRadius=40 e.BlastPressure=1
- p.Transparency=1 game:service'Debris':AddItem(p,5)
- end)
- sw()
- end
- wait(1)not_doing=nil
- end
- p.Chatted:connect(function(m)
- if m=="#CFrame完全に理解した"then
- local bc = BrickColor.new("White")
- wait(1)
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "は?";
- Font = Enum.Font.Cartoon;
- Color = bc.Color;
- FontSize = Enum.FontSize.Size96;
- })
- DO_IT()
- end
- if m=="#Now_I_understand_CFrame"then
- wait(1)
- local bc = BrickColor.new("White")
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "what?";
- Font = Enum.Font.Cartoon;
- Color = bc.Color;
- FontSize = 128;
- })
- DO_IT()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement