Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rem = Instance.new("RemoteEvent",owner.Character)
- local ti = TweenInfo.new(3,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,.01)
- function tween(a,b,c)
- return game:GetService("TweenService"):Create(a,TweenInfo.new(b,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,.01),c)
- end
- rem.OnServerEvent:Connect(function(plr,mouse)
- if plr == owner then
- local part = Instance.new("FlagStand",script)
- part.Shape = "Ball"
- part.CanCollide = false
- part.Anchored = true
- part.BrickColor = BrickColor.new("Really red")
- part.Material = "Neon"
- part.Position = mouse.Hit.Position
- part.Size = Vector3.new(0,0,0)
- part.Transparency = 1
- local zzzz = Instance.new("Sound",part)
- zzzz.SoundId = "rbxassetid://965142286"
- zzzz.Volume = 10
- zzzz:Play()
- local explode = Instance.new("Sound",part)
- explode.SoundId = "rbxassetid://1442483080"
- explode.Volume = 10
- local a=Instance.new("FlagStand",part)
- a.Size = Vector3.new(0,24,24)
- a.Shape = "Cylinder"
- a.BrickColor = BrickColor.new("Really red")
- a.Material = "Neon"
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = part.CFrame*CFrame.Angles(0,0,math.rad(90))
- wait(3.5)
- explode:Play()
- local part2 =part:Clone()
- part2.Transparency = 1
- tween(part,.3,{Transparency = 0}):Play()
- tween(part2,.3,{Transparency = 0}):Play()
- tween(a,.3,{Transparency = 1}):Play()
- part.Touched:Connect(function(hit)
- local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
- if hum and hum.Name ~= "evampoRAtErzzzzLHESfuiEurawotj"then
- hum.Name = "evampoRAtErzzzzLHESfuiEurawotj"
- for _,v in pairs(hit.Parent:GetDescendants()) do
- if v:IsA("Motor6D") then
- v:Destroy()
- end
- if v:IsA("BasePart") then
- local calccf = v.CFrame*CFrame.new(math.random()*5,math.random()*5,math.random()*5)*CFrame.Angles(math.rad(math.random()*200),math.rad(math.random()*200),math.rad(math.random()*200))
- tween(v,3,{Transparency = 1, CFrame = calccf,Color = Color3.fromRGB(255,0,0)}):Play()
- v.Material = "Neon"
- v.Anchored = true
- end
- if v:isA("Decal") then
- v:Destroy()
- end
- if v:IsA("Clothing") then
- v:Destroy()
- end
- if v:IsA("SpecialMesh") then
- v:Destroy()
- end
- if v.Name == "Head" and v:IsA("BasePart") then
- v.Size = Vector3.new(1,1,1)
- end
- end
- end
- end)
- wait(.3)
- a:Destroy()
- tween(part,3,{Size = Vector3.new(28,28,28),Transparency = 1}):Play()
- part2.Parent =part
- part2.Shape = "Cylinder"
- part2.Size = Vector3.new(2048,0,0)
- part2.CFrame=part.CFrame*CFrame.new(0,part2.Size.X/2,0)*CFrame.Angles(0,0,math.rad(90))
- game:GetService("Debris"):AddItem(part,3)
- tween(part2,3,{Size = Vector3.new(part2.Size.x,24,24),Transparency = 1}):Play()
- end
- end)
- NLS([[
- function giveServerMouse()
- script.Parent:FireServer({Hit = owner:GetMouse().Hit,Target = owner:GetMouse().Target})
- end
- owner:GetMouse().Button1Down:Connect(function()
- giveServerMouse()
- end)
- ]],rem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement