Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- put in workspace https://files.catbox.moe/jwgjp8.zip
- local folderName = "meshes"
- local player = game.Players.LocalPlayer
- local char = player.Character or player.CharacterAdded:Wait()
- local function getAsset(id)
- if id:find("rbxassetid://") or id:find("http") then return id end
- local cleanId = id:match("([^/]+)$") or id
- local path = folderName .. "/" .. cleanId
- if isfile and isfile(path) then
- return getcustomasset(path)
- end
- return id:find("rbxasset://") and id or "rbxassetid://" .. cleanId
- end
- local AttachmentModel = Instance.new("Model")
- AttachmentModel.Name = "AttachmentModel"
- AttachmentModel.Parent = char
- local BasePart = Instance.new("Part")
- BasePart.Name = "BasePart"
- BasePart.Size = Vector3.new(1.484, 0.526, 0.539)
- BasePart.Color = Color3.fromRGB(163, 162, 165)
- BasePart.Material = Enum.Material.SmoothPlastic
- BasePart.CanCollide = false
- BasePart.Massless = true
- BasePart.Parent = AttachmentModel
- local BaseMesh = Instance.new("SpecialMesh")
- BaseMesh.MeshId = getAsset("7093427066")
- BaseMesh.MeshType = Enum.MeshType.FileMesh
- BaseMesh.Parent = BasePart
- local ExtensionPart = Instance.new("Part")
- ExtensionPart.Name = "ExtensionPart"
- ExtensionPart.Size = Vector3.new(0.447, 0.852, 0.723)
- ExtensionPart.Color = Color3.fromRGB(234, 184, 146)
- ExtensionPart.CanCollide = false
- ExtensionPart.Massless = true
- ExtensionPart.Parent = BasePart
- local ExtensionMesh = Instance.new("SpecialMesh")
- ExtensionMesh.MeshId = getAsset("afdbbb7cf29f0798d6fa6ff07e08553e")
- ExtensionMesh.MeshType = Enum.MeshType.FileMesh
- ExtensionMesh.Parent = ExtensionPart
- local ExtensionWeld = Instance.new("Weld")
- ExtensionWeld.Part0 = BasePart
- ExtensionWeld.Part1 = ExtensionPart
- ExtensionWeld.C0 = CFrame.new(0.27, -0.31, 0.12) * CFrame.Angles(math.rad(-20.7), math.rad(-180), math.rad(8.76))
- ExtensionWeld.Parent = ExtensionPart
- local OverlayPart = Instance.new("Part")
- OverlayPart.Name = "OverlayPart"
- OverlayPart.Size = Vector3.new(1.484, 0.526, 0.539)
- OverlayPart.Color = Color3.fromRGB(234, 184, 146)
- OverlayPart.CanCollide = false
- OverlayPart.Massless = true
- OverlayPart.Parent = BasePart
- local OverlayMesh = Instance.new("SpecialMesh")
- OverlayMesh.MeshId = getAsset("767088ba9f373e77b2f56a757248670f")
- OverlayMesh.MeshType = Enum.MeshType.FileMesh
- OverlayMesh.Parent = OverlayPart
- local OverlayWeld = Instance.new("Weld")
- OverlayWeld.Part0 = BasePart
- OverlayWeld.Part1 = OverlayPart
- OverlayWeld.C0 = CFrame.new(-0.0023, 0, -0.004)
- OverlayWeld.Parent = OverlayPart
- local EmitterPart = Instance.new("Part")
- EmitterPart.Name = "EmitterPart"
- EmitterPart.Size = Vector3.new(0.431, 0.383, 0.428)
- EmitterPart.Color = Color3.fromRGB(218, 134, 122)
- EmitterPart.Material = Enum.Material.Glass
- EmitterPart.CanCollide = false
- EmitterPart.Massless = true
- EmitterPart.Parent = BasePart
- local EmitterMesh = Instance.new("SpecialMesh")
- EmitterMesh.MeshId = getAsset("564d1bf18317a0a46b5a2b0077733b4f")
- EmitterMesh.MeshType = Enum.MeshType.FileMesh
- EmitterMesh.Parent = EmitterPart
- local EmitterJoint = Instance.new("Motor6D")
- EmitterJoint.Name = "EmitterJoint"
- EmitterJoint.Part0 = BasePart
- EmitterJoint.Part1 = EmitterPart
- EmitterJoint.C0 = CFrame.new(-0.711918, 0.040504, 0.005760, -0.994518, 0, -0.104565, 0, 1, 0, 0.104565, 0, -0.994518)
- EmitterJoint.Parent = BasePart
- local ParticleFX = Instance.new("ParticleEmitter")
- ParticleFX.Name = "ParticleFX"
- ParticleFX.Texture = "http://www.roblox.com/asset/?id=141285996"
- ParticleFX.Rate = 0
- ParticleFX.Lifetime = NumberRange.new(3.25)
- ParticleFX.Speed = NumberRange.new(1)
- ParticleFX.Acceleration = Vector3.new(0, -1, 0)
- ParticleFX.Size = NumberSequence.new(0.3)
- ParticleFX.EmissionDirection = Enum.NormalId.Bottom
- ParticleFX.Parent = EmitterPart
- local root = char:FindFirstChild("LowerTorso") or char:FindFirstChild("Torso") or char.HumanoidRootPart
- local BodyWeld = Instance.new("Motor6D")
- BodyWeld.Name = "BodyWeld"
- BodyWeld.Part0 = root
- BodyWeld.Part1 = BasePart
- BodyWeld.C0 = CFrame.new(0.02, -0.97, -0.91) * CFrame.Angles(math.rad(3.43), math.rad(-90.86), math.rad(10.29))
- BodyWeld.Parent = BasePart
- local toggle = false
- game:GetService("UserInputService").InputBegan:Connect(function(input, gpe)
- if gpe then return end
- if input.KeyCode == Enum.KeyCode.F then
- toggle = not toggle
- ParticleFX.Rate = toggle and 58 or 0
- end
- end)
Add Comment
Please, Sign In to add comment